notifaction 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifaction/config.rb +2 -1
- data/lib/notifaction/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26422607a1758ad1afac4574c536061cdfd1a632
|
4
|
+
data.tar.gz: a532ee4c8396687e15792478f0b52910bbb535b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 834361b702195e0924d877c05c8db909a598652cab54d5ed4ce2881170776c61d268472df6639c8fbc9ccda19bdc9295f0aa16dbffe6a97055512bf438d08047
|
7
|
+
data.tar.gz: 410644b1a8feae8626712bdd1064d7314cf5bb9510e278777b272f78a563b4d99f927c2483db37e44568d7ee34aa551efba23cf3007eb47aa70e1664f0d33436
|
data/lib/notifaction/config.rb
CHANGED
@@ -7,7 +7,8 @@ module Notifaction
|
|
7
7
|
#
|
8
8
|
# @since 0.4.0
|
9
9
|
def initialize
|
10
|
-
|
10
|
+
local_conf = Dir.home + "/.notifaction.yml"
|
11
|
+
conf = YAML.load(File.open(local_conf)) if File.exists? local_conf
|
11
12
|
|
12
13
|
@hooks = conf["hooks"] || []
|
13
14
|
@conf = conf["config"] || {}
|
data/lib/notifaction/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifaction
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Яyan Priebe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|