rails_app_generator 0.2.5 → 0.2.6

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: d6643bb1793ae62dd9a03d88815543f732ad40b0be0014dca96028f768d5026f
4
- data.tar.gz: 631e0d1fa33f226a1c20ad45aa4e2c034b8d7ef0477317f8485c24bf9c26dd9c
3
+ metadata.gz: 741a7b8a1f24f5287e02fffadea46a97f383e52598674edaf12741d16ff3d402
4
+ data.tar.gz: c22870121507421a70589f0f43e17c39b8bf309b97674aae80a425022e1490d9
5
5
  SHA512:
6
- metadata.gz: 432e5274201efba75dde019a0ce0d6b03664392e47aa6f98fb78d6d24a91b57a5e85fd528fe7161ab176e9aa653525563c13a4b46bd9f8872246b4794d82286d
7
- data.tar.gz: de5b4c0ad27d3fba243018c9d7cc488e21cd7946475976d1f0681c3bc50190b6fbee0b5ca10165ace830fbda64dbc7223b4b70ce580c33cc87a0fbeed49a2ec7
6
+ metadata.gz: d778c940bc53520709050b3c34d2aae1e083a2bc450c03fbcd288b67b21fcf24fa4b50e0b0c680b848c9cb0b0c7ccd24c26f8b65e6ff36843a4aff1505d7d1f2
7
+ data.tar.gz: '099224eea8b76be2fe7dcfb49aa60200a8c85b0525508372ec24818901547200fc720fcffdd37d3c7e973cd2353238b24d42e20d271fbfb7486e5aaeb3c04712'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.2.5](https://github.com/klueless-io/rails_app_generator/compare/v0.2.4...v0.2.5) (2022-08-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add public_suffix addon ([dce30f3](https://github.com/klueless-io/rails_app_generator/commit/dce30f3d3a479ca41ab7c60deef59f9d19d2ce13))
7
+
1
8
  ## [0.2.4](https://github.com/klueless-io/rails_app_generator/compare/v0.2.3...v0.2.4) (2022-08-10)
2
9
 
3
10
 
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This Gem adds useful methods to your Rails app to validate, display and save phone numbers.
4
+ #
5
+ # exe/rag addons/phony_rails
6
+
7
+ self.local_template_path = File.dirname(__FILE__)
8
+
9
+ gac 'base rails 7 image created'
10
+
11
+ bundle_install
12
+
13
+ add_controller('home', 'index')
14
+
15
+ route("root 'home#index'")
16
+
17
+ force_copy
18
+
19
+ directory "app/controllers"
20
+ directory "app/views/home"
21
+ directory "app/views/layouts"
22
+ template 'app/views/layouts/application.html.erb' , 'app/views/layouts/application.html.erb'
23
+
24
+ template 'db/seeds.rb' , 'db/seeds.rb'
25
+
26
+ after_bundle do
27
+ setup_db
28
+ end
29
+
30
+ def setup_db
31
+ # add_scaffold('post', 'title', 'body:text')
32
+ # add_scaffold('people', 'first_name', 'last_name', 'age:integer', 'address:text')
33
+ # add_scaffold('product', 'name', 'price:integer')
34
+
35
+ # db_migrate
36
+ end
37
+
38
+ # Other template command examples
39
+ # bundle_install
40
+ # css_install('tailwind')
41
+ # rails_command('db:migrate')
42
+ # rails_command('db:migrate')
43
+ # bundle_add('hotwire-rails')
44
+ # rails_command('hotwire:install')
45
+ # run('bin/importmap pin sortablejs')
46
+ # run('npm install daisyui')
47
+ # rubocop
48
+ #
49
+ # directory 'app/assets/images'
50
+ # create_file 'app/assets/stylesheets/custom-bootstrap-import.scss' , read_template('custom-bootstrap-import.scss')
51
+ # append_to_file 'app/assets/config/manifest.js' , read_template('manifest.js')
52
+ # insert_into_file 'app/views/layouts/application.html.erb', read_template('application.html.erb'),
53
+ # before: %( <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>)
54
+ # gsub_file 'app/views/layouts/application.html.erb', %(container mx-auto mt-28 px-5 flex), 'container mx-auto px-5'
55
+ # template 'home.css', 'app/assets/stylesheets/home.css'
56
+ #
57
+ # add_controller('page', 'benefits', 'faq', 'terms', 'privacy', '--skip-routes')
58
+ # route(<<-'RUBY')
59
+ # PageController.action_methods.each do |action|
60
+ # get "/#{action}", to: "page##{action}", as: "page_#{action}"
61
+ # end
62
+ # RUBY
@@ -0,0 +1,7 @@
1
+ class HomeController < ApplicationController
2
+ def index
3
+ end
4
+
5
+ def some_action
6
+ end
7
+ end
@@ -0,0 +1,46 @@
1
+ <style>
2
+ .alert { color: red; }
3
+ .notice { color: green; }
4
+ </style>
5
+
6
+ <% flash.each do |type, msg| %><div class="<%= type %>"><%= msg %></div><% end %>
7
+ <% if flash.any? %><hr /><% end %>
8
+
9
+ <h1>Phony rails</h1>
10
+
11
+ <h2>This Gem adds useful methods to your Rails app to validate, display and save phone numbers.</h2>
12
+
13
+ <hr />
14
+
15
+ <pre>
16
+ <code>
17
+ PhonyRails.normalize_number('0211112222', country_code: 'AU')
18
+ PhonyRails.normalize_number('0424001122', country_code: 'AU')
19
+ PhonyRails.normalize_number('+4790909090', default_country_code: 'SE')
20
+ </code>
21
+ </pre>
22
+
23
+ <pre>
24
+ <code>
25
+ <%= PhonyRails.normalize_number('0211112222', country_code: 'AU') %>
26
+ <%= PhonyRails.normalize_number('0424001122', country_code: 'AU') %>
27
+ <%= PhonyRails.normalize_number('+61424001122', default_country_code: 'AU') %>
28
+ </code>
29
+ </pre>
30
+
31
+ <hr />
32
+
33
+ <pre>
34
+ <code>
35
+ "311012341234".phony_formatted(format: :international, spaces: '-')
36
+ "+31-10-12341234".phony_formatted(format: :international, spaces: '-')
37
+ "+31(0)012341234".phony_formatted(format: :international, spaces: '-')
38
+ </code>
39
+ </pre>
40
+
41
+ <pre>
42
+ <code>
43
+ <%= "311012341234".phony_formatted(format: :international, spaces: '-') %>
44
+ <%= "+31-10-12341234".phony_formatted(format: :international, spaces: '-') %>
45
+ <%= "+31(0)012341234".phony_formatted(format: :international, spaces: '-') %></code>
46
+ </pre>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title><%= camelized %></title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <%%= csrf_meta_tags %>
7
+ <%%= csp_meta_tag %>
8
+
9
+ <%- if options[:skip_hotwire] || options[:skip_javascript] -%>
10
+ <%%= stylesheet_link_tag "application" %>
11
+ <%- else -%>
12
+ <%%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
13
+ <%- end -%>
14
+ </head>
15
+
16
+ <body>
17
+ <%%= yield %>
18
+ </body>
19
+ </html>
@@ -0,0 +1,16 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # User.find_or_create_by(email: "admin@admin.com") do |user|
5
+ # user.name = 'Admin'
6
+ # user.password = 'password'
7
+ # user.admin = true
8
+ # end
9
+
10
+ # david = User.create(email: 'david@site.com', name: 'david', password: 'password')
11
+ # bob = User.create(email: 'bob@site.com', name: 'bob', password: 'password')
12
+ # lisa = User.create(email: 'lisa@site.com', name: 'lisa', password: 'password')
13
+
14
+ # 10.times do |i|
15
+ # Post.create(title: "Post #{i}", body: "This is the body of post #{i}", user: User.all.sample)
16
+ # end
@@ -54,6 +54,7 @@
54
54
  "add_httparty",
55
55
  "add_honeybadger",
56
56
  "add_mini_magick",
57
+ "add_phony_rails",
57
58
  "add_public_suffix",
58
59
  "add_rails_html_sanitizer",
59
60
  "add_twilio_ruby"
@@ -437,6 +438,13 @@
437
438
  "default": false,
438
439
  "required": false
439
440
  },
441
+ {
442
+ "name": "add_phony_rails",
443
+ "description": "Indicates when to generate add phony rails",
444
+ "type": "boolean",
445
+ "default": false,
446
+ "required": false
447
+ },
440
448
  {
441
449
  "name": "add_public_suffix",
442
450
  "description": "Indicates when to generate add public suffix",
@@ -44,9 +44,10 @@
44
44
  "add_httparty": false,
45
45
  "add_honeybadger": false,
46
46
  "add_mini_magick": false,
47
- "add_public_suffix": true,
47
+ "add_phony_rails": true,
48
+ "add_public_suffix": false,
48
49
  "add_rails_html_sanitizer": false,
49
50
  "add_twilio_ruby": false,
50
- "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/addons/public_suffix/_.rb"
51
+ "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/addons/phony_rails/_.rb"
51
52
  }
52
53
  }
@@ -54,6 +54,7 @@
54
54
  "add_httparty",
55
55
  "add_honeybadger",
56
56
  "add_mini_magick",
57
+ "add_phony_rails",
57
58
  "add_public_suffix",
58
59
  "add_rails_html_sanitizer",
59
60
  "add_twilio_ruby"
@@ -432,7 +433,14 @@
432
433
  },
433
434
  {
434
435
  "name": "add_mini_magick",
435
- "description": "Add Mini Magick gem",
436
+ "description": "",
437
+ "type": "boolean",
438
+ "default": false,
439
+ "required": false
440
+ },
441
+ {
442
+ "name": "add_phony_rails",
443
+ "description": "",
436
444
  "type": "boolean",
437
445
  "default": false,
438
446
  "required": false
@@ -7,7 +7,7 @@
7
7
  "quiet": false,
8
8
  "skip": false,
9
9
  "ruby": "/Users/davidcruwys/.asdf/installs/ruby/2.7.6/bin/ruby",
10
- "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/addons/public_suffix/_.rb",
10
+ "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/addons/phony_rails/_.rb",
11
11
  "database": "sqlite3",
12
12
  "skip_git": true,
13
13
  "skip_keeps": false,
@@ -54,7 +54,8 @@
54
54
  "add_httparty": false,
55
55
  "add_honeybadger": false,
56
56
  "add_mini_magick": false,
57
- "add_public_suffix": true,
57
+ "add_phony_rails": true,
58
+ "add_public_suffix": false,
58
59
  "add_rails_html_sanitizer": false,
59
60
  "add_twilio_ruby": false
60
61
  }
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsAppGenerator
4
+ # Custom add-ons for RailsAppGenerator
5
+ module AddOns
6
+ # Add PhonyRails to rails application
7
+ class PhonyRails < RailsAppGenerator::Addon
8
+ required_gem gem.version('phony_rails', '0.15.0', 'This Gem adds useful methods to your Rails app to validate, display and save phone numbers.')
9
+
10
+ def apply; end
11
+ end
12
+ end
13
+ end
@@ -1,8 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # lib/rails_app_generator/rag_initializer.rb
4
- # rag.add_option :add_public_suffix , type: :boolean, default: false
5
-
6
3
  module RailsAppGenerator
