nextgen 0.31.1 → 0.33.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: 8aa670fdbe16b853d3529fc07b7cbb5029db46b46ef30066bb9e2c1e4caf2b59
4
- data.tar.gz: ca3a30684dab8edd9bfa5532d4f268491a2d16e785ebff456e44efe113944b60
3
+ metadata.gz: ae02a433bc78d4fd71b32b43894cbe0d1895d7adba77fc9dc3093ede76e1ba51
4
+ data.tar.gz: 5d8fa98b188be55e3d17cf62118748fe36ecb20109dca56966b4947b79a223bc
5
5
  SHA512:
6
- metadata.gz: f4ad3a531106fa86c03700f3d926a125a7a74bb486a2c35b897ce2fdb23547e1c9ec3994de9f7d2b2e3124bc7f2e874590992ec008409b2ad454b4ef397a516d
7
- data.tar.gz: 420c1476571ce7ba13a35d7e858e43f8925a236b34be620a9963f791b114460d6298a608da1e9a85fff955536376694c0e9224bcffc9cc413f5b6353924a1142
6
+ metadata.gz: 1cd95256a47fca6faaaca1e6e4605622ff495bb8fa3a1e474ead36046b93074f2ba9ceb55d49d66caae94cf01352764fe4c394b963d6d61ea21de882cc1b2bbd
7
+ data.tar.gz: c2999e14047cde0a6afca3a0bbaf9c5e8321566e814a7ec83e0657f5f78ef318eec0b54321f257cfd1ac735121035850870eb8a9e48fd56593c31bd6dcab4ae2
@@ -81,8 +81,3 @@ if (time_zone = read_system_time_zone_name)
81
81
  uncomment_lines "config/application.rb", /config\.time_zone/
82
82
  gsub_file "config/application.rb", /(config\.time_zone = ).*$/, "\\1#{time_zone.inspect}"
83
83
  end
84
-
85
- if File.exist?(".github/workflows/ci.yml")
86
- say_git "Opt into ubuntu-24.04 GitHub Actions runner"
87
- gsub_file ".github/workflows/ci.yml", /\bubuntu-latest\b/, "ubuntu-24.04"
88
- end
@@ -7,7 +7,7 @@ if File.exist?(".github/workflows/ci.yml")
7
7
  say_git "Add bundle-audit job to CI workflow"
8
8
  inject_into_file ".github/workflows/ci.yml", <<-YAML, after: /^jobs:\n/
9
9
  scan_gems:
10
- runs-on: ubuntu-24.04
10
+ runs-on: ubuntu-latest
11
11
 
12
12
  steps:
13
13
  - name: Checkout code
@@ -13,7 +13,7 @@ if File.exist?(".github/workflows/ci.yml")
13
13
  say_git "Add erb_lint job to CI workflow"
14
14
  inject_into_file ".github/workflows/ci.yml", <<-YAML, after: /^jobs:\n/
15
15
  erb_lint:
16
- runs-on: ubuntu-24.04
16
+ runs-on: ubuntu-latest
17
17
  steps:
18
18
  - name: Checkout code
19
19
  uses: actions/checkout@v4
@@ -29,7 +29,7 @@ if File.exist?(".github/workflows/ci.yml")
29
29
  node_spec = File.exist?(".node-version") ? 'node-version-file: ".node-version"' : 'node-version: "lts/*"'
30
30
  inject_into_file ".github/workflows/ci.yml", <<-YAML, after: /^jobs:\n/
31
31
  eslint:
32
- runs-on: ubuntu-24.04
32
+ runs-on: ubuntu-latest
33
33
 
34
34
  steps:
35
35
  - name: Checkout code
@@ -4,7 +4,7 @@ return unless File.exist?(".github/workflows/ci.yml")
4
4
 
5
5
  erb = <<~YAML
6
6
  test:
7
- runs-on: ubuntu-24.04
7
+ runs-on: ubuntu-latest
8
8
 
9
9
  <%- if gems.include?("pg") -%>
10
10
  services:
@@ -9,8 +9,11 @@ plugins << "factory_bot" if gemfile.match?(/^\s*gem ['"]factory_bot/)
9
9
  plugins << "minitest" if minitest?
10
10
  plugins << "performance"
11
11
  plugins << "rails"
12
- install_gem("rubocop-rails", version: ">= 2.22.0", group: :development, require: false)
13
- install_gems(*plugins.map { "rubocop-#{_1}" }, "rubocop", group: :development, require: false)
12
+ rubocop_gems = [
13
+ "rubocop",
14
+ *plugins.sort.map { "rubocop-#{_1}" }
15
+ ]
16
+ install_gems(*rubocop_gems.reverse, group: :development, require: false)
14
17
  binstub "rubocop" unless File.exist?("bin/rubocop")
15
18
 
16
19
  say_git "Replace .rubocop.yml"
@@ -26,7 +26,7 @@ if File.exist?(".github/workflows/ci.yml")
26
26
  node_spec = File.exist?(".node-version") ? 'node-version-file: ".node-version"' : 'node-version: "lts/*"'
27
27
  inject_into_file ".github/workflows/ci.yml", <<-YAML, after: /^jobs:\n/
28
28
  stylelint:
29
- runs-on: ubuntu-24.04
29
+ runs-on: ubuntu-latest
30
30
 
31
31
  steps:
32
32
  - name: Checkout code
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.31.1"
4
+ VERSION = "0.33.0"
5
5
  end
@@ -1,4 +1,6 @@
1
- require:
1
+ <% if plugins.any? -%>
2
+ plugins:
3
+ <% end -%>
2
4
  <%= plugins.map { " - rubocop-#{_1}" }.join("\n") %>
3
5
 
4
6
  inherit_mode:
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nextgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.1
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-04 00:00:00.000000000 Z
10
+ date: 2025-03-22 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: railties