next_rails 1.4.7 → 1.5.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/CHANGELOG.md +9 -1
- data/lib/next_rails/bundle_report/cli.rb +0 -1
- data/lib/next_rails/version.rb +1 -1
- data/lib/next_rails.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5a701cf48bef3ed14539987e1bad23b85972578c0f9db2194a7a073679d44ac
|
|
4
|
+
data.tar.gz: 0bbb57bb3f628b4638e61e1ec40ba84365142ba236f520dbb39bfa879009623c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c879317b36a0afe079c194700fc2007b0fb7a3d4e5a68fa22c75c12f04dbc457dd0883e2641543e8a474fec3a795176d2cba0e4f39afbc9d728fb459096d911f
|
|
7
|
+
data.tar.gz: 17bb529e77fc546e39916c9264d7b02a6d51f21586aefd2aee26e2d6815ae5bb5ebb7ad79a33653add34e32158a79887e747949853271e2af0cc4541b818b9bf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
# main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.
|
|
1
|
+
# main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.5.0...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.5.0 / 2026-04-01 [(commits)](https://github.com/fastruby/next_rails/compare/v1.4.8...v1.5.0)
|
|
8
|
+
|
|
9
|
+
- [FEATURE: Add `NextRails.current?` as the inverse of `NextRails.next?`](https://github.com/fastruby/next_rails/pull/174)
|
|
10
|
+
|
|
11
|
+
# v1.4.8 / 2026-03-23 [(commits)](https://github.com/fastruby/next_rails/compare/v1.4.7...v1.4.8)
|
|
12
|
+
|
|
13
|
+
- [BUGFIX: Do not require "byebug" in any of the library code](https://github.com/fastruby/next_rails/pull/171)
|
|
14
|
+
|
|
7
15
|
# v1.4.7 / 2026-03-19 [(commits)](https://github.com/fastruby/next_rails/compare/v1.4.6...v1.4.7)
|
|
8
16
|
|
|
9
17
|
- [CHORE: Create an entry point for the BundleReport command](https://github.com/fastruby/next_rails/pull/154)
|
data/lib/next_rails/version.rb
CHANGED
data/lib/next_rails.rb
CHANGED
|
@@ -23,6 +23,14 @@ module NextRails
|
|
|
23
23
|
@@next_bundle_gemfile = File.exist?(ENV["BUNDLE_GEMFILE"]) && File.basename(ENV["BUNDLE_GEMFILE"]) == "Gemfile.next"
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# This method is the inverse of `NextRails.next?`. It returns true when your
|
|
27
|
+
# application is running with the current set of dependencies.
|
|
28
|
+
#
|
|
29
|
+
# @return [Boolean]
|
|
30
|
+
def self.current?
|
|
31
|
+
!next?
|
|
32
|
+
end
|
|
33
|
+
|
|
26
34
|
# This method will reset the @@next_bundle_gemfile variable. Then next time
|
|
27
35
|
# you call `NextRails.next?` it will check the environment once again.
|
|
28
36
|
def self.reset_next_bundle_gemfile
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: next_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ernesto Tagwerker
|
|
8
8
|
- Luis Sagastume
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rainbow
|