7
4
  # Custom add-ons for RailsAppGenerator
8
5
  module AddOns
@@ -10,24 +7,7 @@ module RailsAppGenerator
10
7
  class PublicSuffix < RailsAppGenerator::Addon
11
8
  required_gem gem.version('public_suffix', '5.0.0', 'PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.')
12
9
 
13
- def apply
14
- say 'Setting up PublicSuffix'
15
- # template('public_suffix_template.rb', 'target/public_suffix.rb', force: true)
16
- # template('app/javascript/stylesheets/components.scss')
17
- # create_file('target/public_suffix.rb', 'put your content here')
18
- # directory 'app/template', 'app/target', force: true
19
- # empty_directory 'app/target'
20
- # inject_into_file('app/application.js', "some content")
21
- # rails_command('tailwindcss:install')
22
- end
23
-
24
- def before_bundle
25
- say 'Setting up PublicSuffix - before bundle install'
26
- end
27
-
28
- def after_bundle
29
- say 'Setting up PublicSuffix - after bundle install'
30
- end
10
+ def apply; end
31
11
  end
32
12
  end
33
13
  end
@@ -12,121 +12,6 @@ KConfig.configure do |config|
12
12
 
13
13
  # rag.add_option :test , type: :string , default: 'rspec'
14
14
 
15
- # # Gem Current Latest Requested Groups
16
- # # aws-sdk
17
- # # capistrano-bundler 1.6.0 2.1.0 ~> 1.2 development, test
18
- # # capybara 3.33.0 3.37.1 = 3.33.0 development, test
19
- # # clamby 1.6.6 1.6.8 = 1.6.6 default
20
- # # createsend 5.1.1 6.0.0 ~> 5.1 default
21
- # # database_cleaner 1.7.0 2.0.1 = 1.7.0 development, test
22
- # # erubi 1.10.0 1.11.0
23
- # # factory_bot 5.2.0 6.2.1
24
- # # factory_bot_rails 5.2.0 6.2.0 = 5.2.0 development, test
25
- # # guard-bundler 2.2.1 3.0.0 = 2.2.1 development, test
26
- # # guard-rubocop 1.4.0 1.5.0 = 1.4.0 development, test
27
- # # http-accept 1.7.0 2.2.0
28
- # # net-ssh 6.1.0 7.0.1
29
- # # oauth2 1.4.10 2.0.6
30
- # # omniauth-oauth2 1.7.3 1.8.0
31
- # # paper_trail 10.3.1 12.3.0 ~> 10.3 default
32
- # # pg 0.21.0 1.4.2 ~> 0.20 default
33
- # # pg_search 2.3.0 2.3.6 ~> 2.0 default
34
- # # public_suffix 2.0.5 5.0.0 ~> 2.0 default
35
- # # pusher 1.4.3 2.0.2 ~> 1.3 default
36
- # # rack-mini-profiler 0.10.7 3.0.0 ~> 0.10 default
37
- # # rack-test 0.6.3 2.0.2
38
- # # rails 5.0.7.2 7.0.3.1 = 5.0.7.2 default
39
- # # railties 5.0.7.2 7.0.3.1
40
- # # ransack 1.8.10 3.2.1 ~> 1.8 default
41
- # # redis 3.3.5 4.7.1 ~> 3.3 default
42
- # # redis-store 1.6.0 1.9.1
43
- # # regexp_parser 1.8.2 2.5.0
44
- # # rspec 3.10.0 3.11.0
45
- # # rspec-core 3.10.1 3.11.0 = 3.10.1 development, test
46
- # # rspec-expectations 3.10.1 3.11.0 = 3.10.1 development, test
47
- # # rspec-mocks 3.10.2 3.11.1 = 3.10.2 development, test
48
- # # rspec-rails 4.1.2 5.1.2 = 4.1.2 development, test
49
- # # rspec-support 3.10.2 3.11.0 = 3.10.2 development, test
50
- # # rubyzip 1.3.0 2.3.2 ~> 1.3 default
51
- # # scenic 1.5.4 1.6.0 = 1.5.4 default
52
- # # scout_apm 4.1.2 5.2.0 ~> 4.1 default
53
- # # selenium-webdriver 3.142.7 4.3.0 = 3.142.7 development, test
54
- # # shoulda-matchers 4.0.1 5.1.0 = 4.0.1 development, test
55
- # # sidekiq 4.2.10 6.5.1 ~> 4.2 default
56
- # # sidekiq-pool 1.9.3 2.0.1 ~> 1.8 default
57
- # # sidekiq-unique-jobs 6.0.25 7.1.27 ~> 6.0 default
58
- # # spring 2.1.1 4.0.0 ~> 2.0 development, test
59
- # # sprockets 3.7.2 4.1.1 ~> 3.7 default
60
- # # sprockets-rails 3.2.2 3.4.2
61
- # # timecop 0.8.1 0.9.5 = 0.8.1 development, test
62
- # # tzinfo 1.2.10 2.0.5
63
- # # uglifier 3.2.0 4.2.0 ~> 3.2 default
64
- # # unicorn 5.8.0 6.1.0 ~> 5.3 default
65
- # # webmock 3.13.0 3.16.0 = 3.13.0 development, test
66
- # # websocket-driver 0.6.5 0.7.5
67
-
68
- # # acts_as_list 0.9.19 1.0.4 ~> 0.9 default
69
- # # arel 7.1.4 9.0.0
70
- # # bigdecimal 1.4.4 3.1.2 ~> 1.4 development, test
71
- # # binding_of_caller 0.8.0 1.0.0 ~> 0.8 default
72
- # # browser 2.7.1 5.3.1 ~> 2.3 default
73
- # # capistrano-bundler 1.6.0 2.1.0 ~> 1.2 development, test
74
- # # capybara 3.33.0 3.37.1 = 3.33.0 development, test
75
- # # chartkick 2.3.5 4.2.0 ~> 2.3 default
76
- # # childprocess 3.0.0 4.1.0
77
- # # clamby 1.6.6 1.6.8 = 1.6.6 default
78
- # # createsend 5.1.1 6.0.0 ~> 5.1 default
79
- # # database_cleaner 1.7.0 2.0.1 = 1.7.0 development, test
80
- # # factory_bot 5.2.0 6.2.1
81
- # # factory_bot_rails 5.2.0 6.2.0 = 5.2.0 development, test
82
- # # faker 1.9.6 2.22.0 ~> 1.7 default
83
- # # groupdate 4.3.0 6.1.0 ~> 4.1 default
84
- # # guard-bundler 2.2.1 3.0.0 = 2.2.1 development, test
85
- # # guard-rubocop 1.4.0 1.5.0 = 1.4.0 development, test
86
- # # hashie 3.6.0 5.0.0
87
- # # http-accept 1.7.0 2.1.1
88
- # # k_log 0.0.18 0.0.33 = 0.0.18 development, test
89
- # # net-ssh 6.1.0 7.0.1
90
- # # oauth2 1.4.10 2.0.6
91
- # # omniauth-oauth2 1.7.3 1.8.0
92
- # # paper_trail 10.3.1 12.3.0 ~> 10.3 default
93
- # # pg 0.21.0 1.4.2 ~> 0.20 default
94
- # # pg_search 2.3.0 2.3.6 ~> 2.0 default
95
- # # pry 0.13.1 0.14.1
96
- # # public_suffix 2.0.5 5.0.0 ~> 2.0 default
97
- # # pusher 1.4.3 2.0.2 ~> 1.3 default
98
- # # rack-mini-profiler 0.10.7 3.0.0 ~> 0.10 default
99
- # # rack-test 0.6.3 2.0.2
100
- # # rails 5.0.7.2 7.0.3.1 = 5.0.7.2 default
101
- # # railties 5.0.7.2 7.0.3.1
102
- # # ransack 1.8.10 3.2.1 ~> 1.8 default
103
- # # redis 3.3.5 4.7.1 ~> 3.3 default
104
- # # redis-store 1.6.0 1.9.1
105
- # # regexp_parser 1.8.2 2.5.0
106
- # # rspec 3.10.0 3.11.0
107
- # # rspec-core 3.10.1 3.11.0 = 3.10.1 development, test
108
- # # rspec-expectations 3.10.1 3.11.0 = 3.10.1 development, test
109
- # # rspec-mocks 3.10.2 3.11.1 = 3.10.2 development, test
110
- # # rspec-rails 4.1.2 5.1.2 = 4.1.2 development, test
111
- # # rspec-support 3.10.2 3.11.0 = 3.10.2 development, test
112
- # # rubyzip 1.3.0 2.3.2 ~> 1.3 default
113
- # # scenic 1.5.4 1.6.0 = 1.5.4 default
114
- # # scout_apm 4.1.2 5.2.0 ~> 4.1 default
115
- # # selenium-webdriver 3.142.7 4.3.0 = 3.142.7 development, test
116
- # # shoulda-matchers 4.0.1 5.1.0 = 4.0.1 development, test
117
- # # sidekiq 4.2.10 6.5.1 ~> 4.2 default
118
- # # sidekiq-pool 1.9.3 2.0.1 ~> 1.8 default
119
- # # sidekiq-unique-jobs 6.0.25 7.1.27 ~> 6.0 default
120
- # # spring 2.1.1 4.0.0 ~> 2.0 development, test
121
- # # sprockets 3.7.2 4.1.1 ~> 3.7 default
122
- # # sprockets-rails 3.2.2 3.4.2
123
- # # timecop 0.8.1 0.9.5 = 0.8.1 development, test
124
- # # tzinfo 1.2.10 2.0.5
125
- # # uglifier 3.2.0 4.2.0 ~> 3.2 default
126
- # # unicorn 5.8.0 6.1.0 ~> 5.3 default
127
- # # webmock 3.13.0 3.14.0 = 3.13.0 development, test
128
- # # websocket-driver 0.6.5 0.7.5
129
-
130
15
  # rag.add_option :skip_namespace , type: :boolean , default: false , description: "Skip namespace (affects only isolated engines)"
