ruby-next 0.11.0 → 0.13.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 +33 -0
  3. data/README.md +17 -3
  4. metadata +10 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b887c822e671a94ce19bc333363144a702d5bafea021892773a2079aaadbb3e
4
- data.tar.gz: 9a4af2952cd11a8a559c19a927af62ea222c0e29400229b1b3434994c7fb1959
3
+ metadata.gz: 74856c7d76c7b984be4c36394d1a43067acbaf6a79a0e126748782952faa833c
4
+ data.tar.gz: 8208beedd5fe90a057805743eb49e787eae5ffa47aaba90a3cefbeb69c858e23
5
5
  SHA512:
6
- metadata.gz: a472790f1e7f90cd4fd221977d9fe1844289aa1d26b84ac13702686ae68b2b74336e56d58619eb121da33bfc7b8e424d48a3d67c04150603eed5c23b4528c2c8
7
- data.tar.gz: 8e112129e8470a1e4af7e00b93d2eeaa8637d2566849f049ddbeae125a56666923b3a435cce1d47725797cd2915fb68085d342288cf2bb80e2d9f3e0ac6301d4
6
+ metadata.gz: 5eda4f80af5d5c7e91c3f8af3ec1fef71ec2fabcd38b1025e906263a1a016bd92d806502982eb49adf6dc042e49250ae434b1984e261a80a6814ff25dec64e6b
7
+ data.tar.gz: ab0e64fc7e39c26fa7a695e06c6c232689b26bb6273f538f81883627ac85c7728da46cdc5b8f3b0489b9babe89fe8c66bf8b15b91c7b42742a71ae55858a4bec
data/CHANGELOG.md CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.13.1 (2021-09-27)
6
+
7
+ - Fix checking for realpath during $LOAD_PATH setup. ([@palkan][])
8
+
9
+ ## 0.13.0 (2021-09-27)
10
+
11
+ - Added `Enumerable#tally` with the resulting hash. ([@skryukov][])
12
+
13
+ - Added `Array#intersect?`. ([@skryukov][])
14
+
15
+ ## 0.12.0 (2021-01-12)
16
+
17
+ - Added required keyword arguments rewriter. ([@palkan][])
18
+
19
+ Required kwargs were introduced in 2.1. Now we make them possible in 2.0.
20
+
21
+ - Added numeric literals rewriter. ([@palkan][])
22
+
23
+ Now it's possible to generate Ruby 2.0 compatible code from `2i + 1/3r`.
24
+
25
+ - Fixed several safe navigation (`&.`) bugs. ([@palkan][])
26
+
27
+ See [#68](https://github.com/ruby-next/ruby-next/issues/68) and [#69](https://github.com/ruby-next/ruby-next/issues/69).
28
+
29
+ ## 0.11.1 (2020-12-28)
30
+
31
+ - Use separate _namespace_ for proposed features to avoid conflicts with new Ruby version. ([@palkan][])
32
+
33
+ Previously, we used the upcoming Ruby version number for proposed features (e.g., `3.0.0`), which broke
34
+ the load path setup, since transpiled files were not loaded anymore.
35
+ Now that's fixed by using a _virtual_ version number for proposals (`1995.next.0`).
36
+
5
37
  ## 0.11.0 (2020-12-24) 🎄
6
38
 
7
39
  - Extended proposed shorthand Hash syntax to support kwargs as well. ([@palkan][])
@@ -259,3 +291,4 @@ p a #=> 1
259
291
  [@palkan]: https://github.com/palkan
260
292
  [backports]: https://github.com/marcandre/backports
261
293
  [@sl4vr]: https://github.com/sl4vr
294
+ [@skryukov]: https://github.com/skryukov
data/README.md CHANGED
@@ -21,8 +21,20 @@ That's why Ruby Next implements the `master` features as fast as possible.
21
21
 
22
22
  Read more about the motivation behind the Ruby Next in this post: [Ruby Next: Make all Rubies quack alike](https://evilmartians.com/chronicles/ruby-next-make-all-rubies-quack-alike).
23
23
 
24
- <a href="https://evilmartians.com/?utm_source=ruby-next">
25
- <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
24
+ <table style="border:none;">
25
+ <tr>
26
+ <td>
27
+ <a href="https://evilmartians.com/?utm_source=ruby-next">
28
+ <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54">
29
+ </a>
30
+ </td>
31
+ <td>
32
+ <a href="http://www.digitalfukuoka.jp/topics/169">
33
+ <img src="http://www.digitalfukuoka.jp/javascripts/kcfinder/upload/images/excellence.jpg" width="200">
34
+ </a>
35
+ </td>
36
+ </tr>
37
+ </table>
26
38
 
27
39
  ## Posts
28
40
 
@@ -445,6 +457,8 @@ AllCops:
445
457
 
446
458
  We currently provide support for Ruby 2.2, 2.3 and 2.4.
447
459
 
460
+ **NOTE:** By "support" here we mean using `ruby-next` CLI and runtime transpiling. Transpiled code may run on Ruby 2.0+.
461
+
448
462
  Ruby Next itself relies on 2.5 features and contains polyfills only for version 2.5+ (and that won't change).
449
463
  Thus, to make it work with <2.5 we need to backport some APIs ourselves.
450
464
 
@@ -508,7 +522,7 @@ require "ruby-next/language/runtime"
508
522
 
509
523
  ### Supported edge features
510
524
 
511
- No new features since 3.0 release.
525
+ `Array#intersect?` ([#15198](https://bugs.ruby-lang.org/issues/15198))
512
526
 
513
527
  ### Supported proposed features
514
528
 
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.0
4
+ version: 0.13.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: 2020-12-24 00:00:00.000000000 Z
11
+ date: 2021-09-27 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.0
19
+ version: 0.13.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: 0.11.0
26
+ version: 0.13.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-next-parser
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,20 +42,14 @@ dependencies:
42
42
  name: unparser
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 0.4.8
48
- - - "<"
45
+ - - "~>"
49
46
  - !ruby/object:Gem::Version
50
47
  version: 0.6.0
51
48
  type: :runtime
52
49
  prerelease: false
53
50
  version_requirements: !ruby/object:Gem::Requirement
54
51
  requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 0.4.8
58
- - - "<"
52
+ - - "~>"
59
53
  - !ruby/object:Gem::Version
60
54
  version: 0.6.0
61
55
  description: "\n Ruby Next is a collection of polyfills and a transpiler for supporting
@@ -79,7 +73,7 @@ metadata:
79
73
  documentation_uri: http://github.com/ruby-next/ruby-next/blob/master/README.md
80
74
  homepage_uri: http://github.com/ruby-next/ruby-next
81
75
  source_code_uri: http://github.com/ruby-next/ruby-next
82
- post_install_message:
76
+ post_install_message:
83
77
  rdoc_options: []
84
78
  require_paths:
85
79
  - lib
@@ -94,8 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
88
  - !ruby/object:Gem::Version
95
89
  version: '0'
96
90
  requirements: []
97
- rubygems_version: 3.0.6
98
- signing_key:
91
+ rubygems_version: 3.2.22
92
+ signing_key:
99
93
  specification_version: 4
100
94
  summary: Make older Rubies quack like edge Ruby
101
95
  test_files: []