xcode-install 0.0.2 → 0.0.3

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: fdef01fa4c03558490899178ca7b62aca5ba736a
4
- data.tar.gz: 8d9a02735355dce8bb78b87348aff3817b6e8479
3
+ metadata.gz: 8e45140d056f5e42c4e07c2c319d6054e1ce00ea
4
+ data.tar.gz: 7791a902568ca8c67b807e957a00c06ce8276829
5
5
  SHA512:
6
- metadata.gz: e1f449d7bf48d8f8dbe44be046d6807ef345ffdd5d0577dffec6fbba258f691151bfde2d87c15debd4b2ab0fa57ed674582133915932955cd3834d10857b6608
7
- data.tar.gz: 99c467cf89a99efb2adae5bb9caff96b5582618525f53663be9f2f539794b91cc565ac3c593124b262c4ad9507a23ed1194f0a3440500127b5c7ede3191134da
6
+ metadata.gz: 389e5345d4c1c2823b7a05d98af2d44a8b0601381d15f4a15318031a211f12abf221fa7c50fb17a86bef8701f5df81433ed8d402af60e733469b48f1d78b427c
7
+ data.tar.gz: 5a25e27292ae3f9f1a0b860859d5477cf082ed3c27c7070f406ef72bb8a424d1b238b557343596d48660cdfe44bdde1e0a961911216d240e300f6392e18b046d
data/lib/xcode/install.rb CHANGED
@@ -92,7 +92,8 @@ module XcodeInstall
92
92
 
93
93
  `hdiutil mount -nobrowse -noverify #{dmgPath}`
94
94
  puts 'Please authenticate for Xcode installation...'
95
- `sudo ditto "/Volumes/Xcode/Xcode.app" "#{xcode_path}"`
95
+ source = Dir.glob('/Volumes/Xcode/Xcode*.app').first
96
+ `sudo ditto "#{source}" "#{xcode_path}"`
96
97
  `umount "/Volumes/Xcode"`
97
98
 
98
99
  `sudo xcode-select -s #{xcode_path}`
@@ -1,3 +1,3 @@
1
1
  module XcodeInstall
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcode-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Bügling