safubot 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Safubot
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
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 00:00:00 Z
18
+ date: 2012-02-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: eventmachine