growl-atom 0.0.4-universal-darwin-9 → 0.0.5-universal-darwin-9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/growl-atom +2 -0
  2. data/config +1 -3
  3. data/lib/growl-atom.rb +1 -3
  4. metadata +3 -3
data/bin/growl-atom CHANGED
@@ -28,6 +28,8 @@
28
28
  # Atom entry IDs are stored in them once a notification has been shown. They can be found in
29
29
  # ~/.growl-atom/caches/
30
30
  #
31
+
32
+ $:.push(File.dirname(__FILE__) + "/../lib")
31
33
  require 'rubygems'
32
34
  require 'growl-atom'
33
35
  require 'rdoc/usage'
data/config CHANGED
@@ -5,8 +5,6 @@
5
5
  # Available options:
6
6
  #
7
7
  # global:
8
- # growl_host : localhost
9
- # growl_pass : your_pass
10
8
  # proxy_host: your.proxy
11
9
  # proxy_port: 80
12
10
  # proxy_user: username
@@ -29,7 +27,7 @@
29
27
  # These config options can be overwritten on a per feed basis
30
28
 
31
29
  global:
32
- growl_host : localhost
30
+
33
31
 
34
32
  feeds:
35
33
  - name: Gmail
data/lib/growl-atom.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'rubygems'
2
+ gem 'growl', '=1.0.3'
2
3
  require 'growl'
3
4
  require 'yaml'
4
5
  require 'digest/md5'
@@ -25,7 +26,6 @@ module GrowlAtom
25
26
  :name => 'growl-atom',
26
27
  :title => 'title',
27
28
  :message => 'summary',
28
- :growl_host => 'localhost',
29
29
  :sticky => false
30
30
  }
31
31
 
@@ -96,12 +96,10 @@ module GrowlAtom
96
96
  growl_options = {}
97
97
 
98
98
  growl_options['name'] = options['name']
99
- growl_options['host'] = options['growl_host']
100
99
  growl_options['sticky'] = options['sticky']
101
100
  growl_options['title'] = entry.elements[options['title']].text
102
101
  growl_options['message'] = entry.elements[options['message']].text
103
102
 
104
- growl_options['password'] = options['growl_pass'] unless(options['growl_pass'] == nil)
105
103
  growl_options['image'] = File.expand_path(options['image']) unless(options['image'] == nil)
106
104
 
107
105
  Growl.notify(growl_options['message'], growl_options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growl-atom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: universal-darwin-9
6
6
  authors:
7
7
  - Matt Haynes
@@ -18,9 +18,9 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ">="
21
+ - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.0.6
23
+ version: 1.0.3
24
24
  version:
25
25
  description:
26
26
  email: matt@matthaynes.net