standard-rails 0.1.0 → 1.0.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: 0d8f82a084fe4ff317a8e3d62666fbaffc7ffe522aa07c7d79cad211cd545a81
4
- data.tar.gz: 1826baad658442833a6ccbd87d201581f9cfb21e479046e8fb79deccbc1b23db
3
+ metadata.gz: 6df4391f1643cf7182142c98baf7b9d33b0aa51a92878829d6de1622f9b44092
4
+ data.tar.gz: be681bb55367b1374b5aad990b0b3528e6fc89d1627d42b015315bd542022c61
5
5
  SHA512:
6
- metadata.gz: 7b1e95ca9e40fc91e4dc6ff21d5a5b59c65fdf3f8b1814444648f5147c171eb0b0be15d6b349e41d6e683487c61f3e4ccebbb20964cdb6c929c9c8c3f69f1ca2
7
- data.tar.gz: c7353988d76a4bfb252395fd85960831750a07e899c0ae1f5b87c333ef5717d0755723e91cff1c6222439511cbba2dd969f7b9f6dff7e4c0791cc490f82afb5e
6
+ metadata.gz: 9abed8ffd41b108a7b986a0f190db3c99e3287d744d69fb90a79bea930b1e9ccf8840d9c1dff92e0565c77dc0eb3c3e8671803642d0e3d1c5dd6e3d9f1017881
7
+ data.tar.gz: b2287c190702ecc615acd8312b96735280dd19a3b41210e9358a71b7bfb3bd65af84e187ef00174b698e1ebee68923a84e60267928bc2c417d5bbcf03f1693b7
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- ## [Unreleased]
1
+ ## [1.0.0]
2
+
3
+ - Update Rubocop Rails to [v2.23.1](https://github.com/rubocop/rubocop-rails/releases/tag/v2.23.1)
4
+ - First time fully configured. This was done partly in consultation at [Test Double](https://testdouble.com/) and partly through [this fantastic RailsConf talk in 2023](https://www.youtube.com/watch?v=QVilOzkLdlI)!
5
+
6
+ ## [0.2.0]
7
+
8
+ - Update Rubocop Rails to [v2.20.2](https://github.com/rubocop/rubocop-rails/releases/tag/v2.20.2)
2
9
 
3
10
  ## [0.1.0]
4
11
 
data/Gemfile.lock CHANGED
@@ -1,67 +1,83 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard-rails (0.1.0)
4
+ standard-rails (1.0.0)
5
5
  lint_roller (~> 1.0)
6
- rubocop-rails (~> 2.19.0)
6
+ rubocop-rails (~> 2.23.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4.3)
11
+ activesupport (7.0.7.2)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
16
  ast (2.4.2)
17
+ base64 (0.1.1)
17
18
  concurrent-ruby (1.2.2)
18
- i18n (1.12.0)
19
+ i18n (1.14.1)
19
20
  concurrent-ruby (~> 1.0)
20
21
  json (2.6.3)
21
22
  language_server-protocol (3.17.0.3)
22
- lint_roller (1.0.0)
23
+ lint_roller (1.1.0)
23
24
  m (1.6.1)
24
25
  method_source (>= 0.6.7)
25
26
  rake (>= 0.9.2.2)
26
27
  method_source (1.0.0)
27
- minitest (5.18.0)
28
- parallel (1.22.1)
29
- parser (3.2.2.0)
28
+ minitest (5.20.0)
29
+ parallel (1.23.0)
30
+ parser (3.2.2.3)
30
31
  ast (~> 2.4.1)
31
- rack (3.0.7)
32
+ racc
33
+ racc (1.7.1)
34
+ rack (3.0.8)
32
35
  rainbow (3.1.1)
33
36
  rake (13.0.6)
34
- regexp_parser (2.7.0)
35
- rexml (3.2.5)
36
- rubocop (1.48.1)
37
+ regexp_parser (2.8.1)
38
+ rexml (3.2.6)
39
+ rubocop (1.56.2)
40
+ base64 (~> 0.1.1)
37
41
  json (~> 2.3)
42
+ language_server-protocol (>= 3.17.0)
38
43
  parallel (~> 1.10)
39
- parser (>= 3.2.0.0)
44
+ parser (>= 3.2.2.3)
40
45
  rainbow (>= 2.2.2, < 4.0)
41
46
  regexp_parser (>= 1.8, < 3.0)
42
47
  rexml (>= 3.2.5, < 4.0)
43
- rubocop-ast (>= 1.26.0, < 2.0)
48
+ rubocop-ast (>= 1.28.1, < 2.0)
44
49
  ruby-progressbar (~> 1.7)
45
50
  unicode-display_width (>= 2.4.0, < 3.0)
46
- rubocop-ast (1.28.0)
51
+ rubocop-ast (1.30.0)
47
52
  parser (>= 3.2.1.0)
48
- rubocop-performance (1.16.0)
53
+ rubocop-performance (1.19.0)
49
54
  rubocop (>= 1.7.0, < 2.0)
50
55
  rubocop-ast (>= 0.4.0)
51
- rubocop-rails (2.19.1)
56
+ rubocop-rails (2.23.1)
52
57
  activesupport (>= 4.2.0)
53
58
  rack (>= 1.1)
54
59
  rubocop (>= 1.33.0, < 2.0)
60
+ rubocop-ast (>= 1.30.0, < 2.0)
55
61
  ruby-progressbar (1.13.0)
56
- standard (1.26.0)
62
+ standard (1.31.0)
57
63
  language_server-protocol (~> 3.17.0.2)
58
- rubocop (~> 1.48.1)
59
- rubocop-performance (~> 1.16.0)
64
+ lint_roller (~> 1.0)
65
+ rubocop (~> 1.56.0)
66
+ standard-custom (~> 1.0.0)
67
+ standard-performance (~> 1.2)
68
+ standard-custom (1.0.2)
69
+ lint_roller (~> 1.0)
70
+ rubocop (~> 1.50)
71
+ standard-performance (1.2.0)
72
+ lint_roller (~> 1.1)
73
+ rubocop-performance (~> 1.19.0)
60
74
  tzinfo (2.0.6)
61
75
  concurrent-ruby (~> 1.0)
62
76
  unicode-display_width (2.4.2)
63
77
 
64
78
  PLATFORMS
79
+ arm64-darwin-20
80
+ arm64-darwin-21
65
81
  arm64-darwin-22
66
82
  x86_64-linux
67
83
 
data/README.md CHANGED
@@ -6,24 +6,29 @@ plugin configuration for the
6
6
  as an extension to the [Standard Ruby
7
7
  gem](https://github.com/standardrb/standard).
8
8
 
9
- To install it, you'll want to start by adding it to your Gemfile:
9
+ ## Usage
10
+
11
+ First, if you haven't already, get your app set up to [run with the `standard`
12
+ gem](https://github.com/standardrb/standard#usage)
13
+
14
+ Next, to add the `standard-rails` plugin, you'll want to start by adding it to your Gemfile:
10
15
 
11
16
  ```ruby
12
- gem "standard-rails"
17
+ gem "standard-rails", group: [:development, :test]
13
18
  ```
14
19
 
15
- ## Configuration
16
-
17
- In your `.standard.yml` file, you can simply list `standard-rails` as a plugin:
20
+ Next, in your [`.standard.yml` file](https://github.com/standardrb/standard#yaml-options),
21
+ list `standard-rails` as a plugin:
18
22
 
19
23
  ```yaml
20
24
  plugins:
21
25
  - standard-rails
22
26
  ```
23
27
 
28
+ ## Configuration
29
+
24
30
  Even though it'll usually be inferred automatically, you can specify the exact
25
- version of Rails you want the rules to run against by converting the string to
26
- a nested hash:
31
+ version of Rails you want the rules to be run against like this:
27
32
 
28
33
  ```yaml
29
34
  plugins: