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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/rails_app_generator/addons/brakeman.rb +1 -0
- data/lib/rails_app_generator/addons/bundler_audit.rb +13 -0
- data/lib/rails_app_generator/app_generator.rb +1 -0
- data/lib/rails_app_generator/rag_initializer.rb +1 -0
- data/lib/rails_app_generator/version.rb +1 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bee2510cd2b930ae2584b92ebf9cbf8b450326500ead81c2cf1203bbcc69d6e
|
4
|
+
data.tar.gz: 595eaef4ba1b7cb5619ac9610da23fc32cf0b9c24903dce5ca98a1b81ab4ec57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "rails_app_generator",
|
3
|
-
"version": "0.2.
|
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.
|
9
|
+
"version": "0.2.32",
|
10
10
|
"dependencies": {
|
11
11
|
"daisyui": "^2.20.0"
|
12
12
|
},
|
data/package.json
CHANGED
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.
|
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
|