nextgen 0.29.0 → 0.31.0

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: 92cd9ce7d8e32f2f57dbc654f24f91095dd612db6d1de70398d6395241222fa2
4
- data.tar.gz: 2cab0e61fca70665616cfeaa1fcb3f96a023ceec7a27f616a05827abb3af4f13
3
+ metadata.gz: 6d97c58da9daed0fce0a43f9134e985f9b58abca112b5afa2eb0dd2e07e59c66
4
+ data.tar.gz: 459a0f0ef97387c5a47d2dcff3b1f0ec2be0d3965bacdf5cab2ba8db2244441f
5
5
  SHA512:
6
- metadata.gz: bedbf0a5f62fe9b926830f286d0fba7f44fdb2926d2e93c981646811f7665aa05ece7ea7f8fe0f0c66f3e3a1d88ab4a7edb7c25dd130cfe53fe5722f07385219
7
- data.tar.gz: 295bacce292db83d75b7bceb3ba05e2b504138d2068dfefdc321fe6beee4e460aa0fef6c6f57c2207ca6b03b1df39943182c664e1ba14157cb0ea4d2db62c094
6
+ metadata.gz: 993117fe8a1eb4ea199fbfcaf704d33cd5c97552c0a2f4c4749b7f38ef7bf7760ecdee4b3ea6382e5c9401e7b08a75a0c4673561b7772d1a748bef85ec3d56fd
7
+ data.tar.gz: 4798def664ceefac1967e0f8f083d9508044787e370dc34643a44883a757f69fe035321ff756571b7d04b30fa36b4cf915052fc34426f5f3b89066823b3b5595
data/README.md CHANGED
@@ -26,9 +26,9 @@ Nextgen is an **interactive** and flexible alternative to `rails new` that inclu
26
26
 
27
27
  ## Requirements
28
28
 
29
- Nextgen generates apps using **Rails 7.2**.
29
+ Nextgen generates apps using **Rails 8.0**.
30
30
 
31
- - **Ruby 3.1+** is required (Ruby 3.2 if you choose a Rails 8 pre-release)
31
+ - **Ruby 3.2+** is required
32
32
  - **Rubygems 3.4.8+** is required (run `gem update --system` to get it)
