cider 0.1.2 → 0.1.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.
- data/Rakefile +1 -1
- data/bin/cider +23 -0
- data/lib/cider.rb +1 -0
- metadata +10 -10
data/Rakefile
CHANGED
data/bin/cider
CHANGED
@@ -10,6 +10,29 @@ ENV['EMAIL'] ||= 'noreploy@gmail.com'
|
|
10
10
|
ENV['EDITOR'] ||= 'vim'
|
11
11
|
ENV['FULLNAME'] ||= 'Marlon Brando'
|
12
12
|
|
13
|
+
RECOMMENDED_LLVM = 2206
|
14
|
+
MACOS_FULL_VERSION = `/usr/bin/sw_vers -productVersion`.chomp
|
15
|
+
MACOS_VERSION = /(10\.\d+)(\.\d+)?/.match(MACOS_FULL_VERSION).captures.first.to_f
|
16
|
+
|
17
|
+
if MACOS_VERSION >= 10.6
|
18
|
+
begin
|
19
|
+
xcode_path = `/usr/bin/xcode-select -print-path`.chomp
|
20
|
+
return nil if xcode_path.empty?
|
21
|
+
if `#{xcode_path}/usr/bin/llvm-gcc-4.2 -v 2>&1` =~ /LLVM build (\d{4,})/
|
22
|
+
if $1.to_i < RECOMMENDED_LLVM
|
23
|
+
$stderr.puts "You should really upgrade your xcode install"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
rescue
|
27
|
+
$stderr.puts "You need xcode for this to work :\\"
|
28
|
+
exit(1)
|
29
|
+
end
|
30
|
+
else
|
31
|
+
$stderr.puts "You should really upgrade to snow leopard"
|
32
|
+
$stderr.puts "Make sure you have xcode installed and cross your fingers"
|
33
|
+
$stderr.puts "I've seen it work on leopard though..."
|
34
|
+
end
|
35
|
+
|
13
36
|
Cider::Runner.run
|
14
37
|
|
15
38
|
# vim:ft=ruby
|
data/lib/cider.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Corey Donohoe
|
@@ -15,11 +15,13 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-05-
|
18
|
+
date: 2010-05-27 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
22
23
|
prerelease: false
|
24
|
+
name: chef
|
23
25
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
26
|
none: false
|
25
27
|
requirements:
|
@@ -32,10 +34,10 @@ dependencies:
|
|
32
34
|
- 16
|
33
35
|
version: 0.8.16
|
34
36
|
requirement: *id001
|
35
|
-
type: :runtime
|
36
|
-
name: chef
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
+
type: :runtime
|
38
39
|
prerelease: false
|
40
|
+
name: rvm
|
39
41
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
43
|
requirements:
|
@@ -48,10 +50,10 @@ dependencies:
|
|
48
50
|
- 32
|
49
51
|
version: 0.1.32
|
50
52
|
requirement: *id002
|
51
|
-
type: :runtime
|
52
|
-
name: rvm
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
+
type: :runtime
|
54
55
|
prerelease: false
|
56
|
+
name: rest-client
|
55
57
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
58
|
none: false
|
57
59
|
requirements:
|
@@ -64,8 +66,6 @@ dependencies:
|
|
64
66
|
- 0
|
65
67
|
version: 1.4.0
|
66
68
|
requirement: *id003
|
67
|
-
type: :runtime
|
68
|
-
name: rest-client
|
69
69
|
description: The development environment you never wanted to manage alone
|
70
70
|
email: atmos@atmos.org
|
71
71
|
executables:
|