131
16
  # rag.add_option :skip_collision_check , type: :boolean , default: false , description: "Skip collision check"
132
17
  rag.add_option :force , type: :boolean , default: nil , description: 'Overwrite files that already exist'
@@ -229,7 +114,8 @@ KConfig.configure do |config|
229
114
  rag.add_option :add_hexapdf , type: :boolean, default: false
230
115
  rag.add_option :add_httparty , type: :boolean, default: false
231
116
  rag.add_option :add_honeybadger , type: :boolean, default: false
232
- rag.add_option :add_mini_magick , type: :boolean, default: false , description: 'Add Mini Magick gem'
117
+ rag.add_option :add_mini_magick , type: :boolean, default: false
118
+ rag.add_option :add_phony_rails , type: :boolean, default: false
233
119
  rag.add_option :add_public_suffix , type: :boolean, default: false
234
120
  rag.add_option :add_rails_html_sanitizer , type: :boolean, default: false
235
121
  rag.add_option :add_twilio_ruby , type: :boolean, default: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppGenerator
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "rails_app_generator",
9
- "version": "0.2.5",
9
+ "version": "0.2.6",
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.5",
3
+ "version": "0.2.6",
4
4
  "description": "Create new Rails Application with custom opinions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
@@ -0,0 +1,12 @@
1
+ {
2
+ "args": {
3
+ "app_path": "phony_rails",
4
+ "destination_root": "/Users/davidcruwys/dev/kgems/rails_app_generator/a/addons"
5
+ },
6
+ "opts": {
7
+ "skip_git": true,
8
+ "skip_test": true,
9
+ "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/addons/phony_rails/_.rb",
10
+ "add_phony_rails": true
11
+ }
12
+ }
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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -250,6 +250,11 @@ files:
250
250
  - after_templates/addons/mini_magick/app/views/layouts/_footer.html.erb
