nextgen 0.15.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nextgen/generators/vite.rb +10 -2
- data/lib/nextgen/version.rb +1 -1
- data/template/.github/workflows/ci.yml.tt +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9bb3fbf79823d7029b6d3f3fadda859e223df7dd10adcc3b8c4d2c65b3c2a04
|
4
|
+
data.tar.gz: db43cfa7369353bb4c8caf0d1de807814fdf6fc3a4918cdf8d0bf69fe25e2a14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c2d3a708b62075ff5d47c5edd9159a0a70c2750c291b1460b8f29d91dd0eedd01df98b80e4579e1007d8a9e919a98cd71a9bb0fe76a74be48d0a3d0f6ba3f3d
|
7
|
+
data.tar.gz: 8a1a5a9553f4ec332f294a1f8d4dae880d7e9e52c36ce29c368e13427d940c191d7da69d262980e8c2af2fa6154326199fc4b752c2ecfaf21fed8af2277e2af7
|
@@ -12,8 +12,8 @@ move "app/assets/images", "app/frontend/images"
|
|
12
12
|
move "app/assets/stylesheets", "app/frontend/stylesheets"
|
13
13
|
remove_dir "app/assets"
|
14
14
|
inject_into_class "config/application.rb", "Application", <<-RUBY
|
15
|
-
|
16
|
-
|
15
|
+
# Prevents Rails from trying to eager-load the contents of app/frontend
|
16
|
+
config.javascript_path = "frontend"
|
17
17
|
|
18
18
|
RUBY
|
19
19
|
|
@@ -100,6 +100,14 @@ gsub_file "README.md", %r{bin/rails s(erver)?}, "yarn start"
|
|
100
100
|
gsub_file "bin/setup", %r{bin/rails s(erver)?}, "yarn start"
|
101
101
|
remove_file "Procfile.dev"
|
102
102
|
|
103
|
+
say_git "Add Safari cache workaround in development"
|
104
|
+
insert_into_file "config/environments/development.rb", <<-RUBY, before: /^end/
|
105
|
+
|
106
|
+
# Disable `Link: ... rel=preload` header to work around Safari caching bug
|
107
|
+
# https://bugs.webkit.org/show_bug.cgi?id=193533
|
108
|
+
config.action_view.preload_links_header = false
|
109
|
+
RUBY
|
110
|
+
|
103
111
|
say_git "Remove jsbundling-rails"
|
104
112
|
remove_gem "jsbundling-rails"
|
105
113
|
|
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.17.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-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
|
-
rubygems_version: 3.5.
|
225
|
+
rubygems_version: 3.5.11
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: Generate your next Rails app interactively!
|