rsift 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -6
- data/lib/rsift/socket.rb +2 -2
- data/lib/rsift/version.rb +1 -1
- data/rsift.gemspec +1 -1
- metadata +6 -6
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ PATH
|
|
8
8
|
rake (= 0.8.7)
|
9
9
|
rest-client (= 1.4.2)
|
10
10
|
shoulda (= 2.11.3)
|
11
|
-
test-unit (= 1.
|
11
|
+
test-unit (= 2.1.1)
|
12
12
|
webmock (= 1.6.1)
|
13
13
|
|
14
14
|
GEM
|
@@ -25,8 +25,6 @@ GEM
|
|
25
25
|
addressable (>= 2.0.0)
|
26
26
|
eventmachine (>= 0.12.9)
|
27
27
|
eventmachine (0.12.10)
|
28
|
-
hoe (2.8.0)
|
29
|
-
rake (>= 0.8.7)
|
30
28
|
hpricot (0.8.3)
|
31
29
|
jakal (0.1.95)
|
32
30
|
calais (>= 0.0.9)
|
@@ -40,8 +38,7 @@ GEM
|
|
40
38
|
rest-client (1.4.2)
|
41
39
|
mime-types (>= 1.16)
|
42
40
|
shoulda (2.11.3)
|
43
|
-
test-unit (1.
|
44
|
-
hoe (>= 1.5.1)
|
41
|
+
test-unit (2.1.1)
|
45
42
|
webmock (1.6.1)
|
46
43
|
addressable (>= 2.2.2)
|
47
44
|
crack (>= 0.1.7)
|
@@ -57,5 +54,5 @@ DEPENDENCIES
|
|
57
54
|
rest-client (= 1.4.2)
|
58
55
|
rsift!
|
59
56
|
shoulda (= 2.11.3)
|
60
|
-
test-unit (= 1.
|
57
|
+
test-unit (= 2.1.1)
|
61
58
|
webmock (= 1.6.1)
|
data/lib/rsift/socket.rb
CHANGED
@@ -5,7 +5,7 @@ module Rsift
|
|
5
5
|
class Socket
|
6
6
|
|
7
7
|
def self.perform(stream_identifier)
|
8
|
-
endpoint = "ws://
|
8
|
+
endpoint = "ws://websocket.datasift.net:8080/"
|
9
9
|
|
10
10
|
EventMachine.run {
|
11
11
|
http = EventMachine::HttpRequest.new(
|
@@ -16,7 +16,7 @@ module Rsift
|
|
16
16
|
end
|
17
17
|
|
18
18
|
http.errback do
|
19
|
-
raise
|
19
|
+
raise SocketError.new("Datasift threw an error")
|
20
20
|
end
|
21
21
|
|
22
22
|
http.disconnect do
|
data/lib/rsift/version.rb
CHANGED
data/rsift.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 5
|
9
|
+
version: 0.3.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Steven Shingler
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-01-24 00:00:00 +00:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -101,10 +101,10 @@ dependencies:
|
|
101
101
|
- - "="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
segments:
|
104
|
-
- 1
|
105
104
|
- 2
|
106
|
-
-
|
107
|
-
|
105
|
+
- 1
|
106
|
+
- 1
|
107
|
+
version: 2.1.1
|
108
108
|
type: :runtime
|
109
109
|
version_requirements: *id006
|
110
110
|
- !ruby/object:Gem::Dependency
|