251
251
  - after_templates/addons/mini_magick/app/views/layouts/_navbar.html.erb
252
252
  - after_templates/addons/mini_magick/app/views/layouts/application.html.erb
253
+ - after_templates/addons/phony_rails/_.rb
254
+ - after_templates/addons/phony_rails/app/controllers/home_controller.rb
255
+ - after_templates/addons/phony_rails/app/views/home/index.html.erb
256
+ - after_templates/addons/phony_rails/app/views/layouts/application.html.erb
257
+ - after_templates/addons/phony_rails/db/seeds.rb
253
258
  - after_templates/addons/public_suffix/_.rb
254
259
  - after_templates/addons/public_suffix/app/controllers/home_controller.rb
255
260
  - after_templates/addons/public_suffix/app/views/home/index.html.erb
@@ -486,6 +491,7 @@ files:
486
491
  - lib/rails_app_generator/addons/irbrc.rb
487
492
  - lib/rails_app_generator/addons/lograge.rb
488
493
  - lib/rails_app_generator/addons/mini_magick.rb
494
+ - lib/rails_app_generator/addons/phony_rails.rb
489
495
  - lib/rails_app_generator/addons/public_suffix.rb
490
496
  - lib/rails_app_generator/addons/pundit.rb
491
497
  - lib/rails_app_generator/addons/rails_html_sanitizer.rb
@@ -543,6 +549,7 @@ files:
543
549
  - profiles/addons/httparty.json
544
550
  - profiles/addons/lograge.json
545
551
  - profiles/addons/mini_magick.json
552
+ - profiles/addons/phony_rails.json
546
553
  - profiles/addons/public_suffix.json
547
554
  - profiles/addons/rails-html-sanitizer.json
548
555
  - profiles/addons/rubocop.json