aws-cfn-compiler 0.8.8 → 0.8.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTNhYjBkMmZkYmNjYTgwN2NmZmRiN2I0YmM4NjVlZWQ4M2RlNmMxOA==
4
+ MmYxYmJkYzY0MzQ1MjcyMjEzNmQ5OGQ1NzMxNTdjMmYwOWI4YjI1ZA==
5
5
  data.tar.gz: !binary |-
6
- Yjk1Nzc5MzNmNzQwNGE0NzRhZTk5ZjU3MzJiM2YwMjE2OWY1ZDUwMA==
6
+ YmVlMTc3YzI4MzhhMWVmMGYzNGMzZTY2MzgxNDQ1MzQ0YjIzNDE5Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzhjZTkxY2Q3Nzc2Y2E2MjQ4YjMwNjRmM2YxY2E1ZjBiYzQyZDNkYWMzODJk
10
- N2M4YTZkMzBhZWI4MzE4NzNhNmE4MWE0Y2I3N2EwZjMxYzk1NmI2NzNiYWVh
11
- ZGI1N2E4NzJlMDc4ZTZlNDlkNTc4ZjdhNzdjNTMwZjFiM2IxMmU=
9
+ MmVmZjZjZDk0OTg0N2M3ZmExNzU0YTIwOTZkZWRhZWYxYjU1OWVjOTlhZWQ4
10
+ ZmZhNzExNTQzYjcwZmExODk0YmRlNmFjYzA0ODhkYTc1NjNlYWVjYmY2Zjg4
11
+ NWZkNzkwMWVhZDY5YzZkNGQ5ZTJiNWI5ZTU5ODQxYzllNGJlM2E=
12
12
  data.tar.gz: !binary |-
13
- NjgxYWZkODE4NmRjMTcwMTZlODVjZjg1MGNjZGQ0MGM2Yjg4Nzg5N2JkZTQx
14
- NTU3NjUzNTFiZDQ4ZDVmYTRjZDkxODMxOWM2NjA3MWVjN2M5MThmZWE4YzM3
15
- N2QyNWNjNDM0NjFiNDMyM2Q0MGQwZmU1ODE0MmU5NmQ2MjJjNDE=
13
+ ZGI2ZWIyOTI4OWY4MmZkNTZhMWNlYTQwNzcyOWI0YTQzZTg0NDYyNTNmYmUz
14
+ OTQ0NDQ0ODY1YWEwYmI5NzcyZTNjZWVlYWJmNjAyZjNkYmNmMDg1NTcyMGE3
15
+ Mjk4MDNjYWM0OWUxZDg1OTUxOGI4ODQ3YjA4YTAyODM5ZmRmZWE=
data/Gemfile CHANGED
@@ -3,14 +3,15 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in aws-cfn-compiler.gemspec
4
4
  gemspec
5
5
 
6
- gem 'cloudformation-ruby-dsl', :path => '../cloudformation-ruby-dsl', :group => :development
6
+ gem 'cloudformation-ruby-dsl', :path => '../cloudformation-ruby-dsl', :group => :development
7
7
 
8
8
  gem 'dldinternet-mixlib-logging', :path => '../dldinternet-mixlib-logging', :group => :development
9
- gem 'dldinternet-mixlib-cli', :path => '../dldinternet-mixlib-cli', :group => :development
10
- gem 'aws-cfn-dsl', :path => '../aws-cfn-dsl', :group => :development
11
- gem 'aws-cfn-decompiler', :path => '../aws-cfn-decompiler', :group => :development
12
- gem 'aws-cfn-yats', :path => '../aws-cfn-yats', :group => :development
13
- gem 'aws-cfn-stacker', :path => '../aws-cfn-stacker', :group => :development
9
+ gem 'dldinternet-mixlib-cli', :path => '../dldinternet-mixlib-cli', :group => :development
10
+ gem 'aws-cfn-dsl', :path => '../aws-cfn-dsl', :group => :development
11
+ # gem 'aws-cfn-decompiler', :path => '../aws-cfn-decompiler', :group => :development
12
+ # gem 'aws-cfn-compiler', :path => '../aws-cfn-compiler', :group => :development
13
+ # gem 'aws-cfn-yats', :path => '../aws-cfn-stacker', :group => :development
14
+ # gem 'aws-cfn-stacker', :path => '../aws-cfn-stacker', :group => :development
14
15
 
