preek 1.4.2 → 1.4.3

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: 5aed7619266d23f50974bc835c2ce37a3ce50838
4
- data.tar.gz: 3a1a111b77ddb81b401d5cc843d97e6e390dc213
3
+ metadata.gz: 0381b8f7518b3ec3a5007118bc49aebb0c1ad448
4
+ data.tar.gz: 4908aa1896f8b21d66eb98682256a7bec1ba575a
5
5
  SHA512:
6
- metadata.gz: 0bf532309c7c3ac351a2c2d4a9af0b202a38c6060209b9b92cdaa81d44bc8120c21cb51a3934b71e3f00d8d9c0b4f70038da1b1827e3669fe98906243d0a255d
7
- data.tar.gz: 5157bab1bf7bb8f6c4ebb82efc0e4dd4ea6554efd7b6f8405d4f2779d258b8f64855840f0dac224ee927e450aad54c6a7ee29bf04a16b1c1c40c538f785e8715
6
+ metadata.gz: 3e4f7564855597775457f785c52f4613249501bf6c8044c50353f147cffe27fbd9105e60c93a57385436b65d8680cb86dcbff846ab7a87c3d8563174742842f4
7
+ data.tar.gz: 2ea27c77c1937cc9a55a38e2dfce367a4e4f73f8fe1bccf33b8a3aaac947c5b97b63b1f6125307783a97e4adbcb4720b4da23a35530ad5cb26f8f21dfe982803
@@ -2,6 +2,7 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
+ - jruby-19mode
5
6
  branches:
6
7
  only:
7
8
  - master
@@ -38,11 +38,8 @@ module Preek
38
38
 
39
39
  desc 'git', 'Run Preek on git changes'
40
40
  def git
41
- files = git_status
42
- if $?.exitstatus == 0 && !files.empty?
43
- args = files.scan(/[ M?]+(.*\.rb)/).flatten
44
- smell *args unless args.empty?
45
- end
41
+ args = git_status.scan(/[ M?]+(.*\.rb)/).flatten
42
+ smell *args unless args.empty?
46
43
  end
47
44
 
48
45
  private
@@ -1,3 +1,3 @@
1
1
  module Preek
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preek
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Neverland