xcode-install 1.2.2 → 1.2.3
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/install.rb +1 -1
- data/lib/xcode/install/simulators.rb +1 -1
- data/lib/xcode/install/version.rb +1 -1
- data/xcode-install.gemspec +1 -2
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b6a22e23caf1306b9ba4db1b8bb51ed2c4fc908
|
4
|
+
data.tar.gz: 0172e6d1745d404a246db398d31b16a52a9be10a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e1af747c1f3e850502bd93b47f8ebc0974d3c53451dd452305072e4ba6623e3296fb493b40ec5fc9b5da7e93fbb124d63d61c198b29d5dad3bd84abf93cefa
|
7
|
+
data.tar.gz: 76feb7f4fd9840975cf3c5222a4d967f38571e01a71b444166e979c508babb603fcd49d3467404e05a43954bfae422af295e953cb4a56522c1d95cb3edc37b30
|
@@ -32,7 +32,7 @@ module XcodeInstall
|
|
32
32
|
def validate!
|
33
33
|
super
|
34
34
|
|
35
|
-
|
35
|
+
help! 'A VERSION argument is required.' unless @version
|
36
36
|
fail Informative, "Version #{@version} already installed." if @installer.installed?(@version)
|
37
37
|
fail Informative, "Version #{@version} doesn't exist." unless @installer.exist?(@version)
|
38
38
|
fail Informative, "Invalid URL: `#{@url}`" unless !@url || @url =~ /\A#{URI.regexp}\z/
|
@@ -41,7 +41,7 @@ module XcodeInstall
|
|
41
41
|
puts "[!] More than one simulator matching #{@install} was found. Please specify the full version.".ansi.red
|
42
42
|
filtered_simulators.each do |candidate|
|
43
43
|
puts "Xcode #{candidate.xcode.bundle_version} (#{candidate.xcode.path})".ansi.green
|
44
|
-
puts "
|
44
|
+
puts "xcversion simulators --install=#{candidate.version}"
|
45
45
|
end
|
46
46
|
exit 1
|
47
47
|
end
|
data/xcode-install.gemspec
CHANGED
@@ -21,8 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
23
|
spec.add_dependency 'claide', '~> 0.9.1'
|
24
|
-
|
25
|
-
spec.add_dependency 'spaceship', '= 0.15.1'
|
24
|
+
spec.add_dependency 'spaceship', '>= 0.16.0', '< 1.0.0'
|
26
25
|
|
27
26
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
28
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Bügling
|
@@ -28,16 +28,22 @@ 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.
|
33
|
+
version: 0.16.0
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.0
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- -
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.16.0
|
44
|
+
- - "<"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
46
|
+
version: 1.0.0
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: bundler
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|