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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4f9ca55233fcd732218efbc641c10227b57b0d2
4
- data.tar.gz: 24dd99c68e8c27306590cc17375a549be152ee64
3
+ metadata.gz: 946b8ef79252489a3336e5e6817c0ed19bee821b
4
+ data.tar.gz: 3deaa2637b074ea61a62fc8eb4f58bd317474705
5
5
  SHA512:
6
- metadata.gz: 9657fe6c769fbae539032adebc8a3980d3c780c8c9e0f06a4999c4807a4648ec57e6ce808380582b805d11bbdd619d81842ed22a14b2096ca10ac57301276957
7
- data.tar.gz: be474bb19a6a974b92854f163d156d88a50ce2524389a5392bc4c8a87a3755e86f87f0360fdf068bae1d47fa646f193e519e1761e5321b4df8d5c9bc6845e539
6
+ metadata.gz: 5e8361a01c5d0289c636276d21a6cc0c78c19c95e608f88c4315d589d4f6bd9500a979d2b6c8ff06114faf696116b0149730627acd6a37ad93453f63e06239e5
7
+ data.tar.gz: 4c4879ac235a47615a3d785674f27440ea0bf012f8a968c7736ea049f130d0e1f2d34955d4025e7c484bfdf16eb97d608eed35eacba3e6a59e57c6e4437d7eca
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'ahalogy-automation'
3
- gem.version = '0.0.13'
3
+ gem.version = '0.14.0'
4
4
  gem.licenses = ['MIT']
5
- gem.date = '2015-11-17'
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']
@@ -84,24 +84,16 @@ begin
84
84
  system 'xcodebuild &> /dev/null'
85
85
  case $?.exitstatus
86
86
  when 1
87
- if options[:xcode]
88
- xcode_dmg = options[:xcode]
89
- else
90
- puts 'Downloading Xcode to install...'.colorize(:blue)
91
- system('curl --output /tmp/xcode.dmg https://s3-us-west-1.amazonaws.com/a5y-is-and-t/Xcode_7.1.1.dmg')
92
- xcode_dmg = '/tmp/xcode.dmg'
93
- end
94
- command = Command.run("hdiutil attach -nobrowse '#{xcode_dmg}'")
95
- fail "Can't mount Xcode dmg at #{xcode_dmg} or the host s3-uswest-1.amazonaws.com could not be resolved(the file may be flagged private)." unless command.status == 0
96
- line = command.stdout.lines.last
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.13
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-11-17 00:00:00.000000000 Z
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.4.5.1
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: