jakal 0.1.93 → 0.1.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/jkl.rb +2 -0
  2. metadata +2 -2
data/lib/jkl.rb CHANGED
@@ -20,6 +20,7 @@ module Jkl
20
20
  url = YAML::load_file('config/config.yml')['topix'] ||
21
21
  "http://www.topix.net/rss/search/article?q="
22
22
  links("#{url}#{keyphrase}")
23
+ rescue Errno::ENOENT
23
24
  end
24
25
 
25
26
  def tags(key, link)
@@ -31,6 +32,7 @@ module Jkl
31
32
  url = YAML::load_file('config/config.yml')['twitter'] ||
32
33
  "http://search.twitter.com/trends.json"
33
34
  JSON.parse(Jkl::get_from(url))["trends"].map{|t| t["name"]}
35
+ rescue Errno::ENOENT
34
36
  end
35
37
  end
36
38
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 93
9
- version: 0.1.93
8
+ - 94
9
+ version: 0.1.94
10
10
  platform: ruby
11
11
  authors:
12
12
  - sshingler