Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
0ea57449
Commit
0ea57449
authored
Dec 29, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IntegrationSpecs] Update for using new Podfile DSL
parent
18808944
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
integration.rb
spec/integration.rb
+14
-3
No files found.
cocoapods-integration-specs
@
75f5c4b3
Subproject commit
8fcbde616c475c5ce97e359834092bd9dca06ae8
Subproject commit
75f5c4b33eb3b371a4d383b007a3bfd2933563e3
spec/integration.rb
View file @
0ea57449
...
...
@@ -44,9 +44,12 @@ $:.unshift((ROOT + 'spec').to_s)
require
'rubygems'
require
'bundler/setup'
require
'pretty_bacon'
require
'colored'
require
'clintegracon'
require
'cocoapods-core/yaml_helper'
require
'fileutils'
require
'integration/file_tree'
require
'integration/xcodeproj_project_yaml'
...
...
@@ -78,11 +81,19 @@ CLIntegracon.configure do |c|
end
# Register special handling for YAML files
c
.
transform_produced
'**/{Podfile,Manifest}.lock'
do
|
path
|
# Remove CocoaPods version
c
.
transform_produced
%r{(^|/)(Podfile|Manifest).lock$}
do
|
path
|
# Remove CocoaPods version
& Podfile checksum
yaml
=
YAML
.
load
(
path
.
read
)
yaml
.
delete
(
'COCOAPODS'
)
path
.
open
(
'w'
)
{
|
f
|
f
<<
YAML
.
dump
(
yaml
)
}
yaml
.
delete
(
'PODFILE CHECKSUM'
)
keys_hint
=
[
'PODS'
,
'DEPENDENCIES'
,
'EXTERNAL SOURCES'
,
'CHECKOUT OPTIONS'
,
'SPEC CHECKSUMS'
,
]
path
.
open
(
'w'
)
{
|
f
|
f
<<
Pod
::
YAMLHelper
.
convert_hash
(
yaml
,
keys_hint
,
"
\n\n
"
)
}
end
# So we don't need to compare them directly
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment