mvz-live_ast 2.2.0 → 2.3.0
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/CHANGES.rdoc +5 -0
- data/README.rdoc +1 -1
- data/lib/live_ast/reader.rb +7 -1
- data/lib/live_ast/version.rb +1 -1
- metadata +15 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca502ae0e2cbb2e943b0caf4302e2a5c46b4984dbdaf7ef89f6a80bfa466a444
|
|
4
|
+
data.tar.gz: e795adb5aff696f94d85ea03255b565ea470f5cd744cf654cdae8dc410e0a48e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db874d0f84452171be93d1ac3d609ab3b5cba4c39f4481074cfe231e5d6e47045960b89a7ff88a252da40bf90a5686ba04abf0c50db680276c01d662d473e1c1
|
|
7
|
+
data.tar.gz: 8788a717371b24ba186ed1924d3b85480802bdb0009fcb6ad78f0d945f585d496fb575bc71de6d0bb04e82f992c9aa313462d4e2b5c525463e26fb6e70afa6c2
|
data/CHANGES.rdoc
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
= live_ast Changes
|
|
2
2
|
|
|
3
|
+
== Version 2.3.0
|
|
4
|
+
|
|
5
|
+
* Make load error message match original exactly
|
|
6
|
+
* Support Ruby 3.2 through 3.4, dropping support for Ruby 3.0 and 3.1
|
|
7
|
+
|
|
3
8
|
== Version 2.2.0
|
|
4
9
|
|
|
5
10
|
* Improve error message compatibility for instance_eval filename argument
|
data/README.rdoc
CHANGED
|
@@ -384,7 +384,7 @@ assumed that the file is unmodified between the moment it is
|
|
|
384
384
|
== License
|
|
385
385
|
|
|
386
386
|
Copyright (c) 2011 James M. Lawrence. All rights reserved.
|
|
387
|
-
Copyright (c) 2014-
|
|
387
|
+
Copyright (c) 2014-2025 Matijs van Zuijlen. All rights reserved.
|
|
388
388
|
|
|
389
389
|
Permission is hereby granted, free of charge, to any person
|
|
390
390
|
obtaining a copy of this software and associated documentation files
|
data/lib/live_ast/reader.rb
CHANGED
|
@@ -13,8 +13,14 @@ module LiveAST
|
|
|
13
13
|
|
|
14
14
|
# magic comment overrides BOM
|
|
15
15
|
encoding = contents[MAGIC_COMMENT, 1] || utf8 || "US-ASCII"
|
|
16
|
+
encoding = strip_special encoding
|
|
17
|
+
begin
|
|
18
|
+
Encoding.find encoding
|
|
19
|
+
rescue ArgumentError
|
|
20
|
+
raise ArgumentError, "unknown encoding name: #{encoding}"
|
|
21
|
+
end
|
|
16
22
|
|
|
17
|
-
contents.force_encoding
|
|
23
|
+
contents.force_encoding encoding
|
|
18
24
|
end
|
|
19
25
|
|
|
20
26
|
def self.strip_special(encoding)
|
data/lib/live_ast/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mvz-live_ast
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James M. Lawrence
|
|
8
8
|
- Matijs van Zuijlen
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: ruby2ruby
|
|
@@ -121,70 +120,70 @@ dependencies:
|
|
|
121
120
|
requirements:
|
|
122
121
|
- - "~>"
|
|
123
122
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '1.
|
|
123
|
+
version: '1.76'
|
|
125
124
|
type: :development
|
|
126
125
|
prerelease: false
|
|
127
126
|
version_requirements: !ruby/object:Gem::Requirement
|
|
128
127
|
requirements:
|
|
129
128
|
- - "~>"
|
|
130
129
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '1.
|
|
130
|
+
version: '1.76'
|
|
132
131
|
- !ruby/object:Gem::Dependency
|
|
133
132
|
name: rubocop-minitest
|
|
134
133
|
requirement: !ruby/object:Gem::Requirement
|
|
135
134
|
requirements:
|
|
136
135
|
- - "~>"
|
|
137
136
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 0.
|
|
137
|
+
version: 0.38.0
|
|
139
138
|
type: :development
|
|
140
139
|
prerelease: false
|
|
141
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
142
141
|
requirements:
|
|
143
142
|
- - "~>"
|
|
144
143
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0.
|
|
144
|
+
version: 0.38.0
|
|
146
145
|
- !ruby/object:Gem::Dependency
|
|
147
146
|
name: rubocop-packaging
|
|
148
147
|
requirement: !ruby/object:Gem::Requirement
|
|
149
148
|
requirements:
|
|
150
149
|
- - "~>"
|
|
151
150
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0.
|
|
151
|
+
version: 0.6.0
|
|
153
152
|
type: :development
|
|
154
153
|
prerelease: false
|
|
155
154
|
version_requirements: !ruby/object:Gem::Requirement
|
|
156
155
|
requirements:
|
|
157
156
|
- - "~>"
|
|
158
157
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: 0.
|
|
158
|
+
version: 0.6.0
|
|
160
159
|
- !ruby/object:Gem::Dependency
|
|
161
160
|
name: rubocop-performance
|
|
162
161
|
requirement: !ruby/object:Gem::Requirement
|
|
163
162
|
requirements:
|
|
164
163
|
- - "~>"
|
|
165
164
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '1.
|
|
165
|
+
version: '1.25'
|
|
167
166
|
type: :development
|
|
168
167
|
prerelease: false
|
|
169
168
|
version_requirements: !ruby/object:Gem::Requirement
|
|
170
169
|
requirements:
|
|
171
170
|
- - "~>"
|
|
172
171
|
- !ruby/object:Gem::Version
|
|
173
|
-
version: '1.
|
|
172
|
+
version: '1.25'
|
|
174
173
|
- !ruby/object:Gem::Dependency
|
|
175
174
|
name: rubocop-rake
|
|
176
175
|
requirement: !ruby/object:Gem::Requirement
|
|
177
176
|
requirements:
|
|
178
177
|
- - "~>"
|
|
179
178
|
- !ruby/object:Gem::Version
|
|
180
|
-
version: 0.
|
|
179
|
+
version: 0.7.1
|
|
181
180
|
type: :development
|
|
182
181
|
prerelease: false
|
|
183
182
|
version_requirements: !ruby/object:Gem::Requirement
|
|
184
183
|
requirements:
|
|
185
184
|
- - "~>"
|
|
186
185
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: 0.
|
|
186
|
+
version: 0.7.1
|
|
188
187
|
description: |2
|
|
189
188
|
LiveAST enables a program to find the ASTs of objects created by dynamically
|
|
190
189
|
generated code.
|
|
@@ -193,8 +192,8 @@ email:
|
|
|
193
192
|
executables: []
|
|
194
193
|
extensions: []
|
|
195
194
|
extra_rdoc_files:
|
|
196
|
-
- README.rdoc
|
|
197
195
|
- CHANGES.rdoc
|
|
196
|
+
- README.rdoc
|
|
198
197
|
files:
|
|
199
198
|
- CHANGES.rdoc
|
|
200
199
|
- README.rdoc
|
|
@@ -228,7 +227,6 @@ metadata:
|
|
|
228
227
|
source_code_uri: https://github.com/mvz/live_ast
|
|
229
228
|
changelog_uri: https://github.com/mvz/live_ast/blob/master/CHANGES.rdoc
|
|
230
229
|
rubygems_mfa_required: 'true'
|
|
231
|
-
post_install_message:
|
|
232
230
|
rdoc_options:
|
|
233
231
|
- "--main"
|
|
234
232
|
- README.rdoc
|
|
@@ -242,15 +240,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
242
240
|
requirements:
|
|
243
241
|
- - ">="
|
|
244
242
|
- !ruby/object:Gem::Version
|
|
245
|
-
version: 3.
|
|
243
|
+
version: 3.2.0
|
|
246
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
245
|
requirements:
|
|
248
246
|
- - ">="
|
|
249
247
|
- !ruby/object:Gem::Version
|
|
250
248
|
version: '0'
|
|
251
249
|
requirements: []
|
|
252
|
-
rubygems_version: 3.
|
|
253
|
-
signing_key:
|
|
250
|
+
rubygems_version: 3.7.2
|
|
254
251
|
specification_version: 4
|
|
255
252
|
summary: Live abstract syntax trees of methods and procs.
|
|
256
253
|
test_files: []
|