nextgen 0.42.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47f49664f5a3092d4385e2e6a8d10830fa0fbb64b491dc6c9f179baf738492bd
4
- data.tar.gz: 8a1cbb5127ff546557a2db7e49f6523dc2f3ac070bab4dbfb85112684ebe680e
3
+ metadata.gz: 1a21d65b3975c92401f41673dfc0cd48b1cf352779cb275cb7421bfab521cdc1
4
+ data.tar.gz: 618bbb1a9a6a21d293982d11975ac6a24e9564bbd9fdbbd530b1421e5ab88f92
5
5
  SHA512:
6
- metadata.gz: 86743a52a3e474891173bc143167dd93f719de2dd0175f4c6327953f93569592ebddb9b48ec592a2b2f457cf1b3a5f84885d3be84ccaa929b21ab4a88d749354
7
- data.tar.gz: bdfd652ffd8c829bbb21d71a56ce643ed5311ccd81321ecf0f183552f9118ecc9ff1b17b6d031b6628b09935280bd71f436c502bc17541ea7b382f0dad19c14f
6
+ metadata.gz: 301cdd3bff617719fbd8d1c6ef2232632233ef2bb40d74b119bcbf000eaa435e78d272404c1ddef3d3678593a507871bb6bb20900a8d94a1fab8ddec977feab0
7
+ data.tar.gz: 208ba487196cf1ef67a0ceb526367408d435a1eb410c8f468c0ac57e431f310f35ca9a372a1432a0f7eb52a411c1336b637e5b215e210c24e27d99802e091b5a
@@ -83,3 +83,11 @@ if (time_zone = read_system_time_zone_name)
83
83
  uncomment_lines "config/application.rb", /config\.time_zone/
84
84
  gsub_file "config/application.rb", /(config\.time_zone = ).*$/, "\\1#{time_zone.inspect}"
85
85
  end
86
+
87
+ say_git "Replace default action_view.field_error_proc"
88
+ insert_into_file "config/application.rb", <<RUBY, before: /^ end/
89
+
90
+ # Remove the extra markup that Rails adds around invalid form fields.
91
+ # https://guides.rubyonrails.org/active_record_validations.html#config-action-view-field-error-proc
92
+ config.action_view.field_error_proc = proc { |html_tag, _instance| html_tag }
93
+ RUBY
@@ -37,7 +37,7 @@ if File.exist?(".github/workflows/ci.yml")
37
37
  uses: actions/checkout@v7
38
38
 
39
39
  - name: Set up Node
40
- uses: actions/setup-node@v6
40
+ uses: actions/setup-node@v7
41
41
  with:
42
42
  #{node_spec}
43
43
  cache: #{js_package_manager}
@@ -33,7 +33,7 @@ if File.exist?(".github/workflows/ci.yml")
33
33
  uses: actions/checkout@v7
34
34
 
35
35
  - name: Set up Node
36
- uses: actions/setup-node@v6
36
+ uses: actions/setup-node@v7
37
37
  with:
38
38
  #{node_spec}
39
39
  cache: #{js_package_manager}
@@ -125,7 +125,7 @@ if File.exist?(".github/workflows/ci.yml")
125
125
  inject_into_file ".github/workflows/ci.yml", <<-YAML, before: /^\s+- name: Run tests/
126
126
 
127
127
  - name: Set up Node
128
- uses: actions/setup-node@v6
128
+ uses: actions/setup-node@v7
129
129
  with:
130
130
  #{node_spec}
131
131
  cache: #{js_package_manager}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.42.0"
4
+ VERSION = "0.44.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nextgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
- rubygems_version: 4.0.17
227
+ rubygems_version: 4.0.20
228
228
  specification_version: 4
229
229
  summary: Generate your next Rails app interactively!
230
230
  test_files: []