synvert-core 1.30.0 → 1.30.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/lib/synvert/core/rewriter.rb +2 -2
- data/lib/synvert/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5923465a97b00d151c7877fb725f5f74c63975c9683d926a4bf14e2feae8fc8
|
4
|
+
data.tar.gz: 94ed7f17447b0d501243b6074f9b4c2e57b09c5954b013727dc052933ac5e8fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0614ad3287376170341654f290599a0f3541dd26562124935c208d77be666a1073a439090731a42efe62806f4aac91238c0a5eaf79ce971515719ee34384863
|
7
|
+
data.tar.gz: 1335bdfaaa06f1d8f8cca811d3e0fd4a9d40ca1f1ac0597a42b110555be59976e299cf9147c785c8c8d4ad418251a7fa0c7f2de7967ef71d77c46cbf86548076
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.30.1 (2023-12-01)
|
4
|
+
|
5
|
+
* It is `parser` option instead of `adapter`
|
6
|
+
|
3
7
|
## 1.30.0 (2023-11-27)
|
4
8
|
|
5
9
|
* Update `node_mutation` to 1.22.0
|
6
10
|
* Update `node_query` to 1.14.1
|
7
11
|
* Add `adapter` as `Rewriter::ReplaceErbStmtWithExprAction` parameter
|
8
|
-
* Initialize NodeQuery and NodeMutation with adapter
|
12
|
+
* Initialize `NodeQuery` and `NodeMutation` with `adapter`
|
9
13
|
* Remove `ensure_current_adapter` as adapter is an instance variable of Rewriter
|
10
14
|
|
11
15
|
## 1.29.4 (2023-11-24)
|
data/Gemfile.lock
CHANGED
@@ -195,12 +195,12 @@ module Synvert::Core
|
|
195
195
|
# configure({ parser: Synvert::PARSER_PARSER })
|
196
196
|
# configure({ strategy: 'allow_insert_at_same_position' })
|
197
197
|
# @param options [Hash]
|
198
|
-
# @option
|
198
|
+
# @option parser [String] Synvert::PARSER_PARSER or Synvert::SYNTAX_TREE_PARSER
|
199
199
|
# @option strategy [String] 'allow_insert_at_same_position'
|
200
200
|
def configure(options)
|
201
201
|
@options = @options.merge(options)
|
202
202
|
if options[:parser] && ![Synvert::PARSER_PARSER, Synvert::SYNTAX_TREE_PARSER].include?(options[:parser])
|
203
|
-
raise Errors::ParserNotSupported.new("Parser #{options[:
|
203
|
+
raise Errors::ParserNotSupported.new("Parser #{options[:parser]} not supported")
|
204
204
|
end
|
205
205
|
end
|
206
206
|
|
data/lib/synvert/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synvert-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.30.
|
4
|
+
version: 1.30.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|