cfndsl 0.5.1.pre → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/lib/cfndsl/rake_task.rb +2 -2
- data/lib/cfndsl/version.rb +1 -1
- metadata +11 -12
- data/.bundle/config +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NTc0OWVjZDU4NjVhMWUxOTViMTIyMmQyOWYxOWY0YzU3ZjY1NmMyMw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NGVlNjA0YTlkMTQ3MTA1YjlhMjYwMDFlYzQzMGI5YTcwNTlmOTU3ZQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MWZlYjIwMTJhMGE1Y2UyZTRmMDQwMTA3NTBjMjE3ZGFkOGZlOGRjYzJkYjdi
|
10
|
+
YzA5ZGI1N2E3MDFlZGM1YzQ3ZDFjNTIzMjRkODJlYzc4NGM2MGM5ZDkyZWIx
|
11
|
+
OGE1MmM0NmMxYjdkZTQ4YWFjOTI5NzIyZjc3YTFiMTgyYzk5YTQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzJkNTA4NWNmZmRiMGNkMjY3NjRiYjNkM2E5MTI3ODk2Nzc0NjQ3YzI1Mjlk
|
14
|
+
Nzk0YmNkZDUxN2VjNDA0N2MwOTEzNjQ2NzZhMTA2ZmQ3NjBiOGY3MWVjNGVi
|
15
|
+
NTliNDZmM2ZkMTM1MzA0NjlkYzQxMzk2NTI4ODc0ZDhlZWIxZWE=
|
data/README.md
CHANGED
@@ -91,6 +91,8 @@ There is a more detailed example in the samples directory. The file
|
|
91
91
|
"autoscale.template" is one of the standard Amazon sample templates.
|
92
92
|
"autoscale.rb" generates an equivalent template file.
|
93
93
|
|
94
|
+
There's also a larger set of examples available at [cfndsl_examples](https://github.com/neillturner/cfndsl_examples) thanks to @neillturner.
|
95
|
+
|
94
96
|
## Command Line Options
|
95
97
|
|
96
98
|
The cfndsl command line program now accepts some command line options.
|
data/Rakefile
CHANGED
@@ -33,7 +33,7 @@ task :bump, :type do |_, args|
|
|
33
33
|
puts "Bumping gem from version #{CfnDsl::VERSION} to #{version} as a '#{type.capitalize}' release"
|
34
34
|
|
35
35
|
contents = File.read version_path
|
36
|
-
updated_contents = contents.gsub(/
|
36
|
+
updated_contents = contents.gsub(/'[0-9\.]+'/, "'#{version}'")
|
37
37
|
File.write(version_path, updated_contents)
|
38
38
|
|
39
39
|
puts 'Commiting version update'
|
data/lib/cfndsl/rake_task.rb
CHANGED
@@ -24,7 +24,7 @@ module CfnDsl
|
|
24
24
|
def generate(opts)
|
25
25
|
log(opts)
|
26
26
|
outputter(opts) do |output|
|
27
|
-
output.puts model(opts[:filename])
|
27
|
+
output.puts cfndsl_opts[:pretty] ? JSON.pretty_generate(model(opts[:filename])) : model(opts[:filename]).to_json
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
@@ -40,7 +40,7 @@ module CfnDsl
|
|
40
40
|
def model(filename)
|
41
41
|
raise "#{filename} doesn't exist" unless File.exist?(filename)
|
42
42
|
verbose.puts("using extras #{extra}") if verbose
|
43
|
-
CfnDsl.eval_file_with_extras(filename, extra, verbose)
|
43
|
+
CfnDsl.eval_file_with_extras(filename, extra, verbose)
|
44
44
|
end
|
45
45
|
|
46
46
|
def extra
|
data/lib/cfndsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfndsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.1
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ! '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ! '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
description: DSL for creating AWS Cloudformation templates
|
@@ -34,10 +34,9 @@ executables:
|
|
34
34
|
extensions: []
|
35
35
|
extra_rdoc_files: []
|
36
36
|
files:
|
37
|
-
-
|
38
|
-
-
|
39
|
-
-
|
40
|
-
- ".travis.yml"
|
37
|
+
- .gitignore
|
38
|
+
- .rubocop.yml
|
39
|
+
- .travis.yml
|
41
40
|
- Gemfile
|
42
41
|
- LICENSE
|
43
42
|
- README.md
|
@@ -100,17 +99,17 @@ require_paths:
|
|
100
99
|
- lib
|
101
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
102
101
|
requirements:
|
103
|
-
- -
|
102
|
+
- - ! '>='
|
104
103
|
- !ruby/object:Gem::Version
|
105
104
|
version: '0'
|
106
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
106
|
requirements:
|
108
|
-
- -
|
107
|
+
- - ! '>='
|
109
108
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
109
|
+
version: '0'
|
111
110
|
requirements: []
|
112
111
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.4.5
|
114
113
|
signing_key:
|
115
114
|
specification_version: 4
|
116
115
|
summary: AWS Cloudformation DSL
|
data/.bundle/config
DELETED