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
a3934888
Commit
a3934888
authored
Jan 28, 2016
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Podfile] xcodeproj was renamed to project
parent
b22ccc8e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
26 deletions
+26
-26
analyzer_spec.rb
spec/unit/installer/analyzer_spec.rb
+15
-15
aggregate_target_installer_spec.rb
...aller/target_installer/aggregate_target_installer_spec.rb
+1
-1
pod_target_installer_spec.rb
...t/installer/target_installer/pod_target_installer_spec.rb
+1
-1
target_installer_spec.rb
spec/unit/installer/target_installer_spec.rb
+1
-1
user_project_integrator_spec.rb
spec/unit/installer/user_project_integrator_spec.rb
+1
-1
installer_spec.rb
spec/unit/installer_spec.rb
+7
-7
No files found.
spec/unit/installer/analyzer_spec.rb
View file @
a3934888
...
@@ -6,7 +6,7 @@ module Pod
...
@@ -6,7 +6,7 @@ module Pod
before
do
before
do
@podfile
=
Pod
::
Podfile
.
new
do
@podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'6.0'
platform
:ios
,
'6.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
target
'SampleProject'
do
target
'SampleProject'
do
pod
'JSONKit'
,
'1.5pre'
pod
'JSONKit'
,
'1.5pre'
...
@@ -88,7 +88,7 @@ module Pod
...
@@ -88,7 +88,7 @@ module Pod
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
pod
'BananaLib'
,
'1.0'
pod
'BananaLib'
,
'1.0'
end
end
config
.
skip_repo_update
=
false
config
.
skip_repo_update
=
false
...
@@ -159,7 +159,7 @@ module Pod
...
@@ -159,7 +159,7 @@ module Pod
it
'generates the set of dependent pod targets'
do
it
'generates the set of dependent pod targets'
do
@podfile
=
Pod
::
Podfile
.
new
do
@podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
pod
'RestKit'
,
'~> 0.23.0'
pod
'RestKit'
,
'~> 0.23.0'
target
'TestRunner'
do
target
'TestRunner'
do
pod
'RestKit/Testing'
,
'~> 0.23.0'
pod
'RestKit/Testing'
,
'~> 0.23.0'
...
@@ -191,7 +191,7 @@ module Pod
...
@@ -191,7 +191,7 @@ module Pod
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
source
SpecHelper
.
test_repo_url
source
SpecHelper
.
test_repo_url
platform
:ios
,
'6.0'
platform
:ios
,
'6.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
target
'SampleProject'
do
target
'SampleProject'
do
pod
'BananaLib'
pod
'BananaLib'
pod
'monkey'
pod
'monkey'
...
@@ -217,7 +217,7 @@ module Pod
...
@@ -217,7 +217,7 @@ module Pod
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
source
SpecHelper
.
test_repo_url
source
SpecHelper
.
test_repo_url
platform
:ios
,
'6.0'
platform
:ios
,
'6.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
pod
'BananaLib'
pod
'BananaLib'
pod
'monkey'
pod
'monkey'
...
@@ -251,7 +251,7 @@ module Pod
...
@@ -251,7 +251,7 @@ module Pod
source
SpecHelper
.
test_repo_url
source
SpecHelper
.
test_repo_url
platform
:ios
,
'6.0'
platform
:ios
,
'6.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
pod
'BananaLib'
pod
'BananaLib'
...
@@ -295,7 +295,7 @@ module Pod
...
@@ -295,7 +295,7 @@ module Pod
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
install!
'cocoapods'
,
:integrate_targets
=>
false
install!
'cocoapods'
,
:integrate_targets
=>
false
source
SpecHelper
.
test_repo_url
source
SpecHelper
.
test_repo_url
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
target
'TestRunner'
do
target
'TestRunner'
do
platform
:osx
platform
:osx
pod
'monkey'
pod
'monkey'
...
@@ -310,7 +310,7 @@ module Pod
...
@@ -310,7 +310,7 @@ module Pod
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
install!
'cocoapods'
,
:integrate_targets
=>
false
install!
'cocoapods'
,
:integrate_targets
=>
false
source
SpecHelper
.
test_repo_url
source
SpecHelper
.
test_repo_url
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
platform
:osx
platform
:osx
target
'TestRunner'
do
target
'TestRunner'
do
pod
'monkey'
pod
'monkey'
...
@@ -325,7 +325,7 @@ module Pod
...
@@ -325,7 +325,7 @@ module Pod
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
install!
'cocoapods'
,
:integrate_targets
=>
false
install!
'cocoapods'
,
:integrate_targets
=>
false
source
SpecHelper
.
test_repo_url
source
SpecHelper
.
test_repo_url
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
target
'TestRunner'
do
target
'TestRunner'
do
pod
'monkey'
pod
'monkey'
end
end
...
@@ -372,7 +372,7 @@ module Pod
...
@@ -372,7 +372,7 @@ module Pod
it
'unlocks all dependencies with the same root name in update mode'
do
it
'unlocks all dependencies with the same root name in update mode'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
target
'SampleProject'
do
target
'SampleProject'
do
pod
'AFNetworking'
pod
'AFNetworking'
pod
'AFNetworkActivityLogger'
pod
'AFNetworkActivityLogger'
...
@@ -406,7 +406,7 @@ module Pod
...
@@ -406,7 +406,7 @@ module Pod
it
'takes into account locked implicit dependencies'
do
it
'takes into account locked implicit dependencies'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
target
'SampleProject'
do
target
'SampleProject'
do
pod
'ARAnalytics/Mixpanel'
pod
'ARAnalytics/Mixpanel'
end
end
...
@@ -506,7 +506,7 @@ module Pod
...
@@ -506,7 +506,7 @@ module Pod
it
'warns when a dependency is duplicated'
do
it
'warns when a dependency is duplicated'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
source
'https://github.com/CocoaPods/Specs.git'
source
'https://github.com/CocoaPods/Specs.git'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
target
'SampleProject'
do
target
'SampleProject'
do
pod
'RestKit'
,
'~> 0.23.0'
pod
'RestKit'
,
'~> 0.23.0'
...
@@ -581,7 +581,7 @@ module Pod
...
@@ -581,7 +581,7 @@ module Pod
'external sources'
do
'external sources'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
source
'https://github.com/CocoaPods/Specs.git'
source
'https://github.com/CocoaPods/Specs.git'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
platform
:ios
platform
:ios
target
'SampleProject'
do
target
'SampleProject'
do
pod
'SEGModules'
,
:git
=>
'https://github.com/segiddins/SEGModules.git'
pod
'SEGModules'
,
:git
=>
'https://github.com/segiddins/SEGModules.git'
...
@@ -600,7 +600,7 @@ module Pod
...
@@ -600,7 +600,7 @@ module Pod
'external sources'
do
'external sources'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
source
'https://github.com/CocoaPods/Specs.git'
source
'https://github.com/CocoaPods/Specs.git'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
platform
:ios
platform
:ios
target
'SampleProject'
do
target
'SampleProject'
do
pod
'RestKit/Core'
,
:git
=>
'https://github.com/RestKit/RestKit.git'
pod
'RestKit/Core'
,
:git
=>
'https://github.com/RestKit/RestKit.git'
...
@@ -619,7 +619,7 @@ module Pod
...
@@ -619,7 +619,7 @@ module Pod
'external sources with one being nil'
do
'external sources with one being nil'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
source
'https://github.com/CocoaPods/Specs.git'
source
'https://github.com/CocoaPods/Specs.git'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
platform
:ios
platform
:ios
target
'SampleProject'
do
target
'SampleProject'
do
pod
'RestKit'
,
:git
=>
'https://github.com/RestKit/RestKit.git'
pod
'RestKit'
,
:git
=>
'https://github.com/RestKit/RestKit.git'
...
...
spec/unit/installer/target_installer/aggregate_target_installer_spec.rb
View file @
a3934888
...
@@ -7,7 +7,7 @@ module Pod
...
@@ -7,7 +7,7 @@ module Pod
config
.
sandbox
.
prepare
config
.
sandbox
.
prepare
@podfile
=
Podfile
.
new
do
@podfile
=
Podfile
.
new
do
platform
:ios
platform
:ios
xcodeproj
'dummy'
project
'dummy'
end
end
@target_definition
=
@podfile
.
target_definitions
[
'Pods'
]
@target_definition
=
@podfile
.
target_definitions
[
'Pods'
]
@project
=
Project
.
new
(
config
.
sandbox
.
project_path
)
@project
=
Project
.
new
(
config
.
sandbox
.
project_path
)
...
...
spec/unit/installer/target_installer/pod_target_installer_spec.rb
View file @
a3934888
...
@@ -7,7 +7,7 @@ module Pod
...
@@ -7,7 +7,7 @@ module Pod
config
.
sandbox
.
prepare
config
.
sandbox
.
prepare
@podfile
=
Podfile
.
new
do
@podfile
=
Podfile
.
new
do
platform
:ios
,
'6.0'
platform
:ios
,
'6.0'
xcodeproj
'dummy'
project
'dummy'
end
end
@target_definition
=
@podfile
.
target_definitions
[
'Pods'
]
@target_definition
=
@podfile
.
target_definitions
[
'Pods'
]
@project
=
Project
.
new
(
config
.
sandbox
.
project_path
)
@project
=
Project
.
new
(
config
.
sandbox
.
project_path
)
...
...
spec/unit/installer/target_installer_spec.rb
View file @
a3934888
...
@@ -5,7 +5,7 @@ module Pod
...
@@ -5,7 +5,7 @@ module Pod
before
do
before
do
@podfile
=
Podfile
.
new
do
@podfile
=
Podfile
.
new
do
platform
:ios
platform
:ios
xcodeproj
'dummy'
project
'dummy'
end
end
@target_definition
=
@podfile
.
target_definitions
[
'Pods'
]
@target_definition
=
@podfile
.
target_definitions
[
'Pods'
]
@project
=
Project
.
new
(
config
.
sandbox
.
project_path
)
@project
=
Project
.
new
(
config
.
sandbox
.
project_path
)
...
...
spec/unit/installer/user_project_integrator_spec.rb
View file @
a3934888
...
@@ -8,7 +8,7 @@ module Pod
...
@@ -8,7 +8,7 @@ module Pod
sample_project_path
=
@sample_project_path
sample_project_path
=
@sample_project_path
@podfile
=
Podfile
.
new
do
@podfile
=
Podfile
.
new
do
platform
:ios
platform
:ios
xcodeproj
sample_project_path
project
sample_project_path
target
'SampleProject'
do
target
'SampleProject'
do
pod
'JSONKit'
pod
'JSONKit'
target
:empty
do
target
:empty
do
...
...
spec/unit/installer_spec.rb
View file @
a3934888
...
@@ -18,7 +18,7 @@ end
...
@@ -18,7 +18,7 @@ end
def
generate_podfile
(
pods
=
[
'JSONKit'
])
def
generate_podfile
(
pods
=
[
'JSONKit'
])
Pod
::
Podfile
.
new
do
Pod
::
Podfile
.
new
do
platform
:ios
platform
:ios
xcodeproj
SpecHelper
.
fixture
(
'SampleProject/SampleProject'
),
'Test'
=>
:debug
,
'App Store'
=>
:release
project
SpecHelper
.
fixture
(
'SampleProject/SampleProject'
),
'Test'
=>
:debug
,
'App Store'
=>
:release
target
'SampleProject'
do
target
'SampleProject'
do
pods
.
each
{
|
name
|
pod
name
}
pods
.
each
{
|
name
|
pod
name
}
target
'SampleProjectTests'
do
target
'SampleProjectTests'
do
...
@@ -33,7 +33,7 @@ end
...
@@ -33,7 +33,7 @@ end
def
generate_local_podfile
def
generate_local_podfile
Pod
::
Podfile
.
new
do
Pod
::
Podfile
.
new
do
platform
:ios
platform
:ios
xcodeproj
SpecHelper
.
fixture
(
'SampleProject/SampleProject'
),
'Test'
=>
:debug
,
'App Store'
=>
:release
project
SpecHelper
.
fixture
(
'SampleProject/SampleProject'
),
'Test'
=>
:debug
,
'App Store'
=>
:release
target
'SampleProject'
do
target
'SampleProject'
do
pod
'Reachability'
,
:path
=>
SpecHelper
.
fixture
(
'integration/Reachability'
)
pod
'Reachability'
,
:path
=>
SpecHelper
.
fixture
(
'integration/Reachability'
)
target
'SampleProjectTests'
do
target
'SampleProjectTests'
do
...
@@ -228,7 +228,7 @@ module Pod
...
@@ -228,7 +228,7 @@ module Pod
config
.
repos_dir
=
fixture_path
+
'spec-repos'
config
.
repos_dir
=
fixture_path
+
'spec-repos'
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
use_frameworks!
use_frameworks!
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
...
@@ -268,7 +268,7 @@ module Pod
...
@@ -268,7 +268,7 @@ module Pod
config
.
repos_dir
=
fixture_path
+
'spec-repos'
config
.
repos_dir
=
fixture_path
+
'spec-repos'
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
pod
'monkey'
,
:path
=>
(
fixture_path
+
'monkey'
).
to_s
pod
'monkey'
,
:path
=>
(
fixture_path
+
'monkey'
).
to_s
...
@@ -288,7 +288,7 @@ module Pod
...
@@ -288,7 +288,7 @@ module Pod
config
.
repos_dir
=
fixture_path
+
'spec-repos'
config
.
repos_dir
=
fixture_path
+
'spec-repos'
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
use_frameworks!
use_frameworks!
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'monkey'
,
:path
=>
(
fixture_path
+
'monkey'
).
to_s
pod
'monkey'
,
:path
=>
(
fixture_path
+
'monkey'
).
to_s
...
@@ -311,7 +311,7 @@ module Pod
...
@@ -311,7 +311,7 @@ module Pod
@podfile
=
Pod
::
Podfile
.
new
do
@podfile
=
Pod
::
Podfile
.
new
do
install!
'cocoapods'
,
'integrate_targets'
=>
false
install!
'cocoapods'
,
'integrate_targets'
=>
false
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
use_frameworks!
use_frameworks!
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'BananaLib'
,
:path
=>
(
fixture_path
+
'banana-lib'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
...
@@ -356,7 +356,7 @@ module Pod
...
@@ -356,7 +356,7 @@ module Pod
config
.
repos_dir
=
fixture_path
+
'spec-repos'
config
.
repos_dir
=
fixture_path
+
'spec-repos'
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'8.0'
platform
:ios
,
'8.0'
xcodeproj
'SampleProject/SampleProject'
project
'SampleProject/SampleProject'
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
target
'SampleProject'
target
'SampleProject'
end
end
...
...
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