memetalk 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
6
6
  spec.pattern = FileList['spec/**/*_spec.rb']
7
7
  end
8
8
 
9
- task default: :spec
9
+ task :default => :spec
10
10
 
11
11
  desc 'hey'
12
12
  task :publish do
@@ -17,7 +17,7 @@ module Memetalk
17
17
 
18
18
  def publish link
19
19
  EM.run do
20
- Talker::Client.connect(room: room, token: token) do |client|
20
+ Talker::Client.connect(:room => room, :token => token) do |client|
21
21
  client.on_connected do
22
22
  client.send_message link
23
23
  client.close
@@ -1,3 +1,3 @@
1
1
  module Memetalk
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -30,7 +30,7 @@ describe Memetalk do
30
30
 
31
31
  Memetalk.stub(:token).and_return token
32
32
  Memetalk.stub(:room).and_return room
33
- Talker::Client.should_receive(:connect).with(room: room, token: token).and_yield client
33
+ Talker::Client.should_receive(:connect).with(:room => room, :token => token).and_yield client
34
34
 
35
35
  # on connected callback
36
36
  client.should_receive(:on_connected).and_yield
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Josep M. Bach
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-11 00:00:00 +01:00
17
+ date: 2011-02-14 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency