jets 0.8.12 → 0.8.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dca2784566463fbc97df7951013c7947f6bc266c81e888460984c6bb124dda6e
4
- data.tar.gz: 3cc7ad59b7a35a2f4e2f617e8c3f12589ee035240ea384e63c980f78cfef2653
3
+ metadata.gz: df1a7804619f7165d41940a07796a3c3582b37d4b936e2674da3713a8ef14d2f
4
+ data.tar.gz: 4ee69d3cdcb6964ecb15bd9bd79a2a623f4652c2bd09f070640083c101341170
5
5
  SHA512:
6
- metadata.gz: 4336f2a024f7541da2aa1fb664b03b10cd654d80d230c9aa6739cc372b4206e7f47a392f0201f2067f8c55934b91ad159fe89bb5df7e362f91ee86f2926f3c15
7
- data.tar.gz: e105c5ca57a3c83fd733524cc570b341c6f597e166915c12a6d9d04b06c7c733c36c6a6f81ce4a0944ac23321b6e00975b1ec8d6f0e1e3ee909dc3cca5c459e5
6
+ metadata.gz: 10d4fd0808758f17df7bea6297fbd5b53dc590515c4fdf8b2a2f18795e39e722ab278342a00b197f048e8aa421967c866ba3687056f4ab9d1b2c1e545fac6e6d
7
+ data.tar.gz: 11baeee29c715973392ad99f1b89fff74aa21446b7461c29e43511e6356e2f6de3dbb80b494edd5b364393bed68d3c0605e9472d498fa5f39cfbfb4c587015d8
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ tmp
18
18
  spec/fixtures/project/handlers
19
19
  .codebuild/definitions
20
20
  demo1*
21
+ /html
data/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
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.8.13]
7
+ - even simpler iam policy expansions: pull request #27 from tongueroo/iam
8
+ - specify rdoc options: pull request #28 from tongueroo/rdoc
9
+ - add gem version badge and specify ruby 2.5.x requirement in gemspec
10
+
6
11
  ## [0.8.12]
7
12
  - fix jets gem summary and description
8
13
 
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (0.8.12)
14
+ jets (0.8.13)
15
15
  actionpack (>= 5.2.1)
16
16
  actionview (>= 5.2.1)
17
17
  activerecord (>= 5.2.1)
@@ -170,4 +170,4 @@ DEPENDENCIES
170
170
  webpacker!
171
171
 
172
172
  BUNDLED WITH
173
- 1.16.3
173
+ 1.16.4
data/README.md CHANGED
@@ -6,6 +6,7 @@ Ruby and Lambda splat out a baby and that child's name is [Jets](http://rubyonje
6
6
 
