nextgen 0.24.0 → 0.25.0

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: 5e8c4dd4b29b2e8afac9f923b72b56daf86a73e5bae75285b2af1b604ccc45c0
4
- data.tar.gz: 8fafac6254aa48ccc290f303e02012d906de34e947f2c32e4f9245e8d34e76d9
3
+ metadata.gz: 66f2bcb15ce61690a13798ae3f202563dd87fd85f978bc066483693f338a0a2f
4
+ data.tar.gz: c7c555bad90c6a8a90bc09e03dd1fa7b7a56e4c1947e33ad5048984428062b6e
5
5
  SHA512:
6
- metadata.gz: 2ee5135257dfcb2096400b1ab15ce501108817606ee30b00bcfb42505106a49a3e0a8fe3fcbbe4543c3d5a01873dada585b3a40861788248b35f44bcf0cabe82
7
- data.tar.gz: 0c9ed43018047dabb368c64190fe65136675a622c49735b1b8f156d21915cf977e3449ab57cf89c19ed67f14592a7ac82f4d5743e803f9cc73a081f9a71e634c
6
+ metadata.gz: 884b6395cb194ea3d9bc998fae5c977adda15441f6a95c782017145ba38106bc19e97289c26c4cf894903aafb31a2bd7b80d253a66a1f8da0967852928c29217
7
+ data.tar.gz: cf166eb6fd55aa50f69d191308ca9eda222fe205029ee5f8c7169a8c4ea9771c500d472b98f4a60b6a328031f73b2915cbd154a457caf8b26a7b69d76217bbf4
@@ -32,7 +32,6 @@ main:
32
32
  label: "main (%%MAIN_VERSION%%)"
33
33
  asset_pipelines:
34
34
  propshaft: Propshaft (default)
35
- sprockets: Sprockets
36
35
  databases:
37
36
  sqlite3: SQLite3 (default)
38
37
  postgresql: PostgreSQL (recommended)
@@ -113,13 +113,12 @@ RUBY
113
113
  say_git "Remove jsbundling-rails"
114
114
  remove_gem "jsbundling-rails"
115
115
 
116
- say_git "Remove sprockets"
116
+ say_git "Remove asset pipeline"
117
117
  remove_file "config/initializers/assets.rb"
118
118
  comment_lines "config/environments/development.rb", /^\s*config\.assets\./
119
119
  comment_lines "config/environments/production.rb", /^\s*config\.assets\./
120
120
  gsub_file "app/views/layouts/application.html.erb", /^.*<%= javascript_include_tag.*\n/, ""
121
121
  gsub_file "app/views/layouts/application.html.erb", /^.*<%= stylesheet_link_tag.*\n/, ""
122
- remove_gem "sprockets-rails"
123
122
 
124
123
  if File.exist?(".github/workflows/ci.yml")
125
124
  say_git "Add Node steps to CI workflow"
@@ -198,7 +198,7 @@ module Nextgen
198
198
  args << "--skip-javascript" if skip_javascript?
199
199
  args << "--skip-test" if skip_test?
200
200
  args << "--skip-system-test" if skip_system_test?
201
- args << "--asset-pipeline=#{asset_pipeline}" if asset_pipeline
201
+ args << "--asset-pipeline=#{asset_pipeline}" if asset_pipeline && asset_pipeline != asset_pipelines.keys.first
202
202
  args << "--database=#{database}" if database
203
203
  args << "--css=#{css}" if css
204
204
  args << "--javascript=#{javascript}" if javascript
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.24.0"
4
+ VERSION = "0.25.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nextgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-17 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
228
  requirements: []
229
- rubygems_version: 3.5.16
229
+ rubygems_version: 3.5.19
230
230
  signing_key:
231
231
  specification_version: 4
232
232
  summary: Generate your next Rails app interactively!