gravis-floobs 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/floobs/channel.rb +4 -4
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 3
4
+ :patch: 4
@@ -9,7 +9,7 @@ module Floobs
9
9
  # Options:
10
10
  # * +live+ : (+true+ or +false+) Filter channels. Do not send the param if you don't want to filter
11
11
  #
12
- def self.find(channel_id, options)
12
+ def self.find(channel_id, options={})
13
13
  query = {:id => channel_id}.merge(options)
14
14
  get("/channels.service", query)
15
15
  end
@@ -22,7 +22,7 @@ module Floobs
22
22
  # Options:
23
23
  # * +live+ : (+true+ or +false+) Filter channels. Do not send the param if you don't want to filter
24
24
  #
25
- def self.find_all_by_user_name(username,options)
25
+ def self.find_all_by_user_name(username,options={})
26
26
  query = {:username => username}.merge(options)
27
27
  get("/channels.service", query)
28
28
  end
@@ -35,7 +35,7 @@ module Floobs
35
35
  # Options:
36
36
  # * +live+ : (+true+ or +false+) Filter channels. Do not send the param if you don't want to filter
37
37
  #
38
- def self.find_all_by_channel_name(channel_name,options)
38
+ def self.find_all_by_channel_name(channel_name,options={})
39
39
  query = {:channel_name => channel_name}.merge(options)
40
40
  get("/channels.service", query)
41
41
  end
@@ -48,7 +48,7 @@ module Floobs
48
48
  # Options:
49
49
  # * +live+ : (+true+ or +false+) Filter channels. Do not send the param if you don't want to filter
50
50
  #
51
- def self.find_all_by_tag(tag,options)
51
+ def self.find_all_by_tag(tag,options={})
52
52
  query = {:tag => tag}.merge(options)
53
53
  get("/channels.service", query)
54
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gravis-floobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philippe Lafoucriere
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-12 00:00:00 -07:00
12
+ date: 2009-03-14 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency