ruby-next 0.14.1 → 0.15.0

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 +14 -0
  3. data/README.md +34 -0
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7556a69e35b372fca28871d14d2282b0eaa46d6426cbc7edc0cf6234212e15b
4
- data.tar.gz: de3bc4fd558d1f784a4869dc438f486d284a4cfa92cb390cf11251efa6993b82
3
+ metadata.gz: 8b0e47ba44b062642c2fe2859bfc46eea20edf4a060d1af872ed4c0ea1519d5b
4
+ data.tar.gz: 230c9f3fa559e841c188be97ea16dc58edce00de409973ea507cf225962ede5c
5
5
  SHA512:
6
- metadata.gz: ef72bad3d3f90c5068b011bfdc0889f4f522c4f171656f9860fc5503deaa238f42e0c51913de166ab73cedf4b119699615ac4a2a9658fcdcbc52f9653ed74199
7
- data.tar.gz: e9d56f824694173d8747fa7cd7dcc366399c21765516b6109db35fd4dda9e5056b2239da034c7524af2e715a1589649d867ad719c575a6e85ec14174be906a7d
6
+ metadata.gz: f1145cbe7b4afa3ab6d823d59c7391a126b28741f916ae87246406f7779caee3b271e65f1b0d61715d193e57daa7ef7ebbe1539f07b3c6d76757a429cfd0aa27
7
+ data.tar.gz: 16731c47cd9c169994beda5fd108631db60d9b7e5e25e5f783c9d407790b69dbc9a7f60b487f79a53b540724d94b086c4c2289f18d66fe00a8732a143454eec2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.15.0 (2022-03-21)
6
+
7
+ - Support IRB ([@palkan][])
8
+
9
+ - Create empty `.rbnext` folder during `nextify` if nothing to transpile. ([@palkan][])
10
+
11
+ This would prevent from auto-transpiling a library every time when no files should be transpiled.
12
+
13
+ - Auto-transpile using the current Ruby version. ([@palkan][])
14
+
15
+ - Support Pry. ([@baygeldin][])
16
+
17
+ - Add `rescue/ensure/else` within block rewriter for Ruby < 2.5. ([@fargelus][])
18
+
5
19
  ## 0.14.1 (2022-01-21)
6
20
 
7
21
  - Fix nested find patterns transpiling. ([@palkan][])
data/README.md CHANGED
@@ -71,6 +71,8 @@ _Please, submit a PR to add your project to the list!_
71
71
  - [`ruby -ruby-next`](#uby-next)
72
72
  - [Logging & Debugging](#logging-and-debugging)
73
73
  - [RuboCop](#rubocop)
74
+ - [Using with IRB](#irb)
75
+ - [Using with Pry](#pry)
74
76
  - [Using with EOL Rubies](#using-with-eol-rubies)
75
77
  - [Proposed & edge features](#proposed-and-edge-features)
76
78
  - [Known limitations](#known-limitations)
@@ -454,6 +456,38 @@ AllCops:
454
456
 
455
457
  **NOTE:** you need `ruby-next` gem available in the environment where you run RuboCop (having `ruby-next-core` is not enough).
456
458
 
459
+ ## IRB
460
+
461
+ Ruby Next supports IRB. In order to enable edge Ruby features for your REPL, add the following line to your `.irbrc`:
462
+
463
+ ```ruby
464
+ require "ruby-next/irb"
465
+ ```
466
+
467
+ Alternatively, you can require it at startup:
468
+
469
+ ```sh
470
+ irb -r ruby-next/irb
471
+ # or
472
+ irb -ruby-next/irb
473
+ ```
474
+
475
+ ## Pry
476
+
477
+ Ruby Next supports Pry. In order to enable edge Ruby features for your REPL, add the following line to your `.pryrc`:
478
+
479
+ ```ruby
480
+ require "ruby-next/pry"
481
+ ```
482
+
483
+ Alternatively, you can require it at startup:
484
+
485
+ ```sh
486
+ pry -r ruby-next/pry
487
+ # or
488
+ pry -ruby-next/pry
489
+ ```
490
+
457
491
  ## Using with EOL Rubies
458
492
 
459
493
  We currently provide support for Ruby 2.2, 2.3 and 2.4.
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.14.1
4
+ version: 0.15.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: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-03-21 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.14.1
19
+ version: 0.15.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.14.1
26
+ version: 0.15.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-next-parser
29
29
  requirement: !ruby/object:Gem::Requirement