7
7
  ![Build Status](https://codebuild.us-west-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiUE12K3ljQTFQUjVpRW0reGhGVHVQdkplTHlOdUtENnBya2JhVWVXaFIvTU92MlBtV3hIUE9pb25jWGw0MS9jN2RXMERKRHh5Nzhvd01Za0NyeUs5SCtzPSIsIml2UGFyYW1ldGVyU3BlYyI6IkMybEJFaXdzejJEaHNWVmEiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)
8
8
  [![CircleCI](https://circleci.com/gh/tongueroo/jets.svg?style=svg)](https://circleci.com/gh/tongueroo/jets)
9
+ [![Gem Version](https://badge.fury.io/rb/jets.svg)](https://badge.fury.io/rb/jets)
9
10
 
10
11
  ## What is Jets?
11
12
 
data/Rakefile CHANGED
@@ -9,4 +9,12 @@ require_relative "lib/jets"
9
9
  desc "Generates cli reference docs as markdown"
10
10
  task :docs do
11
11
  Jets::Commands::Markdown::Creator.create_all
12
+ end
13
+
14
+ # Thanks: https://docs.ruby-lang.org/en/2.1.0/RDoc/Task.html
15
+ require 'rdoc/task'
16
+ require 'jets/rdoc'
17
+
18
+ RDoc::Task.new do |rdoc|
19
+ rdoc.options += Jets::Rdoc.options
12
20
  end
data/jets.gemspec CHANGED
@@ -2,6 +2,7 @@
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "jets/version"
5
+ require "jets/rdoc"
5
6
 
6
7
  Gem::Specification.new do |spec|
7
8
  spec.name = "jets"
@@ -13,6 +14,9 @@ Gem::Specification.new do |spec|
13
14
  spec.homepage = "http://rubyonjets.com"
14
15
  spec.license = "MIT"
15
16
 
17
+ spec.required_ruby_version = '~> 2.5'
18
+ spec.rdoc_options += Jets::Rdoc.options
19
+
16
20
  vendor_files = Dir.glob("vendor/**/*")
17
21
  gem_files = `git ls-files -z`.split("\x0").reject do |f|
18
22
  f.match(%r{^(test|spec|features|docs)/})
data/lib/jets/rdoc.rb ADDED
@@ -0,0 +1,30 @@
1
+ module Jets
2
+ module Rdoc
3
+ # Use for both jets.gemspec and rake rdoc task
4
+ def options
5
+ exclude = %w[
6
+ docs
7
+ spec
8
+ vendor
9
+ core.rb
10
+ .js
11
+ templates
12
+ commands
13
+ internal
14
+ support
15
+ Dockerfile
16
+ Dockerfile.base
17
+ Gemfile
18
+ Gemfile.lock
19
+ Guardfile
20
+ LICENSE
21
+ Procfile
22
+ Rakefile
23
+ bin
24
+ ]
25
+ exclude = exclude.map { |word| ['-x', word] }.flatten
26
+ ["-m", "README.md"] + exclude
27
+ end
28
+ extend self
29
+ end
30
+ end
@@ -24,6 +24,8 @@ module Jets::Resource::Iam
24
24
  @sid += 1
25
25
  case definition
26
26
  when String
27
+ # Expands simple string from: logs => logs:*
28
+ definition = "#{definition}:*" unless definition.include?(':')
27
29
  @policy[:statement] << {
28
30
  sid: "Stmt#{@sid}",
29
31
  action: [definition],
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "0.8.12"
2
+ VERSION = "0.8.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.12
4
+ version: 0.8.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-09 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -610,6 +610,7 @@ files:
610
610
  - lib/jets/rails_overrides/common_methods.rb
611
611
  - lib/jets/rails_overrides/rendering_helper.rb
612
612
  - lib/jets/rails_overrides/url_helper.rb
613
+ - lib/jets/rdoc.rb
613
614
  - lib/jets/resource.rb
614
615
  - lib/jets/resource/api_gateway.rb
615
616
  - lib/jets/resource/api_gateway/cors.rb
@@ -727,14 +728,52 @@ licenses:
727
728
  - MIT
728
729
  metadata: {}
729
730
  post_install_message:
730
- rdoc_options: []
731
+ rdoc_options:
732
+ - "-m"
733
+ - README.md
734
+ - "-x"
735
+ - docs
736
+ - "-x"
737
+ - spec
738
+ - "-x"
739
+ - vendor
740
+ - "-x"
741
+ - core.rb
742
+ - "-x"
743
+ - ".js"
744
+ - "-x"
745
+ - templates
746
+ - "-x"
747
+ - commands
748
+ - "-x"
749
+ - internal
750
+ - "-x"
751
+ - support
752
+ - "-x"
753
+ - Dockerfile
754
+ - "-x"
755
+ - Dockerfile.base
756
+ - "-x"
757
+ - Gemfile
758
+ - "-x"
759
+ - Gemfile.lock
760
+ - "-x"
761
+ - Guardfile
762
+ - "-x"
763
+ - LICENSE
764
+ - "-x"
765
+ - Procfile
766
+ - "-x"
767
+ - Rakefile
768
+ - "-x"
769
+ - bin
731
770
  require_paths:
732
771
  - lib
733
772
  required_ruby_version: !ruby/object:Gem::Requirement
734
773
  requirements:
735
- - - ">="
774
+ - - "~>"
736
775
  - !ruby/object:Gem::Version
737
- version: '0'
776
+ version: '2.5'
738
777
  required_rubygems_version: !ruby/object:Gem::Requirement
739
778
  requirements:
740
779
  - - ">="