code-ruby 0.14.9 → 0.15.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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.node-version +1 -0
- data/.ruby-version +1 -1
- data/.tool-versions +3 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +33 -31
- data/LICENSE +19 -0
- data/code-ruby.gemspec +6 -8
- data/lib/code/version.rb +1 -1
- data/package.json +7 -2
- metadata +26 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05b2d916ed6c46782d47c40839e877d7b04e419f489db5b1f746beeed5214fdc
|
|
4
|
+
data.tar.gz: 49e2aabc1848bc0bd108497be3f5c5f0a6c3d081a35020da4ff30feb4c473be9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f8049b904a8a62120f6c366ba2d184e870b978a1f493d88a3cf944c87f3c650ef5a045b58bbba2d317c7ade471eb71682df9e648db9651788cc289673788722
|
|
7
|
+
data.tar.gz: 3bcb40acff9339c3333f142334026678e81654f9886550951d70c19ead358f1f24dd967f7e85a3ee00691cd726ea133fe062345377a5fb9da874fa4b998125d3
|
data/.github/workflows/ci.yml
CHANGED
data/.node-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
21.7.2
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.3.
|
|
1
|
+
3.3.3
|
data/.tool-versions
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
code-ruby (0.
|
|
5
|
-
activesupport
|
|
6
|
-
bigdecimal
|
|
7
|
-
did-you-mean
|
|
8
|
-
json
|
|
9
|
-
language-ruby
|
|
10
|
-
zeitwerk
|
|
4
|
+
code-ruby (0.15.0)
|
|
5
|
+
activesupport
|
|
6
|
+
bigdecimal
|
|
7
|
+
did-you-mean
|
|
8
|
+
json
|
|
9
|
+
language-ruby
|
|
10
|
+
zeitwerk
|
|
11
11
|
|
|
12
12
|
GEM
|
|
13
13
|
remote: https://rubygems.org/
|
|
14
14
|
specs:
|
|
15
|
-
activesupport (7.1.3.
|
|
15
|
+
activesupport (7.1.3.4)
|
|
16
16
|
base64
|
|
17
17
|
bigdecimal
|
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
@@ -24,49 +24,50 @@ GEM
|
|
|
24
24
|
tzinfo (~> 2.0)
|
|
25
25
|
ast (2.4.2)
|
|
26
26
|
base64 (0.2.0)
|
|
27
|
-
bigdecimal (3.1.
|
|
27
|
+
bigdecimal (3.1.8)
|
|
28
28
|
bundler-audit (0.9.1)
|
|
29
29
|
bundler (>= 1.2.0, < 3)
|
|
30
30
|
thor (~> 1.0)
|
|
31
|
-
concurrent-ruby (1.
|
|
31
|
+
concurrent-ruby (1.3.3)
|
|
32
32
|
connection_pool (2.4.1)
|
|
33
33
|
did-you-mean (0.1.1)
|
|
34
34
|
levenshtein (>= 0.2.0)
|
|
35
35
|
diff-lcs (1.5.1)
|
|
36
36
|
drb (2.2.1)
|
|
37
|
-
i18n (1.14.
|
|
37
|
+
i18n (1.14.5)
|
|
38
38
|
concurrent-ruby (~> 1.0)
|
|
39
|
-
json (2.7.
|
|
40
|
-
language-ruby (0.8.
|
|
39
|
+
json (2.7.2)
|
|
40
|
+
language-ruby (0.8.4)
|
|
41
41
|
zeitwerk (~> 2)
|
|
42
42
|
language_server-protocol (3.17.0.3)
|
|
43
43
|
levenshtein (0.2.2)
|
|
44
|
-
minitest (5.
|
|
44
|
+
minitest (5.24.1)
|
|
45
45
|
mutex_m (0.2.0)
|
|
46
|
-
parallel (1.
|
|
47
|
-
parser (3.3.0
|
|
46
|
+
parallel (1.25.1)
|
|
47
|
+
parser (3.3.3.0)
|
|
48
48
|
ast (~> 2.4.1)
|
|
49
49
|
racc
|
|
50
|
-
racc (1.
|
|
51
|
-
rack (3.
|
|
50
|
+
racc (1.8.0)
|
|
51
|
+
rack (3.1.6)
|
|
52
52
|
rainbow (3.1.1)
|
|
53
|
-
rake (13.1
|
|
54
|
-
regexp_parser (2.9.
|
|
55
|
-
rexml (3.
|
|
53
|
+
rake (13.2.1)
|
|
54
|
+
regexp_parser (2.9.2)
|
|
55
|
+
rexml (3.3.1)
|
|
56
|
+
strscan
|
|
56
57
|
rspec (3.13.0)
|
|
57
58
|
rspec-core (~> 3.13.0)
|
|
58
59
|
rspec-expectations (~> 3.13.0)
|
|
59
60
|
rspec-mocks (~> 3.13.0)
|
|
60
61
|
rspec-core (3.13.0)
|
|
61
62
|
rspec-support (~> 3.13.0)
|
|
62
|
-
rspec-expectations (3.13.
|
|
63
|
+
rspec-expectations (3.13.1)
|
|
63
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
64
65
|
rspec-support (~> 3.13.0)
|
|
65
|
-
rspec-mocks (3.13.
|
|
66
|
+
rspec-mocks (3.13.1)
|
|
66
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
67
68
|
rspec-support (~> 3.13.0)
|
|
68
69
|
rspec-support (3.13.1)
|
|
69
|
-
rubocop (1.
|
|
70
|
+
rubocop (1.64.1)
|
|
70
71
|
json (~> 2.3)
|
|
71
72
|
language_server-protocol (>= 3.17.0)
|
|
72
73
|
parallel (~> 1.10)
|
|
@@ -77,15 +78,15 @@ GEM
|
|
|
77
78
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
78
79
|
ruby-progressbar (~> 1.7)
|
|
79
80
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
80
|
-
rubocop-ast (1.31.
|
|
81
|
-
parser (>= 3.3.0
|
|
81
|
+
rubocop-ast (1.31.3)
|
|
82
|
+
parser (>= 3.3.1.0)
|
|
82
83
|
rubocop-minitest (0.35.0)
|
|
83
84
|
rubocop (>= 1.61, < 2.0)
|
|
84
85
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
85
|
-
rubocop-performance (1.21.
|
|
86
|
+
rubocop-performance (1.21.1)
|
|
86
87
|
rubocop (>= 1.48.1, < 2.0)
|
|
87
88
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
88
|
-
rubocop-rails (2.
|
|
89
|
+
rubocop-rails (2.25.1)
|
|
89
90
|
activesupport (>= 4.2.0)
|
|
90
91
|
rack (>= 1.1)
|
|
91
92
|
rubocop (>= 1.33.0, < 2.0)
|
|
@@ -97,11 +98,12 @@ GEM
|
|
|
97
98
|
rubocop-rails
|
|
98
99
|
ruby-prof (1.7.0)
|
|
99
100
|
ruby-progressbar (1.13.0)
|
|
101
|
+
strscan (3.1.0)
|
|
100
102
|
thor (1.3.1)
|
|
101
103
|
tzinfo (2.0.6)
|
|
102
104
|
concurrent-ruby (~> 1.0)
|
|
103
105
|
unicode-display_width (2.5.0)
|
|
104
|
-
zeitwerk (2.6.
|
|
106
|
+
zeitwerk (2.6.16)
|
|
105
107
|
|
|
106
108
|
PLATFORMS
|
|
107
109
|
arm64-darwin-23
|
|
@@ -116,7 +118,7 @@ DEPENDENCIES
|
|
|
116
118
|
ruby-prof
|
|
117
119
|
|
|
118
120
|
RUBY VERSION
|
|
119
|
-
ruby 3.3.
|
|
121
|
+
ruby 3.3.3p89
|
|
120
122
|
|
|
121
123
|
BUNDLED WITH
|
|
122
|
-
2.5.
|
|
124
|
+
2.5.14
|
data/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2024 Dorian Marié <dorian@dorianmarie.com>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the “Software”), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to
|
|
8
|
+
do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
|
11
|
+
all copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
16
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
THE SOFTWARE.
|
data/code-ruby.gemspec
CHANGED
|
@@ -16,12 +16,10 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.license = "MIT"
|
|
17
17
|
s.executables = "code"
|
|
18
18
|
|
|
19
|
-
s.add_dependency "activesupport"
|
|
20
|
-
s.add_dependency "bigdecimal"
|
|
21
|
-
s.add_dependency "did-you-mean"
|
|
22
|
-
s.add_dependency "json"
|
|
23
|
-
s.add_dependency "language-ruby"
|
|
24
|
-
s.add_dependency "zeitwerk"
|
|
25
|
-
|
|
26
|
-
s.required_ruby_version = ">= 3.3.0"
|
|
19
|
+
s.add_dependency "activesupport"
|
|
20
|
+
s.add_dependency "bigdecimal"
|
|
21
|
+
s.add_dependency "did-you-mean"
|
|
22
|
+
s.add_dependency "json"
|
|
23
|
+
s.add_dependency "language-ruby"
|
|
24
|
+
s.add_dependency "zeitwerk"
|
|
27
25
|
end
|
data/lib/code/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: code-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dorian Marié
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
26
|
+
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bigdecimal
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
40
|
+
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: did-you-mean
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: json
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - "
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
61
|
+
version: '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: '
|
|
68
|
+
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: language-ruby
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: zeitwerk
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
89
|
+
version: '0'
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
96
|
+
version: '0'
|
|
97
97
|
description: 'A programming language, like Code.evaluate("1 + 1") # => 2'
|
|
98
98
|
email: dorian@dorianmarie.fr
|
|
99
99
|
executables:
|
|
@@ -104,12 +104,14 @@ files:
|
|
|
104
104
|
- ".github/dependabot.yml"
|
|
105
105
|
- ".github/workflows/ci.yml"
|
|
106
106
|
- ".gitignore"
|
|
107
|
+
- ".node-version"
|
|
107
108
|
- ".rspec"
|
|
108
109
|
- ".rubocop.yml"
|
|
109
110
|
- ".ruby-version"
|
|
110
111
|
- ".tool-versions"
|
|
111
112
|
- Gemfile
|
|
112
113
|
- Gemfile.lock
|
|
114
|
+
- LICENSE
|
|
113
115
|
- README.md
|
|
114
116
|
- Rakefile
|
|
115
117
|
- bin/bundle-audit
|
|
@@ -256,14 +258,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
256
258
|
requirements:
|
|
257
259
|
- - ">="
|
|
258
260
|
- !ruby/object:Gem::Version
|
|
259
|
-
version:
|
|
261
|
+
version: '0'
|
|
260
262
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
263
|
requirements:
|
|
262
264
|
- - ">="
|
|
263
265
|
- !ruby/object:Gem::Version
|
|
264
266
|
version: '0'
|
|
265
267
|
requirements: []
|
|
266
|
-
rubygems_version: 3.5.
|
|
268
|
+
rubygems_version: 3.5.11
|
|
267
269
|
signing_key:
|
|
268
270
|
specification_version: 4
|
|
269
271
|
summary: A programming language
|