Skip to content

Commit 7c1dc26

Browse files
authored
Merge pull request standardrb#5 from mjankowski/sync-versions
Version and style sync across `standard-` repos
2 parents 0c37b17 + d0fd7b5 commit 7c1dc26

File tree

5 files changed

+46
-20
lines changed

5 files changed

+46
-20
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ${{ matrix.os }}
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- name: Set up Ruby ${{ matrix.ruby-version }}
3030
uses: ruby/setup-ruby@v1
3131
with:

Gemfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ source "https://rubygems.org"
33
# Specify your gem's dependencies in lint_roller.gemspec
44
gemspec
55

6-
gem "rake"
6+
gem "m"
77
gem "minitest"
8+
gem "rake"
9+
gem "simplecov"
810
gem "standard"
9-
gem "m"

Gemfile.lock

+33-16
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,59 @@ GEM
77
remote: https://rubygems.org/
88
specs:
99
ast (2.4.2)
10-
json (2.6.3)
10+
docile (1.4.1)
11+
json (2.8.1)
1112
language_server-protocol (3.17.0.3)
1213
m (1.6.1)
1314
method_source (>= 0.6.7)
1415
rake (>= 0.9.2.2)
1516
method_source (1.0.0)
1617
minitest (5.18.0)
17-
parallel (1.22.1)
18+
parallel (1.26.3)
1819
parser (3.3.6.0)
1920
ast (~> 2.4.1)
2021
racc
2122
racc (1.8.1)
2223
rainbow (3.1.1)
2324
rake (13.0.6)
24-
regexp_parser (2.7.0)
25-
rexml (3.2.5)
26-
rubocop (1.48.1)
25+
regexp_parser (2.9.2)
26+
rexml (3.3.9)
27+
rubocop (1.64.1)
2728
json (~> 2.3)
29+
language_server-protocol (>= 3.17.0)
2830
parallel (~> 1.10)
29-
parser (>= 3.2.0.0)
31+
parser (>= 3.3.0.2)
3032
rainbow (>= 2.2.2, < 4.0)
3133
regexp_parser (>= 1.8, < 3.0)
3234
rexml (>= 3.2.5, < 4.0)
33-
rubocop-ast (>= 1.26.0, < 2.0)
35+
rubocop-ast (>= 1.31.1, < 2.0)
3436
ruby-progressbar (~> 1.7)
3537
unicode-display_width (>= 2.4.0, < 3.0)
36-
rubocop-ast (1.28.0)
37-
parser (>= 3.2.1.0)
38-
rubocop-performance (1.16.0)
39-
rubocop (>= 1.7.0, < 2.0)
40-
rubocop-ast (>= 0.4.0)
38+
rubocop-ast (1.34.1)
39+
parser (>= 3.3.1.0)
40+
rubocop-performance (1.21.1)
41+
rubocop (>= 1.48.1, < 2.0)
42+
rubocop-ast (>= 1.31.1, < 2.0)
4143
ruby-progressbar (1.13.0)
42-
standard (1.26.0)
44+
simplecov (0.22.0)
45+
docile (~> 1.1)
46+
simplecov-html (~> 0.11)
47+
simplecov_json_formatter (~> 0.1)
48+
simplecov-html (0.13.1)
49+
simplecov_json_formatter (0.1.4)
50+
standard (1.37.0)
4351
language_server-protocol (~> 3.17.0.2)
44-
rubocop (~> 1.48.1)
45-
rubocop-performance (~> 1.16.0)
46-
unicode-display_width (2.4.2)
52+
lint_roller (~> 1.0)
53+
rubocop (~> 1.64.0)
54+
standard-custom (~> 1.0.0)
55+
standard-performance (~> 1.4)
56+
standard-custom (1.0.2)
57+
lint_roller (~> 1.0)
58+
rubocop (~> 1.50)
59+
standard-performance (1.4.0)
60+
lint_roller (~> 1.1)
61+
rubocop-performance (~> 1.21.0)
62+
unicode-display_width (2.6.0)
4763

4864
PLATFORMS
4965
arm64-darwin-22
@@ -55,6 +71,7 @@ DEPENDENCIES
5571
m
5672
minitest
5773
rake
74+
simplecov
5875
standard
5976

6077
BUNDLED WITH

test/lib/plugin_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_sample_roller
6565
), SampleRoller.new.rules(Context.new)
6666
assert_equal Rules.new(
6767
error: Error.new("Unexpected Boom")
68-
), SampleRoller.new({💥: true}).rules(Context.new)
68+
), SampleRoller.new({:💥 => true}).rules(Context.new)
6969
end
7070
end
7171
end

test/test_helper.rb

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
2+
begin
3+
require "simplecov"
4+
SimpleCov.start do
5+
load_profile "test_frameworks"
6+
end
7+
rescue LoadError
8+
end
9+
210
require "lint_roller"
311

412
require "minitest/autorun"

0 commit comments

Comments
 (0)