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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8205ff3de045b2343981785aeba004a4730b708915c47e989ed2ddf566adfb5
4
- data.tar.gz: ab88579fb4a7e827bd8464176368f27cfb3c595145d11279a0422bbc33a02b3f
3
+ metadata.gz: f9bb3fbf79823d7029b6d3f3fadda859e223df7dd10adcc3b8c4d2c65b3c2a04
4
+ data.tar.gz: db43cfa7369353bb4c8caf0d1de807814fdf6fc3a4918cdf8d0bf69fe25e2a14
5
5
  SHA512:
6
- metadata.gz: bcecb49b31305607a4b0ad25e83625d2743f69b5e5a33a91d0daa778c60037cd61d2b708bfc856457774bc5958a46acec33a578f11d9a8b55438d168696fe152
7
- data.tar.gz: 42bb4e8a64a011d3aa7d09fc1fb4160313c7c636bc6ade2ef2bfabe8e459561bc4654660a837a03867c2b18bbc1ff148fef47fee5be58649b9c746226aa0d0a1
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
- # Prevents Rails from trying to eager-load the contents of app/frontend
16
- config.javascript_path = "frontend"
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.15.0"
4
+ VERSION = "0.17.0"
5
5
  end
@@ -53,7 +53,7 @@ jobs:
53
53
  - run: bundle exec rake test:all
54
54
  <% end -%>
55
55
  <% if gems.include?("capybara") -%>
56
- - uses: actions/upload-artifact@v3
56
+ - uses: actions/upload-artifact@v4
57
57
  if: failure()
58
58
  with:
59
59
  name: capybara-screenshots
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.15.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-05-26 00:00:00.000000000 Z
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.10
225
+ rubygems_version: 3.5.11
226
226
  signing_key:
227
227
  specification_version: 4
228
228
  summary: Generate your next Rails app interactively!