rails_app_generator 0.2.6 → 0.2.7

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: 741a7b8a1f24f5287e02fffadea46a97f383e52598674edaf12741d16ff3d402
4
- data.tar.gz: c22870121507421a70589f0f43e17c39b8bf309b97674aae80a425022e1490d9
3
+ metadata.gz: 445a95cd20f4f77c1ac1e1cc587d7c613718f0a78e0e1b3fd4b7bb9fbb4c7b0a
4
+ data.tar.gz: 28fa7c5091cccb5b7610a11748dcd197bde5cd2319cb696fbb961066ff6831ef
5
5
  SHA512:
6
- metadata.gz: d778c940bc53520709050b3c34d2aae1e083a2bc450c03fbcd288b67b21fcf24fa4b50e0b0c680b848c9cb0b0c7ccd24c26f8b65e6ff36843a4aff1505d7d1f2
7
- data.tar.gz: '099224eea8b76be2fe7dcfb49aa60200a8c85b0525508372ec24818901547200fc720fcffdd37d3c7e973cd2353238b24d42e20d271fbfb7486e5aaeb3c04712'
6
+ metadata.gz: 12e593aa71b493ff0e9aa96b3a180c86b19230a2aa247e309467fcffcd30c5e2869c43c97b2e3c0b3e68b72dcc7b3097d7dbc69e49af08911a2ab899c40f39d8
7
+ data.tar.gz: '0783313d06b010a6c7ba215b61e2f2bad5d7c32c42b016d3844a886fd2f435fd76f2756ae2af6645ebdc73a08dd645c836b22f764b3153c5823f2ca77619fb4a'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.2.6](https://github.com/klueless-io/rails_app_generator/compare/v0.2.5...v0.2.6) (2022-08-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add phony_rails addon ([77aec0e](https://github.com/klueless-io/rails_app_generator/commit/77aec0e7ed2fe9093cb988ab408db1f1e50e78d3))
7
+ * add phony_rails addon ([7a45829](https://github.com/klueless-io/rails_app_generator/commit/7a45829688dfb371a4257a5e1c6bb10ebc0a56ad))
8
+
1
9
  ## [0.2.5](https://github.com/klueless-io/rails_app_generator/compare/v0.2.4...v0.2.5) (2022-08-10)
2
10
 
3
11
 
@@ -47,6 +47,7 @@
47
47
  "add_lograge",
48
48
  "add_acts_as_list",
49
49
  "add_browser",
50
+ "add_bcrypt_ruby",
50
51
  "add_chartkick",
51
52
  "add_faker",
52
53
  "add_groupdate",
@@ -389,6 +390,13 @@
389
390
  "default": false,
390
391
  "required": false
391
392
  },
393
+ {
394
+ "name": "add_bcrypt_ruby",
395
+ "description": "Indicates when to generate add bcrypt ruby",
396
+ "type": "boolean",
397
+ "default": false,
398
+ "required": false
399
+ },
392
400
  {
393
401
  "name": "add_chartkick",
394
402
  "description": "Indicates when to generate add chartkick",
@@ -47,6 +47,7 @@
47
47
  "add_lograge",
48
48
  "add_acts_as_list",
49
49
  "add_browser",
50
+ "add_bcrypt_ruby",
50
51
  "add_chartkick",
51
52
  "add_faker",
52
53
  "add_groupdate",
@@ -389,6 +390,13 @@
389
390
  "default": false,
390
391
  "required": false
391
392
  },
393
+ {
394
+ "name": "add_bcrypt_ruby",
395
+ "description": "",
396
+ "type": "boolean",
397
+ "default": false,
398
+ "required": false
399
+ },
392
400
  {
393
401
  "name": "add_chartkick",
394
402
  "description": "",
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsAppGenerator
4
+ # Custom add-ons for RailsAppGenerator
5
+ module AddOns
6
+ # Add BcryptRuby to rails application
7
+ class BcryptRuby < RailsAppGenerator::Addon
8
+ required_gem gem.version('bcrypt-ruby', '3.1.5', 'bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project for hashing passwords.')
9
+
10
+ def apply; end
11
+ end
12
+ end
13
+ end
@@ -108,6 +108,7 @@ KConfig.configure do |config|
108
108
  # NEW GEM ADDONS
109
109
  rag.add_option :add_acts_as_list , type: :boolean, default: false
110
110
  rag.add_option :add_browser , type: :boolean, default: false
111
+ rag.add_option :add_bcrypt_ruby , type: :boolean, default: false
111
112
  rag.add_option :add_chartkick , type: :boolean, default: false
112
113
  rag.add_option :add_faker , type: :boolean, default: false
113
114
  rag.add_option :add_groupdate , type: :boolean, default: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppGenerator
4
- VERSION = '0.2.6'
4
+ VERSION = '0.2.7'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "rails_app_generator",
9
- "version": "0.2.6",
9
+ "version": "0.2.7",
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.6",
3
+ "version": "0.2.7",
4
4
  "description": "Create new Rails Application with custom opinions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_app_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootsnap
@@ -471,6 +471,7 @@ files:
471
471
  - lib/rails_app_generator/addon_util.rb
472
472
  - lib/rails_app_generator/addons/acts_as_list.rb
473
473
  - lib/rails_app_generator/addons/annotate.rb
474
+ - lib/rails_app_generator/addons/bcrypt_ruby.rb
474
475
  - lib/rails_app_generator/addons/browser.rb
475
476
  - lib/rails_app_generator/addons/chartkick.rb
476
477
  - lib/rails_app_generator/addons/continuous_integration.rb