cocoapods-testing 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +24 -0
- data/lib/cocoapods_testing.rb +1 -1
- data/lib/pod/command/lib/testing.rb +14 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2d8de2fe70bed9d5f88fe5489a2749a2b6d4473
|
4
|
+
data.tar.gz: afdd97abd625499239ac988435820038b0ffa3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df661cad296281a121bb00a56e5548c05313f0c45be36c1515352a230387955c47f880c83e9578e21be1a345385e25af5fba5938f1e7a8c01e476dc822db485f
|
7
|
+
data.tar.gz: 2696db028ba6519dd357bf6a51c6b1b92f7e38b13a16582e1f54ce164c6a7e08630ecf76dd92a9d6d6cdf8c70fd10cccc1ff06d0b2b0f92092b3af2d08a67e8b
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cocoapods-testing (0.0.5)
|
5
|
+
xctasks
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
mini_portile (0.6.0)
|
11
|
+
nokogiri (1.6.3.1)
|
12
|
+
mini_portile (= 0.6.0)
|
13
|
+
rake (10.3.2)
|
14
|
+
xctasks (0.4.1)
|
15
|
+
nokogiri (~> 1.6, >= 1.6.3.1)
|
16
|
+
rake (~> 10.0, >= 10.0.0)
|
17
|
+
|
18
|
+
PLATFORMS
|
19
|
+
ruby
|
20
|
+
|
21
|
+
DEPENDENCIES
|
22
|
+
bundler (~> 1.3)
|
23
|
+
cocoapods-testing!
|
24
|
+
rake
|
data/lib/cocoapods_testing.rb
CHANGED
@@ -95,8 +95,8 @@ module Pod
|
|
95
95
|
|
96
96
|
t.subtask(unit: scheme_name) do |s|
|
97
97
|
# TODO: version should be configurable
|
98
|
-
s.ios_versions =
|
99
|
-
s.destination('name=
|
98
|
+
s.ios_versions = [versions.last]
|
99
|
+
s.destination('name='+simulators.first)
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
@@ -115,6 +115,18 @@ module Pod
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
+
def simulators
|
119
|
+
sims = `xcrun simctl list 2>/dev/null`.split("\n")
|
120
|
+
sims = sims.select { |sim| sim[/Booted|Shutdown/] }
|
121
|
+
sims.map { |sim| sim.gsub(/^\s+(.+?) \(.*/, '\1') }
|
122
|
+
end
|
123
|
+
|
124
|
+
def versions
|
125
|
+
sdks = `xcodebuild -version -sdk 2>/dev/null`.split("\n")
|
126
|
+
sdks = sdks.select { |sdk| sdk[/iphonesimulator/] }
|
127
|
+
sdks.map { |sdk| sdk.gsub(/.*\(iphonesimulator(.*)\)/, '\1') }
|
128
|
+
end
|
129
|
+
|
118
130
|
def run
|
119
131
|
podspecs_to_check.each do # |path|
|
120
132
|
# TODO: How to link specs to projects/workspaces?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Bügling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xctasks
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- Gemfile
|
64
|
+
- Gemfile.lock
|
64
65
|
- LICENSE.txt
|
65
66
|
- README.md
|
66
67
|
- Rakefile
|