ruby-next 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2080439e0c5896a9024364465b3787c36c3a846196b274a7e72643c595523701
|
4
|
+
data.tar.gz: d74697e6e53f87343d38e7551568f62bfa1308f3ff756e090c295d14096511b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef32fbe5c565e046a8913b6c71bab3021296c1002b5a314167392cd09b8d7d58085e71461b16e5cb3ef1935f6c9af926cc982793cce15ec2a2ca8dd3821f4fe4
|
7
|
+
data.tar.gz: 4004bcbd3f131ef74b28697b1c32dc253608a4c1b821568c0584acf51115cd2626ec3f97cfcb1269e7ead9093cee5fb600bd96f9d67112cf23757321801678ff
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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:
|
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.
|
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.
|
26
|
+
version: 0.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ruby-next-parser
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|