lono 4.2.7 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/.cody/README.md +6 -0
  3. data/.cody/acceptance.sh +30 -0
  4. data/.cody/buildspec.yml +21 -0
  5. data/.cody/demo.rb +38 -0
  6. data/.cody/project.rb +12 -0
  7. data/.cody/role.rb +1 -0
  8. data/.gitignore +2 -0
  9. data/.gitmodules +6 -3
  10. data/.travis.yml +7 -0
  11. data/CHANGELOG.md +10 -0
  12. data/Gemfile +0 -1
  13. data/LICENSE.txt +1 -22
  14. data/README.md +46 -55
  15. data/lib/lono.rb +20 -27
  16. data/lib/lono/app_file.rb +5 -0
  17. data/lib/lono/app_file/base.rb +19 -0
  18. data/lib/lono/app_file/build.rb +78 -0
  19. data/lib/lono/app_file/registry.rb +14 -0
  20. data/lib/lono/app_file/registry/item.rb +46 -0
  21. data/lib/lono/app_file/upload.rb +39 -0
  22. data/lib/lono/autoloader.rb +22 -0
  23. data/lib/lono/aws_services.rb +46 -0
  24. data/lib/lono/aws_services/util.rb +49 -0
  25. data/lib/lono/blueprint.rb +113 -0
  26. data/lib/lono/blueprint/find.rb +90 -0
  27. data/lib/lono/blueprint/helper.rb +18 -0
  28. data/lib/lono/blueprint/info.rb +10 -0
  29. data/lib/lono/blueprint/list.rb +14 -0
  30. data/lib/lono/blueprint/root.rb +43 -0
  31. data/lib/lono/cfn.rb +31 -19
  32. data/lib/lono/cfn/aws_service.rb +16 -0
  33. data/lib/lono/cfn/base.rb +244 -261
  34. data/lib/lono/cfn/create.rb +36 -32
  35. data/lib/lono/cfn/current.rb +1 -1
  36. data/lib/lono/cfn/delete.rb +2 -2
  37. data/lib/lono/cfn/deploy.rb +11 -0
  38. data/lib/lono/cfn/diff.rb +1 -1
  39. data/lib/lono/cfn/preview.rb +3 -3
  40. data/lib/lono/cfn/rollback.rb +26 -0
  41. data/lib/lono/cfn/status.rb +2 -203
  42. data/lib/lono/cfn/suffix.rb +67 -0
  43. data/lib/lono/cfn/update.rb +61 -53
  44. data/lib/lono/cli.rb +42 -23
  45. data/lib/lono/completer.rb +0 -2
  46. data/lib/lono/configure.rb +37 -0
  47. data/lib/lono/configure/aws_services.rb +18 -0
  48. data/lib/lono/configure/base.rb +94 -0
  49. data/lib/lono/configure/helpers.rb +128 -0
  50. data/lib/lono/conventions.rb +11 -0
  51. data/lib/lono/core.rb +42 -12
  52. data/lib/lono/core/config.rb +5 -4
  53. data/lib/lono/default/settings.yml +0 -11
  54. data/lib/lono/file_uploader.rb +9 -4
  55. data/lib/lono/help.rb +1 -2
  56. data/lib/lono/help/blueprint.md +46 -0
  57. data/lib/lono/help/cfn.md +5 -4
  58. data/lib/lono/help/cfn/create.md +14 -9
  59. data/lib/lono/help/cfn/deploy.md +92 -0
  60. data/lib/lono/help/cfn/diff.md +0 -1
  61. data/lib/lono/help/cfn/update.md +16 -15
  62. data/lib/lono/help/completion.md +3 -3
  63. data/lib/lono/help/generate.md +0 -1
  64. data/lib/lono/help/new.md +40 -34
  65. data/lib/lono/help/param.md +1 -1
  66. data/lib/lono/help/param/generate.md +1 -1
  67. data/lib/lono/help/template.md +2 -2
  68. data/lib/lono/help/xgraph.md +1 -1
  69. data/lib/lono/inspector.rb +1 -1
  70. data/lib/lono/inspector/base.rb +26 -10
  71. data/lib/lono/inspector/graph.rb +7 -3
  72. data/lib/lono/inspector/summary.rb +15 -3
  73. data/lib/lono/md5.rb +46 -0
  74. data/lib/lono/new.rb +40 -28
  75. data/lib/lono/new/helper.rb +2 -3
  76. data/lib/lono/param.rb +12 -11
  77. data/lib/lono/param/generator.rb +96 -42
  78. data/lib/lono/project_checker.rb +27 -8
  79. data/lib/lono/s3.rb +23 -0
  80. data/lib/lono/s3/bucket.rb +123 -0
  81. data/lib/lono/script.rb +4 -8
  82. data/lib/lono/script/base.rb +7 -2
  83. data/lib/lono/script/build.rb +7 -8
  84. data/lib/lono/script/upload.rb +4 -20
  85. data/lib/lono/sequence.rb +19 -16
  86. data/lib/lono/setting.rb +19 -27
  87. data/lib/lono/template.rb +22 -26
  88. data/lib/lono/template/base.rb +13 -0
  89. data/lib/lono/template/context.rb +4 -56
  90. data/lib/lono/template/context/loader.rb +70 -0
  91. data/lib/lono/template/dsl.rb +15 -151
  92. data/lib/lono/template/dsl/builder.rb +60 -0
  93. data/lib/lono/template/dsl/builder/base.rb +14 -0
  94. data/lib/lono/template/dsl/builder/condition.rb +26 -0
  95. data/lib/lono/template/dsl/builder/fn.rb +114 -0
  96. data/lib/lono/template/dsl/builder/helper.rb +64 -0
  97. data/lib/lono/template/dsl/builder/mapping.rb +24 -0
  98. data/lib/lono/template/dsl/builder/output.rb +37 -0
  99. data/lib/lono/template/dsl/builder/parameter.rb +39 -0
  100. data/lib/lono/template/dsl/builder/resource.rb +38 -0
  101. data/lib/lono/template/dsl/builder/section.rb +12 -0
  102. data/lib/lono/template/dsl/builder/syntax.rb +58 -0
  103. data/lib/lono/template/erb.rb +82 -0
  104. data/lib/lono/template/evaluate.rb +39 -0
  105. data/lib/lono/template/generator.rb +29 -0
  106. data/lib/lono/template/helper.rb +7 -29
  107. data/lib/lono/template/post_processor.rb +69 -0
  108. data/lib/lono/template/template.rb +4 -9
  109. data/lib/lono/template/upload.rb +103 -133
  110. data/lib/lono/template/util.rb +48 -0
  111. data/lib/lono/upgrade.rb +5 -3
  112. data/lib/lono/upgrade/upgrade5.rb +55 -0
  113. data/lib/lono/user_data.rb +4 -4
  114. data/lib/lono/version.rb +1 -1
  115. data/lib/templates/blueprint/%blueprint_name%.gemspec.tt +44 -0
  116. data/lib/templates/blueprint/.gitignore +14 -0
  117. data/lib/templates/blueprint/.lono/config.yml.tt +3 -0
  118. data/lib/templates/blueprint/.meta/config.yml.tt +3 -0
  119. data/lib/templates/blueprint/CHANGELOG.md +7 -0
  120. data/lib/templates/blueprint/Gemfile +4 -0
  121. data/lib/templates/blueprint/README.md +37 -0
  122. data/lib/templates/blueprint/Rakefile +6 -0
  123. data/lib/templates/blueprint/setup/configs.rb +54 -0
  124. data/lib/templates/blueprint_configs/configs/%blueprint_name%/params/base.txt +2 -0
  125. data/lib/{starter_projects/skeleton/app/definitions/base.rb → templates/blueprint_configs/configs/%blueprint_name%/params/development.txt} +0 -0
  126. data/lib/templates/blueprint_configs/configs/%blueprint_name%/variables/base.rb +2 -0
  127. data/lib/templates/blueprint_configs/configs/%blueprint_name%/variables/development.rb +0 -0
  128. data/lib/templates/blueprint_types/dsl/app/templates/%blueprint_name%.rb +37 -0
  129. data/lib/templates/blueprint_types/dsl/app/user_data/bootstrap.sh +2 -0
  130. data/lib/templates/blueprint_types/erb/app/definitions/base.rb.tt +1 -0
  131. data/lib/templates/blueprint_types/erb/app/templates/%blueprint_name%.yml +8 -0
  132. data/lib/{starter_projects/autoscaling → templates/skeleton}/.gitignore +1 -0
  133. data/lib/templates/skeleton/Gemfile +3 -0
  134. data/lib/{starter_projects/autoscaling → templates/skeleton}/Guardfile +2 -2
  135. data/lib/templates/skeleton/README.md +58 -0
  136. data/lib/templates/skeleton/configs/settings.yml +17 -0
  137. data/lib/templates/upgrade5/blueprints/main/.lono/config.yml +3 -0
  138. data/lib/templates/upgrade5/blueprints/main/.meta/config.yml +3 -0
  139. data/lono.gemspec +12 -8
  140. data/vendor/cfn-status/CHANGELOG.md +10 -0
  141. data/vendor/cfn-status/Gemfile +4 -0
  142. data/vendor/cfn-status/LICENSE.txt +21 -0
  143. data/vendor/cfn-status/README.md +56 -0
  144. data/vendor/cfn-status/Rakefile +6 -0
  145. data/vendor/cfn-status/bin/console +14 -0
  146. data/vendor/cfn-status/bin/setup +8 -0
  147. data/vendor/cfn-status/cfn-status.gemspec +30 -0
  148. data/vendor/cfn-status/lib/cfn-status.rb +1 -0
  149. data/vendor/cfn-status/lib/cfn/aws_service.rb +51 -0
  150. data/vendor/cfn-status/lib/cfn/status.rb +219 -0
  151. data/vendor/cfn-status/lib/cfn/status/version.rb +5 -0
  152. data/vendor/cfn-status/spec/cfn/status_spec.rb +81 -0
  153. data/vendor/cfn-status/spec/fixtures/cfn/stack-events-complete.json +1080 -0
  154. data/vendor/cfn-status/spec/fixtures/cfn/stack-events-in-progress.json +1080 -0
  155. data/vendor/cfn-status/spec/fixtures/cfn/stack-events-update-rollback-complete.json +1086 -0
  156. data/vendor/cfn-status/spec/spec_helper.rb +14 -0
  157. data/vendor/cfn_camelizer/CHANGELOG.md +20 -0
  158. data/vendor/cfn_camelizer/Gemfile +4 -0
  159. data/vendor/cfn_camelizer/LICENSE.txt +21 -0
  160. data/vendor/cfn_camelizer/README.md +40 -0
  161. data/vendor/cfn_camelizer/Rakefile +6 -0
  162. data/vendor/cfn_camelizer/bin/console +14 -0
  163. data/vendor/cfn_camelizer/bin/setup +8 -0
  164. data/vendor/cfn_camelizer/cfn_camelizer.gemspec +32 -0
  165. data/vendor/cfn_camelizer/lib/camelizer.yml +37 -0
  166. data/vendor/cfn_camelizer/lib/cfn_camelizer.rb +94 -0
  167. data/vendor/cfn_camelizer/lib/cfn_camelizer/version.rb +3 -0
  168. data/vendor/cfn_camelizer/spec/cfn_camelizer_spec.rb +86 -0
  169. data/vendor/cfn_camelizer/spec/spec_helper.rb +14 -0
  170. metadata +189 -62
  171. data/.circleci/bin/commit_docs.sh +0 -26
  172. data/.circleci/config.yml +0 -72
  173. data/bin/release +0 -9
  174. data/lib/lono/help/import.md +0 -54
  175. data/lib/lono/importer.rb +0 -134
  176. data/lib/lono/new/message.rb +0 -35
  177. data/lib/starter_projects/autoscaling/Gemfile +0 -3
  178. data/lib/starter_projects/autoscaling/README.md +0 -118
  179. data/lib/starter_projects/autoscaling/app/definitions/base.rb +0 -2
  180. data/lib/starter_projects/autoscaling/app/templates/autoscaling.yml +0 -682
  181. data/lib/starter_projects/autoscaling/config/params/base/autoscaling.txt +0 -6
  182. data/lib/starter_projects/autoscaling/config/settings.yml +0 -33
  183. data/lib/starter_projects/ec2/.gitignore +0 -2
  184. data/lib/starter_projects/ec2/Gemfile +0 -3
  185. data/lib/starter_projects/ec2/Guardfile +0 -12
  186. data/lib/starter_projects/ec2/README.md +0 -86
  187. data/lib/starter_projects/ec2/app/definitions/base.rb +0 -2
  188. data/lib/starter_projects/ec2/app/definitions/development.rb +0 -1
  189. data/lib/starter_projects/ec2/app/definitions/production.rb +0 -1
  190. data/lib/starter_projects/ec2/app/helpers/my_custom_helper.rb +0 -17
  191. data/lib/starter_projects/ec2/app/partials/user_data/bootstrap.sh +0 -4
  192. data/lib/starter_projects/ec2/app/templates/example.yml +0 -430
  193. data/lib/starter_projects/ec2/config/params/base/example.txt +0 -2
  194. data/lib/starter_projects/ec2/config/params/development/example.txt +0 -3
  195. data/lib/starter_projects/ec2/config/params/production/example.txt +0 -2
  196. data/lib/starter_projects/ec2/config/settings.yml +0 -33
  197. data/lib/starter_projects/ec2/config/variables/base.rb +0 -3
  198. data/lib/starter_projects/ec2/config/variables/development.rb +0 -2
  199. data/lib/starter_projects/ec2/config/variables/production.rb +0 -2
  200. data/lib/starter_projects/ec2/welcome.txt +0 -8
  201. data/lib/starter_projects/skeleton/.gitignore +0 -2
  202. data/lib/starter_projects/skeleton/Gemfile +0 -3
  203. data/lib/starter_projects/skeleton/Guardfile +0 -12
  204. data/lib/starter_projects/skeleton/README.md +0 -53
  205. data/lib/starter_projects/skeleton/config/settings.yml +0 -33
  206. data/lib/starter_projects/skeleton/welcome.txt +0 -7
  207. data/vendor/plissken/Gemfile +0 -14
  208. data/vendor/plissken/LICENSE.txt +0 -20
  209. data/vendor/plissken/README.md +0 -46
  210. data/vendor/plissken/Rakefile +0 -56
  211. data/vendor/plissken/VERSION +0 -1
  212. data/vendor/plissken/lib/plissken.rb +0 -1
  213. data/vendor/plissken/lib/plissken/ext/hash/to_snake_keys.rb +0 -45
  214. data/vendor/plissken/plissken.gemspec +0 -61
  215. data/vendor/plissken/spec/lib/to_snake_keys_spec.rb +0 -177
  216. data/vendor/plissken/spec/spec_helper.rb +0 -90
  217. data/vendor/plissken/test/helper.rb +0 -20
  218. data/vendor/plissken/test/plissken/ext/hash/to_snake_keys_test.rb +0 -184
  219. data/vendor/plissken/test/test_plissken.rb +0 -2
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "cfn/status"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end
@@ -0,0 +1,20 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
+
6
+ ## [0.4.0]
7
+ - add AWS::ApiGateway::Authorizer cases
8
+
9
+ ## [0.3.0]
10
+ - camelizer.yml: scope camelizing rules more finely with resource_keys rule
11
+ - add NotificationTargetARN
12
+ - add AWS::Events::Rule RoleArn
13
+ - add VpcZoneIdentifier
14
+ - add ScalableTarget
15
+
16
+ ## [0.2.0]
17
+ - add AWS special key
18
+
19
+ ## [0.1.0]
20
+ - Initial release
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in cfn_camelizer.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Tung Nguyen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,40 @@
1
+ # CfnCamelizer
2
+
3
+ Camelizer for CloudFormation.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'cfn_camelizer'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install cfn_camelizer
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ data = {my_data: 1}
25
+ CfnCamelizer.transform(data) => {"MyData" => 1}
26
+ ```
27
+
28
+ ## Development
29
+
30
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
31
+
32
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cfn_camelizer.
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "cfn_camelizer"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,32 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "cfn_camelizer/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "cfn_camelizer"
8
+ spec.version = CfnCamelizer::VERSION
9
+ spec.authors = ["Tung Nguyen"]
10
+ spec.email = ["tongueroo@gmail.com"]
11
+
12
+ spec.summary = "Cfn Camelizer"
13
+ spec.homepage = "https://github.com/tongueroo/cfn_camelizer"
14
+ spec.license = "MIT"
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_dependency "activesupport"
26
+ spec.add_dependency "memoist"
27
+ spec.add_dependency "rainbow"
28
+
29
+ spec.add_development_dependency "bundler"
30
+ spec.add_development_dependency "rake"
31
+ spec.add_development_dependency "rspec"
32
+ end
@@ -0,0 +1,37 @@
1
+ ---
2
+ special_keys:
3
+ Aws: AWS
4
+ # Very fine grain control, since these map rules are scoped to specific resources
5
+ # After the special_keys map for backwards compatibility.
6
+ resource_keys: # specific to resource types
7
+ AWS::ApiGateway::Authorizer:
8
+ ProviderArns: ProviderARNs
9
+ AWS::ApplicationAutoScaling::ScalableTarget:
10
+ RoleArn: RoleARN
11
+ AWS::AutoScaling::AutoScalingGroup:
12
+ ServiceLinkedRoleArn: ServiceLinkedRoleARN
13
+ TargetGroupArns: TargetGroupARNs
14
+ VpcZoneIdentifier: VPCZoneIdentifier
15
+ AWS::AutoScaling::LifecycleHook:
16
+ NotificationTargetArn: NotificationTargetARN
17
+ RoleArn: RoleARN
18
+ AWS::CloudFormation::Stack:
19
+ NotificationArns: NotificationARNs
20
+ TemplateUrl: TemplateURL
21
+ AWS::Events::Rule:
22
+ RoleARN: RoleArn
23
+ AWS::Route53::RecordSet:
24
+ Ttl: TTL
25
+ AWS::RDS::DBSubnetGroup:
26
+ DbSubnetGroupDescription: DBSubnetGroupDescription
27
+ DbSubnetGroupName: DBSubnetGroupName
28
+ AWS::SQS::Queue:
29
+ DeadLetterTargetArn: deadLetterTargetArn # under RedrivePolicy
30
+ MaxReceiveCount: maxReceiveCount # under RedrivePolicy
31
+ AutoScaling::LaunchConfiguration:
32
+ ClassicLinkVpcId: ClassicLinkVPCId
33
+ ClassicLinkVpcSecurityGroups: ClassicLinkVPCSecurityGroups
34
+ passthrough_parent_keys:
35
+ - Fn::Sub # https://amzn.to/2HKwxri
36
+ - ResponseParameters # API Gateway MethodResponse https://amzn.to/2HKw0Wk
37
+ - Variables # Lambda Environment Variables https://amzn.to/2HLlttV
@@ -0,0 +1,94 @@
1
+ require "cfn_camelizer/version"
2
+ require "memoist"
3
+ require "yaml"
4
+ require "rainbow/ext/string"
5
+ require "active_support/core_ext/string"
6
+ require "active_support/core_ext/hash"
7
+
8
+ # Custom Camelizer with CloudFormation specific handling.
9
+ # Based on: https://stackoverflow.com/questions/8706930/converting-nested-hash-keys-from-camelcase-to-snake-case-in-ruby
10
+ class CfnCamelizer
11
+ class << self
12
+ extend Memoist
13
+
14
+ def transform(value, parent_keys=[], resource_type=nil)
15
+ case value
16
+ when Array
17
+ value.map { |v| transform(v, parent_keys, resource_type) }
18
+ when Hash
19
+ if value.keys.include?(:type)
20
+ resource_type ||= value[:type]
21
+ end
22
+
23
+ initializer = value.map do |k, v|
24
+ new_key = camelize_key(k, parent_keys, resource_type)
25
+ [new_key, transform(v, parent_keys+[new_key], resource_type)]
26
+ end
27
+ Hash[initializer]
28
+ else
29
+ value # do not transform values
30
+ end
31
+ end
32
+
33
+ def camelize_key(k, parent_keys=[], resource_type=nil)
34
+ k = k.to_s
35
+
36
+ if passthrough?(k, parent_keys)
37
+ k # pass through untouch
38
+ elsif parent_keys.last == "EventPattern" # top-level
39
+ k.dasherize
40
+ elsif parent_keys.include?("EventPattern")
41
+ # Any keys at 2nd level under EventPattern will be pascalized
42
+ pascalize(k)
43
+ else
44
+ camelize(k, resource_type)
45
+ end
46
+ end
47
+
48
+ def passthrough?(k, parent_keys)
49
+ # Do not transform keys under certain parent keys or keys that contain - or /
50
+ passthrough = camelizer_yaml["passthrough_parent_keys"]
51
+ intersection = parent_keys & passthrough
52
+ !intersection.empty? || k.include?('-') || k.include?('/')
53
+ end
54
+
55
+ def camelize(value, resource_type=nil)
56
+ return value if value.is_a?(Integer)
57
+
58
+ value = value.to_s.camelize
59
+ v = special_map[value] || value # after the special_keys map
60
+ resource_map(resource_type)[v] || v
61
+ end
62
+
63
+ def pascalize(value)
64
+ new_value = value.camelize
65
+ first_char = new_value[0..0].downcase
66
+ new_value[0] = first_char
67
+ new_value
68
+ end
69
+
70
+ # Some keys have special mappings
71
+ def special_map
72
+ camelizer_yaml["special_keys"]
73
+ end
74
+
75
+ def resource_map(resource_type)
76
+ camelizer_yaml["resource_keys"][resource_type] || {}
77
+ end
78
+
79
+ def camelizer_yaml
80
+ # default
81
+ path = File.expand_path("camelizer.yml", File.dirname(__FILE__))
82
+ default = YAML.load_file(path)
83
+ # project specific
84
+ path = "#{Dir.pwd}/configs/camelizer.yml"
85
+ if File.exist?(path)
86
+ project = YAML.load_file(path)
87
+ default.deep_merge(project)
88
+ else
89
+ default
90
+ end
91
+ end
92
+ memoize :camelizer_yaml
93
+ end
94
+ end
@@ -0,0 +1,3 @@
1
+ class CfnCamelizer
2
+ VERSION = "0.4.0"
3
+ end
@@ -0,0 +1,86 @@
1
+ RSpec.describe CfnCamelizer do
2
+ let(:camelizer) { CfnCamelizer }
3
+ context "not camelize the special cases" do
4
+ it "transform should not transform keys under Fn::Sub" do
5
+ data = {"UserData"=>{"Fn::Sub"=>["hello", {"k1"=>"v1", "k2"=>"v2"}]}}
6
+ result = camelizer.transform(data)
7
+ expect(result).to eq(data)
8
+ end
9
+ end
10
+
11
+ it "simple string" do
12
+ s = "foo_bar"
13
+ s = camelizer.camelize(s)
14
+ expect(s).to eq "FooBar"
15
+ end
16
+
17
+ it "transform keys" do
18
+ h = {foo_bar: 1}
19
+ result = camelizer.transform(h)
20
+ result.keys == ["FooBar"]
21
+ end
22
+
23
+ it "do not pasalize anything under Variables" do
24
+ h = {foo_bar: 1, variables: {dont_touch: 2}}
25
+ result = camelizer.transform(h)
26
+ # pp result
27
+ expect(result).to eq("FooBar"=>1, "Variables"=>{"dont_touch"=>2})
28
+ end
29
+
30
+ # CloudWatch Event patterns have slightly different casing
31
+ it "dasherize anything under EventPattern at the top level" do
32
+ h = {foo_bar: 1, event_pattern: {dash_me: 2}}
33
+ result = camelizer.transform(h)
34
+ # pp result
35
+ expect(result).to eq("FooBar"=>1, "EventPattern"=>{"dash-me"=>2})
36
+ end
37
+
38
+ it "camelize anything under EventPattern at any level beyond the top level" do
39
+ h = {foo_bar: 1, event_pattern: {dash_me: {camelize_me: 3}}}
40
+ result = camelizer.transform(h)
41
+ # pp result
42
+ expect(result).to eq("FooBar"=>1, "EventPattern"=>{"dash-me"=>{"camelizeMe"=>3}})
43
+ end
44
+
45
+ it "dont touch anything under ResponseParameters" do
46
+ h = {foo_bar: 1, response_parameters: {dont_touch: 3}}
47
+ result = camelizer.transform(h)
48
+ # pp result
49
+ expect(result).to eq("FooBar"=>1, "ResponseParameters"=>{"dont_touch"=>3})
50
+ end
51
+
52
+ it "dont touch anything with - or /" do
53
+ h = {foo_bar: 1, "has-dash": 2, "has/slash": 3,"application/json":4}
54
+ result = camelizer.transform(h)
55
+ # pp result
56
+ expect(result).to eq("FooBar"=>1, "has-dash"=>2,"has/slash"=>3,"application/json"=>4)
57
+ end
58
+
59
+ it "special map keys cloudformation stack" do
60
+ h = {type: "AWS::CloudFormation::Stack", properties: {template_url: 1}}
61
+ result = camelizer.transform(h)
62
+ # pp result
63
+ expect(result).to eq({"Type" => "AWS::CloudFormation::Stack", "Properties" => {"TemplateURL"=>1}})
64
+ end
65
+
66
+ it "special map keys cloudformation stack" do
67
+ h = {type: "AWS::Route53::RecordSet", properties: {ttl: 60}}
68
+ result = camelizer.transform(h)
69
+ # pp result
70
+ expect(result).to eq({"Type" => "AWS::Route53::RecordSet", "Properties" => {"TTL"=>60}})
71
+ end
72
+
73
+ it "role_arn property under AWS::Events::Rule type maintains normal RoleArn camelization" do
74
+ h = {
75
+ events_rule: {
76
+ type: "AWS::Events::Rule",
77
+ properties: {
78
+ role_arn: "some.arn"
79
+ }
80
+ }
81
+ }
82
+ result = camelizer.transform(h)
83
+ # pp result
84
+ expect(result).to eq({"EventsRule"=>{"Type"=>"AWS::Events::Rule", "Properties"=>{"RoleArn"=>"some.arn"}}})
85
+ end
86
+ end
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "cfn_camelizer"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.7
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-06 00:00:00.000000000 Z
11
+ date: 2019-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: awesome_print
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: aws-sdk-cloudformation
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +52,34 @@ dependencies:
38
52
  - - ">="
39
53
  - !ruby/object:Gem::Version
40
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: aws-sdk-ec2
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: aws-sdk-iam
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
41
83
  - !ruby/object:Gem::Dependency
42
84
  name: aws-sdk-s3
43
85
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +151,7 @@ dependencies:
109
151
  - !ruby/object:Gem::Version
110
152
  version: '0'
111
153
  - !ruby/object:Gem::Dependency
112
- name: guard-lono
154
+ name: hashie
113
155
  requirement: !ruby/object:Gem::Requirement
114
156
  requirements:
115
157
  - - ">="
@@ -123,7 +165,7 @@ dependencies:
123
165
  - !ruby/object:Gem::Version
124
166
  version: '0'
125
167
  - !ruby/object:Gem::Dependency
126
- name: hashie
168
+ name: json
127
169
  requirement: !ruby/object:Gem::Requirement
128
170
  requirements:
129
171
  - - ">="
@@ -137,7 +179,7 @@ dependencies:
137
179
  - !ruby/object:Gem::Version
138
180
  version: '0'
139
181
  - !ruby/object:Gem::Dependency
140
- name: json
182
+ name: memoist
141
183
  requirement: !ruby/object:Gem::Requirement
142
184
  requirements:
143
185
  - - ">="
@@ -151,7 +193,21 @@ dependencies:
151
193
  - !ruby/object:Gem::Version
152
194
  version: '0'
153
195
  - !ruby/object:Gem::Dependency
154
- name: memoist
196
+ name: parslet
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: plissken
155
211
  requirement: !ruby/object:Gem::Requirement
156
212
  requirements:
157
213
  - - ">="
@@ -220,6 +276,20 @@ dependencies:
220
276
  - - ">="
221
277
  - !ruby/object:Gem::Version
222
278
  version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: zeitwerk
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :runtime
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
223
293
  - !ruby/object:Gem::Dependency
224
294
  name: byebug
225
295
  requirement: !ruby/object:Gem::Requirement
@@ -312,11 +382,16 @@ executables:
312
382
  extensions: []
313
383
  extra_rdoc_files: []
314
384
  files:
315
- - ".circleci/bin/commit_docs.sh"
316
- - ".circleci/config.yml"
385
+ - ".cody/README.md"
386
+ - ".cody/acceptance.sh"
387
+ - ".cody/buildspec.yml"
388
+ - ".cody/demo.rb"
389
+ - ".cody/project.rb"
390
+ - ".cody/role.rb"
317
391
  - ".gitignore"
318
392
  - ".gitmodules"
319
393
  - ".rspec"
394
+ - ".travis.yml"
320
395
  - CHANGELOG.md
321
396
  - CONTRIBUTING.md
322
397
  - Gemfile
@@ -324,19 +399,36 @@ files:
324
399
  - LICENSE.txt
325
400
  - README.md
326
401
  - Rakefile
327
- - bin/release
328
402
  - exe/lono
329
403
  - lib/lono.rb
404
+ - lib/lono/app_file.rb
405
+ - lib/lono/app_file/base.rb
406
+ - lib/lono/app_file/build.rb
407
+ - lib/lono/app_file/registry.rb
408
+ - lib/lono/app_file/registry/item.rb
409
+ - lib/lono/app_file/upload.rb
410
+ - lib/lono/autoloader.rb
411
+ - lib/lono/aws_services.rb
412
+ - lib/lono/aws_services/util.rb
413
+ - lib/lono/blueprint.rb
414
+ - lib/lono/blueprint/find.rb
415
+ - lib/lono/blueprint/helper.rb
416
+ - lib/lono/blueprint/info.rb
417
+ - lib/lono/blueprint/list.rb
418
+ - lib/lono/blueprint/root.rb
330
419
  - lib/lono/cfn.rb
331
420
  - lib/lono/cfn/aws_service.rb
332
421
  - lib/lono/cfn/base.rb
333
422
  - lib/lono/cfn/create.rb
334
423
  - lib/lono/cfn/current.rb
335
424
  - lib/lono/cfn/delete.rb
425
+ - lib/lono/cfn/deploy.rb
336
426
  - lib/lono/cfn/diff.rb
337
427
  - lib/lono/cfn/download.rb
338
428
  - lib/lono/cfn/preview.rb
429
+ - lib/lono/cfn/rollback.rb
339
430
  - lib/lono/cfn/status.rb
431
+ - lib/lono/cfn/suffix.rb
340
432
  - lib/lono/cfn/update.rb
341
433
  - lib/lono/cfn/util.rb
342
434
  - lib/lono/clean.rb
@@ -346,15 +438,22 @@ files:
346
438
  - lib/lono/completer/script.rb
347
439
  - lib/lono/completer/script.sh
348
440
  - lib/lono/completion.rb
441
+ - lib/lono/configure.rb
442
+ - lib/lono/configure/aws_services.rb
443
+ - lib/lono/configure/base.rb
444
+ - lib/lono/configure/helpers.rb
445
+ - lib/lono/conventions.rb
349
446
  - lib/lono/core.rb
350
447
  - lib/lono/core/config.rb
351
448
  - lib/lono/default/settings.yml
352
449
  - lib/lono/file_uploader.rb
353
450
  - lib/lono/help.rb
451
+ - lib/lono/help/blueprint.md
354
452
  - lib/lono/help/cfn.md
355
453
  - lib/lono/help/cfn/create.md
356
454
  - lib/lono/help/cfn/current.md
357
455
  - lib/lono/help/cfn/delete.md
456
+ - lib/lono/help/cfn/deploy.md
358
457
  - lib/lono/help/cfn/diff.md
359
458
  - lib/lono/help/cfn/download.md
360
459
  - lib/lono/help/cfn/preview.md
@@ -363,7 +462,6 @@ files:
363
462
  - lib/lono/help/completion.md
364
463
  - lib/lono/help/completion_script.md
365
464
  - lib/lono/help/generate.md
366
- - lib/lono/help/import.md
367
465
  - lib/lono/help/new.md
368
466
  - lib/lono/help/param.md
369
467
  - lib/lono/help/param/generate.md
@@ -376,17 +474,18 @@ files:
376
474
  - lib/lono/help/upgrade4.md
377
475
  - lib/lono/help/user_data.md
378
476
  - lib/lono/help/xgraph.md
379
- - lib/lono/importer.rb
380
477
  - lib/lono/inspector.rb
381
478
  - lib/lono/inspector/base.rb
382
479
  - lib/lono/inspector/graph.rb
383
480
  - lib/lono/inspector/summary.rb
481
+ - lib/lono/md5.rb
384
482
  - lib/lono/new.rb
385
483
  - lib/lono/new/helper.rb
386
- - lib/lono/new/message.rb
387
484
  - lib/lono/param.rb
388
485
  - lib/lono/param/generator.rb
389
486
  - lib/lono/project_checker.rb
487
+ - lib/lono/s3.rb
488
+ - lib/lono/s3/bucket.rb
390
489
  - lib/lono/script.rb
391
490
  - lib/lono/script/base.rb
392
491
  - lib/lono/script/build.rb
@@ -395,67 +494,95 @@ files:
395
494
  - lib/lono/setting.rb
396
495
  - lib/lono/template.rb
397
496
  - lib/lono/template/aws_service.rb
497
+ - lib/lono/template/base.rb
398
498
  - lib/lono/template/bashify.rb
399
499
  - lib/lono/template/context.rb
500
+ - lib/lono/template/context/loader.rb
400
501
  - lib/lono/template/dsl.rb
502
+ - lib/lono/template/dsl/builder.rb
503
+ - lib/lono/template/dsl/builder/base.rb
504
+ - lib/lono/template/dsl/builder/condition.rb
505
+ - lib/lono/template/dsl/builder/fn.rb
506
+ - lib/lono/template/dsl/builder/helper.rb
507
+ - lib/lono/template/dsl/builder/mapping.rb
508
+ - lib/lono/template/dsl/builder/output.rb
509
+ - lib/lono/template/dsl/builder/parameter.rb
510
+ - lib/lono/template/dsl/builder/resource.rb
511
+ - lib/lono/template/dsl/builder/section.rb
512
+ - lib/lono/template/dsl/builder/syntax.rb
513
+ - lib/lono/template/erb.rb
514
+ - lib/lono/template/evaluate.rb
515
+ - lib/lono/template/generator.rb
401
516
  - lib/lono/template/helper.rb
517
+ - lib/lono/template/post_processor.rb
402
518
  - lib/lono/template/template.rb
403
519
  - lib/lono/template/upload.rb
520
+ - lib/lono/template/util.rb
404
521
  - lib/lono/upgrade.rb
405
522
  - lib/lono/upgrade/upgrade4.rb
406
523
  - lib/lono/upgrade/upgrade42.rb
524
+ - lib/lono/upgrade/upgrade5.rb
407
525
  - lib/lono/user_data.rb
408
526
  - lib/lono/version.rb
409
- - lib/starter_projects/autoscaling/.gitignore
410
- - lib/starter_projects/autoscaling/Gemfile
411
- - lib/starter_projects/autoscaling/Guardfile
412
- - lib/starter_projects/autoscaling/README.md
413
- - lib/starter_projects/autoscaling/app/definitions/base.rb
414
- - lib/starter_projects/autoscaling/app/templates/autoscaling.yml
415
- - lib/starter_projects/autoscaling/config/params/base/autoscaling.txt
416
- - lib/starter_projects/autoscaling/config/settings.yml
417
- - lib/starter_projects/ec2/.gitignore
418
- - lib/starter_projects/ec2/Gemfile
419
- - lib/starter_projects/ec2/Guardfile
420
- - lib/starter_projects/ec2/README.md
421
- - lib/starter_projects/ec2/app/definitions/base.rb
422
- - lib/starter_projects/ec2/app/definitions/development.rb
423
- - lib/starter_projects/ec2/app/definitions/production.rb
424
- - lib/starter_projects/ec2/app/helpers/my_custom_helper.rb
425
- - lib/starter_projects/ec2/app/partials/user_data/bootstrap.sh
426
- - lib/starter_projects/ec2/app/templates/example.yml
427
- - lib/starter_projects/ec2/config/params/base/example.txt
428
- - lib/starter_projects/ec2/config/params/development/example.txt
429
- - lib/starter_projects/ec2/config/params/production/example.txt
430
- - lib/starter_projects/ec2/config/settings.yml
431
- - lib/starter_projects/ec2/config/variables/base.rb
432
- - lib/starter_projects/ec2/config/variables/development.rb
433
- - lib/starter_projects/ec2/config/variables/production.rb
434
- - lib/starter_projects/ec2/welcome.txt
435
- - lib/starter_projects/skeleton/.gitignore
436
- - lib/starter_projects/skeleton/Gemfile
437
- - lib/starter_projects/skeleton/Guardfile
438
- - lib/starter_projects/skeleton/README.md
439
- - lib/starter_projects/skeleton/app/definitions/base.rb
440
- - lib/starter_projects/skeleton/config/settings.yml
441
- - lib/starter_projects/skeleton/welcome.txt
527
+ - lib/templates/blueprint/%blueprint_name%.gemspec.tt
528
+ - lib/templates/blueprint/.gitignore
529
+ - lib/templates/blueprint/.lono/config.yml.tt
530
+ - lib/templates/blueprint/.meta/config.yml.tt
531
+ - lib/templates/blueprint/CHANGELOG.md
532
+ - lib/templates/blueprint/Gemfile
533
+ - lib/templates/blueprint/README.md
534
+ - lib/templates/blueprint/Rakefile
535
+ - lib/templates/blueprint/setup/configs.rb
536
+ - lib/templates/blueprint_configs/configs/%blueprint_name%/params/base.txt
537
+ - lib/templates/blueprint_configs/configs/%blueprint_name%/params/development.txt
538
+ - lib/templates/blueprint_configs/configs/%blueprint_name%/variables/base.rb
539
+ - lib/templates/blueprint_configs/configs/%blueprint_name%/variables/development.rb
540
+ - lib/templates/blueprint_types/dsl/app/templates/%blueprint_name%.rb
541
+ - lib/templates/blueprint_types/dsl/app/user_data/bootstrap.sh
542
+ - lib/templates/blueprint_types/erb/app/definitions/base.rb.tt
543
+ - lib/templates/blueprint_types/erb/app/templates/%blueprint_name%.yml
544
+ - lib/templates/skeleton/.gitignore
545
+ - lib/templates/skeleton/Gemfile
546
+ - lib/templates/skeleton/Guardfile
547
+ - lib/templates/skeleton/README.md
548
+ - lib/templates/skeleton/configs/settings.yml
549
+ - lib/templates/upgrade5/blueprints/main/.lono/config.yml
550
+ - lib/templates/upgrade5/blueprints/main/.meta/config.yml
442
551
  - lono.gemspec
443
- - vendor/plissken/Gemfile
444
- - vendor/plissken/LICENSE.txt
445
- - vendor/plissken/README.md
446
- - vendor/plissken/Rakefile
447
- - vendor/plissken/VERSION
448
- - vendor/plissken/lib/plissken.rb
449
- - vendor/plissken/lib/plissken/ext/hash/to_snake_keys.rb
450
- - vendor/plissken/plissken.gemspec
451
- - vendor/plissken/spec/lib/to_snake_keys_spec.rb
452
- - vendor/plissken/spec/spec_helper.rb
453
- - vendor/plissken/test/helper.rb
454
- - vendor/plissken/test/plissken/ext/hash/to_snake_keys_test.rb
455
- - vendor/plissken/test/test_plissken.rb
456
- homepage: http://github.com/tongueroo/lono
552
+ - vendor/cfn-status/CHANGELOG.md
553
+ - vendor/cfn-status/Gemfile
554
+ - vendor/cfn-status/Gemfile.lock
555
+ - vendor/cfn-status/LICENSE.txt
556
+ - vendor/cfn-status/README.md
557
+ - vendor/cfn-status/Rakefile
558
+ - vendor/cfn-status/bin/console
559
+ - vendor/cfn-status/bin/setup
560
+ - vendor/cfn-status/cfn-status.gemspec
561
+ - vendor/cfn-status/lib/cfn-status.rb
562
+ - vendor/cfn-status/lib/cfn/aws_service.rb
563
+ - vendor/cfn-status/lib/cfn/status.rb
564
+ - vendor/cfn-status/lib/cfn/status/version.rb
565
+ - vendor/cfn-status/spec/cfn/status_spec.rb
566
+ - vendor/cfn-status/spec/fixtures/cfn/stack-events-complete.json
567
+ - vendor/cfn-status/spec/fixtures/cfn/stack-events-in-progress.json
568
+ - vendor/cfn-status/spec/fixtures/cfn/stack-events-update-rollback-complete.json
569
+ - vendor/cfn-status/spec/spec_helper.rb
570
+ - vendor/cfn_camelizer/CHANGELOG.md
571
+ - vendor/cfn_camelizer/Gemfile
572
+ - vendor/cfn_camelizer/LICENSE.txt
573
+ - vendor/cfn_camelizer/README.md
574
+ - vendor/cfn_camelizer/Rakefile
575
+ - vendor/cfn_camelizer/bin/console
576
+ - vendor/cfn_camelizer/bin/setup
577
+ - vendor/cfn_camelizer/cfn_camelizer.gemspec
578
+ - vendor/cfn_camelizer/lib/camelizer.yml
579
+ - vendor/cfn_camelizer/lib/cfn_camelizer.rb
580
+ - vendor/cfn_camelizer/lib/cfn_camelizer/version.rb
581
+ - vendor/cfn_camelizer/spec/cfn_camelizer_spec.rb
582
+ - vendor/cfn_camelizer/spec/spec_helper.rb
583
+ homepage: https://lono.cloud
457
584
  licenses:
458
- - MIT
585
+ - https://boltops.com/boltops-community-license
459
586
  metadata: {}
460
587
  post_install_message:
461
588
  rdoc_options: []
@@ -472,8 +599,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
472
599
  - !ruby/object:Gem::Version
473
600
  version: '0'
474
601
  requirements: []
475
- rubygems_version: 3.0.2
602
+ rubygems_version: 3.0.6
476
603
  signing_key:
477
604
  specification_version: 4
478
- summary: Lono is a CloudFormation Framework Tool
605
+ summary: Powerful CloudFormation Framework
479
606
  test_files: []