next_rails 1.2.3 → 1.2.4

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: 57c4fac0e45a33071dcb6df1938840ba6854ab1ccc4dd7782e365568e91f17c5
4
- data.tar.gz: 10e5be9d8d4bbfa9dfc7b2dd04905d1c47a76f600be53a8a7f61d25ca3628589
3
+ metadata.gz: e72b90b419e084f28bdd704b0130169cc2e6c6bb0d72e0ab953cede28c2cd11d
4
+ data.tar.gz: 7a14d79ce4a037e8a1ff04070021ade0323e245836e1016b7463b106331e96ba
5
5
  SHA512:
6
- metadata.gz: 3377c0643a78dda0406d386adfbc4c749f507a2d000d13f84b6ee13cd9e3bab79cbebea75efb56e6e94c936a2794e77eda0aca4e684dd025ec1fa4c91c4a2c33
7
- data.tar.gz: 355383fd6dc9ec1f726ec2c2bf43b4bf9b0b289dd2ee2d7e321e87deff18d86f8f9eb6469e694d40797a676a1e3935ce1712b208e153f6857b447be26807138e
6
+ metadata.gz: b71eab63bf0f85e0d76ef308704a1247765ab5a404140591f902e3fc5fec13dd6c6c18e8328f2d8d6654cc3fc88fceba714adb1c86e7d9ea4ab0fbf151dc5468
7
+ data.tar.gz: a9c71c3d81c477d198b7be8408791ac5f0882da5042afc46a3f4144f76a80b8f93d6283ac3cacdaa93a91d892757e9c8028121f7776ea7399f0a4bcca22e35a4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
- # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.2.3...main)
1
+ # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.2.4...main)
2
2
  * Your changes/patches go here.
3
3
 
4
+ # v1.2.4 / 2023-04-21 [(commits)](https://github.com/fastruby/next_rails/compare/v1.2.3...v1.2.4)
5
+
6
+ - [BUGFIX: Update the warn method signature to support for Ruby 3]
7
+
4
8
  # v1.2.3 / 2023-04-12 [(commits)](https://github.com/fastruby/next_rails/compare/v1.2.2...v1.2.3)
5
9
 
6
10
  - [Fix ERB deprecation warning in Ruby 3.1]
@@ -18,13 +18,15 @@ class DeprecationTracker
18
18
  @callbacks ||= []
19
19
  end
20
20
 
21
- def warn(*messages, uplevel: nil)
21
+ def warn(*messages, uplevel: nil, category: nil)
22
22
  KernelWarnTracker.callbacks.each do |callback|
23
23
  messages.each { |message| callback.(message) }
24
24
  end
25
25
 
26
26
  if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.5.0")
27
- super *messages
27
+ super(*messages)
28
+ elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.0")
29
+ super(*messages, uplevel: nil)
28
30
  else
29
31
  super
30
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NextRails
4
- VERSION = "1.2.3"
4
+ VERSION = "1.2.4"
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.2.3
4
+ version: 1.2.4
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: 2023-04-12 00:00:00.000000000 Z
12
+ date: 2023-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize