nextgen 0.3.0 → 0.4.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07b5db72fd0b2565334a0de9be709d803aac4099527a0f4b559335d8df3061a0
|
|
4
|
+
data.tar.gz: 94cf539ccfe794dc70ba2b46102eef081cb1602b923dc58ed4a2dc3ad8cb121a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd455a469651f794c75d88263892587016b930941e1baf7e758cddbb85b51ed3f1efdc78c02065a2dcdbcd55686701decb74cda75efba3702abb178f338c4422
|
|
7
|
+
data.tar.gz: b347b1918083bc71615fe301e504da5c3c9b4e60283f55b5ff812720ec40fe1cd04f3123fdebbdf2469a0799638d39ea3c37028ca514f0b3d93f2d07748dbb07
|
data/config/generators.yml
CHANGED
|
@@ -70,6 +70,10 @@ factory_bot_rails:
|
|
|
70
70
|
description: "Install and configure factory_bot_rails gem"
|
|
71
71
|
requires: active_record
|
|
72
72
|
|
|
73
|
+
github_pr_template:
|
|
74
|
+
prompt: "GitHub PR template"
|
|
75
|
+
description: "Add GitHub pull request template"
|
|
76
|
+
|
|
73
77
|
git_safe:
|
|
74
78
|
|
|
75
79
|
good_migrations:
|
|
@@ -135,7 +135,7 @@ module Nextgen
|
|
|
135
135
|
"MySQL" => "mysql"
|
|
136
136
|
}
|
|
137
137
|
all_databases = common_databases.merge(
|
|
138
|
-
%w[MySQL Oracle SQLServer JDBCMySQL JDBCSQLite3 JDBCPostgreSQL JDBC].to_h do |name|
|
|
138
|
+
%w[MySQL Trilogy Oracle SQLServer JDBCMySQL JDBCSQLite3 JDBCPostgreSQL JDBC].to_h do |name|
|
|
139
139
|
[name, name.downcase]
|
|
140
140
|
end,
|
|
141
141
|
"None (disable Active Record)" => nil
|
|
@@ -185,6 +185,7 @@ module Nextgen
|
|
|
185
185
|
rails_opts.javascript = prompt.select(
|
|
186
186
|
"Which JavaScript bundler will you use with the asset pipeline?",
|
|
187
187
|
"Importmap (default)" => "importmap",
|
|
188
|
+
"Bun" => "bun",
|
|
188
189
|
"ESBuild" => "esbuild",
|
|
189
190
|
"Rollup" => "rollup",
|
|
190
191
|
"Webpack" => "webpack",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
template ".github/PULL_REQUEST_TEMPLATE.md.tt"
|
data/lib/nextgen/version.rb
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Problem
|
|
2
|
+
=======
|
|
3
|
+
|
|
4
|
+
<!-- describe what motivated this PR -->
|
|
5
|
+
|
|
6
|
+
<!-- link to issue or ticket -->
|
|
7
|
+
|
|
8
|
+
Solution
|
|
9
|
+
========
|
|
10
|
+
|
|
11
|
+
Steps to verify
|
|
12
|
+
---------------
|
|
13
|
+
|
|
14
|
+
1. step
|
|
15
|
+
1. step
|
|
16
|
+
1. step
|
|
17
|
+
<% if File.exist?("app/views/layouts/application.html.erb") -%>
|
|
18
|
+
|
|
19
|
+
Screenshots
|
|
20
|
+
-----------
|
|
21
|
+
<% 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.
|
|
4
|
+
version: 0.4.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: 2023-
|
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -117,6 +117,7 @@ files:
|
|
|
117
117
|
- lib/nextgen/generators/factory_bot_rails.rb
|
|
118
118
|
- lib/nextgen/generators/git_safe.rb
|
|
119
119
|
- lib/nextgen/generators/github_actions.rb
|
|
120
|
+
- lib/nextgen/generators/github_pr_template.rb
|
|
120
121
|
- lib/nextgen/generators/good_migrations.rb
|
|
121
122
|
- lib/nextgen/generators/home_controller.rb
|
|
122
123
|
- lib/nextgen/generators/initial_git_commit.rb
|
|
@@ -146,6 +147,7 @@ files:
|
|
|
146
147
|
- template/.env.sample
|
|
147
148
|
- template/.erb-lint.yml.tt
|
|
148
149
|
- template/.eslintrc.cjs
|
|
150
|
+
- template/.github/PULL_REQUEST_TEMPLATE.md.tt
|
|
149
151
|
- template/.github/workflows/ci.yml.tt
|
|
150
152
|
- template/.overcommit.yml.tt
|
|
151
153
|
- template/.prettierrc.cjs
|