jets 0.9.0 → 0.9.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a34b4cffc9a96f0d4ce4821f38be3fef03a84a5dfa779a0ce4574b7c41fd8212
4
- data.tar.gz: 77e840eb549a58d91c9899b79b0104f9d33e903fa4c1d53b171a168b0416fc64
3
+ metadata.gz: 662007ebe84e8e8ce5d9a773a4ec6905ed8a1da7caecf8870de788d60e5d337c
4
+ data.tar.gz: e2a21d607b931d356fda5b743a578534466f65890a38ea7db942c2985eb30570
5
5
  SHA512:
6
- metadata.gz: 0bbf43c980eef26615b9eb8c4167c578da79c3cdf5af17d866e1fd7276618c593997f51e7a31316c96d1f561a27fb3d829ad1ea4e2b5a5f77fd2f6b7cbf906f5
7
- data.tar.gz: 9cca888aaca0c205722c93858aad544ace8d8fe71255806a373d18461744070e5105ef055e63e1d27a4d3683a2d509063ac78403cb33ef54b869e44d0c5ec112
6
+ metadata.gz: d5b1d727e2717b042774729a72aa889d35a98759299e3a6e3644527a6774fec05dbaa5669cc91ec92d082444cc980c464e5d887e74e055d273fecd3a27e2cf12
7
+ data.tar.gz: b625070b21854521ccd111c06190cdc03703a3f336c48ea9370b51e675d21c028068319115cbc3f81a320431b4e480084b9b214fc4853ad89a1688b8aba64a5b
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.9.1]
7
+ - add upgrading notes
8
+ - fix iam policies: flatten
9
+
6
10
  ## [0.9.0]
7
11
  - Remove class name from the namespace. So namespace only has method name now. NOTE: This means upgrading from 0.8.x to 0.9.x requires a blue-green update.
8
12
  - Add upgrading docs.
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (0.9.0)
14
+ jets (0.9.1)
15
15
  actionpack (>= 5.2.1)
16
16
  actionview (>= 5.2.1)
17
17
  activerecord (>= 5.2.1)
@@ -72,7 +72,7 @@ GEM
72
72
  aws-sdk-cloudwatchlogs (1.8.0)
73
73
  aws-sdk-core (~> 3, >= 3.26.0)
74
74
  aws-sigv4 (~> 1.0)
75
- aws-sdk-core (3.27.1)
75
+ aws-sdk-core (3.28.0)
76
76
  aws-eventstream (~> 1.0)
77
77
  aws-partitions (~> 1.0)
78
78
  aws-sigv4 (~> 1.0)
data/README.md CHANGED
@@ -19,6 +19,8 @@ It is key to understand AWS Lambda and API Gateway to understand Jets conceptual
19
19
 
20
20
  The official documentation is at: [Ruby on Jets](http://rubyonjets.com).
21
21
 
22
+ **Upgrading Note**: If you are upgrading Jets, please check on the [Upgrading Notes](http://rubyonjets.com/docs/upgrading/).
23
+
22
24
  Refer to the official docs for more info, but here's a quick intro.
23
25
 
24
26
  ### Jets Controllers
data/Rakefile CHANGED
@@ -5,13 +5,6 @@ task :default => :spec
5
5
 
6
6
  RSpec::Core::RakeTask.new
7
7
 
8
- namespace :spec do
9
- desc "Run integration test"
10
- task :integration do
11
- system("spec/bin/integration.sh")
12
- end
13
- end
14
-
15
8
  require_relative "lib/jets"
16
9
  desc "Generates cli reference docs as markdown"
17
10
  task :docs do
@@ -1,6 +1,5 @@
1
1
  Jets.application.configure do
2
2
  config.project_name = "<%= project_name %>"
3
- config.api_generator = <%= @options[:mode] == 'api' %> # deprecated
4
3
  config.api_mode = <%= @options[:mode] == 'api' %>
5
4
 
6
5
  # config.prewarm.enable = true # default is true
@@ -36,11 +36,11 @@ module Jets::Resource::Iam
36
36
  end
37
37
 
38
38
  def policy_document
39
- PolicyDocument.new(@policy_definitions.uniq).policy_document
39
+ PolicyDocument.new(@policy_definitions.flatten.uniq).policy_document
40
40
  end
41
41
 
42
42
  def managed_policy_arns
43
- ManagedPolicy.new(@managed_policy_definitions.uniq).arns
43
+ ManagedPolicy.new(@managed_policy_definitions.flatten.uniq).arns
44
44
  end
45
45
  end
46
46
  end
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen