xcode-install 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xcode/install.rb +5 -5
- data/lib/xcode/install/version.rb +1 -1
- data/spec/fixtures/devcenter/xcode-20160705.html +1909 -0
- data/spec/prerelease_spec.rb +7 -0
- metadata +4 -2
data/spec/prerelease_spec.rb
CHANGED
|
@@ -76,5 +76,12 @@ module XcodeInstall
|
|
|
76
76
|
prereleases.count.should == 1
|
|
77
77
|
prereleases.first.should == Xcode.new('8 beta', '/services-account/download?path=/WWDC_2016/Xcode_8_beta/Xcode_8_beta.xip', '/go/?id=xcode-8-beta-rn')
|
|
78
78
|
end
|
|
79
|
+
|
|
80
|
+
it 'can parse prereleases from 20160705' do
|
|
81
|
+
prereleases = parse_prereleases('20160705')
|
|
82
|
+
|
|
83
|
+
prereleases.count.should == 1
|
|
84
|
+
prereleases.first.should == Xcode.new('8 beta 2', '/services-account/download?path=/Developer_Tools/Xcode_8_beta_2/Xcode_8_beta_2.xip', '/go/?id=xcode-8-beta-rn')
|
|
85
|
+
end
|
|
79
86
|
end
|
|
80
87
|
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.0.
|
|
4
|
+
version: 2.0.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: 2016-
|
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: claide
|
|
@@ -121,6 +121,7 @@ files:
|
|
|
121
121
|
- spec/fixtures/devcenter/xcode-20150624.html
|
|
122
122
|
- spec/fixtures/devcenter/xcode-20150909.html
|
|
123
123
|
- spec/fixtures/devcenter/xcode-20160601.html
|
|
124
|
+
- spec/fixtures/devcenter/xcode-20160705.html
|
|
124
125
|
- spec/fixtures/hdiutil.plist
|
|
125
126
|
- spec/fixtures/mail-verify.html
|
|
126
127
|
- spec/fixtures/xcode.json
|
|
@@ -169,6 +170,7 @@ test_files:
|
|
|
169
170
|
- spec/fixtures/devcenter/xcode-20150624.html
|
|
170
171
|
- spec/fixtures/devcenter/xcode-20150909.html
|
|
171
172
|
- spec/fixtures/devcenter/xcode-20160601.html
|
|
173
|
+
- spec/fixtures/devcenter/xcode-20160705.html
|
|
172
174
|
- spec/fixtures/hdiutil.plist
|
|
173
175
|
- spec/fixtures/mail-verify.html
|
|
174
176
|
- spec/fixtures/xcode.json
|