ruby-next 0.11.1 → 0.13.2

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 +29 -0
  3. data/README.md +19 -5
  4. metadata +12 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c3981529a0892a1d7834ffe7c787f2cc3af356fdd8ff245359553a32f90e6f7
4
- data.tar.gz: 7d9b8f19f8e1835747ac89c2c04dd894dc210e4ff2f741787d67c6e1ed65e57a
3
+ metadata.gz: 002d033ebc163e0f2529fafbb0f2ab2b0a8018bdc65d0d9a2efa112399cf9d54
4
+ data.tar.gz: e39c037f74bb8d7957f4f9cb33cab5135c5066e10f909c58158e499f74f7e73b
5
5
  SHA512:
6
- metadata.gz: 5d501cd216bbf84cb3d8dab0e87e0ae5f814e693d69674550832753d1a31591773ba423f10bbb01cfdd88809d7e71df4ab6668b7af64391e4d0bcefa51116210
7
- data.tar.gz: 6ffa3a827299b9294164d8935af03b9f51e36623efaa4a808132296da0603a5fb95a962a6448532bfaf125c4b46b385ca897bb2369bc6a7f30e99027f6ec01fb
6
+ metadata.gz: 81d75984b38730e36fb85db66fe9dc2f0fa4cd73e3a11b8e5410f9481ddf9b9c48d91c45464f4d502383137ac41309922e153b513f2650680d7401a379c88a09
7
+ data.tar.gz: 4c85296d1cf84daa5829dff2ac6a6f908762a7ecc07d71ee6c3f40eaf164df0a8658408fb8207f3956029eda5efa6528b60cf6c2fa4e50981df493053f9d9b55
data/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.13.2 (2021-11-28)
6
+
7
+ - Parser upgrade.
8
+
9
+ ## 0.13.1 (2021-09-27)
10
+
11
+ - Fix checking for realpath during $LOAD_PATH setup. ([@palkan][])
12
+
13
+ ## 0.13.0 (2021-09-27)
14
+
15
+ - Added `Enumerable#tally` with the resulting hash. ([@skryukov][])
16
+
17
+ - Added `Array#intersect?`. ([@skryukov][])
18
+
19
+ ## 0.12.0 (2021-01-12)
20
+
21
+ - Added required keyword arguments rewriter. ([@palkan][])
22
+
23
+ Required kwargs were introduced in 2.1. Now we make them possible in 2.0.
24
+
25
+ - Added numeric literals rewriter. ([@palkan][])
26
+
27
+ Now it's possible to generate Ruby 2.0 compatible code from `2i + 1/3r`.
28
+
29
+ - Fixed several safe navigation (`&.`) bugs. ([@palkan][])
30
+
31
+ See [#68](https://github.com/ruby-next/ruby-next/issues/68) and [#69](https://github.com/ruby-next/ruby-next/issues/69).
32
+
5
33
  ## 0.11.1 (2020-12-28)
6
34
 
7
35
  - Use separate _namespace_ for proposed features to avoid conflicts with new Ruby version. ([@palkan][])
@@ -267,3 +295,4 @@ p a #=> 1
267
295
  [@palkan]: https://github.com/palkan
268
296
  [backports]: https://github.com/marcandre/backports
269
297
  [@sl4vr]: https://github.com/sl4vr
298
+ [@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,14 +522,14 @@ 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))
526
+
527
+ - Shorthand Hash/kwarg notation (`data = {x:, y:}` or `foo(x:, y:)`) ([#15236](https://bugs.ruby-lang.org/issues/15236)).
512
528
 
513
529
  ### Supported proposed features
514
530
 
515
531
  - _Method reference_ operator (`.:`) ([#13581](https://bugs.ruby-lang.org/issues/13581)).
516
532
 
517
- - Shorthand Hash/kwarg notation (`data = {x, y}` or `foo(x:, y:)`) ([#15236](https://bugs.ruby-lang.org/issues/15236)).
518
-
519
533
  ## Contributing
520
534
 
521
535
  Bug reports and pull requests are welcome on GitHub at [https://github.com/ruby-next/ruby-next](ttps://github.com/ruby-next/ruby-next).
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.13.2
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-28 00:00:00.000000000 Z
11
+ date: 2021-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-next-core
@@ -16,46 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.1
19
+ version: 0.13.2
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.13.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-next-parser
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.0.3
33
+ version: 3.1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.0.3
40
+ version: 3.1.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: unparser
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 0.5.6
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.5.6
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: []