node_mutation 1.9.0 → 1.9.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36b238099da8793f4d2e9df6c5e679ba4d4f7da2254c020606d73dfd93f3baf8
4
- data.tar.gz: b44fbf6192513de334c03580a04b8fe30602697a2d8f7fc39a96f5776c046739
3
+ metadata.gz: c83e3715de9de4bc244ddbcf4486f78c51bdff021735f291d797d7e2728d3369
4
+ data.tar.gz: 6dae070e5a2ad3977a53c08f312ee240d3a9164b353e257d61bdaff0c492c542
5
5
  SHA512:
6
- metadata.gz: cbfb8d677df7896754afddf23e3fa880f6d6f16d646c9a93881b4e216c1a2adf83c4ba45a96dd4827aeb9800ea375ba5dd992a815bf2794e1b5d11206b956415
7
- data.tar.gz: 3a0c2217d7b51a90bd2818a036e07b76f2e2df82295f5bed462e075198855325285513e344d97cc70ac0179b1fa6a77ca13f25558f12f0db982903cc52a65318
6
+ metadata.gz: b10359865b08bbb672dcdcb567f27a1de4018e12f61615cb16fb4d9406af37be3443ccafafcd2d9347a0fab48f739fffa70e170eff13ad443272542a2148cfc8
7
+ data.tar.gz: 605c42f06b1b2f5d54c8714394f3874446e88f27016bcf361d2a067f36dad285db9056984fc1216d70c02237eb3e052799e16e9c065cf4e3fda14823734f0e6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # NodeMutation
2
2
 
3
+ ## 1.9.1 (2023-02-10)
4
+
5
+ * Make sure `tab_width` is an Integer
6
+
3
7
  ## 1.9.0 (2023-02-08)
4
8
 
5
9
  * Configure `tab_width`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- node_mutation (1.9.0)
4
+ node_mutation (1.9.1)
5
5
  erubis
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class NodeMutation
4
- VERSION = "1.9.0"
4
+ VERSION = "1.9.1"
5
5
  end
data/lib/node_mutation.rb CHANGED
@@ -39,7 +39,7 @@ class NodeMutation
39
39
  @strategy = options[:strategy]
40
40
  end
41
41
  if options[:tab_width]
42
- @tab_width = options[:tab_width]
42
+ @tab_width = options[:tab_width].to_i
43
43
  end
44
44
  end
45
45
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: node_mutation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-08 00:00:00.000000000 Z
11
+ date: 2023-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubis
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.4.1
85
+ rubygems_version: 3.4.6
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: ast node mutation apis