rails_app_generator 0.2.29 → 0.2.30

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: 9814e53f17fa635ed1ab01effbdc7b434ccac9c09c8b4f3b25f2bd75c905bc34
4
- data.tar.gz: 2986a8435c7bac002667d0826759ca8d480ac9b6f3397c717166eb08cc2ef84f
3
+ metadata.gz: 72f1f3e53325e37778539aaed03998f681b4e181362bbcf445c497337cfae663
4
+ data.tar.gz: 2ee7326e78b08012f18d660d94327a1b564ea9e4a94683d05c3845f4bea4ebaa
5
5
  SHA512:
6
- metadata.gz: 1299bd5a332ca9b2a8b9cefcbb51ea4338f5fefbb52f2c872429dee01ec6a94bb8d1838fe20c8ab6d3a2fcbd44e00b3f09e76abb28528a9f9944598d0c068c7e
7
- data.tar.gz: bac96b22350786b254f9f5c713736ce9394462bc9caa22d64e5490a892f40122b5fd8b2c3c7f6fa5058eafc5b80ce07b30c2297ba62d389d7b7b2682beba8892
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppGenerator
4
- VERSION = '0.2.29'
4
+ VERSION = '0.2.30'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.2.29",
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.29",
9
+ "version": "0.2.30",
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.29",
3
+ "version": "0.2.30",
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.29
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