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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8288215f49d9d6c0ac3e63959b51ec12124f0a2b77120e372945db08f9cfd10c
4
- data.tar.gz: 7021cea657ad978f66beeaa1c6f35db19f391f686ec712a1d58bdb8c58613baf
3
+ metadata.gz: a5923465a97b00d151c7877fb725f5f74c63975c9683d926a4bf14e2feae8fc8
4
+ data.tar.gz: 94ed7f17447b0d501243b6074f9b4c2e57b09c5954b013727dc052933ac5e8fc
5
5
  SHA512:
6
- metadata.gz: 2de497cbdd7b4e0659c4d42352148dd0350f1eb260734b4c0c03ffbc71d892eae215596fc9e1951c2d599a2832359e04b8f0ceb2ab3610150e0f84b315bfe41d
7
- data.tar.gz: 8be5121b526499685c02be3b95049d38b79ae8257aa393822148d5e082b75dd41973550e33527c9572c5cd288654b6e84e27b26ebf6436665d178bbb883918c5
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert-core (1.30.0)
4
+ synvert-core (1.30.1)
5
5
  activesupport (< 7.0.0)
6
6
  node_mutation (>= 1.21.6)
7
7
  node_query (>= 1.13.12)
@@ -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 adapter [String] Synvert::PARSER_PARSER or Synvert::SYNTAX_TREE_PARSER
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[:adapter]} not supported")
203
+ raise Errors::ParserNotSupported.new("Parser #{options[:parser]} not supported")
204
204
  end
205
205
  end
206
206
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Synvert
4
4
  module Core
5
- VERSION = '1.30.0'
5
+ VERSION = '1.30.1'
6
6
  end
7
7
  end
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.0
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-27 00:00:00.000000000 Z
11
+ date: 2023-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport