notiffany 0.1.0 → 0.1.1
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 +4 -4
- data/lib/notiffany/notifier/notifysend.rb +3 -1
- data/lib/notiffany/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0756692ba3e289ecf2cca61de9bce0668e5e0eec
|
|
4
|
+
data.tar.gz: 3e26beaafc69b5d597383653f7cc98eb9bd27d98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
data/lib/notiffany/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
111
|
+
rubygems_version: 2.6.4
|
|
112
112
|
signing_key:
|
|
113
113
|
specification_version: 4
|
|
114
114
|
summary: Notifier library (extracted from Guard project)
|