yt-auth 0.3.0 → 0.3.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/yt/auth.rb +6 -0
- data/lib/yt/auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fe566f505bb9ce9a4481ce80a8b280b8d2e9647
|
4
|
+
data.tar.gz: 874cd60e6091c8b75d0c0981bdcba59076534060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a2bb317a6c99de5e2fee9e8f687884e801570a87f1623a7d76fe3e2a4f627e30af9cbda0c02fdf0fea6fcd9136003020fd942c2599512d901d14efc177836e8
|
7
|
+
data.tar.gz: 970fc17a7774877192ab4561fc482e03a288ae18da10a1a5342878e2b3f18e0cf614f85f602eb52e88492892b84fedede286876eebf8e220e85eb7c38c2285a1
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ For more information about changelogs, check
|
|
6
6
|
[Keep a Changelog](http://keepachangelog.com) and
|
7
7
|
[Vandamme](http://tech-angels.github.io/vandamme).
|
8
8
|
|
9
|
+
## 0.3.1 - 2017-08-26
|
10
|
+
|
11
|
+
* [ENHANCEMENT] Add placeholder method to be notified when token is refreshed.
|
12
|
+
|
9
13
|
## 0.3.0 - 2017-08-25
|
10
14
|
|
11
15
|
**How to upgrade**
|
data/lib/yt/auth.rb
CHANGED
@@ -70,6 +70,12 @@ module Yt
|
|
70
70
|
tokens['refresh_token']
|
71
71
|
end
|
72
72
|
|
73
|
+
# Placeholder method that can be invoked after a refresh token is used
|
74
|
+
# to generate a new access token. Applications can override this method,
|
75
|
+
# for instance to store the new token in a database
|
76
|
+
def access_token_was_refreshed
|
77
|
+
end
|
78
|
+
|
73
79
|
private
|
74
80
|
|
75
81
|
def self.url_params(options)
|
data/lib/yt/auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yt-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claudio Baccigalupo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: yt-support
|