language-ruby 0.8.4 → 0.9.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: 8f78a75eba258848b7b2a8c74cd49b1be6b6518b51952d90eb4406bf4a157fec
4
- data.tar.gz: 9aa0aed5880daae4f842fb31e46b391b207a183fb707cc67f0f519173f522560
3
+ metadata.gz: 23aa8093d0def6916576d17ff85565ff939b5fa0ef0e98c5dac6213498ac3c3b
4
+ data.tar.gz: '0228c2735c450db9169755f798b12c259011bba15ba81cef01512908959bf476'
5
5
  SHA512:
6
- metadata.gz: ed2ace8e9a1d78adb4d12396add7ee0a05c0d2878b6fe77fd8b9391adf1c9c766cee08f0245c27c81be2ef036afc5c1c9621eceaa21160673047d6f580d2efc6
7
- data.tar.gz: 6611a2ad445a3ce262cb2185bfee60888571fc02a597507c8f8cac9f947ae2e341b19167b908fc65f1e482f663302a557fc20e2fd1fa306d1f5bb8b89726ac54
6
+ metadata.gz: e89be75b3afb9f7ff85f4db617330b5e1f971d1af375a133687d20b373bb18c8012e45ad4ac5d4a0c4d1e3a9e9b65e2dd7f795ec28b513edb772c138482be0da
7
+ data.tar.gz: 8c6ccb5d66c6d77aa2d7fc5c50feb80c97f55427b197ed2339964a0ef15266e258b0c490e2327d0bf5a20d82937559fc3c992184079cfaf3183e85e038e744d1
@@ -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 "rspec"
10
10
  gem "rubocop-rails-omakase"
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- language-ruby (0.8.4)
5
- zeitwerk (~> 2)
4
+ language-ruby (0.9.0)
5
+ zeitwerk
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.1.3.2)
10
+ activesupport (7.1.3.4)
11
11
  base64
12
12
  bigdecimal
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -19,40 +19,41 @@ GEM
19
19
  tzinfo (~> 2.0)
20
20
  ast (2.4.2)
21
21
  base64 (0.2.0)
22
- bigdecimal (3.1.7)
23
- concurrent-ruby (1.2.3)
22
+ bigdecimal (3.1.8)
23
+ concurrent-ruby (1.3.3)
24
24
  connection_pool (2.4.1)
25
25
  diff-lcs (1.5.1)
26
26
  drb (2.2.1)
27
- i18n (1.14.4)
27
+ i18n (1.14.5)
28
28
  concurrent-ruby (~> 1.0)
29
- json (2.7.1)
29
+ json (2.7.2)
30
30
  language_server-protocol (3.17.0.3)
31
- minitest (5.22.3)
31
+ minitest (5.24.1)
32
32
  mutex_m (0.2.0)
33
- parallel (1.24.0)
34
- parser (3.3.0.5)
33
+ parallel (1.25.1)
34
+ parser (3.3.3.0)
35
35
  ast (~> 2.4.1)
36
36
  racc
37
- racc (1.7.3)
38
- rack (3.0.10)
37
+ racc (1.8.0)
38
+ rack (3.1.6)
39
39
  rainbow (3.1.1)
40
- regexp_parser (2.9.0)
41
- rexml (3.2.6)
40
+ regexp_parser (2.9.2)
41
+ rexml (3.3.1)
42
+ strscan
42
43
  rspec (3.13.0)
43
44
  rspec-core (~> 3.13.0)
44
45
  rspec-expectations (~> 3.13.0)
45
46
  rspec-mocks (~> 3.13.0)
46
47
  rspec-core (3.13.0)
47
48
  rspec-support (~> 3.13.0)
48
- rspec-expectations (3.13.0)
49
+ rspec-expectations (3.13.1)
49
50
  diff-lcs (>= 1.2.0, < 2.0)
50
51
  rspec-support (~> 3.13.0)
51
- rspec-mocks (3.13.0)
52
+ rspec-mocks (3.13.1)
52
53
  diff-lcs (>= 1.2.0, < 2.0)
53
54
  rspec-support (~> 3.13.0)
54
55
  rspec-support (3.13.1)
55
- rubocop (1.62.1)
56
+ rubocop (1.64.1)
56
57
  json (~> 2.3)
57
58
  language_server-protocol (>= 3.17.0)
58
59
  parallel (~> 1.10)
@@ -63,15 +64,15 @@ GEM
63
64
  rubocop-ast (>= 1.31.1, < 2.0)
