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 +4 -4
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +11 -4
- data/lib/xcode/install/version.rb +1 -1
- data/lib/xcode/install.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bebf98882d8bb4182caa8d35f96ff9fa390406af
|
4
|
+
data.tar.gz: 0cdadd3c5a5f6407704df4b021e345e3febc9a41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14861e840814091cf7d8daf83fb94d58094348e8bb563412aedc408455dd0b8c3e98f4b187d8f63ce099d630fc0865509786a3ef963ab190af5ee419181b0c74
|
7
|
+
data.tar.gz: c2a0fa3ba2d043a3e1ae52f80dde5515340b6bb29a88365d22e41ddbb5cebc776023f3543ad6cc2d37396f56da8bc974ad7dba2d99f0228f713f554b4a2382a6
|
data/{LICENSE.txt → LICENSE}
RENAMED
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
|
59
|
+
$ xcversion install 8
|
55
60
|
########################################################### 82.1%
|
56
61
|
######################################################################## 100.0%
|
57
62
|
Please authenticate for Xcode installation...
|
58
63
|
|
59
|
-
Xcode
|
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
|
-
##
|
143
|
+
## License
|
144
|
+
|
145
|
+
This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE) file.
|
139
146
|
|
140
|
-
|
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
|
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
|
+
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-
|
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
|
96
|
+
- LICENSE
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
99
|
- bin/xcversion
|