rails_app_generator 0.2.29 → 0.2.30
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/after_templates/addons/rolify/_.rb +4 -0
- data/lib/rails_app_generator/addons/brakeman.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: 72f1f3e53325e37778539aaed03998f681b4e181362bbcf445c497337cfae663
|
|
4
|
+
data.tar.gz: 2ee7326e78b08012f18d660d94327a1b564ea9e4a94683d05c3845f4bea4ebaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b879b3359b768aa7572df16f9c3cca82546e2045c33fe7b3c5f9ee7f0db83ee1c19f3ebdf1a1546d090f66a7af4ab178e0ce5a4bbe5c48889605f0a97bd063e
|
|
7
|
+
data.tar.gz: '09e9bf15c218592f1f1e8a134aaade78f55b02e7ba048cb0bc87ae25ca163fc28ac623d3b130d7455a8dd5e723326807d9eb6ea91593cd3d6f3687e9779e7eec'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [0.2.29](https://github.com/klueless-io/rails_app_generator/compare/v0.2.28...v0.2.29) (2022-08-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add rolify profile ([af0579e](https://github.com/klueless-io/rails_app_generator/commit/af0579e3c707c53e423ff9ce2e1b25a2715a75a5))
|
|
7
|
+
|
|
1
8
|
## [0.2.28](https://github.com/klueless-io/rails_app_generator/compare/v0.2.27...v0.2.28) (2022-08-17)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
# Role management library with resource scoping
|
|
4
4
|
#
|
|
5
5
|
# exe/rag addons/rolify
|
|
6
|
+
#
|
|
7
|
+
# source: https://youtu.be/URDKxGn0pxo
|
|
8
|
+
# need to complete this profile by supporting resource level roles, go to 29 minutes on video
|
|
9
|
+
# source: https://youtu.be/URDKxGn0pxo?t=1101
|
|
6
10
|
|
|
7
11
|
self.local_template_path = File.dirname(__FILE__)
|
|
8
12
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module RailsAppGenerator
|
|
4
|
+
# Custom add-ons for RailsAppGenerator
|
|
5
|
+
module AddOns
|
|
6
|
+
# Add Brakeman to rails application
|
|
7
|
+
class Brakeman < RailsAppGenerator::Addon
|
|
8
|
+
required_gem gem.version('brakeman', '5.3.1', 'Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications')
|
|
9
|
+
|
|
10
|
+
def apply; end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -172,6 +172,7 @@ module RailsAppGenerator
|
|
|
172
172
|
add_if(:annotate) # tested
|
|
173
173
|
add_if(:avo) # tested
|
|
174
174
|
add_if(:bcrypt) # tested
|
|
175
|
+
add_if(:brakeman) # tested
|
|
175
176
|
add_if(:browser) # tested
|
|
176
177
|
add_if(:chartkick) # tested
|
|
177
178
|
add_if(:continuous_integration) # TODO: needs work
|
|
@@ -107,6 +107,7 @@ KConfig.configure do |config|
|
|
|
107
107
|
rag.add_option :add_annotate , type: :boolean, default: false
|
|
108
108
|
rag.add_option :add_avo , type: :boolean, default: false
|
|
109
109
|
rag.add_option :add_bcrypt , type: :boolean, default: false
|
|
110
|
+
rag.add_option :add_brakeman , type: :boolean, default: false
|
|
110
111
|
rag.add_option :add_browser , type: :boolean, default: false
|
|
111
112
|
rag.add_option :add_chartkick , type: :boolean, default: false
|
|
112
113
|
# continuous_integration
|
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.30",
|
|
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.30",
|
|
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.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Cruwys
|
|
@@ -596,6 +596,7 @@ files:
|
|
|
596
596
|
- lib/rails_app_generator/addons/annotate.rb
|
|
597
597
|
- lib/rails_app_generator/addons/avo.rb
|
|
598
598
|
- lib/rails_app_generator/addons/bcrypt.rb
|
|
599
|
+
- lib/rails_app_generator/addons/brakeman.rb
|
|
599
600
|
- lib/rails_app_generator/addons/browser.rb
|
|
600
601
|
- lib/rails_app_generator/addons/chartkick.rb
|
|
601
602
|
- lib/rails_app_generator/addons/continuous_integration.rb
|