ruby2ruby 2.4.3 → 2.4.4

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: 3f72338e1430e938dcc3c0934ecef41cd7a1a589d8c67cde7419f05b9eb8b247
4
- data.tar.gz: 2be6fc2a82fe2ca73fe59d9025ba6c3734d7571dcc867f2e3da800537cf71758
3
+ metadata.gz: e0a68c49fb78276f0904646fd04f48042d124b765d63cca627967c5f36d232ad
4
+ data.tar.gz: 397b684e0d7a1d64b0ec2cc9a9c6419340021d7000302f72524d1af075cc63ea
5
5
  SHA512:
6
- metadata.gz: fe9fe4523da05005533346ba4ba1806e3f1ba22c7d36faff48623d7827b108d4dc195ae77bf3124369fed874b28229cefcbfcc00d9c2596b7a638b2931d8f5c9
7
- data.tar.gz: 314e0287a424263e3f05e013d06bde2e8f9c9b9dd3b69ce1d9c9358c820f23571c5a66cdd621200ff0315c25082886ef124f870f9fb9d38d403d607b2b77d747
6
+ metadata.gz: a39d237921b8aa506673f3efb48c4c0cf570ad36eca10399eef3e0a89261eb6cc65f87f4023793f61a64b3db1b73c935ba24b0cbb0a9c5d6aa394a5c6ee94863
7
+ data.tar.gz: 8a3fd4b2479cc4bdb89e420f6a4173c1e30719456bc3f3b53b9828bbc243fcc65d8fbd922ac5a9516a862d2059e16c19517020fca925b730b3bbccec4eb6e1cf
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 2.4.4 / 2019-09-24
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fixed deprecation warnings from patterns change in sexp_processor.
6
+
1
7
  === 2.4.3 / 2019-06-03
2
8
 
3
9
  * 4 bug fixes:
@@ -31,7 +31,7 @@ end
31
31
  # Generate ruby code from a sexp.
32
32
 
33
33
  class Ruby2Ruby < SexpProcessor
34
- VERSION = "2.4.3" # :nodoc:
34
+ VERSION = "2.4.4" # :nodoc:
35
35
 
36
36
  # cutoff for one-liners
37
37
  LINE_LENGTH = 78
@@ -403,12 +403,12 @@ class Ruby2Ruby < SexpProcessor
403
403
 
404
404
  # s(:defn, name, args, ivar|iasgn)
405
405
  case exp
406
- when s{ s(:defn, atom, t(:args), s(:ivar, atom)) } then # TODO: atom -> _
406
+ when s{ q(:defn, atom, t(:args), q(:ivar, atom)) } then # TODO: atom -> _
407
407
  _, ivar = body.first
408
408
  ivar = ivar.to_s[1..-1] # remove leading @
409
409
  reader = name.to_s
410
410
  return "attr_reader #{name.inspect}" if reader == ivar
411
- when s{ s(:defn, atom, t(:args), s(:iasgn, atom, s(:lvar, atom))) } then
411
+ when s{ q(:defn, atom, t(:args), q(:iasgn, atom, q(:lvar, atom))) } then
412
412
  _, ivar, _val = body.first
413
413
  ivar = ivar.to_s[1..-1] # remove leading @
414
414
  reader = name.to_s.chomp "="
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby2ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  Em82dBUFsipwMLCYj39kcyHWAxyl6Ae1Cn9r/ItVBCxoeFdrHjfavnrIEoXUt4bU
30
30
  UfBugfLD19bu3nvL+zTAGx/U
31
31
  -----END CERTIFICATE-----
32
- date: 2019-06-04 00:00:00.000000000 Z
32
+ date: 2019-09-25 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: sexp_processor
@@ -85,14 +85,14 @@ dependencies:
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '3.17'
88
+ version: '3.18'
89
89
  type: :development
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '3.17'
95
+ version: '3.18'
96
96
  description: |-
97
97
  ruby2ruby provides a means of generating pure ruby code easily from
98
98
  RubyParser compatible Sexps. This makes making dynamic language
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.0.2
139
+ rubygems_version: 3.0.6
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: ruby2ruby provides a means of generating pure ruby code easily from RubyParser
metadata.gz.sig CHANGED
Binary file