xcode-install 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcode/install/simulators.rb +3 -3
- data/lib/xcode/install/version.rb +1 -1
- data/xcode-install.gemspec +2 -1
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d000460eb480ba91861c591fabd62661a9e0c39
|
4
|
+
data.tar.gz: 10af56c46562c8d3611a5a789b171d30b7e4fdf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60347df6453cf017b4d4ef88dd8d9d48a6f831a362377fef8b09f00b1d06a09484c6ac5467a5d6808df53055cd039f18020c784dc3d59cc980a9930bb56de9cf
|
7
|
+
data.tar.gz: df70b9a219462b3dabacc6bc5bd1aa7ded3fc6cd1fb42508a2ad6a6774bbc7c533f361d11874e0225a9464fd758050d550614925edca81a2878979ced52e7497
|
@@ -7,7 +7,7 @@ module XcodeInstall
|
|
7
7
|
self.summary = 'List or install iOS simulators.'
|
8
8
|
|
9
9
|
def self.options
|
10
|
-
[['--install=
|
10
|
+
[['--install=name', 'Install simulator beginning with name, e.g. \'iOS 8.4\', \'tvOS 9.0\'.']].concat(super)
|
11
11
|
end
|
12
12
|
|
13
13
|
def initialize(argv)
|
@@ -24,8 +24,8 @@ module XcodeInstall
|
|
24
24
|
:private
|
25
25
|
|
26
26
|
def install
|
27
|
-
filtered_simulators = @installed_xcodes.map(&:available_simulators).flatten.select do |sim|
|
28
|
-
sim.
|
27
|
+
filtered_simulators = @installed_xcodes.map(&:available_simulators).flatten.uniq(&:name).select do |sim|
|
28
|
+
sim.name.start_with?(@install)
|
29
29
|
end
|
30
30
|
case filtered_simulators.count
|
31
31
|
when 0
|
data/xcode-install.gemspec
CHANGED
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
23
|
spec.add_dependency 'claide', '~> 0.9.1'
|
24
|
-
spec.add_dependency 'spaceship', '>= 0.13.0', '< 1.0.0'
|
24
|
+
#spec.add_dependency 'spaceship', '>= 0.13.0', '< 1.0.0'
|
25
|
+
spec.add_dependency 'spaceship', '= 0.15.1'
|
25
26
|
|
26
27
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
27
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcode-install
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
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: 2015-
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: claide
|
@@ -28,22 +28,16 @@ dependencies:
|
|
28
28
|
name: spaceship
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 1.0.0
|
33
|
+
version: 0.15.1
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 0.13.0
|
44
|
-
- - "<"
|
38
|
+
- - '='
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
40
|
+
version: 0.15.1
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: bundler
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|