notiffany 0.1.0 → 0.1.1

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: 107a426a3f017b084ea3a11ac5a3c951b8569269
4
- data.tar.gz: f4f275c620a69ff487e61b936cadfd2b1eebcbac
3
+ metadata.gz: 0756692ba3e289ecf2cca61de9bce0668e5e0eec
4
+ data.tar.gz: 3e26beaafc69b5d597383653f7cc98eb9bd27d98
5
5
  SHA512:
6
- metadata.gz: 394ec7473db4997eaae759be74f386dc9b2acf4a65d60a9fb3196a6a817a7a21803330952701dee5a1327b7db52b30bc4f2fc9722d1320b5199c4e87bdd5b44d
7
- data.tar.gz: d89a0a76ee60251e5b7c2efd089fa902b0f3974db6637e48d72b88e8b112f045311525415e24da1019783c14e561ec84f34afd78a7a72f7de8dcac2305f72ba0
6
+ metadata.gz: bb3a071df0eb11359fb19735863875f17a4ffdb8fe6963eff4ac3bf20c94b425c252e099ae0fe5d0b81515e0d435ca6f34606f87589bec38cb1dff54bf06f3c3
7
+ data.tar.gz: 9bbff2963fd2672ecc03485e0c44c0f98a4fc453693a31416aedcf3c96494941b8db50507dc63fcec3095a3b1c316c311395699deab8b8197d0ccf37cf745b66
@@ -32,7 +32,9 @@ module Notiffany
32
32
  end
33
33
 
34
34
  def _check_available(_opts = {})
35
- return true unless Shellany::Sheller.stdout("which notify-send").empty?
35
+ which = Shellany::Sheller.stdout("which notify-send")
36
+
37
+ return true unless which.nil? || which.empty?
36
38
 
37
39
  fail UnavailableError, "libnotify-bin package is not installed"
38
40
  end
@@ -1,3 +1,3 @@
1
1
  module Notiffany
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notiffany
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cezary Baginski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-05-18 00:00:00.000000000 Z
13
+ date: 2016-07-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nenv
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.5.1
111
+ rubygems_version: 2.6.4
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Notifier library (extracted from Guard project)