xcode-install 2.0.4 → 2.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: 95ef7ef854f22068da4b6d17fbd0eeec9bd7083b
4
- data.tar.gz: a2f55e7e0ae0110d06c2cfac22645e31d696b06e
3
+ metadata.gz: bebf98882d8bb4182caa8d35f96ff9fa390406af
4
+ data.tar.gz: 0cdadd3c5a5f6407704df4b021e345e3febc9a41
5
5
  SHA512:
6
- metadata.gz: 39598493738e22334ffee03e5c4e96cb3aac39d2cdb1640441a24a038f8e6cbf7a00c441783f6d44e83ec630cca68a51f45f0cc6ead5e59a6228fbb4aadf8d4a
7
- data.tar.gz: 34467afe0c9238147e88bbd0e1e47a08c5537758688d09b01680c97004bc48b00e943f01d92766ed081217c1524e9faa519f4d4690c943131bd865aded32c984
6
+ metadata.gz: 14861e840814091cf7d8daf83fb94d58094348e8bb563412aedc408455dd0b8c3e98f4b187d8f63ce099d630fc0865509786a3ef963ab190af5ee419181b0c74
7
+ data.tar.gz: c2a0fa3ba2d043a3e1ae52f80dde5515340b6bb29a88365d22e41ddbb5cebc776023f3543ad6cc2d37396f56da8bc974ad7dba2d99f0228f713f554b4a2382a6
File without changes
data/README.md CHANGED
@@ -48,15 +48,20 @@ $ xcversion list
48
48
 
49
49
  Installed versions will be omitted and by default, only the latest major version is listed.
50
50
 
51
+ To list all available versions run
52
+ ```
53
+ $ xcversion list --all
54
+ ```
55
+
51
56
  To install a certain version, simply:
52
57
 
53
58
  ```
54
- $ xcversion install 6.3
59
+ $ xcversion install 8
55
60
  ########################################################### 82.1%
56
61
  ######################################################################## 100.0%
57
62
  Please authenticate for Xcode installation...
58
63
 
59
- Xcode 6.3
64
+ Xcode 8
60
65
  Build version 6D570
61
66
  ```
62
67
 
@@ -135,9 +140,11 @@ project, especially [@henrikhodne][6] and [@lacostej][7] for making XcodeInstall
135
140
  4. Push to the branch (`git push origin my-new-feature`)
136
141
  5. Create a new Pull Request
137
142
 
138
- ## Help needed
143
+ ## License
144
+
145
+ This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE) file.
139
146
 
140
- Follow [@NeoNacho](https://twitter.com/NeoNacho) to help me beat [@orta](https://twitter.com/orta) in followers count.
147
+ > This project and all fastlane tools are in no way affiliated with Apple Inc or Google. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
141
148
 
142
149
  [1]: https://github.com/fastlane/credentials_manager#using-environment-variables
143
150
  [2]: http://fastlane.tools
@@ -1,3 +1,3 @@
1
1
  module XcodeInstall
2
- VERSION = '2.0.4'.freeze
2
+ VERSION = '2.0.5'.freeze
3
3
  end
data/lib/xcode/install.rb CHANGED
@@ -275,7 +275,7 @@ HELP
275
275
  a.date_modified <=> b.date_modified
276
276
  end
277
277
 
278
- xcodes.select { |x| x.url.end_with?('.dmg') }
278
+ xcodes.select { |x| x.url.end_with?('.dmg') || x.url.end_with?('.xip') }
279
279
  end
280
280
 
281
281
  def list_versions
@@ -306,6 +306,8 @@ HELP
306
306
  scan = body.scan(rg)
307
307
  end
308
308
 
309
+ return [] if scan.empty?
310
+
309
311
  version = scan.last.gsub(/<.*?>/, '').gsub(/.*Xcode /, '')
310
312
  link = body.scan(%r{<button .*"(.+?.xip)".*</button>}).first.first
311
313
  notes = body.scan(%r{<a.+?href="(/go/\?id=xcode-.+?)".*>(.*)</a>}).first.first
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: 2.0.4
4
+ version: 2.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: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide
@@ -93,7 +93,7 @@ files:
93
93
  - ".rubocop_todo.yml"
94
94
  - ".travis.yml"
95
95
  - Gemfile
96
- - LICENSE.txt
96
+ - LICENSE
97
97
  - README.md
98
98
  - Rakefile
99
99
  - bin/xcversion