node_mutation 1.24.4 → 1.25.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fbc8f86a01844e6cefbdc699124dfaef0fa8da5581a4375a4f99132efdc0bbf
4
- data.tar.gz: 8868c51bced5f0ec6a4dfb52951989ba7dc1e5fad389c9be2d3d96303346e490
3
+ metadata.gz: f74888530f258a368af4e42872e6f686d3a02756a868ff94a8e12e1aea39b431
4
+ data.tar.gz: 28e4adc21338f64d123611d2958da04c78f8b75c40c3620306cb588e335dd730
5
5
  SHA512:
6
- metadata.gz: 808c1a596e88980cdbdaab4c8c6fda0e7d21431f4bbb2529a79c1cddaa4fe51f09eadba2ed5a90e6f8f8c8d3c4fd1396a906a4f0cc8398bbf497b35068204390
7
- data.tar.gz: 6999f0fb1490422a929d9faa2de9daec7ada538fd17c27b6f6f5c19655068a08a5ed87c07a8aec49ab5ef8440353c914d4fc38136087af4cb1601384df4745ff
6
+ metadata.gz: b52d006e8587ea14318b48008f2c18a6ad79601307c1f7862eb72931e093c7db36258874236e74ca620ab753786e4c1a93e631f39146501d1143c719cc5f4e45
7
+ data.tar.gz: 8a9021aaa38e7f3f7a7a559e293b931fca19054b8dbe3d07e1502cf4ccb456cd8b9eaedb0415c2d3049c6a6371a0efcc0ae91af6cb6073177882b179c7ae539c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # NodeMutation
2
2
 
3
+ ## 1.25.0 (2025-12-30)
4
+
5
+ * Support ruby 4.0
6
+ * Drop support ruby 2.7, 3.0, 3.1
7
+
3
8
  ## 1.24.4 (2024-04-16)
4
9
 
5
10
  * Use Prism `character_offset` instead byte `offset`
data/Gemfile CHANGED
@@ -5,6 +5,8 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in node_mutation.gemspec
6
6
  gemspec
7
7
 
8
+ gem "ostruct", "~> 0.6"
9
+
8
10
  gem "rake", "~> 13.0"
9
11
 
10
12
  gem "rspec", "~> 3.0"
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- node_mutation (1.24.4)
4
+ node_mutation (1.25.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.2)
9
+ ast (2.4.3)
10
10
  coderay (1.1.3)
11
11
  diff-lcs (1.5.0)
12
12
  ffi (1.15.5)
@@ -34,19 +34,20 @@ GEM
34
34
  notiffany (0.1.3)
35
35
  nenv (~> 0.1)
36
36
  shellany (~> 0.0)
37
- parser (3.3.0.5)
37
+ ostruct (0.6.3)
38
+ parser (3.3.10.0)
38
39
  ast (~> 2.4.1)
39
40
  racc
40
- parser_node_ext (1.3.0)
41
+ parser_node_ext (1.4.2)
41
42
  parser
42
43
  prettier_print (1.2.1)
43
- prism (0.25.0)
44
- prism_ext (0.3.0)
44
+ prism (1.7.0)
45
+ prism_ext (0.4.2)
45
46
  prism
46
47
  pry (0.14.1)
47
48
  coderay (~> 1.1)
48
49
  method_source (~> 1.0)
49
- racc (1.7.3)
50
+ racc (1.8.1)
50
51
  rake (13.0.6)
51
52
  rb-fsevent (0.11.1)
52
53
  rb-inotify (0.10.1)
@@ -65,13 +66,15 @@ GEM
65
66
  rspec-support (~> 3.11.0)
66
67
  rspec-support (3.11.0)
67
68
  shellany (0.0.1)
68
- syntax_tree (6.2.0)
69
+ syntax_tree (6.3.0)
69
70
  prettier_print (>= 1.2.0)
70
- syntax_tree_ext (0.8.1)
71
+ syntax_tree_ext (0.9.2)
71
72
  syntax_tree
72
73
  thor (1.2.1)
73
74
 
74
75
  PLATFORMS
76
+ arm64-darwin-24
77
+ arm64-darwin-25
75
78
  x86_64-darwin-21
76
79
  x86_64-darwin-22
77
80
  x86_64-darwin-23
@@ -81,6 +84,7 @@ DEPENDENCIES
81
84
  guard
82
85
  guard-rspec
83
86
  node_mutation!
87
+ ostruct (~> 0.6)
84
88
  parser_node_ext
85
89
  prism_ext
86
90
  rake (~> 13.0)
@@ -88,4 +92,4 @@ DEPENDENCIES
88
92
  syntax_tree_ext
89
93
 
90
94
  BUNDLED WITH
91
- 2.3.7
95
+ 2.6.9
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class NodeMutation
4
- VERSION = "1.24.4"
4
+ VERSION = "1.25.0"
5
5
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = "ast node mutation apis"
12
12
  spec.description = "ast node mutation apis"
13
13
  spec.homepage = "https://github.com/synvert-hq/node-mutation-ruby"
14
- spec.required_ruby_version = ">= 2.6.0"
14
+ spec.required_ruby_version = ">= 2.7.0"
15
15
 
16
16
  spec.metadata["homepage_uri"] = spec.homepage
17
17
  spec.metadata["source_code_uri"] = "https://github.com/synvert-hq/node-mutation-ruby"
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: node_mutation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.4
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-04-16 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: ast node mutation apis
14
13
  email:
@@ -59,7 +58,6 @@ metadata:
59
58
  homepage_uri: https://github.com/synvert-hq/node-mutation-ruby
60
59
  source_code_uri: https://github.com/synvert-hq/node-mutation-ruby
61
60
  changelog_uri: https://github.com/synvert-hq/node-mutation-ruby/blob/master/CHANGELOG.md
62
- post_install_message:
63
61
  rdoc_options: []
64
62
  require_paths:
65
63
  - lib
@@ -67,15 +65,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
65
  requirements:
68
66
  - - ">="
69
67
  - !ruby/object:Gem::Version
70
- version: 2.6.0
68
+ version: 2.7.0
71
69
  required_rubygems_version: !ruby/object:Gem::Requirement
72
70
  requirements:
73
71
  - - ">="
74
72
  - !ruby/object:Gem::Version
75
73
  version: '0'
76
74
  requirements: []
77
- rubygems_version: 3.5.3
78
- signing_key:
75
+ rubygems_version: 3.6.9
79
76
  specification_version: 4
80
77
  summary: ast node mutation apis
81
78
  test_files: []