tweetstream 1.0.0 → 1.0.1
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/VERSION +1 -1
- data/lib/tweetstream/client.rb +1 -1
- data/spec/tweetstream/parser_spec.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.1
|
data/lib/tweetstream/client.rb
CHANGED
|
@@ -239,7 +239,7 @@ module TweetStream
|
|
|
239
239
|
parser
|
|
240
240
|
when Symbol
|
|
241
241
|
require "tweetstream/parsers/#{parser.to_s}"
|
|
242
|
-
eval("TweetStream::Parsers::#{parser.to_s.split('_').map
|
|
242
|
+
eval("TweetStream::Parsers::#{parser.to_s.split('_').map{|s| s.capitalize}.join('')}")
|
|
243
243
|
end
|
|
244
244
|
end
|
|
245
245
|
|
|
@@ -9,7 +9,7 @@ describe 'TweetStream JSON Parsers' do
|
|
|
9
9
|
describe "#{engine} parsing" do
|
|
10
10
|
before do
|
|
11
11
|
@client = TweetStream::Client.new('test','fake',engine)
|
|
12
|
-
@class_name = "TweetStream::Parsers::#{engine.to_s.split('_').map
|
|
12
|
+
@class_name = "TweetStream::Parsers::#{engine.to_s.split('_').map{|s| s.capitalize}.join('')}"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
it 'should set the parser to the appropriate class' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tweetstream
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bleigh
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-01-
|
|
12
|
+
date: 2010-01-30 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|