ruby-next 1.1.2 → 1.2.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +6 -3
- metadata +6 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd985aa45d172650cc3e4f42f197174c3c00902a55227ebffddef758985657cf
|
|
4
|
+
data.tar.gz: e93bfd13890f72099387c834aa87f11d894b65c4c4482eb21d98a47acd43560a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1b22cf1371d9a5a9f260f641b2fe36437080c2b4c93aff6689d9161c361514a823a527b671e2e99ec0cd00f0222b69e7146b31e975375a27eaee03b87172d89
|
|
7
|
+
data.tar.gz: ac7642c3ffcd9221cd2203b862a188eb4128a167b161dd07f5145f7ee043cf0635dc1b1b73cc291c905fb1b1c9d697ea11e4b37e133458df70fbc81162b64d6b
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 1.2.1 (2026-07-22)
|
|
6
|
+
|
|
7
|
+
- Fix RuboCop integration (enforce `:parser_whitequark` mode when using `next` version). ([@palkan][])
|
|
8
|
+
|
|
9
|
+
- Fix `it-param` rewriter to treat an explicit `it` parameter as a fixed point. ([@viralpraxis][])
|
|
10
|
+
|
|
11
|
+
## 1.2.0 (2026-01-13)
|
|
12
|
+
|
|
13
|
+
- Add `String#strip` etc w/ selectors.
|
|
14
|
+
|
|
15
|
+
- Add `Array#rfind`.
|
|
16
|
+
|
|
17
|
+
- Add `Enumerator.produce` w/ `size:` support (Ruby 4.0).
|
|
18
|
+
|
|
5
19
|
## 1.1.2 (2025-06-24)
|
|
6
20
|
|
|
7
21
|
- Fix transpiling `it` with modern Prism.
|
|
@@ -420,3 +434,4 @@ p a #=> 1
|
|
|
420
434
|
[@skryukov]: https://github.com/skryukov
|
|
421
435
|
[@prog-supdex]: https://github.com/prog-supdex
|
|
422
436
|
[@saturnflyer]: https://github.com/saturnflyer
|
|
437
|
+
[@viralpraxis]: https://github.com/viralpraxis
|
data/README.md
CHANGED
|
@@ -32,8 +32,8 @@ Read more about the motivation behind the Ruby Next in this post: [Ruby Next: Ma
|
|
|
32
32
|
</a>
|
|
33
33
|
</td>
|
|
34
34
|
<td>
|
|
35
|
-
<a href="
|
|
36
|
-
<img src="
|
|
35
|
+
<a href="https://web.archive.org/web/20220501094423/https://digitalfukuoka.jp/topics/169">
|
|
36
|
+
<img src="./assets/images/fukuoka_ruby_award_2022.png" width="200">
|
|
37
37
|
</a>
|
|
38
38
|
</td>
|
|
39
39
|
</tr>
|
|
@@ -45,7 +45,8 @@ Read more about the motivation behind the Ruby Next in this post: [Ruby Next: Ma
|
|
|
45
45
|
|
|
46
46
|
## Talks
|
|
47
47
|
|
|
48
|
-
- [Ruby
|
|
48
|
+
- [Ruby Mixology 101: adding shots of PHP, Elixir, and more](https://evilmartians.com/events/ruby-mixology-101) (RubyKaigi 2024)
|
|
49
|
+
- [Ruby Next: Make old Rubies quack like a new one](https://evilmartians.com/events/ruby-next-make-old-ruby-quack-like-a-new-one) (RubyConf 2019)
|
|
49
50
|
|
|
50
51
|
## Examples
|
|
51
52
|
|
|
@@ -391,8 +392,10 @@ Runtime mode is backed by [require-hooks][require-hooks]—a standalone gem whic
|
|
|
391
392
|
You can customize target files via the `include_patterns` and `exclude_patterns` configuration options:
|
|
392
393
|
|
|
393
394
|
```ruby
|
|
395
|
+
requre "ruby-next/language"
|
|
394
396
|
RubyNext::Language.include_patterns << "path/to/other/dir/*.rb"
|
|
395
397
|
RubyNext::Language.exclude_patterns << "path/to/other/dir/subdir/*"
|
|
398
|
+
requre "ruby-next/language/runtime"
|
|
396
399
|
```
|
|
397
400
|
|
|
398
401
|
**NOTE:** Directories MUST be configured before requiring `ruby-next/language/runtime`.
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-next
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vladimir Dementyev
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: ruby-next-core
|
|
@@ -16,14 +15,14 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - '='
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.1
|
|
18
|
+
version: 1.2.1
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - '='
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.1
|
|
25
|
+
version: 1.2.1
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: ruby-next-parser
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -101,7 +100,7 @@ metadata:
|
|
|
101
100
|
documentation_uri: https://github.com/ruby-next/ruby-next/blob/master/README.md
|
|
102
101
|
homepage_uri: https://github.com/ruby-next/ruby-next
|
|
103
102
|
source_code_uri: https://github.com/ruby-next/ruby-next
|
|
104
|
-
|
|
103
|
+
rubygems_mfa_required: 'true'
|
|
105
104
|
rdoc_options: []
|
|
106
105
|
require_paths:
|
|
107
106
|
- lib
|
|
@@ -116,8 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
115
|
- !ruby/object:Gem::Version
|
|
117
116
|
version: '0'
|
|
118
117
|
requirements: []
|
|
119
|
-
rubygems_version: 3.
|
|
120
|
-
signing_key:
|
|
118
|
+
rubygems_version: 3.6.9
|
|
121
119
|
specification_version: 4
|
|
122
120
|
summary: Make older Rubies quack like edge Ruby
|
|
123
121
|
test_files: []
|