ruby-next 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +4 -0
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d26ef909e11997d79223a36e0ac594e73574060796e5de0d135eb5c339ec2d36
4
- data.tar.gz: bc9100fe52bc36e372381a5be59c99d08802180bf2ab1e3be15ed9d309273ab6
3
+ metadata.gz: 60cb4fb34088c955545d17b1e3bbda33fb8cf499219c05a599425612dff7a659
4
+ data.tar.gz: 2526f31e135878c5a65b603d8605b6d8c422b746982422a1bded330600cf533a
5
5
  SHA512:
6
- metadata.gz: 1a2c894863c60fd0ade672b24956225963ef93d9441cdd33fc7074285e995bd6eff842b0da7d5a5991df87975b2ca4e7d9ca6f1ef84e234ed321a57d41e74c83
7
- data.tar.gz: d2e1f2d1814088549d4451dc50fcefb9c89cf886167bcaff7cb19afe7cd51e55568927ca2299ec1daa0b0b37b92b62063788d6d712596484c2a702ca5dd2b2d7
6
+ metadata.gz: 56ac9e4e59b9e7c701e2697421a2ef13cfcd8bb719e9ff6e3cc056fedb1f04871bf3e5affe14c2fd2656bf802e53f1e6e01fed14aa1f9f6af6a683023cd3099e
7
+ data.tar.gz: 616b66826563cec6b615ba9ccf4e92da338798074c60d4314d841ed35945cf785b9abce781c5b2d44cf7ac57576ec1b1d9c37a94c8bea0fd7cc64999d402be5c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.0.1 (2024-01-28)
6
+
7
+ - Fix using Data with inheritance (`class X < Data.define(...)`). ([@palkan][])
8
+
5
9
  ## 1.0.0 🎄
6
10
 
7
11
  - Add `it` block parameter support. ([@palkan][])
data/README.md CHANGED
@@ -170,6 +170,10 @@ Ruby 3.2 has introduced a new core class—[Data](https://bugs.ruby-lang.org/iss
170
170
 
171
171
  If you want to opt-out from loading Data backport, you must set the `RUBY_NEXT_DISABLE_DATA` env variable to `true`.
172
172
 
173
+ #### Known limitations
174
+
175
+ Currently, passing Hash as a last positional argument to `Data.new` is not supported in Ruby <3.0 (due to the difference in keyword arguments handling). We recommend always using keyword arguments when initializing Data objects.
176
+
173
177
  ## Transpiling
174
178
 
175
179
  Ruby Next allows you to transpile\* edge Ruby syntax to older versions.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-next
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-next-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
26
+ version: 1.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-next-parser
29
29
  requirement: !ruby/object:Gem::Requirement