gravis-floobs 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 4
4
+ :patch: 5
@@ -1,6 +1,7 @@
1
1
  module Floobs
2
2
  class Base
3
3
  include HTTParty
4
+ format :json
4
5
  base_uri 'api.floobs.com'
5
6
 
6
7
  def initialize(api_key, format_options={})
@@ -11,7 +11,7 @@ module Floobs
11
11
  #
12
12
  def self.find(channel_id, options={})
13
13
  query = {:id => channel_id}.merge(options)
14
- get("/channels.service", query)
14
+ get("/channels.service", :query => query)
15
15
  end
16
16
 
17
17
  # Finds a channel by its username
@@ -24,7 +24,7 @@ module Floobs
24
24
  #
25
25
  def self.find_all_by_user_name(username,options={})
26
26
  query = {:username => username}.merge(options)
27
- get("/channels.service", query)
27
+ get("/channels.service", :query => query)
28
28
  end
29
29
 
30
30
  # Finds a channel by its name
@@ -37,7 +37,7 @@ module Floobs
37
37
  #
38
38
  def self.find_all_by_channel_name(channel_name,options={})
39
39
  query = {:channel_name => channel_name}.merge(options)
40
- get("/channels.service", query)
40
+ get("/channels.service", :query => query)
41
41
  end
42
42
 
43
43
  # Finds a channel by its name
@@ -50,7 +50,7 @@ module Floobs
50
50
  #
51
51
  def self.find_all_by_tag(tag,options={})
52
52
  query = {:tag => tag}.merge(options)
53
- get("/channels.service", query)
53
+ get("/channels.service", :query => query)
54
54
  end
55
55
 
56
56
  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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philippe Lafoucriere