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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef72b2afcf976df4f9444a45bc21779a0c38afde
4
- data.tar.gz: 27a817bc906e93a371fc0c81d46bc70227fe559f
3
+ metadata.gz: 94d2ba944e260009634b80f9962d20322fd1f902
4
+ data.tar.gz: eeefd86022b7f7b2649c2d336b74edcb86fae74e
5
5
  SHA512:
6
- metadata.gz: 03625d471acfec92df550fcb5c7035d4ae28865f57a8dcfe0da28e9f2297c6d4d37153301a7ad1cb31e50692e72a1a60e1d276d10f42dc5ae8a91ccd5bfb5d65
7
- data.tar.gz: 4a345f696c651b5049806134bcc03e073765a9903b9d63ed1520028b6405662be5aabcd334bd1503dc40d1ff9a75fcd359d07d67675ed6010753cbcaa4a99f66
6
+ metadata.gz: 0c35741166c044efbf422f5957bcb8527b6935ed0c8177d02f890d6ef5ee2b96bf46bfe379931317f5aca5491a387b199b08fe4e099299b406d2944530e802e1
7
+ data.tar.gz: 58e3d669156fe437fb0519be9f2c08e2a987bda6c7c859cfd2c4019d6bd97a01fac06fc18ed5bd73bfe7712ebbde62e70794f8b33d428574d010b0523230ed74
@@ -3,6 +3,8 @@ os: osx
3
3
  osx_image: xcode7.3
4
4
  rvm: 2.0.0-p598
5
5
  cache: bundler
6
+ before_install:
7
+ - gem install bundler
6
8
  script:
7
9
  - bundle exec rake spec
8
10
  - bundle exec rake rubocop
@@ -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="(.+?\.(dmg|xip))".*>(.*)</a>})
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[2].strip.gsub(/.*Xcode /, ''), pre[0], pre[3]) }
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>}
@@ -1,3 +1,3 @@
1
1
  module XcodeInstall
2
- VERSION = '2.3.0'.freeze
2
+ VERSION = '2.3.1'.freeze
3
3
  end
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.0
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-09-22 00:00:00.000000000 Z
11
+ date: 2017-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide