nextgen 0.25.0 → 0.26.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: 66f2bcb15ce61690a13798ae3f202563dd87fd85f978bc066483693f338a0a2f
4
- data.tar.gz: c7c555bad90c6a8a90bc09e03dd1fa7b7a56e4c1947e33ad5048984428062b6e
3
+ metadata.gz: c1f17283eec0996db671512afbc900f11af08f922309834accf9379c4c19b2a2
4
+ data.tar.gz: dfa1a949a4afdeac6ce8ce6ebe80b70871623d167688f0348572f157f7e6352b
5
5
  SHA512:
6
- metadata.gz: 884b6395cb194ea3d9bc998fae5c977adda15441f6a95c782017145ba38106bc19e97289c26c4cf894903aafb31a2bd7b80d253a66a1f8da0967852928c29217
7
- data.tar.gz: cf166eb6fd55aa50f69d191308ca9eda222fe205029ee5f8c7169a8c4ea9771c500d472b98f4a60b6a328031f73b2915cbd154a457caf8b26a7b69d76217bbf4
6
+ metadata.gz: c03e8e7fb944e64a5d5f1c07bd16cc7332a7c80f8ecf3c7c57714ee185d133d6e462ebe92fea7597ecd1b9f30a6184af2d773037386789fd9eef299eb80daf87
7
+ data.tar.gz: 958604869b9991b4650c811ba68833c9b245b1a7a5ec14f16d33fc7f8929d0a4772b7ad9519014e1d50a14de1d95b5b2917c05f56fd404fd4e8e31c5e212af6e
data/README.md CHANGED
@@ -28,7 +28,7 @@ Nextgen is an **interactive** and flexible alternative to `rails new` that inclu
28
28
 
29
29
  Nextgen generates apps using **Rails 7.2**.
30
30
 
31
- - **Ruby 3.1+** is required
31
+ - **Ruby 3.1+** is required (Ruby 3.2 if you choose a Rails 8 pre-release)
32
32
  - **Rubygems 3.4.8+** is required (run `gem update --system` to get it)
33
33
  - **Node 18.12+ and Yarn** are required if you choose Vite or other Node-based options
34
34
  - Additional tools may be required depending on the options you select (e.g. PostgreSQL)
@@ -1,11 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kamal is incompatible with the latest version of dotenv, so fall back
4
- # to using the legacy dotenv-rails gem in that case.
5
- if File.read("Gemfile.lock").match?(/\bkamal\b/)
6
- install_gem "dotenv-rails", group: %i[development test]
7
- else
8
- install_gem "dotenv", version: ">= 3.0", group: %i[development test]
9
- end
3
+ install_gem "dotenv", version: ">= 3.0", group: %i[development test]
10
4
  copy_file ".env.sample"
11
5
  gitignore "/.env*", "!/.env.sample"
@@ -46,9 +46,7 @@ module Nextgen
46
46
 
47
47
  def main_version
48
48
  @main_version ||= begin
49
- version_rb = URI.open("https://raw.githubusercontent.com/rails/rails/main/version.rb").read
50
- version_pattern = /\s+MAJOR\s+= (\d+)\n\s*MINOR\s+= (\d+)\n\s*TINY\s+= (\d+)\n\s*PRE\s+= "(\w+)"/
51
- version_rb.match(version_pattern)&.captures&.join(".")
49
+ URI.open("https://raw.githubusercontent.com/rails/rails/main/RAILS_VERSION").read.strip
52
50
  rescue OpenURI::HTTPError
53
51
  "unknown"
54
52
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextgen
4
- VERSION = "0.25.0"
4
+ VERSION = "0.26.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.25.0
4
+ version: 0.26.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-09-20 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties