nextgen 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/nextgen/generators/vite.rb +4 -5
- data/lib/nextgen/version.rb +1 -1
- data/template/bin/{dev-yarn → dev-node} +1 -1
- data/template/run-pty.json +16 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08e56651b3e6d88022098471a5b3e04b20ca703ac5e973425fb68f806b271e4a'
|
4
|
+
data.tar.gz: fed2715b9bdb7625434ef6983a15118e1fe29cd3f64a0f182928c1805920f7ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5481874c31115de5229ba346ede332453731c46604b01e974ee1d34471ff1dfcc290dbcdbf2170f03e64b44333d1c83ced987204c6c43abf58637c416e18628c
|
7
|
+
data.tar.gz: 679b4f278c8493da2ed8b34df79c761073f010262bf66eff305a974051f1a1ff52dd89542dc6a852bbacbe7e4a4a46fda95355d68e7cc0e8e6bfb55c53c31682
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ Check out the [examples directory](./examples) to see some Rails apps that were
|
|
54
54
|
|
55
55
|
## What's included
|
56
56
|
|
57
|
-
**Nextgen starts with the "omakase" default behavior of `rails new`,** so you get the great things included in Rails 7.
|
57
|
+
**Nextgen starts with the "omakase" default behavior of `rails new`,** so you get the great things included in Rails 7.2 like RuboCop, a GitHub Actions CI workflow, your choice of database platform, CSS framework, etc. You can also interactively disable parts of the default stack that you don't need, like JBuilder or Action Mailbox.
|
58
58
|
|
59
59
|
On top of that foundation, Nextgen offers dozens of useful enhancements to the vanilla Rails experience. You are free to pick and choose which (if any) of these to apply to your new project. Behind the scenes, **each enhancement is applied in a separate git commit,** so that you can later see what was applied and why, and revert the suggestions if necessary.
|
60
60
|
|
@@ -96,11 +96,10 @@ copy_file "app/frontend/images/example.svg"
|
|
96
96
|
# TODO: rspec support
|
97
97
|
copy_file "test/helpers/inline_svg_helper_test.rb" if File.exist?("test/vite_helper.rb")
|
98
98
|
|
99
|
-
say_git "Add a `
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
copy_file "bin/dev-yarn", "bin/dev", mode: :preserve, force: true
|
99
|
+
say_git "Add a `bin/dev` script that uses run-pty"
|
100
|
+
add_yarn_package "run-pty@^5", dev: true
|
101
|
+
copy_file "bin/dev-node", "bin/dev", mode: :preserve, force: true
|
102
|
+
copy_file "run-pty.json"
|
104
103
|
remove_file "Procfile.dev"
|
105
104
|
|
106
105
|
say_git "Add Safari cache workaround in development"
|
data/lib/nextgen/version.rb
CHANGED
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.
|
4
|
+
version: 0.20.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-08-
|
11
|
+
date: 2024-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -165,7 +165,7 @@ files:
|
|
165
165
|
- template/app/helpers/inline_svg_helper.rb
|
166
166
|
- template/app/views/home/index.html.erb.tt
|
167
167
|
- template/bin/dev
|
168
|
-
- template/bin/dev-
|
168
|
+
- template/bin/dev-node
|
169
169
|
- template/bin/setup
|
170
170
|
- template/config/environments/staging.rb
|
171
171
|
- template/config/initializers/generators.rb
|
@@ -183,6 +183,7 @@ files:
|
|
183
183
|
- template/lib/vite_inline_svg_file_loader.rb
|
184
184
|
- template/package.json
|
185
185
|
- template/postcss.config.cjs
|
186
|
+
- template/run-pty.json
|
186
187
|
- template/spec/support/factory_bot.rb
|
187
188
|
- template/spec/support/mailer.rb
|
188
189
|
- template/spec/support/shoulda.rb
|
@@ -221,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
222
|
- !ruby/object:Gem::Version
|
222
223
|
version: '0'
|
223
224
|
requirements: []
|
224
|
-
rubygems_version: 3.5.
|
225
|
+
rubygems_version: 3.5.11
|
225
226
|
signing_key:
|
226
227
|
specification_version: 4
|
227
228
|
summary: Generate your next Rails app interactively!
|