twistream 0.2.5 → 0.3.0

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/spec/client_spec.rb +2 -4
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.3.0
@@ -15,11 +15,10 @@ describe TwiStream::Client do
15
15
  keywords = "nowplaying", "nowwatching"
16
16
  @thread = Thread.new do
17
17
  @client.filter_by_keywords(keywords) do |status|
18
- puts status
19
18
  status.should_not == be_nil
19
+ puts status['id']
20
20
  end
21
21
  end
22
- # @thread.join
23
22
  end
24
23
 
25
24
  it "should wait 10 seconds" do
@@ -35,11 +34,10 @@ describe TwiStream::Client do
35
34
  it "should start the sample stream" do
36
35
  @thread = Thread.new do
37
36
  @client.sample do |status|
38
- puts status
39
37
  status.should_not == be_nil
38
+ puts status['id']
40
39
  end
41
40
  end
42
- # @thread.join
43
41
  end
44
42
 
45
43
  it "should wait 10 seconds" do
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: twistream
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.5
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sascha Wessel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-09 00:00:00 +01:00
13
+ date: 2011-02-18 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency