synvert-core 2.1.0 → 2.1.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 -0
- data/Gemfile.lock +4 -4
- data/lib/synvert/core/rewriter/ruby_version.rb +1 -0
- data/lib/synvert/core/version.rb +1 -1
- data/spec/synvert/core/rewriter/ruby_version_spec.rb +6 -0
- data/synvert-core-ruby.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e457956d0490a430af778dd3f27e25d039d8f7931af1ba5d7bdbe7d0f9bc0f11
|
4
|
+
data.tar.gz: d96e8bd44fa2ffd236f406db758cb91ce2a2e0d09947b7595cd64e1f3a3bac7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8fe59e92b8452e4b14748d678f7e41b98e021690e38a4ddda89ec27c435a9d69fc9f050f0fd34fef61f1d420e90ddbe99576716b5f660e5daded4f76a98cff6
|
7
|
+
data.tar.gz: aa8e06a6b49b5e155f7d049c5aa60f87e3bdc25e6a47d1ef344e9dd2dd07deff51cc581dd4028e3b2007d4c2d80779bf87cda7508647091d25d44af9184cdb5b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
synvert-core (2.1.
|
4
|
+
synvert-core (2.1.1)
|
5
5
|
activesupport
|
6
6
|
node_mutation (>= 1.24.4)
|
7
7
|
node_query (>= 1.15.3)
|
8
|
-
node_visitor (>= 1.0
|
8
|
+
node_visitor (>= 1.1.0)
|
9
9
|
parallel
|
10
10
|
parser
|
11
11
|
parser_node_ext (>= 1.3.2)
|
@@ -59,12 +59,12 @@ GEM
|
|
59
59
|
rb-inotify (~> 0.9, >= 0.9.10)
|
60
60
|
lumberjack (1.2.10)
|
61
61
|
method_source (1.1.0)
|
62
|
-
minitest (5.24.
|
62
|
+
minitest (5.24.1)
|
63
63
|
mutex_m (0.2.0)
|
64
64
|
nenv (0.3.0)
|
65
65
|
node_mutation (1.24.4)
|
66
66
|
node_query (1.15.3)
|
67
|
-
node_visitor (1.0
|
67
|
+
node_visitor (1.1.0)
|
68
68
|
notiffany (0.1.3)
|
69
69
|
nenv (~> 0.1)
|
70
70
|
shellany (~> 0.0)
|
data/lib/synvert/core/version.rb
CHANGED
@@ -25,5 +25,11 @@ module Synvert::Core
|
|
25
25
|
expect(ruby_version).to be_match
|
26
26
|
Configuration.strict = true
|
27
27
|
end
|
28
|
+
|
29
|
+
it 'returns true if ruby version is ruby-3.0.0\n' do
|
30
|
+
allow(File).to receive(:read).with('./.ruby-version').and_return("ruby-3.0.0\n")
|
31
|
+
ruby_version = Rewriter::RubyVersion.new('1.9')
|
32
|
+
expect(ruby_version).to be_match
|
33
|
+
end
|
28
34
|
end
|
29
35
|
end
|
data/synvert-core-ruby.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_runtime_dependency "activesupport"
|
23
23
|
spec.add_runtime_dependency "node_query", ">= 1.15.3"
|
24
24
|
spec.add_runtime_dependency "node_mutation", ">= 1.24.4"
|
25
|
-
spec.add_runtime_dependency "node_visitor", ">= 1.0
|
25
|
+
spec.add_runtime_dependency "node_visitor", ">= 1.1.0"
|
26
26
|
spec.add_runtime_dependency "parser"
|
27
27
|
spec.add_runtime_dependency "parser_node_ext", ">= 1.3.2"
|
28
28
|
spec.add_runtime_dependency "syntax_tree"
|
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: 2.1.
|
4
|
+
version: 2.1.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: 2024-
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0
|
61
|
+
version: 1.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.0
|
68
|
+
version: 1.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: parser
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|