64
65
  ruby-progressbar (~> 1.7)
65
66
  unicode-display_width (>= 2.4.0, < 3.0)
66
- rubocop-ast (1.31.2)
67
- parser (>= 3.3.0.4)
67
+ rubocop-ast (1.31.3)
68
+ parser (>= 3.3.1.0)
68
69
  rubocop-minitest (0.35.0)
69
70
  rubocop (>= 1.61, < 2.0)
70
71
  rubocop-ast (>= 1.31.1, < 2.0)
71
- rubocop-performance (1.21.0)
72
+ rubocop-performance (1.21.1)
72
73
  rubocop (>= 1.48.1, < 2.0)
73
74
  rubocop-ast (>= 1.31.1, < 2.0)
74
- rubocop-rails (2.24.1)
75
+ rubocop-rails (2.25.1)
75
76
  activesupport (>= 4.2.0)
76
77
  rack (>= 1.1)
77
78
  rubocop (>= 1.33.0, < 2.0)
@@ -82,10 +83,11 @@ GEM
82
83
  rubocop-performance
83
84
  rubocop-rails
84
85
  ruby-progressbar (1.13.0)
86
+ strscan (3.1.0)
85
87
  tzinfo (2.0.6)
86
88
  concurrent-ruby (~> 1.0)
87
89
  unicode-display_width (2.5.0)
88
- zeitwerk (2.6.13)
90
+ zeitwerk (2.6.16)
89
91
 
90
92
  PLATFORMS
91
93
  arm64-darwin-22
@@ -97,7 +99,7 @@ DEPENDENCIES
97
99
  rubocop-rails-omakase
98
100
 
99
101
  RUBY VERSION
100
- ruby 3.3.0p0
102
+ ruby 3.3.3p89
101
103
 
102
104
  BUNDLED WITH
103
- 2.5.7
105
+ 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.
@@ -14,8 +14,5 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = ["lib"]
15
15
  s.homepage = "https://github.com/dorianmariecom/language-ruby"
16
16
  s.license = "MIT"
17
-
18
- s.add_dependency "zeitwerk", "~> 2"
19
-
20
- s.required_ruby_version = ">= 3.3.0"
17
+ s.add_dependency "zeitwerk"
21
18
  end
@@ -30,7 +30,7 @@ class Language
30
30
  minimum = @minimum.zero? ? "" : @minimum.to_s
31
31
  maximum = @maximum.nil? ? "" : ", #{@maximum}"
32
32
  parenthesis =
33
- minimum.empty? && maximum.empty? ? "" : "(#{minimum}#{maximum})"
33
+ (minimum.empty? && maximum.empty?) ? "" : "(#{minimum}#{maximum})"
34
34
 
35
35
  @parent ? "(#{@parent}).repeat#{parenthesis}" : "repeat#{parenthesis}"
36
36
  end
@@ -2,4 +2,4 @@
2
2
 
3
3
  require_relative "../language"
4
4
 
5
- Language::Version = Gem::Version.new("0.8.4")
5
+ Language::Version = Gem::Version.new("0.9.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,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: language-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.9.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: zeitwerk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2'
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: '2'
26
+ version: '0'
27
27
  description: A Parsing Expression Grammar (PEG) for making parsers
28
28
  email: dorian@dorianmarie.fr
29
29
  executables: []
@@ -33,12 +33,14 @@ files:
33
33
  - ".github/dependabot.yml"
34
34
  - ".github/workflows/ci.yml"
35
35
  - ".gitignore"
36
+ - ".node-version"
36
37
  - ".rspec"
37
38
  - ".rubocop.yml"
38
39
  - ".ruby-version"
39
40
  - ".tool-versions"
40
41
  - Gemfile
41
42
  - Gemfile.lock
43
+ - LICENSE
42
44
  - README.md
43
45
  - bin/rspec
44
46
  - bin/test
@@ -82,14 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
84
  requirements:
83
85
  - - ">="
84
86
  - !ruby/object:Gem::Version
85
- version: 3.3.0
87
+ version: '0'
86
88
  required_rubygems_version: !ruby/object:Gem::Requirement
87
89
  requirements:
88
90
  - - ">="
89
91
  - !ruby/object:Gem::Version
90
92
  version: '0'
91
93
  requirements: []
92
- rubygems_version: 3.5.7
94
+ rubygems_version: 3.5.11
93
95
  signing_key:
94
96
  specification_version: 4
95
97
  summary: A Parsing Expression Grammar (PEG) for making parsers