code-ruby 0.14.9 → 0.15.0

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: 6f8c092f9caea9085d02245863bb75bbbcbdc414688acaa740b0ef5e0668611f
4
- data.tar.gz: 7d9a30090a5c2fa7e52f10a95cb559e7875d1d20770a3b8d5f76d3ca19106d8e
3
+ metadata.gz: 05b2d916ed6c46782d47c40839e877d7b04e419f489db5b1f746beeed5214fdc
4
+ data.tar.gz: 49e2aabc1848bc0bd108497be3f5c5f0a6c3d081a35020da4ff30feb4c473be9
5
5
  SHA512:
6
- metadata.gz: 5d1bb3d411447697cd42924cd7d25c0ad4869938d3168fcc11a72d7e8e0f2b2d422f6afdbd929a3cb359904df775609ab9d84b9af9183c98d37f441306dc5be8
7
- data.tar.gz: 04c83d3c7e5d0228899569848de7e518aa619bb989ef385f5f3e78ea16866ebb910dcbf996cdbc5d582aff604576136d9f4d06c48206b6c0d391e92da75973ac
6
+ metadata.gz: 5f8049b904a8a62120f6c366ba2d184e870b978a1f493d88a3cf944c87f3c650ef5a045b58bbba2d317c7ade471eb71682df9e648db9651788cc289673788722
7
+ data.tar.gz: 3bcb40acff9339c3333f142334026678e81654f9886550951d70c19ead358f1f24dd967f7e85a3ee00691cd726ea133fe062345377a5fb9da874fa4b998125d3
@@ -17,7 +17,7 @@ jobs:
17
17
  - uses: actions/checkout@v4
18
18
  - uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 3.3.0
20
+ ruby-version: 3.3.1
21
21
  bundler-cache: true
22
22
  - run: bin/test
23
23
  rubocop:
data/.node-version ADDED
@@ -0,0 +1 @@
1
+ 21.7.2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.0
1
+ 3.3.3
data/.tool-versions CHANGED
@@ -1 +1,3 @@
1
- ruby 3.3.0
1
+ ruby 3.3.3
2
+ nodejs 21.7.2
3
+ yarn 1.22.22
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- ruby "3.3.0"
7
+ ruby "3.3.3"
8
8
 
9
9
  gem "bundler-audit"
10
10
  gem "rake"
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- code-ruby (0.14.9)
5
- activesupport (~> 7)
6
- bigdecimal (~> 3)
7
- did-you-mean (~> 0)
8
- json (~> 2)
9
- language-ruby (~> 0)
10
- zeitwerk (~> 2)
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.2)
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.7)
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.2.3)
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.4)
37
+ i18n (1.14.5)
38
38
  concurrent-ruby (~> 1.0)
39
- json (2.7.1)
40
- language-ruby (0.8.1)
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.22.3)
44
+ minitest (5.24.1)
45
45
  mutex_m (0.2.0)
46
- parallel (1.24.0)
47
- parser (3.3.0.5)
46
+ parallel (1.25.1)
47
+ parser (3.3.3.0)
48
48
  ast (~> 2.4.1)
49
49
  racc
50
- racc (1.7.3)
51
- rack (3.0.10)
50
+ racc (1.8.0)
51
+ rack (3.1.6)
52
52
  rainbow (3.1.1)
53
- rake (13.1.0)
54
- regexp_parser (2.9.0)
55
- rexml (3.2.6)
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.0)
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.0)
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.62.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.2)
81
- parser (>= 3.3.0.4)
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.0)
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.24.1)
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.13)
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.0p0
121
+ ruby 3.3.3p89
120
122
 
121
123
  BUNDLED WITH
122
- 2.5.7
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", "~> 7"
20
- s.add_dependency "bigdecimal", "~> 3"
21
- s.add_dependency "did-you-mean", "~> 0"
22
- s.add_dependency "json", "~> 2"
23
- s.add_dependency "language-ruby", "~> 0"
24
- s.add_dependency "zeitwerk", "~> 2"
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
@@ -2,4 +2,4 @@
2
2
 
3
3
  require_relative "../code"
4
4
 
5
- Code::Version = Gem::Version.new("0.14.9")
5
+ Code::Version = Gem::Version.new("0.15.0")
data/package.json CHANGED
@@ -1,3 +1,8 @@
1
1
  {
2
- "license": "MIT"
3
- }
2
+ "license": "MIT",
3
+ "engines": {
4
+ "node": "21.7.2",
5
+ "yarn": "1.22.22",
6
+ "npm": "10.5.1"
7
+ }
8
+ }
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.14.9
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-04-04 00:00:00.000000000 Z
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: '7'
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: '7'
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: '3'
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: '3'
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: '2'
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: '2'
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: '2'
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: '2'
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: 3.3.0
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.7
268
+ rubygems_version: 3.5.11
267
269
  signing_key:
268
270
  specification_version: 4
269
271
  summary: A programming language