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
277eb7ad
Commit
277eb7ad
authored
May 19, 2016
by
Nate West
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5363 from CocoaPods/external-test-specs
[Test Specs] Use external specs for tests
parents
5ae5ef8d
45b04856
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
6 additions
and
173 deletions
+6
-173
.gitmodules
.gitmodules
+3
-0
test_repo
spec/fixtures/spec-repos/test_repo
+1
-0
BananaLib.podspec
...ures/spec-repos/test_repo/BananaLib/1.0/BananaLib.podspec
+0
-21
CrossRepoDependent.podspec
...st_repo/CrossRepoDependent/1.0/CrossRepoDependent.podspec
+0
-18
JSONKit.podspec
...fixtures/spec-repos/test_repo/JSONKit/1.4/JSONKit.podspec
+0
-11
JSONKit.podspec
.../spec-repos/test_repo/JSONKit/999.999.999/JSONKit.podspec
+0
-12
OrangeFramework.podspec
...s/test_repo/OrangeFramework/0.1.0/OrangeFramework.podspec
+0
-18
Pod+With+Plus+Signs.podspec
..._repo/Pod+With+Plus+Signs/1.0/Pod+With+Plus+Signs.podspec
+0
-17
PrereleaseMonkey.podspec
...repo/PrereleaseMonkey/1.0-alpha1/PrereleaseMonkey.podspec
+0
-11
PrereleaseMonkey.podspec
..._repo/PrereleaseMonkey/1.0-beta1/PrereleaseMonkey.podspec
+0
-11
matryoshka.podspec.json
...-repos/test_repo/matryoshka/1.0.0/matryoshka.podspec.json
+0
-43
monkey.podspec
...fixtures/spec-repos/test_repo/monkey/1.0.2/monkey.podspec
+0
-11
temporary_repos.rb
spec/spec_helper/temporary_repos.rb
+2
-0
No files found.
.gitmodules
View file @
277eb7ad
...
@@ -10,3 +10,6 @@
...
@@ -10,3 +10,6 @@
[submodule "spec/cocoapods-integration-specs"]
[submodule "spec/cocoapods-integration-specs"]
path = spec/cocoapods-integration-specs
path = spec/cocoapods-integration-specs
url = https://github.com/CocoaPods/cocoapods-integration-specs.git
url = https://github.com/CocoaPods/cocoapods-integration-specs.git
[submodule "spec/fixtures/spec-repos/test_repo"]
path = spec/fixtures/spec-repos/test_repo
url = https://github.com/CocoaPods/cocoapods-test-specs.git
test_repo
@
1d4e3f9e
Subproject commit 1d4e3f9e138e88d73a0546d64979f70ed52b92e2
spec/fixtures/spec-repos/test_repo/BananaLib/1.0/BananaLib.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'BananaLib'
s
.
version
=
'1.0'
s
.
authors
=
'Banana Corp'
,
{
'Monkey Boy'
=>
'monkey@banana-corp.local'
}
s
.
homepage
=
'http://banana-corp.local/banana-lib.html'
s
.
summary
=
'Chunky bananas!'
s
.
description
=
'Full of chunky bananas.'
s
.
platform
=
:ios
s
.
source
=
{
:git
=>
'http://banana-corp.local/banana-lib.git'
,
:tag
=>
'v1.0'
}
s
.
source_files
=
'Classes/*.{h,m}'
,
'Vendor'
s
.
xcconfig
=
{
'OTHER_LDFLAGS'
=>
'-framework SystemConfiguration'
}
s
.
prefix_header_file
=
'Classes/BananaLib.pch'
s
.
resources
=
"Resources/*.png"
s
.
dependency
'monkey'
,
'~> 1.0.1'
,
'< 1.0.9'
s
.
license
=
{
:type
=>
'MIT'
,
:file
=>
'LICENSE'
,
:text
=>
'Permission is hereby granted ...'
}
end
spec/fixtures/spec-repos/test_repo/CrossRepoDependent/1.0/CrossRepoDependent.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'CrossRepoDependent'
s
.
version
=
'1.0'
s
.
authors
=
'Ned Needy'
,
{
'Mr. Needy'
=>
'needy@example.local'
}
s
.
homepage
=
'http://example.local/cross-repo-dependent.html'
s
.
summary
=
'I\'m dependent upon another spec repo to resolve my dependencies.'
s
.
description
=
'I\'m dependent upon another spec repo to resolve my dependencies.'
s
.
platform
=
:ios
s
.
source
=
{
:git
=>
'http://example.local/cross-repo-dependent.git'
,
:tag
=>
'v1.0'
}
s
.
source_files
=
'Classes/*.{h,m}'
,
'Vendor'
s
.
dependency
'AFNetworking'
,
'2.4.0'
s
.
license
=
{
:type
=>
'MIT'
,
:file
=>
'LICENSE'
,
:text
=>
'Permission is hereby granted ...'
}
end
spec/fixtures/spec-repos/test_repo/JSONKit/1.4/JSONKit.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'JSONKit'
s
.
version
=
'1.4'
s
.
license
=
'BSD / Apache License, Version 2.0'
s
.
summary
=
'A Very High Performance Objective-C JSON Library.'
s
.
homepage
=
'https://github.com/johnezang/JSONKit'
s
.
author
=
'John Engelhart'
s
.
source
=
{
:git
=>
'https://github.com/johnezang/JSONKit.git'
,
:tag
=>
'v1.4'
}
s
.
source_files
=
'JSONKit.*'
end
spec/fixtures/spec-repos/test_repo/JSONKit/999.999.999/JSONKit.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'JSONKit'
s
.
version
=
'999.999.999'
s
.
license
=
'BSD / Apache License, Version 2.0'
s
.
summary
=
'A Very High Performance Objective-C JSON Library.'
s
.
homepage
=
'https://github.com/johnezang/JSONKit'
s
.
author
=
'John Engelhart'
s
.
source
=
{
:git
=>
'https://github.com/johnezang/JSONKit.git'
,
:commit
=>
'0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce'
}
s
.
source_files
=
'JSONKit.*'
s
.
compiler_flags
=
'-Wno-deprecated-objc-isa-usage'
,
'-Wno-format'
end
spec/fixtures/spec-repos/test_repo/OrangeFramework/0.1.0/OrangeFramework.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"OrangeFramework"
s
.
version
=
"0.1.0"
s
.
author
=
{
"Swiftest Orang-Utan"
=>
"swiftest@orang.utan.local"
}
s
.
summary
=
"Fresh juice!"
s
.
description
=
"Blends fresh orange juice."
s
.
homepage
=
"http://httpbin.org/html"
s
.
source
=
{
:git
=>
"http://utan.local/orange-framework.git"
,
:tag
=>
s
.
version
.
to_s
}
s
.
license
=
'MIT'
s
.
platform
=
:ios
,
'8.0'
s
.
source_files
=
'Source/Juicer.swift'
s
.
frameworks
=
'UIKit'
s
.
dependency
'matryoshka'
end
spec/fixtures/spec-repos/test_repo/Pod+With+Plus+Signs/1.0/Pod+With+Plus+Signs.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'Pod+With+Plus+Signs'
s
.
version
=
'1.0'
s
.
authors
=
'Evil Corp'
s
.
homepage
=
'http://evil-corp.local/pod_with_plus_signs.html'
s
.
summary
=
'Messing with special chars'
s
.
description
=
'I love messing up with special chars in my pod name! Mouahahahahaa (evil laugh)'
s
.
platform
=
:ios
s
.
source
=
{
:git
=>
'http://evil-corp.local/pod_with_plus_signs.git'
,
:tag
=>
'1.0'
}
s
.
source_files
=
'Classes/*.{h,m}'
s
.
license
=
{
:type
=>
'MIT'
,
:file
=>
'LICENSE'
,
:text
=>
'Permission is hereby granted ...'
}
end
spec/fixtures/spec-repos/test_repo/PrereleaseMonkey/1.0-alpha1/PrereleaseMonkey.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"PrereleaseMonkey"
s
.
version
=
"1.0-alpha1"
s
.
author
=
{
"Funky Monkey"
=>
"funky@monkey.local"
}
s
.
summary
=
"🙈🙉🙊"
s
.
description
=
"See no evil! Hear no evil! Speak no evil!"
s
.
homepage
=
"http://httpbin.org/html"
s
.
source
=
{
:git
=>
"http://monkey.local/monkey.git"
,
:tag
=>
s
.
version
.
to_s
}
s
.
license
=
'MIT'
s
.
vendored_library
=
'monkey.a'
end
spec/fixtures/spec-repos/test_repo/PrereleaseMonkey/1.0-beta1/PrereleaseMonkey.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"PrereleaseMonkey"
s
.
version
=
"1.0-beta1"
s
.
author
=
{
"Funky Monkey"
=>
"funky@monkey.local"
}
s
.
summary
=
"🙈🙉🙊"
s
.
description
=
"See no evil! Hear no evil! Speak no evil!"
s
.
homepage
=
"http://httpbin.org/html"
s
.
source
=
{
:git
=>
"http://monkey.local/monkey.git"
,
:tag
=>
s
.
version
.
to_s
}
s
.
license
=
'MIT'
s
.
vendored_library
=
'monkey.a'
end
spec/fixtures/spec-repos/test_repo/matryoshka/1.0.0/matryoshka.podspec.json
deleted
100644 → 0
View file @
5ae5ef8d
{
"name"
:
"matryoshka"
,
"version"
:
"1.0.0"
,
"authors"
:
{
"Matryona Malyutin"
:
"matryona@malyutin.local"
},
"summary"
:
"👩👩👧"
,
"description"
:
"Four levels: outmost (root), outer, inner"
,
"homepage"
:
"http://httpbin.org/html"
,
"source"
:
{
"git"
:
"http://malyutin.local/matroyshka.git"
,
"tag"
:
"1.0.0"
},
"license"
:
"MIT"
,
"source_files"
:
"Outmost.{h,m}"
,
"default_subspecs"
:
"Outer"
,
"platforms"
:
{
"osx"
:
null
,
"ios"
:
null
,
"tvos"
:
null
,
"watchos"
:
null
},
"subspecs"
:
[
{
"name"
:
"Outer"
,
"source_files"
:
"Outer/Outer.{h,m}"
,
"subspecs"
:
[
{
"name"
:
"Inner"
,
"source_files"
:
"Inner/Inner.{h,m}"
}
]
},
{
"name"
:
"Foo"
,
"source_files"
:
"Foo/Foo.{h,m}"
},
{
"name"
:
"Bar"
,
"source_files"
:
"Bar/Bar.{h,m}"
}
]
}
spec/fixtures/spec-repos/test_repo/monkey/1.0.2/monkey.podspec
deleted
100644 → 0
View file @
5ae5ef8d
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"monkey"
s
.
version
=
"1.0.2"
s
.
author
=
{
"Funky Monkey"
=>
"funky@monkey.local"
}
s
.
summary
=
"🙈🙉🙊"
s
.
description
=
"See no evil! Hear no evil! Speak no evil!"
s
.
homepage
=
"http://httpbin.org/html"
s
.
source
=
{
:git
=>
"http://monkey.local/monkey.git"
,
:tag
=>
s
.
version
.
to_s
}
s
.
license
=
'MIT'
s
.
vendored_library
=
'monkey.a'
end
spec/spec_helper/temporary_repos.rb
View file @
277eb7ad
...
@@ -54,6 +54,7 @@ module SpecHelper
...
@@ -54,6 +54,7 @@ module SpecHelper
origin
=
ROOT
+
'spec/fixtures/spec-repos/test_repo/.'
origin
=
ROOT
+
'spec/fixtures/spec-repos/test_repo/.'
destination
=
tmp_repos_path
+
'master'
destination
=
tmp_repos_path
+
'master'
FileUtils
.
cp_r
(
origin
,
destination
)
FileUtils
.
cp_r
(
origin
,
destination
)
FileUtils
.
rm_r
(
destination
+
'./.git'
)
repo_make
(
'master'
)
repo_make
(
'master'
)
end
end
...
@@ -70,6 +71,7 @@ module SpecHelper
...
@@ -70,6 +71,7 @@ module SpecHelper
origin
=
ROOT
+
'spec/fixtures/spec-repos/test_repo/.'
origin
=
ROOT
+
'spec/fixtures/spec-repos/test_repo/.'
destination
=
tmp_repos_path
+
'../master'
destination
=
tmp_repos_path
+
'../master'
FileUtils
.
cp_r
(
origin
,
destination
)
FileUtils
.
cp_r
(
origin
,
destination
)
FileUtils
.
rm_r
(
destination
+
'./.git'
)
repo_make
(
'../master'
)
repo_make
(
'../master'
)
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