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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0c8013e2cbee495ce3e2f6cd13af414292c32f1
4
- data.tar.gz: cdf7f71f1a75ad3074352e236571ad6eb7a1ca10
3
+ metadata.gz: 26422607a1758ad1afac4574c536061cdfd1a632
4
+ data.tar.gz: a532ee4c8396687e15792478f0b52910bbb535b6
5
5
  SHA512:
6
- metadata.gz: b0ba2be5cecd9be5798f0ae4d94d11f2399c7559fc62e5364cda360748794922900f6f59feba335805aa7c1f5c358aa4a003f59c22921b389aa2a2efbf1237c3
7
- data.tar.gz: bf3ef1b2ecd318ecd4fd6e9eee50f590d4c27519288d48de150ca3e3f510737ba7388d3aa230e85899d1bce16e1fb25ab4a05e6c53442b918c441f20d8422021
6
+ metadata.gz: 834361b702195e0924d877c05c8db909a598652cab54d5ed4ce2881170776c61d268472df6639c8fbc9ccda19bdc9295f0aa16dbffe6a97055512bf438d08047
7
+ data.tar.gz: 410644b1a8feae8626712bdd1064d7314cf5bb9510e278777b272f78a563b4d99f927c2483db37e44568d7ee34aa551efba23cf3007eb47aa70e1664f0d33436
@@ -7,7 +7,8 @@ module Notifaction
7
7
  #
8
8
  # @since 0.4.0
9
9
  def initialize
10
- conf = YAML.load(File.open(Dir.home + "/.notifaction.yml"))
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"] || {}
@@ -1,3 +1,3 @@
1
1
  module Notifaction
2
- VERSION = "0.4.1".freeze
2
+ VERSION = "0.4.2".freeze
3
3
  end
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2016-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler