nextgen 0.28.0 → 0.28.2

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: 890cdf983b00963c7228df4367a5bb0662c604865fd115f6e1813471b95c2d9b
4
- data.tar.gz: 77da310de05b67c32e3804c15d4ade8093504340aa880468a90fead6229ccc92
3
+ metadata.gz: f4f8c7dc6fe705e3abe0e86cf6adc8a3f0323dfa264da0bc807da72ff1e403a6
4
+ data.tar.gz: b800d7c2480cfe0a394d25d13c3acc6b9ba93a98870ea36c2d24a686ac829925
5
5
  SHA512:
6
- metadata.gz: 3aa5eb956c9f7277ce2a31a830d019006bcc4b38b8bb5c1486d3186c1c711da1f1511298e7ca2e454cd9cede689115b4a4d6edfcfcbe094ddfae49025bc51c99
7
- data.tar.gz: 05d179b2fba0eb8dcb8433f48b81d4d757cb58fb5b774b18e31e3e5066bdd36e50480ad3a764b1c07a69d9d84b328c99690a31a33da459a4bd053492c72777ac
6
+ metadata.gz: 97d1e13d955b5b0f0174767ec0fa018b1140df91c046949d5d516e3f6bcf7b33b9e8a5073189d57aa94c9487c2c582135a46db0a46a9c43e085ada7cdbae9c60
7
+ data.tar.gz: 407e20e46bfcfd21dfe743cdee0c456b72c7858c4f31db3ea10fb12fade9ae0b761c3bedff1cc664c48018d670c45d86819ef15746032e70b0d32312a8fe84d0
@@ -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-latest
10
+ runs-on: ubuntu-24.04
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-latest
16
+ runs-on: ubuntu-24.04
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-latest
32
+ runs-on: ubuntu-24.04
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-latest
7
+ runs-on: ubuntu-24.04
8
8
 
9
9
  <%- if gems.include?("pg") -%>
10
10
  services:
@@ -27,7 +27,7 @@ if File.exist?(".github/workflows/ci.yml")
27
27
  node_spec = File.exist?(".node-version") ? 'node-version-file: ".node-version"' : 'node-version: "lts/*"'
28
28
  inject_into_file ".github/workflows/ci.yml", <<-YAML, after: /^jobs:\n/
29
29
  stylelint:
30
- runs-on: ubuntu-latest
30
+ runs-on: ubuntu-24.04
31
31
 
32
32
  steps:
33
33
  - name: Checkout code
@@ -1,10 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "rails/version"
4
+
3
5
  module Nextgen
4
6
  module RailsCommand
5
7
  class << self
6
8
  def run(*args, raise_on_error: true)
7
- command = "rails", *args
9
+ command = "rails", "_#{::Rails.version}_", *args
8
10
  say_status :run, *command.join(" ")
9
11
  with_original_bundler_env do
10
12
  system(*command, exception: raise_on_error)
@@ -91,7 +91,7 @@ module Nextgen
91
91
  end
92
92
 
93
93
  def postgresql?
94
- database == "postgresql"
94
+ database == :postgresql
95
95
  end
96
96
 
97
97
  def test_framework=(framework)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.28.0"
4
+ VERSION = "0.28.2"
5
5
  end
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.28.0
4
+ version: 0.28.2
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-10-27 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties