synvert-core 1.13.0 → 1.13.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: d3d907ab2e51c1861a28d12934cf453f63df79fc23e072c1005013c5f9b137be
4
- data.tar.gz: 16e8425a70a74b779b36265eec12aacca4b6073e5911052b0114726a740f6e99
3
+ metadata.gz: 27baedce6ee22b8bac638cfab9caceb27f8fef82dd4af238b3b239ff64d9d19a
4
+ data.tar.gz: 8e0ef98086e9a0e74d87ea62899628bb0271fcf1a011b380bc51e224061606e4
5
5
  SHA512:
6
- metadata.gz: 3a73e71ccb24cbdf40fe515fcb732e242e27e5dbac5b130bc9e88d19b8c3ef315cc7c3e00195d3d4e15f6a24bd4fb89336686ae379451e3fa7433548bd3402c8
7
- data.tar.gz: c6e026527d96e8766a330626c330d280c6ab650834e71b56c64c4cf81a4dd7d0911d89919c16e0f651208e0d0ce1c9c3b36f6c08f4c9f5f7d04d0af4849a713d
6
+ metadata.gz: 0aa91008955762f7a8f6362d0e23372651430e85eb6804b59c2cf9ea1577deda113c6dddf1ae92d44623bbd1bb3328f8414c0c8c8a910df9d575c294301e3c9a
7
+ data.tar.gz: 3ec198c9d26fd0e8166dbaf102f606e89f52751f1152a50aa6283d525e848970765cf04d67bcb5f7ca6008c029c3c7f876a8a087d9d5ffbce688b0b22f4b4be6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.13.1 (2022-10-17)
4
+
5
+ * Do not send hash to keyword arguments
6
+
3
7
  ## 1.13.0 (2022-10-17)
4
8
 
5
9
  * Add `insert_before` dsl
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert-core (1.13.0)
4
+ synvert-core (1.13.1)
5
5
  activesupport (< 7.0.0)
6
6
  erubis
7
7
  node_mutation
@@ -229,7 +229,7 @@ module Synvert::Core
229
229
  # @param code [String] code need to be inserted.
230
230
  def insert_after(code)
231
231
  column = ' ' * NodeMutation.adapter.get_start_loc(@current_node).column
232
- @current_mutation.insert(@current_node, "\n#{column}#{code}", { at: 'end' })
232
+ @current_mutation.insert(@current_node, "\n#{column}#{code}", at: 'end')
233
233
  end
234
234
 
235
235
  # Parse +insert_before+ dsl, it inserts the code previous to the current node.
@@ -244,7 +244,7 @@ module Synvert::Core
244
244
  # @param code [String] code need to be inserted.
245
245
  def insert_before(code)
246
246
  column = ' ' * NodeMutation.adapter.get_start_loc(@current_node).column
247
- @current_mutation.insert(@current_node, "#{code}\n#{column}", { at: 'beginning' })
247
+ @current_mutation.insert(@current_node, "#{code}\n#{column}", at: 'beginning')
248
248
  end
249
249
 
250
250
  # Parse +replace_erb_stmt_with_expr+ dsl, it replaces erb stmt code to expr code.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Synvert
4
4
  module Core
5
- VERSION = '1.13.0'
5
+ VERSION = '1.13.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synvert-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang