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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cb965d7873bd4160bbefc1b00691b027de67ce0
4
- data.tar.gz: 9172e8da86edf3a68467ee501d70ce888891b667
3
+ metadata.gz: f2d8de2fe70bed9d5f88fe5489a2749a2b6d4473
4
+ data.tar.gz: afdd97abd625499239ac988435820038b0ffa3e0
5
5
  SHA512:
6
- metadata.gz: af0f153d55cd64a53d7eaa58c1811aac2a80e5220cfc76f811da06f231d2e00469c91da990009033a673027302adc8915dca5f3c895e617550989840b976073c
7
- data.tar.gz: f41829b35a342f667201b0afa2227b46e27876380a05aeca9723dd9ce844a28997ed18b7ad0c50a44ada65896eff28b0594ad6d2f1df14fa6a5a5dfd90dad2b0
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
@@ -1,3 +1,3 @@
1
1
  module CocoapodsTesting
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -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 = %w(7.1)
99
- s.destination('name=iPhone Retina (4-inch)')
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
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-17 00:00:00.000000000 Z
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