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 +4 -4
- data/lib/nextgen/generators/base.rb +0 -5
- data/lib/nextgen/generators/bundler_audit.rb +1 -1
- data/lib/nextgen/generators/erb_lint.rb +1 -1
- data/lib/nextgen/generators/eslint.rb +1 -1
- data/lib/nextgen/generators/rspec_github_actions.rb +1 -1
- data/lib/nextgen/generators/rubocop.rb +5 -2
- data/lib/nextgen/generators/stylelint.rb +1 -1
- data/lib/nextgen/version.rb +1 -1
- data/template/.rubocop.yml.tt +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae02a433bc78d4fd71b32b43894cbe0d1895d7adba77fc9dc3093ede76e1ba51
|
4
|
+
data.tar.gz: 5d8fa98b188be55e3d17cf62118748fe36ecb20109dca56966b4947b79a223bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
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-
|
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-
|
32
|
+
runs-on: ubuntu-latest
|
33
33
|
|
34
34
|
steps:
|
35
35
|
- name: Checkout code
|
@@ -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
|
-
|
13
|
-
|
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-
|
29
|
+
runs-on: ubuntu-latest
|
30
30
|
|
31
31
|
steps:
|
32
32
|
- name: Checkout code
|
data/lib/nextgen/version.rb
CHANGED
data/template/.rubocop.yml.tt
CHANGED
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.
|
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-
|
10
|
+
date: 2025-03-22 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: railties
|