ahalogy-automation 0.0.13 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ahalogy-automation.gemspec +2 -2
- data/bin/a5y-configure +10 -18
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 946b8ef79252489a3336e5e6817c0ed19bee821b
|
4
|
+
data.tar.gz: 3deaa2637b074ea61a62fc8eb4f58bd317474705
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e8361a01c5d0289c636276d21a6cc0c78c19c95e608f88c4315d589d4f6bd9500a979d2b6c8ff06114faf696116b0149730627acd6a37ad93453f63e06239e5
|
7
|
+
data.tar.gz: 4c4879ac235a47615a3d785674f27440ea0bf012f8a968c7736ea049f130d0e1f2d34955d4025e7c484bfdf16eb97d608eed35eacba3e6a59e57c6e4437d7eca
|
data/ahalogy-automation.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'ahalogy-automation'
|
3
|
-
gem.version = '0.0
|
3
|
+
gem.version = '0.14.0'
|
4
4
|
gem.licenses = ['MIT']
|
5
|
-
gem.date = '2015-
|
5
|
+
gem.date = '2015-10-08'
|
6
6
|
gem.summary = 'Scripts to handle IT automation.'
|
7
7
|
gem.description = 'Scripts that install applications on Ahalogy Mac computers.'
|
8
8
|
gem.authors = ['Zan Loy', 'Brian Cerchio']
|
data/bin/a5y-configure
CHANGED
@@ -84,24 +84,16 @@ begin
|
|
84
84
|
system 'xcodebuild &> /dev/null'
|
85
85
|
case $?.exitstatus
|
86
86
|
when 1
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
device = line.split(' ').first.strip
|
98
|
-
dir = line.split(' ').last.strip
|
99
|
-
puts 'Copying Xcode.app to /Applications...'.colorize(:blue)
|
100
|
-
command = Command.run("cp -R '#{dir}/Xcode.app' /Applications")
|
101
|
-
fail 'Error trying to install Xcode.app in /Applications' unless command.status == 0
|
102
|
-
Command.run "hdiutil unmount #{device}"
|
103
|
-
FileUtils.rm xcode_dmg if xcode_dmg == '/tmp/xcode.dmg'
|
104
|
-
install_file 'com.apple.dt.Xcode.plist', '/Library/Preferences/com.apple.dt.Xcode.plist'
|
87
|
+
puts "We don't want to install Xcode using the Mac App Store, as it becomes a problem"
|
88
|
+
puts "for the user when they're unable to install updates without signing in with the"
|
89
|
+
puts "same Apple ID that installed it."
|
90
|
+
puts ""
|
91
|
+
puts "So download the current version of Xcode by signing in to developer.apple.com"
|
92
|
+
puts "and downloading it:"
|
93
|
+
puts "http://stackoverflow.com/questions/10335747/how-to-download-xcode-4-5-6-7-and-get-the-dmg-file"
|
94
|
+
puts ""
|
95
|
+
puts "Then copy Xcode.app to /Applications"
|
96
|
+
fail 'Please install Xcode.app in /Applications'
|
105
97
|
when 69
|
106
98
|
install_file 'com.apple.dt.Xcode.plist', '/Library/Preferences/com.apple.dt.Xcode.plist'
|
107
99
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ahalogy-automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zan Loy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -136,8 +136,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.2.2
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Scripts to handle IT automation.
|
143
143
|
test_files: []
|
144
|
+
has_rdoc:
|