ruby-next 0.11.1 → 0.12.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +2 -0
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c3981529a0892a1d7834ffe7c787f2cc3af356fdd8ff245359553a32f90e6f7
4
- data.tar.gz: 7d9b8f19f8e1835747ac89c2c04dd894dc210e4ff2f741787d67c6e1ed65e57a
3
+ metadata.gz: 2080439e0c5896a9024364465b3787c36c3a846196b274a7e72643c595523701
4
+ data.tar.gz: d74697e6e53f87343d38e7551568f62bfa1308f3ff756e090c295d14096511b5
5
5
  SHA512:
6
- metadata.gz: 5d501cd216bbf84cb3d8dab0e87e0ae5f814e693d69674550832753d1a31591773ba423f10bbb01cfdd88809d7e71df4ab6668b7af64391e4d0bcefa51116210
7
- data.tar.gz: 6ffa3a827299b9294164d8935af03b9f51e36623efaa4a808132296da0603a5fb95a962a6448532bfaf125c4b46b385ca897bb2369bc6a7f30e99027f6ec01fb
6
+ metadata.gz: ef32fbe5c565e046a8913b6c71bab3021296c1002b5a314167392cd09b8d7d58085e71461b16e5cb3ef1935f6c9af926cc982793cce15ec2a2ca8dd3821f4fe4
7
+ data.tar.gz: 4004bcbd3f131ef74b28697b1c32dc253608a4c1b821568c0584acf51115cd2626ec3f97cfcb1269e7ead9093cee5fb600bd96f9d67112cf23757321801678ff
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.12.0 (2021-01-12)
6
+
7
+ - Added required keyword arguments rewriter. ([@palkan][])
8
+
9
+ Required kwargs were introduced in 2.1. Now we make them possible in 2.0.
10
+
11
+ - Added numeric literals rewriter. ([@palkan][])
12
+
13
+ Now it's possible to generate Ruby 2.0 compatible code from `2i + 1/3r`.
14
+
15
+ - Fixed several safe navigation (`&.`) bugs. ([@palkan][])
16
+
17
+ See [#68](https://github.com/ruby-next/ruby-next/issues/68) and [#69](https://github.com/ruby-next/ruby-next/issues/69).
18
+
5
19
  ## 0.11.1 (2020-12-28)
6
20
 
7
21
  - Use separate _namespace_ for proposed features to avoid conflicts with new Ruby version. ([@palkan][])
data/README.md CHANGED
@@ -445,6 +445,8 @@ AllCops:
445
445
 
446
446
  We currently provide support for Ruby 2.2, 2.3 and 2.4.
447
447
 
448
+ **NOTE:** By "support" here we mean using `ruby-next` CLI and runtime transpiling. Transpiled code may run on Ruby 2.0+.
449
+
448
450
  Ruby Next itself relies on 2.5 features and contains polyfills only for version 2.5+ (and that won't change).
449
451
  Thus, to make it work with <2.5 we need to backport some APIs ourselves.
450
452
 
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: 0.11.1
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-28 00:00:00.000000000 Z
11
+ date: 2021-01-12 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: 0.11.1
19
+ version: 0.12.0
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: 0.11.1
26
+ version: 0.12.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-next-parser
29
29
  requirement: !ruby/object:Gem::Requirement