em-twitter 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,10 +22,6 @@ module EventMachine
22
22
  :auto_reconnect => true
23
23
  }
24
24
 
25
- DEFAULT_REQUEST_PARAMETERS = {
26
- :stall_warnings => 'true'
27
- }
28
-
29
25
  class ReconnectLimitError < StandardError; end
30
26
  class ConfigurationError < StandardError; end
31
27
 
@@ -33,7 +33,6 @@ module EventMachine
33
33
 
34
34
  def initialize(options = {})
35
35
  @options = DEFAULT_CONNECTION_OPTIONS.merge(options)
36
- @options[:params].merge!(EM::Twitter::DEFAULT_REQUEST_PARAMETERS)
37
36
 
38
37
  validate_client
39
38
 
@@ -1,5 +1,5 @@
1
1
  module EventMachine
2
2
  module Twitter
3
- VERSION = "0.2.0" unless defined?(EventMachine::Twitter::VERSION)
3
+ VERSION = "0.2.1" unless defined?(EventMachine::Twitter::VERSION)
4
4
  end
5
5
  end
@@ -9,11 +9,6 @@ describe EM::Twitter::Client do
9
9
  EM::Twitter::Client.new(opts)
10
10
  }.should raise_error(EM::Twitter::ConfigurationError)
11
11
  end
12
-
13
- it 'merges default request parameters' do
14
- client = EM::Twitter::Client.new(default_options)
15
- client.options[:params].should include(:stall_warnings => 'true')
16
- end
17
12
  end
18
13
 
19
14
  describe '.connect' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-07 00:00:00.000000000 Z
12
+ date: 2012-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
@@ -227,15 +227,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
227
227
  - - ! '>='
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
+ segments:
231
+ - 0
232
+ hash: -707177597839126854
230
233
  required_rubygems_version: !ruby/object:Gem::Requirement
231
234
  none: false
232
235
  requirements:
233
236
  - - ! '>='
234
237
  - !ruby/object:Gem::Version
235
238
  version: '0'
239
+ segments:
240
+ - 0
241
+ hash: -707177597839126854
236
242
  requirements: []
237
243
  rubyforge_project:
238
- rubygems_version: 1.8.23
244
+ rubygems_version: 1.8.24
239
245
  signing_key:
240
246
  specification_version: 3
241
247
  summary: Twitter Streaming API client for EventMachine