simplificator-withings 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ class Withings::Connection
15
15
  end
16
16
 
17
17
  def self.get_request(path, token, secret, params)
18
- signature = Connection.sign(base_uri + path, params, token, secret)
18
+ signature = Withings::Connection.sign(base_uri + path, params, token, secret)
19
19
  params.merge!({:oauth_signature => signature})
20
20
 
21
21
  response = self.get(path, :query => params)
@@ -25,7 +25,7 @@ class Withings::Connection
25
25
 
26
26
  def get_request(path, params)
27
27
  params.merge!({:userid => @user.user_id})
28
- signature = Connection.sign(self.class.base_uri + path, params, @user.oauth_token, @user.oauth_token_secret)
28
+ signature = Withings::Connection.sign(self.class.base_uri + path, params, @user.oauth_token, @user.oauth_token_secret)
29
29
  params.merge!({:oauth_signature => signature})
30
30
 
31
31
  response = self.class.get(path, :query => params)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{simplificator-withings}
5
- s.version = "0.6.3"
5
+ s.version = "0.6.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["pascalbetz"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplificator-withings
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - pascalbetz