rubycritic 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62ee34293c30117c1da578023a3e0c07987e8eab3635bdbdb968ce3bf5865307
4
- data.tar.gz: 3e6ef1bca43844d501fe7eadef2becef64a31b5655e14806ff2e93c97d7ddaa7
3
+ metadata.gz: c186eb7db1462cd6501a604f8cc93524e1d5da998222442faaaf7bca3ede3b5b
4
+ data.tar.gz: 296c1f6cd2aefb743c0601ffbe3a48dea12394e5f9a2bab6462a51eea455f271
5
5
  SHA512:
6
- metadata.gz: 8f76b61f6551397562efafeff70947289663fba7c13cf9a1d2c3bfa6eeae3cd41447d512f866b8ed079990ef2d2e31fdffa51110a255a7fc7e19f30299cddcd3
7
- data.tar.gz: f456e3f523bafd22bd8760122f4fe9504ef1ea57afdc2edad73c3b3dc01083ab8ba26e6db0c584bb1eaff7eb4cdeb60d2f27f6472e3a310f3dc4180c24818350
6
+ metadata.gz: d309b648fd4991f9dadbaebf8162b79912efb3668e0d4d7bd5af3876e0c97b3a14bb1b4607ffeec788310a14f54e595d879017dca7deba780452ee4e25dc071f
7
+ data.tar.gz: 960a33db695702879fefa008c7744fd4bb0d9958080fb2761b688049ddc8ceeda4c18d96c3a49e9d91c50a3d8ad0338dc2591755e781c78eab23d9b3c842d748
@@ -1,6 +1,10 @@
1
- # master [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.3.0...master)
1
+ # master [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.3.1...master)
2
2
 
3
- # v4.3.0 / 2019-23-26 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.2.2...v4.3.0)
3
+ # v4.3.1 / 2019-12-30 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.3.0...v4.3.1)
4
+
5
+ * [BUGFIX] Fixes NoMethodError on RubyCritic::SourceControlSystem::Git.switch_branch (by [@eitoball][])
6
+
7
+ # v4.3.0 / 2019-12-26 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.2.2...v4.3.0)
4
8
 
5
9
  * [FEATURE] Show which files are uncommited in git (by [@GeoffTidey][])
6
10
  * [BUGFIX] Fixes TypeError when `.resultset.json` is not found (by [@etagwerker][])
@@ -52,7 +52,7 @@ module RubyCritic
52
52
  end
53
53
 
54
54
  def self.switch_branch(branch)
55
- dirty = !uncommitted_changes.blank?
55
+ dirty = !uncommitted_changes.empty?
56
56
  abort("Uncommitted changes are present: #{uncommitted_changes}") if dirty
57
57
 
58
58
  git("checkout #{branch}")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCritic
4
- VERSION = '4.3.0'.freeze
4
+ VERSION = '4.3.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Simoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flay