xcode-install 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/lib/xcode/install.rb +2 -2
- data/lib/xcode/install/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94d2ba944e260009634b80f9962d20322fd1f902
|
4
|
+
data.tar.gz: eeefd86022b7f7b2649c2d336b74edcb86fae74e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c35741166c044efbf422f5957bcb8527b6935ed0c8177d02f890d6ef5ee2b96bf46bfe379931317f5aca5491a387b199b08fe4e099299b406d2944530e802e1
|
7
|
+
data.tar.gz: 58e3d669156fe437fb0519be9f2c08e2a987bda6c7c859cfd2c4019d6bd97a01fac06fc18ed5bd73bfe7712ebbde62e70794f8b33d428574d010b0523230ed74
|
data/.travis.yml
CHANGED
data/lib/xcode/install.rb
CHANGED
@@ -282,7 +282,7 @@ HELP
|
|
282
282
|
def prereleases
|
283
283
|
body = spaceship.send(:request, :get, '/download/').body
|
284
284
|
|
285
|
-
links = body.scan(%r{<a.+?href="(
|
285
|
+
links = body.scan(%r{<a.+?href="(.+?/Xcode.+?/Xcode_(.+?)\.(dmg|xip))".*>(.*)</a>})
|
286
286
|
links = links.map do |link|
|
287
287
|
parent = link[0].scan(%r{path=(/.*/.*/)}).first.first
|
288
288
|
match = body.scan(/#{Regexp.quote(parent)}(.+?.pdf)/).first
|
@@ -292,7 +292,7 @@ HELP
|
|
292
292
|
link + [nil]
|
293
293
|
end
|
294
294
|
end
|
295
|
-
links = links.map { |pre| Xcode.new_prerelease(pre[
|
295
|
+
links = links.map { |pre| Xcode.new_prerelease(pre[1].strip.tr('_', ' '), pre[0], pre[4]) }
|
296
296
|
|
297
297
|
if links.count.zero?
|
298
298
|
rg = %r{platform-title.*Xcode.* beta.*<\/p>}
|
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.3.
|
4
|
+
version: 2.3.1
|
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: 2017-
|
11
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: claide
|