choc 0.1.0.alpha → 0.1.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/choc +8 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26718439279c2f1972b848ff47c8531a0bd82952
4
- data.tar.gz: 6e9d7377ec743cbe44b288eab66751c0e66b93d4
3
+ metadata.gz: 884e78d2541eefe1e6956c5f84dc637f6fd38d56
4
+ data.tar.gz: 103a72bcffeb4c7538f817b86309d2ec868e43eb
5
5
  SHA512:
6
- metadata.gz: 43aca6fcd812d8043b70a3f0c15755df1baff31e90565543d918e8a3bfc7b0c34885f7c5b68144ea6898ab59ba096cdb4fbc223b49b441db24b92bcaf9afb276
7
- data.tar.gz: adf1a0c65990f6f237382c1b1ed636bd7228f39df38505a3268ce4c4a9e7048d1d632cd2f3746df408bbd6b392d632e96318b5ab915ce781242910f1af82f36e
6
+ metadata.gz: 5f41ecdff011a0b4fa973a7b4eab39ba515e2bb76e634fbab2b9fb7519cd02dcf163e6249d06dea647e5cc692dd70fcbff4e9f83321263bc82b6aedf69dd7f90
7
+ data.tar.gz: 77abc86c536187a5898476e88c6e16e11ad12c97ddeeaa0abd312a886be41529ec571c430a2174e7305a3795a46465a3c6740aacc351cbf38918532d6569f277
data/bin/choc CHANGED
@@ -26,6 +26,14 @@ end
26
26
  $target_dir = "/tmp/choc/#{SecureRandom.uuid}"
27
27
 
28
28
  begin
29
+ if (/darwin/=~ RUBY_PLATFORM) == nil
30
+ puts "Choc only runs on OSX"
31
+ exit 1
32
+ end
33
+
34
+ if (`which lipo`.strip.empty? and `which ar`.strip.empty?)
35
+ puts "You'd need `lipo` and `ar` on your PATH. Have you installed XCODE?"
36
+ end
29
37
  args = cmd_parser.parse(ARGV)
30
38
 
31
39
  if args.count < 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: choc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didiet Noor
@@ -34,9 +34,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
34
34
  version: '0'
35
35
  required_rubygems_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 1.3.1
39
+ version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
42
  rubygems_version: 2.2.2