omniauth-paymium 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3b731787f0b04f9bb9d48aa2486df0c05a81c0b
4
- data.tar.gz: 1129165ef27c3ca46701fa667af5990ef93959d2
3
+ metadata.gz: 4ed5763532b084a9bed52dd542ae11b947de1d56
4
+ data.tar.gz: 257e332ee4b427bd4d469719872d75bc7aeff32f
5
5
  SHA512:
6
- metadata.gz: 9494a3cc44e28cefe63703bfacf7f9bc4e1dcd1c9127e24099d20c67e27eeaa915cce74372e0a997b73fa7cfdcf502381450a81768d9df2a1837e6c630aa563a
7
- data.tar.gz: 7341070f080cc333a6f2431bb3779ef46128f052e2b85e44b48965a9b1113b17d7f8aa0c9b0c1e4b3a6889b4dd20dcbedcc16c0e8567937b9577713019a01b11
6
+ metadata.gz: 44339bd56faa0123b5d875bdfdc0e2071b2bd068c6a32cffb5d5da8b36fc4b5e16f66f59823d52dc9214d7d297e0b56fead11ea9df3a5068f9b710ac3705fa34
7
+ data.tar.gz: 940429a86869fbe7cf6ca92e76288ba575feafbc2256e42843a2d8afd7df6245abe42f03ad8ce90683a4da4ccd5b346c2a408644f698061815e1e9a0597946d6
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Paymium
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
@@ -40,15 +40,7 @@ module OmniAuth
40
40
 
41
41
  def raw_info
42
42
  access_token.options[:parse] = :json
43
-
44
- # This way is not working right now, do it the longer way
45
- # for the time being
46
- #
47
- #@raw_info ||= access_token.get('/ap/user/profile').parsed
48
-
49
- url = '/api/v1/user'
50
- params = {:params => { :access_token => access_token.token}}
51
- @raw_info ||= access_token.client.request(:get, url, params).parsed
43
+ @raw_info ||= access_token.get("#{options.client_options.site}/api/user").parsed
52
44
  end
53
45
  end
54
46
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-paymium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Michard