omniauth-td 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Td
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ module OmniAuth
24
24
  pass = request['password']
25
25
  begin
26
26
  api = TreasureData::Client.authenticate(mail, pass)
27
- cln = TreasureData::Client.new(apikey)
27
+ cln = TreasureData::Client.new(api.apikey)
28
28
  @identity ||= {
29
29
  :account_id => cln.account.account_id,
30
30
  :apikey => api.apikey,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: