ruby-next 0.9.1 → 0.9.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 +8 -0
  3. data/README.md +6 -2
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6045c8ee35bf11e9dcd74c6a41eea952b1a4bacd826a04cf4fb26a32598fe66d
4
- data.tar.gz: e3f98fbfa40ffb93f4f6ffa935d09bdefd95660e1768dbd9e0cecaa9b5b35526
3
+ metadata.gz: fe4d8a355191412c50b1f1c4c7cbf92e3d70ecb0dff07602ad0e55549e1cc764
4
+ data.tar.gz: 54a7d596d68a55cf34f1fc1371d3675aa046b54149d45be44c93f329121b1e7d
5
5
  SHA512:
6
- metadata.gz: 170c1fb05d4a8f4440812354ea419847c72625d07e2206c7d968fec183e964cbf670391d10f19702b287bc6aa6ce394ecb204275fed9096c776fa3bdf2085246
7
- data.tar.gz: effebc099da374e8479f5f61474a3dbb2584c66abb58a5208f6db08ebcab29d948a735c7f5478eb87864d32b98be201d576c5036330f3d18e5efe2e702d8dd0c
6
+ metadata.gz: cabc61d8bd370bdb3b04353f87ec7eb353200484a6d61d592be9f1917a4eb507b404d8a0a915ea49531c2059668dcbb34518dc10ca815202c9fa67df6a6f7d15
7
+ data.tar.gz: 967f88bac4e946b0f5b4de8a121ffc2b72f2cdccb5df99f398d9cb15533fa37fa20371ff9213799555afae1cd48bd1f24e04235632cc09e5e91bfa59e1ad9ea7
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.9.2 (2020-06-24)
6
+
7
+ - Support passing rewriters to CLI. ([@sl4vr][])
8
+
9
+ Use `nextify --list-rewriters` to view all available rewriters.
10
+ Use `nextify` with `--rewrite=REWRITERS...` option to specify which particular rewriters to use.
11
+
5
12
  ## 0.9.1 (2020-06-05)
6
13
 
7
14
  - Keep `ruby-next` version in sync with `ruby-next-core`. ([@palkan][])
@@ -195,3 +202,4 @@ p a #=> 1
195
202
 
196
203
  [@palkan]: https://github.com/palkan
197
204
  [backports]: https://github.com/marcandre/backports
205
+ [@sl4vr]: https://github.com/sl4vr
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ [![Cult Of Martians](http://cultofmartians.com/assets/badges/badge.svg)](https://cultofmartians.com/tasks/ruby-next-cli-rewriters.html#task)
1
2
  [![Gem Version](https://badge.fury.io/rb/ruby-next.svg)](https://rubygems.org/gems/ruby-next) [![Build](https://github.com/ruby-next/ruby-next/workflows/Build/badge.svg)](https://github.com/ruby-next/ruby-next/actions)
2
3
  [![JRuby Build](https://github.com/ruby-next/ruby-next/workflows/JRuby%20Build/badge.svg)](https://github.com/ruby-next/ruby-next/actions?query=workflow%3A%22TruffleRuby+Build%22)
3
4
  [![TruffleRuby Build](https://github.com/ruby-next/ruby-next/workflows/TruffleRuby%20Build/badge.svg)](https://github.com/ruby-next/ruby-next/actions?query=workflow%3A%22TruffleRuby+Build%22)
@@ -200,12 +201,15 @@ It has the following interface:
200
201
  ```sh
201
202
  $ ruby-next nextify
202
203
  Usage: ruby-next nextify DIRECTORY_OR_FILE [options]
203
- -o, --output=OUTPUT Specify output directory or file or stdout (use -o stdout for that)
204
+ -o, --output=OUTPUT Specify output directory or file or stdout
204
205
  --min-version=VERSION Specify the minimum Ruby version to support
205
206
  --single-version Only create one version of a file (for the earliest Ruby version)
206
- --enable-method-reference Enable reverted method reference syntax (requires custom parser)
207
+ --edge Enable edge (master) Ruby features
208
+ --proposed Enable proposed/experimental Ruby features
207
209
  --transpile-mode=MODE Transpiler mode (ast or rewrite). Default: ast
208
210
  --[no-]refine Do not inject `using RubyNext`
211
+ --list-rewriters List available rewriters
212
+ --rewrite=REWRITERS... Specify particular Ruby features to rewrite
209
213
  -h, --help Print help
210
214
  -V Turn on verbose mode
211
215
  --dry-run Print verbose output without generating files
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.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-05 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-next-core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.9.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.9.1
26
+ version: 0.9.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: 2.8.0.6
33
+ version: 2.8.0.7
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: 2.8.0.6
40
+ version: 2.8.0.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: unparser
43
43
  requirement: !ruby/object:Gem::Requirement