rubycritic 3.5.1 → 3.5.2

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
- SHA1:
3
- metadata.gz: bc68d230e7fdaaa4cd295dff2293e5ddf0ea81f4
4
- data.tar.gz: d837d86ada9350d0a08b1a984bd24b003b5a49f1
2
+ SHA256:
3
+ metadata.gz: 0537a727706d7903c2a5de836b5536a686efa8ffcdd25c883e99405ca9610bd0
4
+ data.tar.gz: 9d4a3d3c1d3fe703556a7e2b8a98353845c8fb85260244b8a5ea8152d4173857
5
5
  SHA512:
6
- metadata.gz: 78942609220a7083dcd95faa4cb79d4fd4950be9e103dcf5ea7740a84a2301a7f9d1b0f2f2a4349a8b234c93c0de7469e4695b081921697908df2aed456df4e3
7
- data.tar.gz: c672a98d1180779fd48d70fa9fbb434889a3cc98e14cddf08f215f139b36d21e4d7d5c5f71243d07782a2157f8000cbbbc3cd40a76f62e7cc6fafbeda8861df0
6
+ metadata.gz: 6580fd04f39137829c4f4b022a246c12625aca43c2d88ddd3de5dd2729bd7ddbbbfbccc4cbd0e6cf9e71045a318ce623af547f6d869bf92c67b3e1efa7b64e2c
7
+ data.tar.gz: 3c8d5bd2a02452c2addc0460fb203f255ab2095230588c890af64610b75fc8badea7c791081c47c98ba53537d80554f448861fbfb4ddccb11d93fa4efabc9824
@@ -1,4 +1,8 @@
1
- # master [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v3.5.1...master)
1
+ # master [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v3.5.2...master)
2
+
3
+ # 3.5.2 / 2018-09-27 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.5.1...v3.5.2)
4
+
5
+ * [BUGFIX] Use a better uncommitted changes detection for git (by [@onumis][])
2
6
 
3
7
  # 3.5.1 / 2018-09-05 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.5.0...v3.5.1)
4
8
 
data/README.md CHANGED
@@ -192,6 +192,7 @@ RubyCritic is supporting Ruby versions:
192
192
  * 2.2
193
193
  * 2.3
194
194
  * 2.4
195
+ * 2.5
195
196
 
196
197
 
197
198
  ## Improving RubyCritic
@@ -56,7 +56,7 @@ module RubyCritic
56
56
  end
57
57
 
58
58
  def self.uncommitted_changes?
59
- !`git ls-files --other --exclude-standard --directory`.empty? || !`git status --porcelain`.empty?
59
+ !`git diff-index HEAD --`.empty?
60
60
  end
61
61
 
62
62
  def self.modified_files
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCritic
4
- VERSION = '3.5.1'.freeze
4
+ VERSION = '3.5.2'.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: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Simoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-05 00:00:00.000000000 Z
11
+ date: 2018-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flay
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
475
475
  version: '0'
476
476
  requirements: []
477
477
  rubyforge_project:
478
- rubygems_version: 2.6.13
478
+ rubygems_version: 2.7.6
479
479
  signing_key:
480
480
  specification_version: 4
481
481
  summary: RubyCritic is a Ruby code quality reporter