notifiers 1.2.1 → 1.2.2

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: e3ab9d583cfca62be7ae6a684c9ad504c313c40c
4
- data.tar.gz: b9c211cbeae8b427040d14d6c387f21cc3a37046
3
+ metadata.gz: ddbf316c3d227051cede7c16899601b69b8fe877
4
+ data.tar.gz: f28643946a68b7d4bf484086deccdb84c426a4e4
5
5
  SHA512:
6
- metadata.gz: d2f7b8fdaf4b9f7d30ad573451991800f9f043c0cfbfe902c5fef39bbbb199b857f91c1e4e9eafdd52258143e7e19a80aaa8e0c96b5d4f3180c1c053ef17e2f6
7
- data.tar.gz: a2d9bfd767396565d3e57a7d54d2f6604ce68fec29ac03d72b2829ad46533defa54b07fe7cb51f05f87482624cc5916fb76d801035eff8f8b5690c5a10473a2e
6
+ metadata.gz: 05153d76e7ac7dfc4aa74d642fa4cffe12a690983dea8b08b1e83632b44431c1768805b96d704d24fc303b46e6973dcef4ad84efa26a87631866bee6e537730b
7
+ data.tar.gz: 3c7a7fbb267d26913bc70e4058af3f61e753493ba32e1bca2a5013aa177878d77421a6ecf7a4f33e3fbbc5e49ac506b5d26803b72188dc858daaa4e6c194818f
@@ -23,7 +23,7 @@ module Notifiers
23
23
  end
24
24
 
25
25
  def self.command?(command)
26
- `which #{command}` and $?.zero?
26
+ `which #{command}` and $?.to_i.zero?
27
27
  end
28
28
 
29
29
  def notify
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "notifiers"
5
- s.version = '1.2.1'
5
+ s.version = '1.2.2'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ["Tomás D'Stefano"]
8
8
  s.email = ["tomasdestefi@gmail.com"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás D'Stefano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-05 00:00:00.000000000 Z
11
+ date: 2014-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec