notifaction 0.0.6 → 0.0.7

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: 8165371af0101e18e9010b9dcf2eae362598d817
4
- data.tar.gz: f381ae0087e3ea8bd719f70d31943dc20a87083d
3
+ metadata.gz: 9bc9ee3155c4d5927d8dbc7b427f422881c1d5d0
4
+ data.tar.gz: 76f454ef2469eb6dbcf62b13061ed72da5b12284
5
5
  SHA512:
6
- metadata.gz: 248e85187ba8205f21996d970aaedca67d5cdfdadf70b5bf69dc3663c0211a5f4f8b6011b8b71b053c4b38226ace149bdd759605245f68cdac74215a2b670db0
7
- data.tar.gz: a8c5fe696804aa136a46e27db0e55deae37d202279ce2237b51523859f3c136e25864628633113c0dc72cd0cb3e38b8feb7b5f669ec17f2ff582ec2ea881db5c
6
+ metadata.gz: 31dd9f6c9fd26fde8daeda396d11430fe651ad7e3e58748b617b08b2f6ae455b09bfcfa3f44dc39b7d89836e09b9071e91a1b30a4db6b6f207b4c07f7aff1407
7
+ data.tar.gz: 51dfbcfa4496301ba82b44fd7f43abb36d6ab2675f823bee4dafa591881a08e21e685ebefb95a26cb7862facbfd6406a9b008ec3df6ba19313fd4e75629ccddf
data/lib/notify.rb CHANGED
@@ -71,7 +71,7 @@ class Notify
71
71
  def self.workingon(message, print_info_message = false)
72
72
  begin
73
73
  plugin = Plugin::WorkingOn.new
74
- plugin.send(message)
74
+ plugin.fire(message)
75
75
 
76
76
  if print_info_message
77
77
  info(message)
@@ -1,7 +1,7 @@
1
1
  module Plugin
2
2
  class WorkingOn
3
- def send(message)
4
- log = File.new('./wo-digest.log')
3
+ def fire(message)
4
+ log = File.new('/tmp/wo-digest.log', 'a+')
5
5
 
6
6
  open(log, 'a') do |file|
7
7
  file.write("#{message}\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Priebe