omniauth-tanita 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ce09505bfcc54bef4d79556e0c262fc41aa4850896123227ff1d4fc034ac901
4
- data.tar.gz: 6b986363e5484f80103e6fb0c08fc8c3f857350eabbc2d3d1faf83d9dc18d498
3
+ metadata.gz: 946c38c34d7ad92b20b4955782976a8ff32e8042099938d9298c0d8ecd90f906
4
+ data.tar.gz: 269cbb9f59b08b2268bc5fead4c3d7e12a6e9237d8e99ff3d0d2a77acf78e436
5
5
  SHA512:
6
- metadata.gz: 3656e2f993c681a44fc24093129db027ce2248c66467ad2fd5dc81fbff0637b08fd07d0563ba6b270f999a3160cc2707610157e3692b76aa3b4b08b9b0dd6fb1
7
- data.tar.gz: dfc739abeb56392da788e6498174d35ed0ff464c77b1d21fcba39b2bd72eb049659ab8dfa7c116a2dbe68155991d994f887226347cc4fd0355883d4d54f770b7
6
+ metadata.gz: 02b6ae3d721ae1bf00bee8bceb776a217ccdde265a8a49f84d0c7429aa5e1dc38923abeb5c8125153116b967c487db34f80de2f215708a303f84d999c78fd5c2
7
+ data.tar.gz: 86b9329105f6dd7d863430c0cf88582b088907076c6608fa8f1730e17fcc9ababb6d78cf2dac7e367a256623916193315c2588bb9daac9e1862ec055e26966eb
data/README.md CHANGED
@@ -58,6 +58,24 @@ Rails.application.config.middleware.use OmniAuth::Builder do
58
58
  end
59
59
  ```
60
60
 
61
+ ## Auth Hash Example
62
+
63
+ The auth hash `request.env['omniauth.auth']` would look like this:
64
+
65
+ ```js
66
+ {
67
+ "provider": "tanita",
68
+ "uid": null, // uid will be empty, because there is no apis to get.
69
+ "credentials": {
70
+ "token": "ACCESS_TOKEN",
71
+ "refresh_token": "REFRESH_TOKEN",
72
+ "expires_at": 1581419031,
73
+ "expires": true
74
+ },
75
+ "extra": {}
76
+ }
77
+ ```
78
+
61
79
  ## Contributing
62
80
 
63
81
  Bug reports and pull requests are welcome on [GitHub](https://github.com/koshilife/omniauth-tanita). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Tanita
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
18
  spec.metadata['source_code_uri'] = 'https://github.com/koshilife/omniauth-tanita'
19
19
  spec.metadata['changelog_uri'] = "#{spec.metadata['source_code_uri']}/blob/master/CHANGELOG.md"
20
+ spec.metadata['documentation_uri'] = 'https://www.rubydoc.info/gems/omniauth-tanita/'
20
21
 
21
22
  # Specify which files should be added to the gem when it is released.
22
23
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-tanita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-12 00:00:00.000000000 Z
11
+ date: 2020-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tanita-api-client
@@ -110,6 +110,7 @@ metadata:
110
110
  homepage_uri: https://github.com/koshilife/omniauth-tanita
111
111
  source_code_uri: https://github.com/koshilife/omniauth-tanita
112
112
  changelog_uri: https://github.com/koshilife/omniauth-tanita/blob/master/CHANGELOG.md
113
+ documentation_uri: https://www.rubydoc.info/gems/omniauth-tanita/
113
114
  post_install_message:
114
115
  rdoc_options: []
115
116
  require_paths: