rubocop-gradual 0.3.0 → 0.3.1

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: a8d8cb41d6a825538a0b0411867bcef6864d16ec393f24c7d9f84e05f886caa8
4
- data.tar.gz: e7230b837f6f39967e4c472a2a8f466d061da24af7ea9efee060175f0617bb17
3
+ metadata.gz: dfbc47ff52ccb93118ada746e311ca665d8349feeae4c54e619269923c8b4be0
4
+ data.tar.gz: c2c847431317fefce00aabe966bf05f4443c906c71c6933adebfacbcc6746d18
5
5
  SHA512:
6
- metadata.gz: 223e2e205074038f7af48b2be3d06d98136ef7d9d65b8bcf3c153d8eee937d4f6f45bada38eaf6a5f8f257e4a95230c8e9a7b19b3158abe9e599bf3ce5e53d45
7
- data.tar.gz: 57824cdfee2b8423e88c30f50c95b8f8bba78edfcfd36fe94c73e88e4798eba62c899fb1cefc4719baf08b48422e545e59f86c78affe3a835c3aaa68f9a05c25
6
+ metadata.gz: f7634eaf9c309ccc616a5c8beb724950916e5fa655bb3f9d1658ebfe208393135cd81a06bdbbc2191043762e2b75b38c67d5b9a52cb8317d317204d3cce9ebea
7
+ data.tar.gz: ffd86c21f9054a2d7ddeb87a7ff21e126fe16779a2fada774972ad54ff2f0f287846fb2aaea358ea43ff5930e58ef795b90271c4e7c6a1bf5cba4316974c5560
data/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning].
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.1] - 2022-11-29
11
+
12
+ ### Fixed
13
+
14
+ - More straightforward way of including RuboCop patch for Require mode. ([@skryukov])
15
+
16
+
10
17
  ## [0.3.0] - 2022-10-26
11
18
 
12
19
  ### Added
@@ -80,7 +87,8 @@ RuboCop::Gradual::RakeTask.new
80
87
 
81
88
  [@skryukov]: https://github.com/skryukov
82
89
 
83
- [Unreleased]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.0...HEAD
90
+ [Unreleased]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.1...HEAD
91
+ [0.3.1]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.0...v0.3.1
84
92
  [0.3.0]: https://github.com/skryukov/rubocop-gradual/compare/v0.2.0...v0.3.0
85
93
  [0.2.0]: https://github.com/skryukov/rubocop-gradual/compare/v0.1.1...v0.2.0
86
94
  [0.1.1]: https://github.com/skryukov/rubocop-gradual/compare/v0.1.0...v0.1.1
data/README.md CHANGED
@@ -111,7 +111,7 @@ RuboCop Gradual can be used in "Require mode", which is a way to replace `ruboco
111
111
  # .rubocop.yml
112
112
 
113
113
  require:
114
- - rubocop-gradual
114
+ - rubocop/gradual/patch
115
115
  ```
116
116
 
117
117
  Now base `rubocop` command will run `rubocop-gradual`:
@@ -30,3 +30,5 @@ module RuboCop
30
30
  end
31
31
  end
32
32
  end
33
+
34
+ RuboCop::CLI.prepend(RuboCop::Gradual::Patch) if ENV["NO_GRADUAL"] != "1"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Gradual
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
@@ -11,8 +11,3 @@ module RuboCop
11
11
  class Error < StandardError; end
12
12
  end
13
13
  end
14
-
15
- if ENV["NO_GRADUAL"] != "1" && (RuboCop::ConfigLoader.loaded_features & %w[rubocop-gradual rubocop/gradual]).any?
16
- require_relative "gradual/patch"
17
- RuboCop::CLI.prepend(RuboCop::Gradual::Patch)
18
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gradual
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Svyatoslav Kryukov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diff-lcs