33
33
  - **Node 20.9+ and Yarn** are required if you choose Vite or other Node-based options (see the [npm note](#yarn-or-npm) below)
34
34
  - Additional tools may be required depending on the options you select (e.g. PostgreSQL)
@@ -54,7 +54,7 @@ Check out the [examples directory](./examples) to see some Rails apps that were
54
54
 
55
55
  ## What's included
56
56
 
57
- **Nextgen starts with the "omakase" default behavior of `rails new`,** so you get the great things included in Rails 7.2 like RuboCop, a GitHub Actions CI workflow, your choice of database platform, CSS framework, etc. You can also interactively disable parts of the default stack that you don't need, like JBuilder or Action Mailbox.
57
+ **Nextgen starts with the "omakase" default behavior of `rails new`,** so you get the great things included in Rails 8.0 like RuboCop, a GitHub Actions CI workflow, your choice of database platform, CSS framework, etc. You can also interactively disable parts of the default stack that you don't need, like JBuilder or Action Mailbox.
58
58
 
59
59
  On top of that foundation, Nextgen offers dozens of useful enhancements to the vanilla Rails experience. You are free to pick and choose which (if any) of these to apply to your new project. Behind the scenes, **each enhancement is applied in a separate git commit,** so that you can later see what was applied and why, and revert the suggestions if necessary.
60
60
 
@@ -36,9 +36,9 @@ action_mailer:
36
36
  description: "Configure Action Mailer for testing"
37
37
  requires: action_mailer
38
38
 
39
- annotate:
40
- prompt: "Annotate Models"
41
- description: "Install annotate gem to auto-generate schema annotations"
39
+ annotaterb:
40
+ prompt: "AnnotateRb"
41
+ description: "Install annotaterb gem to auto-generate schema annotations"
42
42
  requires: active_record
43
43
 
44
44
  basic_auth:
@@ -2,8 +2,7 @@ current: &current
2
2
  args: []
3
3
  label: "%%CURRENT_VERSION%%"
4
4
  asset_pipelines:
5
- sprockets: Sprockets (default)
6
- propshaft: Propshaft
5
+ propshaft: Propshaft (default)
7
6
  databases:
8
7
  sqlite3: SQLite3 (default)
9
8
  postgresql: PostgreSQL (recommended)
@@ -15,42 +14,24 @@ current: &current
15
14
  jdbcsqlite3: JDBCSQLite3
16
15
  jdbcpostgresql: JDBCPostgreSQL
17
16
  jdbc: JDBC
17
+ mariadb-mysql: MariaDB-MySQL
18
+ mariadb-trilogy: MariaDB-Trilogy
18
19
  default_features:
19
20
  brakeman: Brakeman
20
21
  ci: GitHub Actions CI
22
+ kamal: Kamal
21
23
  rubocop: RuboCop
24
+ solid: Solid Cache+Queue
25
+ thruster: Thruster
22
26
  optional_features:
23
27
  devcontainer: devcontainer files
24
28
 
25
29
  edge:
26
30
  <<: *current
27
31
  args: ["--edge"]
28
- label: "edge (7-2-stable)"
32
+ label: "edge (8-0-stable)"
29
33
 
30
34
  main:
35
+ <<: *current
31
36
  args: ["--main"]
32
37
  label: "main (%%MAIN_VERSION%%)"
33
- asset_pipelines:
34
- propshaft: Propshaft (default)
35
- databases:
36
- sqlite3: SQLite3 (default)
37
- postgresql: PostgreSQL (recommended)
38
- mysql: MySQL
39
- trilogy: Trilogy
40
- oracle: Oracle
41
- sqlserver: SQLServer
42
- jdbcmysql: JDBCMySQL
43
- jdbcsqlite3: JDBCSQLite3
44
- jdbcpostgresql: JDBCPostgreSQL
45
- jdbc: JDBC
46
- mariadb-mysql: MariaDB-MySQL
47
- mariadb-trilogy: MariaDB-Trilogy
48
- default_features:
49
- brakeman: Brakeman
50
- ci: GitHub Actions CI
51
- kamal: Kamal
52
- rubocop: RuboCop
53
- solid: Solid Cache+Queue
54
- thruster: Thruster
55
- optional_features:
56
- devcontainer: devcontainer files
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ say_git "Install the annotaterb gem"
4
+ install_gem "annotaterb", group: :development
5
+
6
+ say_git "Run the annotaterb installer"
7
+ generate "annotate_rb:install"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.29.0"
4
+ VERSION = "0.31.0"
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.29.0
4
+ version: 0.31.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-04 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 7.2.0
19
+ version: 8.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 7.2.0
26
+ version: 8.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -105,7 +105,7 @@ files:
105
105
  - lib/nextgen/ext/prompt/multilist.rb
106
106
  - lib/nextgen/generators.rb
107
107
  - lib/nextgen/generators/action_mailer.rb
108
- - lib/nextgen/generators/annotate.rb
108
+ - lib/nextgen/generators/annotaterb.rb
109
109
  - lib/nextgen/generators/base.rb
110
110
  - lib/nextgen/generators/basic_auth.rb
111
111
  - lib/nextgen/generators/bundler_audit.rb
@@ -220,14 +220,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - ">="
222
222
  - !ruby/object:Gem::Version
223
- version: '3.1'
223
+ version: '3.2'
224
224
  required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - ">="
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
229
  requirements: []
230
- rubygems_version: 3.5.21
230
+ rubygems_version: 3.5.22
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Generate your next Rails app interactively!
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- install_gem "annotate", group: :development
4
- copy_file "lib/tasks/auto_annotate_models.rake"