nextgen 0.11.0 → 0.12.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/actions.rb +6 -0
- data/lib/nextgen/generators/base.rb +6 -0
- data/lib/nextgen/generators/github_actions.rb +1 -0
- data/lib/nextgen/version.rb +1 -1
- data/template/.github/dependabot.yml +9 -0
- data/template/.github/workflows/ci.yml.tt +3 -3
- data/template/test/support/capybara.rb.tt +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6db9fb7cd60bea395ad5018e18a905246e877a34bc6f8742194e7302035b5ad
|
|
4
|
+
data.tar.gz: f3538f1ec8b8bd8280caa19f0410a04c43376343de6b2d5870ff01f7ea17eb17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ebb05f8e034cbd54cc88cafebb45da4dd6d0f165a2495c108441ad4816d7ad417bbf8be86389a32cad148bcc7fbe2b997f6c655c5df6bc95f6ea26b60576adb
|
|
7
|
+
data.tar.gz: 4ac4898307cb50f20650dcf45d4090a1c3af2c32cd316e0e0a24187db074919e92baf8bb81cefa4a1f50813641e680c12e09acbfcdbc826f401355721c9ba1ef
|
data/lib/nextgen/actions.rb
CHANGED
|
@@ -59,3 +59,9 @@ if File.exist?("config/database.yml")
|
|
|
59
59
|
say_git "Create initial schema.rb"
|
|
60
60
|
rails_command "db:prepare"
|
|
61
61
|
end
|
|
62
|
+
|
|
63
|
+
if (time_zone = read_system_time_zone_name)
|
|
64
|
+
say_git "Set default time zone: #{time_zone}"
|
|
65
|
+
uncomment_lines "config/application.rb", /config\.time_zone/
|
|
66
|
+
gsub_file "config/application.rb", /(config\.time_zone = ).*$/, "\\1#{time_zone.inspect}"
|
|
67
|
+
end
|
data/lib/nextgen/version.rb
CHANGED
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
with:
|
|
32
32
|
bundler-cache: true
|
|
33
33
|
<% if File.exist?("package.json") -%>
|
|
34
|
-
- uses: actions/setup-node@
|
|
34
|
+
- uses: actions/setup-node@v4
|
|
35
35
|
with:
|
|
36
36
|
<% if File.exist?(".node-version") -%>
|
|
37
37
|
node-version-file: ".node-version"
|
|
@@ -79,7 +79,7 @@ jobs:
|
|
|
79
79
|
runs-on: ubuntu-latest
|
|
80
80
|
steps:
|
|
81
81
|
- uses: actions/checkout@v4
|
|
82
|
-
- uses: actions/setup-node@
|
|
82
|
+
- uses: actions/setup-node@v4
|
|
83
83
|
with:
|
|
84
84
|
<% if File.exist?(".node-version") -%>
|
|
85
85
|
node-version-file: ".node-version"
|
|
@@ -107,7 +107,7 @@ jobs:
|
|
|
107
107
|
runs-on: ubuntu-latest
|
|
108
108
|
steps:
|
|
109
109
|
- uses: actions/checkout@v4
|
|
110
|
-
- uses: actions/setup-node@
|
|
110
|
+
- uses: actions/setup-node@v4
|
|
111
111
|
with:
|
|
112
112
|
<% if File.exist?(".node-version") -%>
|
|
113
113
|
node-version-file: ".node-version"
|
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.
|
|
4
|
+
version: 0.12.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-
|
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -148,6 +148,7 @@ files:
|
|
|
148
148
|
- template/.erb-lint.yml.tt
|
|
149
149
|
- template/.eslintrc.cjs
|
|
150
150
|
- template/.github/PULL_REQUEST_TEMPLATE.md.tt
|
|
151
|
+
- template/.github/dependabot.yml
|
|
151
152
|
- template/.github/workflows/ci.yml.tt
|
|
152
153
|
- template/.overcommit.yml.tt
|
|
153
154
|
- template/.prettierrc.cjs
|