next_rails 1.4.5 → 1.4.6

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: 3f16a7883af14d16feb650d7790a7a669db53cb552fc87081b77eb6336935d2f
4
- data.tar.gz: 81d6cba28ac3940e1469a0cf4b2330b62981c612beff780bc6cc17daf48ec0ad
3
+ metadata.gz: ebc27419f01357f8e9d26fd7b7c5022ebd7993cc83c055f97d8ae1941de7c0e3
4
+ data.tar.gz: 06d4d044f30b054aa99ad746e389c44753248d99d7d829d11687e6fd344b45e5
5
5
  SHA512:
6
- metadata.gz: 25bdc3b376705f8909d7fcf2f915f883e9de5040821de49506d416bc23ff89e7c80c964da4cba8a180286527ca39d1b7f64d5b1d60288e62d4d524b89d81065f
7
- data.tar.gz: bff53911bb5c8e3dc461be58acfb0140687e2af8a68ce81d39ec17cb4827203449f340c5283842496562903dd007a7946be8c544c91f9a0a01d3e2f5a9d7c242
6
+ metadata.gz: 33ad7eb2b31696266e009755d91689787761b74ebf719728a1ff8070ba49afe1b1fee97cb97f0539b30572fd31a3175d548dbcbb67245a70fc706e2dd76082fe
7
+ data.tar.gz: c1f025b9b067b4949fbea7611d6560d2ffd2edf70988be503022ea83704f5ddf88e8bff2907099efecc734665b72f088c47295842bfc6a80642cea3d876a3fed
data/.gitignore CHANGED
@@ -14,3 +14,4 @@
14
14
 
15
15
  .ruby-version
16
16
  Gemfile.lock
17
+ .gem
data/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
- # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.4.5...main)
1
+ # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.4.6...main)
2
2
 
3
3
  - [BUGFIX: example](https://github.com/fastruby/next_rails/pull/<number>)
4
4
 
5
5
  * Your changes/patches go here.
6
6
 
7
+ # v1.4.6 / 2025-04-15 [(commits)](https://github.com/fastruby/next_rails/compare/v1.4.5...v1.4.6)
8
+
9
+ - [BUFIX: Fix compatibilities performance bug](https://github.com/fastruby/next_rails/pull/150)
10
+
7
11
  # v1.4.5 / 2025-03-07 [(commits)](https://github.com/fastruby/next_rails/compare/v1.4.4...v1.4.5)
8
12
 
9
13
  - [Move rails_version compatibility to its own class](https://github.com/fastruby/next_rails/pull/137)
data/README.md CHANGED
@@ -140,7 +140,7 @@ next_rails --help # For more options and examples
140
140
  This command helps you dual-boot your application.
141
141
 
142
142
  ```bash
143
- next_next --init # Create Gemfile.next and Gemfile.next.lock
143
+ next_rails --init # Create Gemfile.next and Gemfile.next.lock
144
144
  vim Gemfile # Tweak your dependencies conditionally using `next?`
145
145
  next bundle install # Install new gems
146
146
  next rails s # Start server using Gemfile.next
@@ -109,7 +109,7 @@ module NextRails
109
109
 
110
110
  def find_latest_compatible(rails_version: nil)
111
111
  dependency = Gem::Dependency.new(@name)
112
- fetcher = Gem::SpecFetcher.new
112
+ fetcher = Gem::SpecFetcher.fetcher # Use fetcher instead of ::new to reduce object allocation.
113
113
 
114
114
  # list all available data for released gems
115
115
  list, errors = fetcher.available_specs(:released)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NextRails
4
- VERSION = "1.4.5"
4
+ VERSION = "1.4.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: next_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernesto Tagwerker
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2025-03-07 00:00:00.000000000 Z
12
+ date: 2025-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rainbow