PerfectlyNormal-Twitorious 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/twit +1 -1
- data/lib/twitorious.rb +1 -1
- data/lib/twitorious/api/twitter.rb +3 -2
- data/lib/twitorious/image.rb +1 -1
- data/twitorious.gemspec +1 -1
- metadata +1 -1
data/bin/twit
CHANGED
data/lib/twitorious.rb
CHANGED
@@ -34,8 +34,9 @@ module Twitorious
|
|
34
34
|
return if updates.empty?
|
35
35
|
|
36
36
|
updates.reverse.each do |update|
|
37
|
-
image
|
38
|
-
|
37
|
+
image = Twitorious::Image.from_url(update["user"]["profile_image_url"], @config.image_store)
|
38
|
+
filename = image ? image.filename : @site[:icon]
|
39
|
+
@notifier.notify(update["user"]["screen_name"], update["text"], filename)
|
39
40
|
sleep @config.sleep_between_notifications.to_i
|
40
41
|
end
|
41
42
|
|
data/lib/twitorious/image.rb
CHANGED
data/twitorious.gemspec
CHANGED