standard-rails 0.2.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: 652768c12a7064d7e370409ff8a9efd695a8b890fadd85191a88374d3fc93819
4
- data.tar.gz: 217a54e55bfad2efaa9732b1d04025ce64d3da1c932239b209bc6ae391b6a06b
3
+ metadata.gz: 6df4391f1643cf7182142c98baf7b9d33b0aa51a92878829d6de1622f9b44092
4
+ data.tar.gz: be681bb55367b1374b5aad990b0b3528e6fc89d1627d42b015315bd542022c61
5
5
  SHA512:
6
- metadata.gz: f04acf06d0e03e96bbdbd4c5ef84e71ff5d03f663e7e97abf9752b1e9ea7a8502b5599487f210216a5f3c93e9f417509ebc805c419d9ba47e5c741fc9e465018
7
- data.tar.gz: 104b2c885ec6f826175f08d11da339ef23d22230ad8a33cbe88d75cc448b7a6479e2754486469d528f3219ec98d6a9c26000734a0b067405069a28e66fb484e4
6
+ metadata.gz: 9abed8ffd41b108a7b986a0f190db3c99e3287d744d69fb90a79bea930b1e9ccf8840d9c1dff92e0565c77dc0eb3c3e8671803642d0e3d1c5dd6e3d9f1017881
7
+ data.tar.gz: b2287c190702ecc615acd8312b96735280dd19a3b41210e9358a71b7bfb3bd65af84e187ef00174b698e1ebee68923a84e60267928bc2c417d5bbcf03f1693b7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
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
+
1
6
  ## [0.2.0]
2
7
 
3
8
  - Update Rubocop Rails to [v2.20.2](https://github.com/rubocop/rubocop-rails/releases/tag/v2.20.2)
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard-rails (0.2.0)
4
+ standard-rails (1.0.0)
5
5
  lint_roller (~> 1.0)
6
- rubocop-rails (~> 2.20.2)
6
+ rubocop-rails (~> 2.23.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -48,15 +48,16 @@ GEM
48
48
  rubocop-ast (>= 1.28.1, < 2.0)
49
49
  ruby-progressbar (~> 1.7)
50
50
  unicode-display_width (>= 2.4.0, < 3.0)
51
- rubocop-ast (1.29.0)
51
+ rubocop-ast (1.30.0)
52
52
  parser (>= 3.2.1.0)
53
53
  rubocop-performance (1.19.0)
54
54
  rubocop (>= 1.7.0, < 2.0)
55
55
  rubocop-ast (>= 0.4.0)
56
- rubocop-rails (2.20.2)
56
+ rubocop-rails (2.23.1)
57
57
  activesupport (>= 4.2.0)
58
58
  rack (>= 1.1)
59
59
  rubocop (>= 1.33.0, < 2.0)
60
+ rubocop-ast (>= 1.30.0, < 2.0)
60
61
  ruby-progressbar (1.13.0)
61
62
  standard (1.31.0)
62
63
  language_server-protocol (~> 3.17.0.2)
@@ -76,6 +77,7 @@ GEM
76
77
 
77
78
  PLATFORMS
78
79
  arm64-darwin-20
80
+ arm64-darwin-21
79
81
  arm64-darwin-22
80
82
  x86_64-linux
81
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: