language-ruby 0.8.3 → 0.9.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: bbaf1afd779ba4172ec4381a8f8139106a26e8ac2fad5cd5bd61d5cb603ef11b
4
- data.tar.gz: 86017152ef68f7ceea62653b4d5838bdd68eec4474b1e2c304402487fd1a1883
3
+ metadata.gz: 23aa8093d0def6916576d17ff85565ff939b5fa0ef0e98c5dac6213498ac3c3b
4
+ data.tar.gz: '0228c2735c450db9169755f798b12c259011bba15ba81cef01512908959bf476'
5
5
  SHA512:
6
- metadata.gz: d13e779f55790dcfca605550487cb0b43ed15012e3e49dc06646bf92ee218af31e3951ec6432dfca397e81f27aea48d6a9c3a82ba5e978f5f85aa58a2473e1bf
7
- data.tar.gz: f450cdab05c28c750cdd069d554e59ea6201ee457f09525ec7983deead74c58f83c6cd8f8f7672aae04766fdbd2e38a63891ea9f11219b648b8c57007698ad3e
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/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ inherit_gem:
2
+ rubocop-rails-omakase: rubocop.yml
3
+
4
+ Layout/SpaceInsideArrayLiteralBrackets:
5
+ Enabled: false
6
+
7
+ Performance/UnfreezeString:
8
+ Enabled: false
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.3)
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.3")
5
+ Language::Version = Gem::Version.new("0.9.0")
data/package.json ADDED
@@ -0,0 +1,8 @@
1
+ {
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.3
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-03 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,11 +33,14 @@ files:
33
33
  - ".github/dependabot.yml"
34
34
  - ".github/workflows/ci.yml"
35
35
  - ".gitignore"
36
+ - ".node-version"
36
37
  - ".rspec"
38
+ - ".rubocop.yml"
37
39
  - ".ruby-version"
38
40
  - ".tool-versions"
39
41
  - Gemfile
40
42
  - Gemfile.lock
43
+ - LICENSE
41
44
  - README.md
42
45
  - bin/rspec
43
46
  - bin/test
@@ -65,6 +68,7 @@ files:
65
68
  - lib/language/parser/str.rb
66
69
  - lib/language/parser/str/not_found.rb
67
70
  - lib/language/version.rb
71
+ - package.json
68
72
  - spec/language_spec.rb
69
73
  - spec/spec_helper.rb
70
74
  - yarn.lock
@@ -80,14 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
84
  requirements:
81
85
  - - ">="
82
86
  - !ruby/object:Gem::Version
83
- version: 3.3.0
87
+ version: '0'
84
88
  required_rubygems_version: !ruby/object:Gem::Requirement
85
89
  requirements:
86
90
  - - ">="
87
91
  - !ruby/object:Gem::Version
88
92
  version: '0'
89
93
  requirements: []
90
- rubygems_version: 3.5.3
94
+ rubygems_version: 3.5.11
91
95
  signing_key:
92
96
  specification_version: 4
93
97
  summary: A Parsing Expression Grammar (PEG) for making parsers