Skip to content

Commit e0669fa

Browse files
committed
chore: update all ruby deps and structure
1 parent c3db643 commit e0669fa

7 files changed

Lines changed: 76 additions & 9 deletions

File tree

.codacy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
23
exclude_paths:
34
- .github/**
45

.github/workflows/general.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
run: bundle exec rake rubocop
3232

3333
- name: Run test
34-
run: bundle exec rake test
34+
run: bundle exec rake spec
3535

3636
...

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2+
# yaml-language-server: $schema=https://www.rubyschema.org/rubocop.json
23
AllCops:
4+
SuggestExtensions: false
35
NewCops: enable
46

57
Naming/FileName:

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
gem "rake", "~> 13.0"
6-
gem "rubocop", "~> 1.48", require: false
5+
gem "rake", "~> 13.3.0"
6+
gem "rexml", ">= 3.3.2", "< 4.0"
7+
gem "rspec", "~> 3.13.0"
8+
gem "rubocop", "~> 1.82.0", require: false

Gemfile.lock

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
ast (2.4.3)
5+
diff-lcs (1.6.2)
6+
json (2.18.0)
7+
language_server-protocol (3.17.0.5)
8+
lint_roller (1.1.0)
9+
parallel (1.27.0)
10+
parser (3.3.10.0)
11+
ast (~> 2.4.1)
12+
racc
13+
prism (1.7.0)
14+
racc (1.8.1)
15+
rainbow (3.1.1)
16+
rake (13.3.1)
17+
regexp_parser (2.11.3)
18+
rexml (3.4.4)
19+
rspec (3.13.2)
20+
rspec-core (~> 3.13.0)
21+
rspec-expectations (~> 3.13.0)
22+
rspec-mocks (~> 3.13.0)
23+
rspec-core (3.13.6)
24+
rspec-support (~> 3.13.0)
25+
rspec-expectations (3.13.5)
26+
diff-lcs (>= 1.2.0, < 2.0)
27+
rspec-support (~> 3.13.0)
28+
rspec-mocks (3.13.7)
29+
diff-lcs (>= 1.2.0, < 2.0)
30+
rspec-support (~> 3.13.0)
31+
rspec-support (3.13.6)
32+
rubocop (1.82.1)
33+
json (~> 2.3)
34+
language_server-protocol (~> 3.17.0.2)
35+
lint_roller (~> 1.1.0)
36+
parallel (~> 1.10)
37+
parser (>= 3.3.0.2)
38+
rainbow (>= 2.2.2, < 4.0)
39+
regexp_parser (>= 2.9.3, < 3.0)
40+
rubocop-ast (>= 1.48.0, < 2.0)
41+
ruby-progressbar (~> 1.7)
42+
unicode-display_width (>= 2.4.0, < 4.0)
43+
rubocop-ast (1.49.0)
44+
parser (>= 3.3.7.2)
45+
prism (~> 1.7)
46+
ruby-progressbar (1.13.0)
47+
unicode-display_width (3.2.0)
48+
unicode-emoji (~> 4.1)
49+
unicode-emoji (4.2.0)
50+
51+
PLATFORMS
52+
arm64-darwin-25
53+
ruby
54+
55+
DEPENDENCIES
56+
rake (~> 13.3.0)
57+
rexml (>= 3.3.2, < 4.0)
58+
rspec (~> 3.13.0)
59+
rubocop (~> 1.82.0)
60+
61+
BUNDLED WITH
62+
2.7.2

Rakefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# frozen_string_literal: true
22

3+
require "rspec/core/rake_task"
4+
RSpec::Core::RakeTask.new(:spec)
5+
36
require "rubocop/rake_task"
4-
RuboCop::RakeTask.new
7+
RuboCop::RakeTask.new(:rubocop)
58

6-
desc "simple tests on homebrew scripts"
7-
task :test do
8-
puts "should do some useful tests now..."
9-
end
9+
task default: %i[spec rubocop]

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
languages = {
6868
ruby = {
6969
enable = true;
70-
package = pkgs.ruby_3_4;
70+
package = pkgs.ruby_4_0;
7171
};
7272
};
7373

0 commit comments

Comments
 (0)