ruby-next-core 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b97da767efae69a9faa9ed2b4c4a3daf9c38a5b70768502b013692b7a3c04a50
4
- data.tar.gz: 05ba2f4c4677c40d46a451a68a94e434b54d4e9daa9a2af51cbd508ef0a198ab
3
+ metadata.gz: fb44065be7545114c59e01e16394f6c4840c7efa173349b5907e6d07fa8b7694
4
+ data.tar.gz: bd8cb4e19884dfeb6059dc28d845bfb11061092ed888a2021ccf9575cdc72325
5
5
  SHA512:
6
- metadata.gz: ef678d9b8ed431a8a8f005b00c445da56096c39a3c9ffc1ce88708c4b1280e630cb5c58a63a154381c384b54968ec19b3c88a4a49665b3503bd5df62f454a168
7
- data.tar.gz: a25ebf4e0c3456213a1f682d27df031a6add5bc117800026d8b0f9b48cacb49e72a4b97115f9b1b1acf058ca3f6974dfa94402498a58a19ac532916eb9a81199
6
+ metadata.gz: 521691a6abd8006d34ee48059d55b0aa43cbbe9c1d431a9d99b63f17bfec73e4e2e850dfac38e18f629131ccf5eae9899294c0741bd81bddbecd8d494aef2115
7
+ data.tar.gz: f12c6e59416eaec1f2e900691bff08235dda1bfdfb98d6cfe186f0ba90b2d0d2d8e1c2cc169f7abafbc0c785e65ceb6aba60cd3255dd2c4575c1c9352da7e94e
@@ -2,10 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
- ## 0.10.1 (2020-09-09)
5
+ ## 0.10.2 (2020-09-09)
6
6
 
7
7
  - Fix regression when `nextify` produces incorrect files for 2.7. ([@palkan][])
8
8
 
9
+ ## ~~0.10.1~~
10
+
9
11
  ## 0.10.0 (2020-09-02)
10
12
 
11
13
  - Add proposed shorthand Hash syntax. ([@palkan][])
@@ -72,10 +72,6 @@ module RubyNext
72
72
  self::MIN_SUPPORTED_VERSION > version
73
73
  end
74
74
 
75
- def min_supported_minor_version
76
- Gem::Version.new(self::MIN_SUPPORTED_VERSION.segments[0..1].join(".") + ".0")
77
- end
78
-
79
75
  private
80
76
 
81
77
  def transform(source)
@@ -39,7 +39,7 @@ module RubyNext
39
39
  # Called by rewriter when it performs transfomrations
40
40
  def track!(rewriter)
41
41
  @dirty = true
42
- versions << rewriter.class.min_supported_minor_version
42
+ versions << rewriter.class::MIN_SUPPORTED_VERSION
43
43
  end
44
44
 
45
45
  def use_ruby_next!
@@ -6,7 +6,7 @@ module RubyNext
6
6
  class ArgsForward < Base
7
7
  NAME = "args-forward"
8
8
  SYNTAX_PROBE = "obj = Object.new; def obj.foo(...) super(1, ...); end"
9
- MIN_SUPPORTED_VERSION = Gem::Version.new("2.7.2")
9
+ MIN_SUPPORTED_VERSION = Gem::Version.new("3.0.0")
10
10
 
11
11
  REST = :__rest__
12
12
  BLOCK = :__block__
@@ -73,10 +73,6 @@ module RubyNext
73
73
  self::MIN_SUPPORTED_VERSION > version
74
74
  end
75
75
 
76
- def min_supported_minor_version
77
- Gem::Version.new(self::MIN_SUPPORTED_VERSION.segments[0..1].join(".") + ".0")
78
- end
79
-
80
76
  private
81
77
 
82
78
  def transform(source)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyNext
4
- VERSION = "0.10.1"
4
+ VERSION = "0.10.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-next-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev