cf-templates 0.1.0 → 0.2.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.
- checksums.yaml +4 -4
- data/lib/cf/templates.rb +9 -4
- data/lib/cf/templates/version.rb +1 -1
- 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: ac6e2b1d33c2abfe7156fa6ab10eec53d4ff0b4b
|
|
4
|
+
data.tar.gz: 5c6476ade7c24f8779f7927a1d08f400f70ecc32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 780b332dbbf3d063eed9e420525ec68038e3bad084d011153670e264efe16b380fda4f4614e1b33625ee9a6aa5696700d69de2a3a9095206c2dfac9ac297e0e2
|
|
7
|
+
data.tar.gz: 4f5f39636f55e013f1b6c5cee3192717c3e4904dd63e5f274d7459de6a443821b87e5c0e7c59263dee9ce586006f0b83f5ff4b620e25aa1cc31905737e29060b
|
data/lib/cf/templates.rb
CHANGED
|
@@ -2,14 +2,19 @@ require "cf/templates/version"
|
|
|
2
2
|
|
|
3
3
|
module Cf
|
|
4
4
|
module Templates
|
|
5
|
-
|
|
6
5
|
class TemplateProvider
|
|
7
6
|
|
|
8
|
-
def initialize(aws_region, account_id, account_credentials)
|
|
9
|
-
puts 'hi'
|
|
7
|
+
def initialize(aws_region, account_id = nil, account_credentials = nil)
|
|
10
8
|
end
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
def set_template_location(template_file_path)
|
|
11
|
+
@template_location = template_file_path
|
|
12
|
+
end
|
|
13
13
|
|
|
14
|
+
def get_template
|
|
15
|
+
File.open(@template_location, 'rb').read
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
data/lib/cf/templates/version.rb
CHANGED