ruby-terraform 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ruby_terraform/version.rb +1 -1
- data/lib/ruby_terraform.rb +8 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02050c996a7a256625d0c264ea5f7cea31b7d476
|
4
|
+
data.tar.gz: 7dfd66659eca653c4747262fa4bf08f24ccb9825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d08e1205689821842bd11fdd2575f9614964293fa7006186e1a21833ad74ae3932b60b1770d049612c0eca628bda9034ab18b6ee3403a0499323135d023a2a85
|
7
|
+
data.tar.gz: fdc3713cd3245c04065144a61f49b257d3a1eed2fd4fe5f3a53fad55fbc52c69a282bff9e57e1598c21eb504b590250a95f664e6d6d8de7c368c4fd5108d726d
|
data/Gemfile.lock
CHANGED
data/lib/ruby_terraform.rb
CHANGED
@@ -3,11 +3,14 @@ require 'ruby_terraform/commands'
|
|
3
3
|
|
4
4
|
module RubyTerraform
|
5
5
|
class << self
|
6
|
-
|
6
|
+
attr_writer :configuration
|
7
7
|
|
8
|
-
def
|
8
|
+
def configuration
|
9
9
|
@configuration ||= Configuration.new
|
10
|
-
|
10
|
+
end
|
11
|
+
|
12
|
+
def configure
|
13
|
+
yield(configuration)
|
11
14
|
end
|
12
15
|
|
13
16
|
def reset!
|
@@ -55,8 +58,8 @@ module RubyTerraform
|
|
55
58
|
end
|
56
59
|
extend ClassMethods
|
57
60
|
|
58
|
-
def self.included(
|
59
|
-
other.extend(
|
61
|
+
def self.included(other)
|
62
|
+
other.extend(ClassMethods)
|
60
63
|
end
|
61
64
|
|
62
65
|
class Configuration
|