terraform 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/terraform/dsl.rb +2 -1
- data/lib/terraform/version.rb +1 -1
- data/test/unit/terraform/dsl_test.rb +1 -1
- metadata +4 -4
data/lib/terraform/dsl.rb
CHANGED
@@ -132,7 +132,8 @@ module Terraform
|
|
132
132
|
ensure_packages "curl", "build-essential", "libxslt1-dev", "libxml2-dev", "libssl-dev"
|
133
133
|
|
134
134
|
dep "rbenv ruby: #{ruby_version}" do
|
135
|
-
|
135
|
+
# `rbenv version` is better than `ruby -v`, as its version string is consistent across Ruby versions.
|
136
|
+
met? { `which ruby`.include?("rbenv") && `rbenv version`.include?(ruby_version) }
|
136
137
|
meet do
|
137
138
|
puts "Compiling Ruby will take a few minutes."
|
138
139
|
shell "rbenv install #{ruby_version}"
|
data/lib/terraform/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Phil Crosby
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-04-
|
18
|
+
date: 2012-04-19 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|