rubocopter 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: 6c6a39e7cd1f4a29999ff06cbd6ca0eab27b9447
4
- data.tar.gz: e55d166f70294083bdbd588a97ed4378df085984
3
+ metadata.gz: cd6ae303ad7580685eaf88b470ce8d7a49624f13
4
+ data.tar.gz: a418a990f049a7977902d2cc21a5d47a27ac856e
5
5
  SHA512:
6
- metadata.gz: d010b4faf2e90cff353654bb619725a1caddf2574032634bf7555e36a4825322f9de61633b414845ddc5765f60d1d20901101efe2a7e6c35549ec946fb398897
7
- data.tar.gz: 75003cb6bb4fd3891f9218821d8cf404d82f7db39a0c0b80adfd15248bb1f178b05e49ad9d4f8a552cc39bdbd601ab64a36a5151892f3d9e47b67fa82873bd9a
6
+ metadata.gz: 307690b74fa51c4ce56c713d14942b69c3902ea9f217364ea42296073db50d7bf6f06d6aad0f90bf2486587446a9836c29f96cb54c13454f3ee1be1eeb16fd71
7
+ data.tar.gz: 9353b3a582d24c8e5c3e79a6d30ba72ff9c83e486545aaebbba2084b88ec2fdeab372a1b6b422653041456c456322d2a49cdfeabebf8cf3a6dd36fd1bd9a3e5c
@@ -53,6 +53,14 @@ class RuboCopter::CLI
53
53
  return
54
54
  end
55
55
 
56
+ # On master and checking against master
57
+ branch = `git rev-parse --abbrev-ref HEAD`.strip
58
+ if $CHILD_STATUS.exitstatus == 0 && branch == 'master' && @options.hash == 'master'
59
+ puts 'On master, running full rubocop sweep'
60
+ system(Shellwords.join(rubocop_options))
61
+ return
62
+ end
63
+
56
64
  # Check for changes
57
65
  `git rev-parse`
58
66
  if $CHILD_STATUS.exitstatus == 0
@@ -1,3 +1,3 @@
1
1
  module RuboCopter
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocopter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Basset