omniauth-dropbox2 2.0.1 → 2.0.2

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
  SHA256:
3
- metadata.gz: 04676b895207720a6d857ce430158554de773436ffdf172ac2743a8329b059cb
4
- data.tar.gz: 62f816ee5385c21b945d2c99add28a61dde724cfb171ab66062d8641ea5b4416
3
+ metadata.gz: 4a6349d9df69cc57527820672cc6e6ba312dceaa4d73a7cc55dbfd56c864c7ae
4
+ data.tar.gz: 7433fb5e3023623ab7320ce6cafbfa78bd4a2670203f86bcfb7d13b85545e26b
5
5
  SHA512:
6
- metadata.gz: 9f4ff99da40c42baeebcad1f36c36333c6b1431a7e119131507b0eff31fd1ec2992fb212fb422cc28243188b3f6bff7326caa57ccda836e9c3be72faabeff327
7
- data.tar.gz: 9472344053ec88d0bbafc1f9260b39bd63aa99739e42185f52e7ef242168554e13f22b49c6f5bff68322f6cd4395b38ccddd9f6ecef48ec67e804c8398597078
6
+ metadata.gz: fc4b2958475984fdb4555d55b1f8d62eda6d76b47fdfa0d5ddd350786524752af1a52c4aa2d3a21deeaba48bd067b87eed96d287aa73a879b35fce4983183fd5
7
+ data.tar.gz: 49f4cfed9ed5a94361f5553a63f4cb1ae97e3198cc55e481fe084fe10ffffe07cb05d0206c992957616a4f10e016d4728149493ccaeaf0a91468717bffe9321c
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # OmniAuth Dropbox2 Strategy
2
2
 
3
+ [![Test](https://github.com/icoretech/omniauth-dropbox2/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/icoretech/omniauth-dropbox2/actions/workflows/test.yml?query=branch%3Amain)
4
+ [![Gem Version](https://img.shields.io/gem/v/omniauth-dropbox2.svg)](https://rubygems.org/gems/omniauth-dropbox2)
5
+
3
6
  `omniauth-dropbox2` provides a Dropbox OAuth2 strategy for OmniAuth.
4
7
 
5
8
  ## Installation
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Dropbox2
5
- VERSION = '2.0.1'
5
+ VERSION = '2.0.2'
6
6
  end
7
7
  end
@@ -35,7 +35,7 @@ module OmniAuth
35
35
  end
36
36
 
37
37
  def raw_info
38
- @raw_info ||= access_token.post('users/get_current_account', body: '{}').parsed
38
+ @raw_info ||= access_token.post('users/get_current_account', body: 'null').parsed
39
39
  end
40
40
 
41
41
  def callback_url
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-dropbox2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Poli