safubot 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/safubot/twitter.rb +2 -0
- data/lib/safubot/version.rb +1 -1
- metadata +4 -4
data/lib/safubot/twitter.rb
CHANGED
|
@@ -113,6 +113,7 @@ module Safubot
|
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
|
|
116
117
|
# DirectMessage is a Request source.
|
|
117
118
|
# All DirectMessages are made into Requests as they are received.
|
|
118
119
|
class DirectMessage
|
|
@@ -311,6 +312,7 @@ module Safubot
|
|
|
311
312
|
@opts = defaults.merge(options)
|
|
312
313
|
|
|
313
314
|
DirectMessage.ensure_index('raw.id', :unique => true)
|
|
315
|
+
Tweet.ensure_index('raw.id', :unique => true)
|
|
314
316
|
@username = @opts[:username]
|
|
315
317
|
@client = Object::Twitter::Client.new(@opts)
|
|
316
318
|
end
|
data/lib/safubot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: safubot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 9
|
|
10
|
+
version: 0.0.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jaiden Mispy
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-02-
|
|
18
|
+
date: 2012-02-22 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: eventmachine
|