ruby-next-core 1.1.0 → 1.1.1

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: b8ba05cac5681186f90c6a46731a78532ec69707c9b01bc1df15702ebae13e4d
4
- data.tar.gz: cb58fc9d453a7be076a594902701b2011ea79496cab642437620519ccf3a0682
3
+ metadata.gz: f24073ca77df989a5c0045fc7fbbc70c717e2ed136fadfb2d0d0a4459c1b6304
4
+ data.tar.gz: 792bc7a0e52cd5b3fdedef806b22d38d39a9afa2f3972800ba0bf0af2c76fe6e
5
5
  SHA512:
6
- metadata.gz: 1a75869db2f6fffade1e12d60aca0e1592cc669a0572cd114edae2c24e0d5bed22337063246a7edee5c2ce27a89c3aece048837aed463ff6781e5ea5e7052008
7
- data.tar.gz: a28a71c3ad5e3a0e0bb08679dad23fe69a6a3ebdd14c66f4b800269c29eb97a74a837ab2c8479b824d9a47c81c1dd3916d1e9cefa76c3c88dd7a29170adc1b80
6
+ metadata.gz: e3d35209b4f1e407a27ed0b8dc356e47fe1b343b7e79b899467a7153120673ba163343331ce1da7f44724888fadafd02cd0f9a144e68efc5f22c6a94ecf06310
7
+ data.tar.gz: 943909c7a1066097ae486eaa9bf971e8313ac933f69d5caea146bd1642324693dc62ce05b701303f209ea63aecf42ddf633dde2acedfaa7a5ff35add619c3adc
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.1.1 (2025-01-30)
6
+
7
+ - Fix Ruby 2.3 support.
8
+
5
9
  ## 1.1.0 (2025-01-15)
6
10
 
7
11
  - Prepare for Ruby 3.5.
@@ -1,11 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- RubyNext::Core.patch MatchData, method: :named_captures, version: "3.3", supported: "a".match(/a/).method(:named_captures).arity != 0, core_ext: :prepend do
4
- <<-'RUBY'
5
- def named_captures(symbolize_names: false)
6
- return super() unless symbolize_names
3
+ if MatchData.instance_methods(false).include?(:named_captures)
4
+ RubyNext::Core.patch MatchData, method: :named_captures, version: "3.3", supported: "a".match(/a/).method(:named_captures).arity != 0, core_ext: :prepend do
5
+ <<-'RUBY'
6
+ def named_captures(symbolize_names: false)
7
+ return super() unless symbolize_names
7
8
 
8
- super().transform_keys!(&:to_sym)
9
- end
10
- RUBY
9
+ super().transform_keys!(&:to_sym)
10
+ end
11
+ RUBY
12
+ end
11
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyNext
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-next-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-16 00:00:00.000000000 Z
11
+ date: 2025-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require-hooks
@@ -209,7 +209,7 @@ metadata:
209
209
  homepage_uri: https://github.com/ruby-next/ruby-next
210
210
  source_code_uri: https://github.com/ruby-next/ruby-next
211
211
  funding_uri: https://github.com/sponsors/palkan
212
- post_install_message:
212
+ post_install_message:
213
213
  rdoc_options: []
214
214
  require_paths:
215
215
  - lib
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  version: '0'
226
226
  requirements: []
227
227
  rubygems_version: 3.4.19
228
- signing_key:
228
+ signing_key:
229
229
  specification_version: 4
230
230
  summary: Ruby Next core functionality
231
231
  test_files: []