15
16
  gem 'json_pure', :group => :development
16
17
  gem 'bundler', "~> 1.6", :group => :development
data/aws-cfn-compiler.iml CHANGED
@@ -6,12 +6,9 @@
6
6
  <component name="NewModuleRootManager" inherit-compiler-output="true">
7
7
  <exclude-output />
8
8
  <content url="file://$MODULE_DIR$" />
9
- <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p547 [aws-cfn-compile]" jdkType="RUBY_SDK" />
10
10
  <orderEntry type="sourceFolder" forTests="false" />
11
- <orderEntry type="module" module-name="aws-cfn-decompiler" />
12
11
  <orderEntry type="module" module-name="aws-cfn-dsl" />
13
- <orderEntry type="module" module-name="aws-cfn-stacker" />
14
- <orderEntry type="module" module-name="aws-cfn-yats" />
15
12
  <orderEntry type="module" module-name="cloudformation-ruby-dsl" />
16
13
  <orderEntry type="module-library">
17
14
  <library name="dldinternet-mixlib-cli (v0.1.0, /Users/cdelange/Dropbox/DLDInternet/ws/gems-ws/dldinternet-mixlib-cli) [path][gem]">
@@ -48,7 +45,6 @@
48
45
  </library>
49
46
  </orderEntry>
50
47
  <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.2.0, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
51
- <orderEntry type="library" scope="PROVIDED" name="colorize (v0.7.3, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
52
48
  <orderEntry type="library" scope="PROVIDED" name="detabulator (v0.1.0, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
53
49
  <orderEntry type="library" scope="PROVIDED" name="inifile (v2.0.2, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
54
50
  <orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-1.9.3-p547 [aws-cfn-compile]) [gem]" level="application" />
@@ -1,6 +1,6 @@
1
- require "aws/cfn/compiler/version"
2
- require "aws/cfn/compiler/base"
3
- require "aws/cfn/compiler/main"
1
+ require 'aws/cfn/compiler/version'
2
+ require 'aws/cfn/compiler/base'
3
+ require 'aws/cfn/compiler/main'
4
4
 
5
5
  module Aws::Cfn::Compiler
6
6
  attr_accessor :binding
@@ -15,7 +15,7 @@ module Aws
15
15
 
16
16
  parse
17
17
 
18
- compiled = compile
18
+ compiled = compile_spec
19
19
 
20
20
  validate(compiled)
21
21
 
@@ -3,7 +3,7 @@ module Aws
3
3
  module Compiler
4
4
  module Compile
5
5
 
6
- def compile
6
+ def compile_spec
7
7
  desc = if @config[:description]
8
8
  @config[:description]
9
9
  elsif @spec and @spec['Description']
@@ -44,7 +44,7 @@ module Aws
44
44
  end
45
45
  logStep "Saving #{brick} to #{filn} "
46
46
  # noinspection RubyAssignmentExpressionInConditionalInspection
47
- if match = file.match(%r'\.(.*)$')
47
+ if match = file.match(%r'\.([^\.]*)$')
48
48
  if (section != '') and (not formats_compatible?(format, match[1]))
49
49
  msg = "The file extension (#{match[1]}) does not match the chosen output format (#{format})!"
50
50
  if @config[:force]
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Cfn
3
3
  module Compiler
4
- VERSION = '0.8.8'
4
+ VERSION = '0.8.9'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-cfn-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - PKinney