rubocop-gradual 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/rubocop/gradual/process.rb +4 -1
- data/lib/rubocop/gradual/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55d71d872b6c1e9cf4a88d9cc52c84a29e6d80c5681a77701ce1c740c77fd729
|
4
|
+
data.tar.gz: 3949b12bc114468293262f26cbd03aa737565e117f3672e19cfe5b312ff95a04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5f672bcded5a4af92a0c263e9574926e5ce1961e20c870c89fae7536ae7a6a37e736f102675b6e663fa397014209967a7ea9cd3a626ecbbebc324b5fffbf66a
|
7
|
+
data.tar.gz: 34af2cc3ac30461db8ae7b7974acfe3343d5c22258b6a742403c737774d193fffc03db61076b1f28535499adb68f95af6e6887d09090c00c333305b1ae3bcf45
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning].
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.3.6] - 2024-07-21
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
- Don't fail `--check` when no issues and no lock file present. ([@skryukov])
|
15
|
+
|
10
16
|
## [0.3.5] - 2024-06-24
|
11
17
|
|
12
18
|
### Added
|
@@ -118,7 +124,8 @@ RuboCop::Gradual::RakeTask.new
|
|
118
124
|
[@dmorgan-fa]: https://github.com/dmorgan-fa
|
119
125
|
[@skryukov]: https://github.com/skryukov
|
120
126
|
|
121
|
-
[Unreleased]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.
|
127
|
+
[Unreleased]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.6...HEAD
|
128
|
+
[0.3.6]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.5...v0.3.6
|
122
129
|
[0.3.5]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.4...v0.3.5
|
123
130
|
[0.3.4]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.3...v0.3.4
|
124
131
|
[0.3.3]: https://github.com/skryukov/rubocop-gradual/compare/v0.3.2...v0.3.3
|
@@ -35,7 +35,10 @@ module RuboCop
|
|
35
35
|
private
|
36
36
|
|
37
37
|
def fail_with_outdated_lock?(diff)
|
38
|
-
|
38
|
+
return false if Configuration.mode != :check
|
39
|
+
return false if diff.state == :complete && old_results.nil?
|
40
|
+
|
41
|
+
diff.state != :no_changes
|
39
42
|
end
|
40
43
|
|
41
44
|
def sync_lock_file(diff)
|
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.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svyatoslav Kryukov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diff-lcs
|