streambot 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ begin
13
13
  gem.require_path = 'lib'
14
14
  gem.files = %w(Rakefile) + Dir.glob("{lib}/**/*") + %w(VERSION)
15
15
  # the runtime dependencies
16
- gem.add_runtime_dependency "twistream", "~> 0.2.4"
16
+ gem.add_runtime_dependency "twistream", "~> 0.2.5"
17
17
  gem.add_runtime_dependency "oauth","~> 0.4.0"
18
18
  # the development dependencies
19
19
  gem.add_development_dependency "bundler", "~> 1.0.0"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.rc2
1
+ 1.0.0.rc3
@@ -27,6 +27,7 @@ module StreamBot
27
27
  @thread = Thread.new do
28
28
  @retweet.retweet(status["id"])
29
29
  end
30
+ @thread.join
30
31
  end
31
32
  end
32
33
  end
data/spec/tracker_spec.rb CHANGED
@@ -15,13 +15,15 @@ describe StreamBot::Tracker do
15
15
 
16
16
  describe "#start" do
17
17
  it "should start" do
18
- @tracker.start
18
+ @thread = Thread.new do
19
+ @tracker.start
20
+ end
19
21
  end
20
22
  end
21
23
 
22
24
  describe "wait" do
23
25
  it "should sleep for 60 seconds" do
24
- sleep 60
26
+ sleep 10
25
27
  end
26
28
  end
27
29
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: streambot
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.0.0.rc2
5
+ version: 1.0.0.rc3
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-07 00:00:00 +01:00
13
+ date: 2011-02-09 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 0.2.4
24
+ version: 0.2.5
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency