xcode-installer 0.1.6 → 0.1.7
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 +8 -8
- data/Gemfile.lock +19 -17
- data/HISTORY.md +4 -1
- data/gem_graph.png +0 -0
- data/lib/xcode-installer.rb +1 -1
- data/lib/xcode-installer/agent.rb +2 -2
- data/lib/xcode-installer/commands/list.rb +1 -1
- data/lib/xcode-installer/xcode-versions.rb +1 -1
- data/lib/xcode-installer/xcode-versions.yml +14 -0
- metadata +4 -17
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTRiNTQzYmQ2ZTc2YzNiMzM1OGRjY2NhZTRmOTViOTU4ZDkwZmE4YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjZkMDRkMTc3NGI5YjEwYjQ3ZWNhYmVmZThjN2ViYjg4YmYxNDE3OA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGNlYTViYzNmYTVkMTIxN2EzZmU1YTNmYjU4Y2FhNGZlZDRiYmY0MTkxMTRm
|
10
|
+
ZDJmYWIzNTQzM2U0MzI3MTlmZDI4Yjc1NjE0YzZjNjVlODRkNWRlYTA5MDc4
|
11
|
+
NzYwMWFjYTMxMTEwY2YzN2VmNWYwNWFhMzhiZmJjZThhZTJjMDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODU1YjkwOTU4NGFhODIyYTNmMTJkMmI4MmQ2NDg5N2IzMWNjMzMwYjYxOGQy
|
14
|
+
MzQ0NTY4OTQ3YWI4MzI4MmRlYzQ0NTNlY2ZhZGRjOGVmMWUxNDAxZWJjM2U0
|
15
|
+
MDU2OGI4N2UxNzFlNzI2ZGU2NDU2MzZlMGVmMzM0YWJlZDMxN2Y=
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,18 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/phatblat/Mechanize-ProgressBar.git
|
3
|
-
revision:
|
3
|
+
revision: 78abca7b143f6af4fce6ab6f1a7ac3cc4fcc907c
|
4
4
|
branch: devel
|
5
5
|
specs:
|
6
|
-
mechanize-progressbar (0.2.
|
6
|
+
mechanize-progressbar (0.2.1)
|
7
7
|
mechanize (>= 1.0.0)
|
8
8
|
progressbar (>= 0.9.0)
|
9
9
|
|
10
10
|
PATH
|
11
11
|
remote: .
|
12
12
|
specs:
|
13
|
-
xcode-installer (0.1.
|
13
|
+
xcode-installer (0.1.6)
|
14
14
|
commander (~> 4.1.2)
|
15
15
|
mechanize (~> 2.5.1)
|
16
|
-
mechanize-progressbar (~> 0.2.0)
|
17
16
|
security (~> 0.1.2)
|
18
17
|
terminal-table (~> 1.4.5)
|
19
18
|
trash (~> 0.2.0)
|
@@ -21,10 +20,10 @@ PATH
|
|
21
20
|
GEM
|
22
21
|
remote: https://rubygems.org/
|
23
22
|
specs:
|
24
|
-
commander (4.1.
|
23
|
+
commander (4.1.4)
|
25
24
|
highline (~> 1.6.11)
|
26
25
|
diff-lcs (1.2.4)
|
27
|
-
domain_name (0.5.
|
26
|
+
domain_name (0.5.12)
|
28
27
|
unf (>= 0.0.5, < 1.0.0)
|
29
28
|
highline (1.6.19)
|
30
29
|
mechanize (2.5.1)
|
@@ -36,20 +35,22 @@ GEM
|
|
36
35
|
ntlm-http (~> 0.1, >= 0.1.1)
|
37
36
|
webrobots (~> 0.0, >= 0.0.9)
|
38
37
|
mime-types (1.23)
|
39
|
-
|
40
|
-
net-http-
|
41
|
-
|
38
|
+
mini_portile (0.5.1)
|
39
|
+
net-http-digest_auth (1.4)
|
40
|
+
net-http-persistent (2.9)
|
41
|
+
nokogiri (1.6.0)
|
42
|
+
mini_portile (~> 0.5.0)
|
42
43
|
ntlm-http (0.1.1)
|
43
44
|
progressbar (0.20.0)
|
44
|
-
rake (10.0
|
45
|
-
rspec (2.
|
46
|
-
rspec-core (~> 2.
|
47
|
-
rspec-expectations (~> 2.
|
48
|
-
rspec-mocks (~> 2.
|
49
|
-
rspec-core (2.
|
50
|
-
rspec-expectations (2.
|
45
|
+
rake (10.1.0)
|
46
|
+
rspec (2.14.1)
|
47
|
+
rspec-core (~> 2.14.0)
|
48
|
+
rspec-expectations (~> 2.14.0)
|
49
|
+
rspec-mocks (~> 2.14.0)
|
50
|
+
rspec-core (2.14.4)
|
51
|
+
rspec-expectations (2.14.0)
|
51
52
|
diff-lcs (>= 1.1.3, < 2.0)
|
52
|
-
rspec-mocks (2.
|
53
|
+
rspec-mocks (2.14.2)
|
53
54
|
security (0.1.2)
|
54
55
|
terminal-table (1.4.5)
|
55
56
|
trash (0.2.0)
|
@@ -62,6 +63,7 @@ PLATFORMS
|
|
62
63
|
ruby
|
63
64
|
|
64
65
|
DEPENDENCIES
|
66
|
+
bundler (~> 1.3)
|
65
67
|
mechanize-progressbar!
|
66
68
|
rake
|
67
69
|
rspec
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.1.7 (2013-08-16)
|
2
|
+
|
3
|
+
* add xcode 5 dp6
|
4
|
+
|
1
5
|
## 0.1.6 (2013-08-06)
|
2
6
|
|
3
7
|
* add xcode 5 dp5
|
@@ -31,4 +35,3 @@
|
|
31
35
|
* add download urls for xcode 4.6.x
|
32
36
|
* add download url for xcode and 5 (initial seed) used by --pre-release option
|
33
37
|
* list and download commands working
|
34
|
-
|
data/gem_graph.png
ADDED
Binary file
|
data/lib/xcode-installer.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'mechanize'
|
2
|
-
|
2
|
+
require 'mechanize/progressbar'
|
3
3
|
require 'security'
|
4
4
|
|
5
5
|
module XcodeInstaller
|
@@ -70,7 +70,7 @@ module XcodeInstaller
|
|
70
70
|
else
|
71
71
|
# GET request for actual download
|
72
72
|
pluggable_parser.default = Mechanize::Download
|
73
|
-
|
73
|
+
self.progressbar{ file = get(xcode_url) }
|
74
74
|
file = get(xcode_url)
|
75
75
|
file.save
|
76
76
|
return file.filename
|
@@ -1,5 +1,5 @@
|
|
1
1
|
command :'list' do |c|
|
2
|
-
c.syntax = 'xcode-installer list'
|
2
|
+
c.syntax = 'xcode-installer list [all|gui|cli]'
|
3
3
|
c.summary = 'Lists the versions of Xcode available for downloading'
|
4
4
|
c.description = 'Shows only the Xcode GUI versions by default. Specify "all" or "cli" to show command-line tools'
|
5
5
|
|
@@ -1,5 +1,9 @@
|
|
1
1
|
---
|
2
2
|
gui:
|
3
|
+
- version: 5-DP6
|
4
|
+
download_url: https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_5_developer_preview_6/xcode_5_developer_preview_6.dmg
|
5
|
+
release_date: 2013-08-21
|
6
|
+
interface_type: gui
|
3
7
|
- version: 5-DP5
|
4
8
|
download_url: https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_5_developer_preview_5/xcode_5_developer_preview_5.dmg
|
5
9
|
release_date: 2013-08-06
|
@@ -34,6 +38,16 @@ gui:
|
|
34
38
|
download_url: https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.6/xcode460417218a.dmg
|
35
39
|
interface_type: gui
|
36
40
|
cli:
|
41
|
+
# - version: 5-DP6
|
42
|
+
# download_url: https://developer.apple.com/downloads/download.action?path=Developer_Tools/command_line_tools_for_os_x_mavericks_developer_preview_6/command_line_tools_for_os_x_mavericks_developer_preview_6.dmg
|
43
|
+
# release_date: 2013-08-16
|
44
|
+
# interface_type: cli
|
45
|
+
# os_version: 10.9
|
46
|
+
- version: 5-DP6
|
47
|
+
download_url: https://developer.apple.com/downloads/download.action?path=Developer_Tools/command_line_tools_for_os_x_mountain_lion_developer_preview_6/command_line_tools_for_os_x_mountain_lion_developer_preview_6.dmg
|
48
|
+
release_date: 2013-08-21
|
49
|
+
interface_type: cli
|
50
|
+
os_version: 10.8
|
37
51
|
# - version: 5-DP5
|
38
52
|
# download_url: https://developer.apple.com/downloads/download.action?path=Developer_Tools/command_line_tools_for_os_x_mavericks_developer_preview_5/command_line_tools_for_os_x_mavericks_developer_preview_5.dmg
|
39
53
|
# release_date: 2013-08-06
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcode-installer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Chatelain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.5.1
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mechanize-progressbar
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.2.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.2.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: security
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,6 +129,7 @@ executables:
|
|
143
129
|
extensions: []
|
144
130
|
extra_rdoc_files: []
|
145
131
|
files:
|
132
|
+
- ./gem_graph.png
|
146
133
|
- ./Gemfile
|
147
134
|
- ./Gemfile.lock
|
148
135
|
- ./HISTORY.md
|
@@ -187,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
174
|
version: '0'
|
188
175
|
requirements: []
|
189
176
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.0.
|
177
|
+
rubygems_version: 2.0.6
|
191
178
|
signing_key:
|
192
179
|
specification_version: 4
|
193
180
|
summary: A gem for installing Xcode
|