xcode-installer 0.2.2 → 0.2.3
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 +4 -4
- data/HISTORY.md +5 -1
- data/gem_graph.png +0 -0
- data/lib/xcode-installer.rb +1 -1
- data/lib/xcode-installer/install.rb +3 -1
- data/lib/xcode-installer/xcode-versions.rb +1 -1
- data/lib/xcode-installer/xcode-versions.yml +8 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MzUzOTg3N2VjMjk1NWYyMDdlMjllNWNiNGYwNDIyZTgwMzhhODBjMg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YzNhZDgyZDI3ZTBmZGVlZTc5NjNkYWI5YmNjMjgyMzFhY2E1MWI5Yw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MzBhNTJlYzY3ZGVkN2Y2OTM4NmRmYzNjMjFkYzBkYTFkMTQxZGYxMzc5N2Q0
|
|
10
|
+
OGIyZGEwZDFkYTkyMDAwNTVkOWMxNWFlNWFmMWNkZmE5YzdjMGUxZWUwMTZl
|
|
11
|
+
NmNmNzI3MGRkMWVhNTI1ZTViZDY2MDdkNjZjMGJiYWY0YTMxNDI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZGMyMzk5M2ZmNTRkMGI2MDdhYjZkODBmOTM2OGFiNzlhYzUzMzlhYTQwN2U4
|
|
14
|
+
MjM3OTFjY2ZjZWNlMDllNTA0ZGI5ZmRmZTFmMDUzMjcwZTVlNjU5ZDBmNTFh
|
|
15
|
+
NDVkYTg3ZWU4YjFhNGQwOTFiMzkzMzczNDUyZjM0ODc1Y2VjMDA=
|
data/Gemfile.lock
CHANGED
|
@@ -10,7 +10,7 @@ GIT
|
|
|
10
10
|
PATH
|
|
11
11
|
remote: .
|
|
12
12
|
specs:
|
|
13
|
-
xcode-installer (0.
|
|
13
|
+
xcode-installer (0.2.2)
|
|
14
14
|
commander (~> 4.1.2)
|
|
15
15
|
mechanize (~> 2.5.1)
|
|
16
16
|
security (~> 0.1.2)
|
|
@@ -20,12 +20,12 @@ PATH
|
|
|
20
20
|
GEM
|
|
21
21
|
remote: https://rubygems.org/
|
|
22
22
|
specs:
|
|
23
|
-
commander (4.1.
|
|
23
|
+
commander (4.1.5)
|
|
24
24
|
highline (~> 1.6.11)
|
|
25
25
|
diff-lcs (1.2.4)
|
|
26
26
|
domain_name (0.5.12)
|
|
27
27
|
unf (>= 0.0.5, < 1.0.0)
|
|
28
|
-
highline (1.6.
|
|
28
|
+
highline (1.6.20)
|
|
29
29
|
mechanize (2.5.1)
|
|
30
30
|
domain_name (~> 0.5, >= 0.5.1)
|
|
31
31
|
mime-types (~> 1.17, >= 1.17.2)
|
|
@@ -53,7 +53,7 @@ GEM
|
|
|
53
53
|
rspec-mocks (2.14.2)
|
|
54
54
|
security (0.1.2)
|
|
55
55
|
terminal-table (1.4.5)
|
|
56
|
-
trash (0.2.
|
|
56
|
+
trash (0.2.1)
|
|
57
57
|
unf (0.1.1)
|
|
58
58
|
unf_ext
|
|
59
59
|
unf_ext (0.0.6)
|
data/HISTORY.md
CHANGED
data/gem_graph.png
ADDED
|
Binary file
|
data/lib/xcode-installer.rb
CHANGED
|
@@ -42,12 +42,14 @@ module XcodeInstaller
|
|
|
42
42
|
# system "hdid '#{dmg_file}' -mountpoint #{mountpoint}"
|
|
43
43
|
system "hdiutil attach -quiet #{dmg_file}"
|
|
44
44
|
|
|
45
|
+
app_bundle_name = @release['app_bundle_name'] ||= "Xcode.app"
|
|
46
|
+
|
|
45
47
|
# Trash existing install (so command is rerunnable)
|
|
46
48
|
destination = "/Applications/Xcode#{version_suffix}.app"
|
|
47
49
|
Trash.new.throw_out(destination)
|
|
48
50
|
|
|
49
51
|
# TODO: Dynamically determine .app file name (DP releases have the version embedded)
|
|
50
|
-
copy("#{mountpoint}
|
|
52
|
+
copy("#{mountpoint}/#{app_bundle_name}", destination)
|
|
51
53
|
|
|
52
54
|
system "hdiutil detach -quiet #{mountpoint}"
|
|
53
55
|
end
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
gui:
|
|
3
|
+
- version: '5.1-DP'
|
|
4
|
+
download_url: https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_5.1_developer_preview_om3n2z/xcode_5.1_developer_preview.dmg
|
|
5
|
+
release_date: 2013-11-18
|
|
6
|
+
interface_type: gui
|
|
7
|
+
last_modified: 'Mon, 18 Nov 2013 04:20:59 GMT'
|
|
8
|
+
product_build_version: 5B45j
|
|
9
|
+
app_bundle_name: Xcode51-DP.app
|
|
3
10
|
- version: '5.0.2'
|
|
4
11
|
download_url: https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_5.0.2/xcode_5.0.2.dmg
|
|
5
12
|
release_date: 2013-11-11
|
|
6
13
|
interface_type: gui
|
|
7
14
|
size: 2195476273
|
|
8
15
|
last_modified: 'Mon, 11 Nov 2013 18:32:20 GMT'
|
|
9
|
-
product_build_version:
|
|
16
|
+
product_build_version: 5A3005
|
|
10
17
|
- version: '5.0.2-GM'
|
|
11
18
|
download_url: https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_5.0.2_gm_seed/xcode_5.0.2_gm_seed.dmg
|
|
12
19
|
release_date: 2013-11-05
|
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.2.
|
|
4
|
+
version: 0.2.3
|
|
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-11-
|
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: commander
|
|
@@ -129,6 +129,7 @@ executables:
|
|
|
129
129
|
extensions: []
|
|
130
130
|
extra_rdoc_files: []
|
|
131
131
|
files:
|
|
132
|
+
- ./gem_graph.png
|
|
132
133
|
- ./Gemfile
|
|
133
134
|
- ./Gemfile.lock
|
|
134
135
|
- ./HISTORY.md
|
|
@@ -179,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
179
180
|
version: '0'
|
|
180
181
|
requirements: []
|
|
181
182
|
rubyforge_project:
|
|
182
|
-
rubygems_version: 2.0.
|
|
183
|
+
rubygems_version: 2.0.6
|
|
183
184
|
signing_key:
|
|
184
185
|
specification_version: 4
|
|
185
186
|
summary: A gem for installing Xcode
|