kumogata 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9282e45b98b32e3c888ddfff061da0bc320528c0
4
- data.tar.gz: 280684e5055d626dfb1215a6f53eae8c386b5c61
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTg3ZWZjNjE5YzRhM2IwMDVjNDQ1ZDg0ODE3ZmRiMjIyZmZiNjVkZA==
5
+ data.tar.gz: !binary |-
6
+ MDhhMGQyNjdkZGRhYjc4NDY3MjFmNjVkYTExZmM1ODM5Y2QzMGQ1Nw==
5
7
  SHA512:
6
- metadata.gz: 8787902eada204842507d2e54a9d6cd1e740e12416cf335684970a602040460bef6a3c4ba87478b58db0c141be5b17cc78b5938ba3fad01aea032bb40b1281ac
7
- data.tar.gz: 561ce9fcc167842fc85a5aaa42ac3a11a7142b4cf0cf49b08b1f6386a34293dfa545455b3add759b72caa00003da303b3e882f159840e875f8168adcbb5cfbf4
8
+ metadata.gz: !binary |-
9
+ MDc3NWQzOWVlMTc3ODg4OThlMjFkYTg0NDcxNjA2NDVhY2E4M2FlZDJhNTZm
10
+ MWFhYWI4ZDA5ZTYwODJmNGY3ZWIzNGFmMjA0NTgxNDA1NTExNmJhZGUxMDJl
11
+ YzdkNjEwNmJhZmFjZGNhNmY3MDEzNDM5YTI0Y2QwNmYzOTcyNmE=
12
+ data.tar.gz: !binary |-
13
+ YmRmNjI1YTk5NjdlNDExMTZmZTY3Yjk3NDc2ZGYzMjdkN2I3M2Q2YmI4OGRk
14
+ NDkwOGY4MzEyOWU0MDZmNjQ2ZmFkZGNhYjU0N2VmNzY0NTM2OTVhMzJjYTU1
15
+ ZjJmYTZmYWM4NzMyNjQyYmI3ZDU3NTc0ZDk1NjA3NjUyNDI3NTU=
data/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  Kumogata is a tool for [AWS CloudFormation](https://aws.amazon.com/cloudformation/).
7
7
 
8
- [![Gem Version](https://badge.fury.io/rb/kumogata.png?201403050245)](http://badge.fury.io/rb/kumogata)
9
- [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403050245)](https://drone.io/github.com/winebarrel/kumogata/latest)
8
+ [![Gem Version](https://badge.fury.io/rb/kumogata.png?201403051030)](http://badge.fury.io/rb/kumogata)
9
+ [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403051030)](https://drone.io/github.com/winebarrel/kumogata/latest)
10
10
 
11
11
  It can define a template in Ruby DSL, such as:
12
12
 
@@ -0,0 +1,14 @@
1
+ module JSON
2
+ class << self
3
+ alias pretty_generate_orig pretty_generate
4
+
5
+ def pretty_generate(object, options = nil)
6
+ begin
7
+ pretty_generate_orig(object, options)
8
+ rescue JSON::NestingError => e
9
+ e.message << ': Undefined function may have been referenced [e.g. _user_data()/_join()]'
10
+ raise e
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module Kumogata
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
data/lib/kumogata.rb CHANGED
@@ -16,5 +16,6 @@ require 'uuidtools'
16
16
 
17
17
  require 'kumogata/argument_parser'
18
18
  require 'kumogata/client'
19
+ require 'kumogata/ext/json_ext'
19
20
  require 'kumogata/ext/string_ext'
20
21
  require 'kumogata/logger'
@@ -359,7 +359,7 @@ Outputs do
359
359
 
360
360
  MappedValue do
361
361
  Value (<<-EOS).fn_join
362
- <%= Fn__FindInMap "RegionMap", _{ Ref "AWS::Region" }, 32 %>
362
+ <%= Fn__FindInMap "RegionMap", _{ Ref "AWS::Region" }, 32 %>
363
363
  EOS
364
364
  end
365
365
 
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-04 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dslh
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.2.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.2.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hashie
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: highline
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: json
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: term-ansicolor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: uuidtools
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: bundler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ! '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ! '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ! '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: 2.11.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ! '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: 2.11.0
153
153
  description: A tool for AWS CloudFormation. It can define a template in Ruby DSL.
@@ -169,6 +169,7 @@ files:
169
169
  - lib/kumogata.rb
170
170
  - lib/kumogata/argument_parser.rb
171
171
  - lib/kumogata/client.rb
172
+ - lib/kumogata/ext/json_ext.rb
172
173
  - lib/kumogata/ext/string_ext.rb
173
174
  - lib/kumogata/logger.rb
174
175
  - lib/kumogata/version.rb
@@ -194,17 +195,17 @@ require_paths:
194
195
  - lib
195
196
  required_ruby_version: !ruby/object:Gem::Requirement
196
197
  requirements:
197
- - - '>='
198
+ - - ! '>='
198
199
  - !ruby/object:Gem::Version
199
200
  version: '0'
200
201
  required_rubygems_version: !ruby/object:Gem::Requirement
201
202
  requirements:
202
- - - '>='
203
+ - - ! '>='
203
204
  - !ruby/object:Gem::Version
204
205
  version: '0'
205
206
  requirements: []
206
207
  rubyforge_project:
207
- rubygems_version: 2.0.14
208
+ rubygems_version: 2.1.11
208
209
  signing_key:
209
210
  specification_version: 4
210
211
  summary: A tool for AWS CloudFormation.
@@ -219,4 +220,3 @@ test_files:
219
220
  - spec/kumogata_update_spec.rb
220
221
  - spec/kumogata_validate_spec.rb
221
222
  - spec/spec_helper.rb
222
- has_rdoc: