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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5260476f97cc4d644d141f6f8a367d0c2bf519ce
4
- data.tar.gz: 47e67556cba8e2d47b9cfe87cb0b9e04bb078dc4
3
+ metadata.gz: 9d000460eb480ba91861c591fabd62661a9e0c39
4
+ data.tar.gz: 10af56c46562c8d3611a5a789b171d30b7e4fdf8
5
5
  SHA512:
6
- metadata.gz: 5173e9d88a5024ed6679a9cbc0b3adeb4fbb8938a6f402816cca102934a556aaa7650284ec2965bb2823dc7114c21af514b11ce8858e122463ea77c5cd939555
7
- data.tar.gz: a3dc0f514732d1354df38007a1b1819224acda74329d1976dd8066c0112e3ee41a0f4b2df05dbf818b1b17c25d96c0f56c89cdee11e43eeded63c5c00f40be79
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=version', 'Install simulator with the given version.']].concat(super)
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.version.to_s.start_with?(@install)
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
@@ -1,3 +1,3 @@
1
1
  module XcodeInstall
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -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.1
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-28 00:00:00.000000000 Z
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.13.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: 1.0.0
40
+ version: 0.15.1
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: bundler
49
43
  requirement: !ruby/object:Gem::Requirement