twitter2jabber 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/twitter2jabber/version.rb +1 -1
- data/lib/twitter2jabber.rb +2 -2
- metadata +6 -6
data/README
CHANGED
data/lib/twitter2jabber.rb
CHANGED
@@ -298,7 +298,7 @@ le[n[gth]] STATUS -- Determine length
|
|
298
298
|
id, colon = $1, $2
|
299
299
|
|
300
300
|
tweet = twitter.status(id)
|
301
|
-
raise Twitter::NotFound unless tweet.is_a?(Mash)
|
301
|
+
raise Twitter::NotFound unless tweet.is_a?(Hashie::Mash)
|
302
302
|
|
303
303
|
body << ' ' unless body.empty?
|
304
304
|
body << "RT @#{tweet.user.screen_name}#{colon} #{tweet.text}"
|
@@ -306,7 +306,7 @@ le[n[gth]] STATUS -- Determine length
|
|
306
306
|
id, colon = $1, $2
|
307
307
|
|
308
308
|
tweet = twitter.status(id)
|
309
|
-
raise Twitter::NotFound unless tweet.is_a?(Mash)
|
309
|
+
raise Twitter::NotFound unless tweet.is_a?(Hashie::Mash)
|
310
310
|
|
311
311
|
body.insert(0, ' ') unless body.empty?
|
312
312
|
body.insert(0, "@#{tweet.user.screen_name}#{colon}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter2jabber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-01 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -100,15 +100,15 @@ licenses: []
|
|
100
100
|
|
101
101
|
post_install_message:
|
102
102
|
rdoc_options:
|
103
|
-
- --
|
104
|
-
-
|
103
|
+
- --charset
|
104
|
+
- UTF-8
|
105
105
|
- --title
|
106
106
|
- twitter2jabber Application documentation
|
107
107
|
- --main
|
108
108
|
- README
|
109
|
-
- --charset
|
110
|
-
- UTF-8
|
111
109
|
- --all
|
110
|
+
- --line-numbers
|
111
|
+
- --inline-source
|
112
112
|
require_paths:
|
113
113
|
- lib
|
114
114
|
required_ruby_version: !ruby/object:Gem::Requirement
|