rails_app_generator 0.2.36 → 0.2.37

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: cee7a5479ca62a445db49b49b597da3a641a39efb84d56f7da3c4c6b973ad52f
4
- data.tar.gz: 9e12b9abed0a5c13bf57b3cdccacf95d97be64ac2a9e3097d84039f00e66c438
3
+ metadata.gz: 2f4ca958feef477475984a4ba7c07c2bacca73ab9e08c3bfa6159230b9e5da13
4
+ data.tar.gz: d0d6cb5bdfbcc3cf808e99f6d28e55752353ac359981495684f63c373e1002f7
5
5
  SHA512:
6
- metadata.gz: 42698c111605eda6d7e8d014a7d1472b2438227f8f663cc4ab92837373a1f4a8526704adbfcab21fc1ea367fa2879586621ea06371ea511fe728989bb2c43925
7
- data.tar.gz: d798bef8f2dc50312db9708ece229b14eb69215bc3de141a66aa51ea8e31df62fc83bef8b2540045e2097c25e136b140bb868dc0e55a5cffcf89fdf1c9dfa438
6
+ metadata.gz: 9fe692be0b91354f45d868b6e5180110547895fb812dd01470babd91d1282f06e33abc615d9b332ba0ae0c5ed8d04da6fc6d73db280e5031f246eb4ef239b6ca
7
+ data.tar.gz: 03b60799b0a908b6cbc54dd354cd8a58f4ae0f56d276359080f9482ce27e6cab675bba980218366136d48c5dc561b8e0767e0aad89a394e058b037d497d911e2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.2.36](https://github.com/klueless-io/rails_app_generator/compare/v0.2.35...v0.2.36) (2022-08-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update avo profile ([f02ee7f](https://github.com/klueless-io/rails_app_generator/commit/f02ee7f7e6e5e25842a023f210674d9602edfe58))
7
+
1
8
  ## [0.2.35](https://github.com/klueless-io/rails_app_generator/compare/v0.2.34...v0.2.35) (2022-08-20)
2
9
 
3
10
 
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsAppGenerator
4
+ # Custom add-ons for RailsAppGenerator
5
+ module AddOns
6
+ # Add FriendlyId to rails application
7
+ class FriendlyId < RailsAppGenerator::Addon
8
+ required_gem gem.version('friendly_id', '5.4.2', '')
9
+
10
+ def apply
11
+ generate('friendly_id')
12
+ end
13
+ end
14
+ end
15
+ end
@@ -185,6 +185,7 @@ module RailsAppGenerator
185
185
  add_if(:dotenv) # tested
186
186
  add_if(:factory_bot) # TODO: needs testing
187
187
  add_if(:faker) # tested
188
+ add_if(:friendly_id) # tested
188
189
  add_if(:generators) # TODO: needs testing
189
190
  add_if(:groupdate) # TODO: does not have a profile
190
191
  add_if(:hexapdf) # tested
@@ -119,6 +119,7 @@ KConfig.configure do |config|
119
119
  rag.add_option :add_dotenv , type: :boolean, default: false
120
120
  # factory_bot
121
121
  rag.add_option :add_faker , type: :boolean, default: false
122
+ rag.add_option :add_friendly_id , type: :boolean, default: false
122
123
  # generators
123
124
  rag.add_option :add_groupdate , type: :boolean, default: false
124
125
  rag.add_option :add_hexapdf , type: :boolean, default: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppGenerator
4
- VERSION = '0.2.36'
4
+ VERSION = '0.2.37'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.2.36",
3
+ "version": "0.2.37",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "rails_app_generator",
9
- "version": "0.2.36",
9
+ "version": "0.2.37",
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.36",
3
+ "version": "0.2.37",
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.36
4
+ version: 0.2.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -646,6 +646,7 @@ files:
646
646
  - lib/rails_app_generator/addons/factory_bot.rb
647
647
  - lib/rails_app_generator/addons/faker.rb
648
648
  - lib/rails_app_generator/addons/foreman.rb
649
+ - lib/rails_app_generator/addons/friendly_id.rb
649
650
  - lib/rails_app_generator/addons/generators.rb
650
651
  - lib/rails_app_generator/addons/groupdate.rb
651
652
  - lib/rails_app_generator/addons/hexapdf.rb