rails_app_generator 0.2.31 → 0.2.32

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: 15c23f59cc83f0c3dd3ff9cabeef80af80d2a14bd18d8d890dbb100640bab22a
4
- data.tar.gz: 8acba70cf8a79185c8395f96762caa575968fb3521967ca4d1e80f282014d816
3
+ metadata.gz: 0bee2510cd2b930ae2584b92ebf9cbf8b450326500ead81c2cf1203bbcc69d6e
4
+ data.tar.gz: 595eaef4ba1b7cb5619ac9610da23fc32cf0b9c24903dce5ca98a1b81ab4ec57
5
5
  SHA512:
6
- metadata.gz: 137bc8d24086e7914baf7f332c7a1ff6bf7db9845771b007e545e9882895c886a1379da9f97fd5156a07902bf849ca2bac720cc981843cabba032107e8588714
7
- data.tar.gz: 8856d3e93f801687e6c9f3ec5a7581387c1109cfa224b3db479587527ec209ca09c2220b54a960ab29108c5fc6372aaad0c7eda71eed6761eaf876e51150f47d
6
+ metadata.gz: da91ccb4e0a4da8ab26fcb9ad013c78453c5f9052d1ac24ff48b7143e9ef9b425a7ca41c1b541419e0f956a7dbc31472cac594e040db6a271bf1373acd44cdde
7
+ data.tar.gz: 6cf0b06000288eccfcc0b4e1b7e30c6878290ab6a802deb679e2bd54e4b8a0f7bf8eb1c956c44c2573ce69da3838223b21afc405a294f52c3914440d757df416
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.2.31](https://github.com/klueless-io/rails_app_generator/compare/v0.2.30...v0.2.31) (2022-08-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add brakeman profile ([5cb8166](https://github.com/klueless-io/rails_app_generator/commit/5cb8166a4a1630edd07b7fcb70ca5eff6d2e7136))
7
+
1
8
  ## [0.2.30](https://github.com/klueless-io/rails_app_generator/compare/v0.2.29...v0.2.30) (2022-08-19)
2
9
 
3
10
 
@@ -5,6 +5,7 @@ module RailsAppGenerator
5
5
  module AddOns
6
6
  # Add Brakeman to rails application
7
7
  class Brakeman < RailsAppGenerator::Addon
8
+ # TODO: This needs to go into the development group
8
9
  required_gem gem.version('brakeman', '5.3.1', 'Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications')
9
10
 
10
11
  def apply; end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsAppGenerator
4
+ # Custom add-ons for RailsAppGenerator
5
+ module AddOns
6
+ # Add BundlerAudit to rails application
7
+ class BundlerAudit < RailsAppGenerator::Addon
8
+ required_gem gem.version('bundler-audit', '0.9.1', 'Patch-level verification for Bundler')
9
+
10
+ def apply; end
11
+ end
12
+ end
13
+ end
@@ -174,6 +174,7 @@ module RailsAppGenerator
174
174
  add_if(:bcrypt) # tested
175
175
  add_if(:brakeman) # tested
176
176
  add_if(:browser) # tested
177
+ add_if(:bundler_audit) # tested
177
178
  add_if(:chartkick) # tested
178
179
  add_if(:continuous_integration) # TODO: needs work
179
180
  add_if(:devise) # tested
@@ -109,6 +109,7 @@ KConfig.configure do |config|
109
109
  rag.add_option :add_bcrypt , type: :boolean, default: false
110
110
  rag.add_option :add_brakeman , type: :boolean, default: false
111
111
  rag.add_option :add_browser , type: :boolean, default: false
112
+ rag.add_option :add_bundler_audit , type: :boolean, default: false
112
113
  rag.add_option :add_chartkick , type: :boolean, default: false
113
114
  # continuous_integration
114
115
  rag.add_option :add_devise , type: :boolean, default: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppGenerator
4
- VERSION = '0.2.31'
4
+ VERSION = '0.2.32'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "rails_app_generator",
9
- "version": "0.2.31",
9
+ "version": "0.2.32",
10
10
  "dependencies": {
11
11
  "daisyui": "^2.20.0"
12
12
  },
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "description": "Create new Rails Application with custom opinions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_app_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.31
4
+ version: 0.2.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -606,6 +606,7 @@ files:
606
606
  - lib/rails_app_generator/addons/bcrypt.rb
607
607
  - lib/rails_app_generator/addons/brakeman.rb
608
608
  - lib/rails_app_generator/addons/browser.rb
609
+ - lib/rails_app_generator/addons/bundler_audit.rb
609
610
  - lib/rails_app_generator/addons/chartkick.rb
610
611
  - lib/rails_app_generator/addons/continuous_integration.rb
611
612
  - lib/rails_app_generator/addons/devise.rb