omniauth-blockstack 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/omniauth/blockstack/version.rb +1 -1
- data/lib/omniauth/strategies/blockstack.rb +4 -5
- 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: 568397abd7d2669366398e23a55487dbcd0a7128
|
4
|
+
data.tar.gz: 26b73ba851c78e22b22093f4da27ba0706115a97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90f4398a4064e081fac1a167160c267eb1e2fd9fd10b3642b21de94c10c137879b4ab1e10d252e91ee948596eb632f8a5804562d97442f99db9cb8f7ab275ffd
|
7
|
+
data.tar.gz: 28d51b13868f9898cd65e414d57e54c7c9297de134030b1470853fea3d25d085ebeacd85a64cc1166035a5d4f2de95f3d011942e3f2765627c09fda35c10a3bf
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-blockstack (0.10.
|
4
|
+
omniauth-blockstack (0.10.5)
|
5
5
|
blockstack (= 0.5.9)
|
6
6
|
omniauth (~> 1.1)
|
7
7
|
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
jwtb (= 2.0.0.beta2.bsk1)
|
16
16
|
coderay (1.1.1)
|
17
17
|
diff-lcs (1.3)
|
18
|
-
faraday (0.12.
|
18
|
+
faraday (0.12.2)
|
19
19
|
multipart-post (>= 1.2, < 3)
|
20
20
|
ffi (1.9.18)
|
21
21
|
formatador (0.2.5)
|
@@ -110,16 +110,15 @@ module OmniAuth
|
|
110
110
|
urls = {}
|
111
111
|
return urls if websites.nil?
|
112
112
|
count = 0
|
113
|
-
websites.each
|
113
|
+
websites.each do |website|
|
114
114
|
if website.try(:[],"@type") == "WebSite"
|
115
115
|
if !website.try(:[],"url").nil?
|
116
|
-
count
|
116
|
+
count = count + 1
|
117
117
|
urls["site-#{count}"] = website["url"]
|
118
118
|
end
|
119
119
|
end
|
120
|
-
|
121
|
-
|
122
|
-
return nil
|
120
|
+
end
|
121
|
+
return urls
|
123
122
|
}.call(decoded_token["profile"].try(:[],"website"))
|
124
123
|
}
|
125
124
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-blockstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Larry Salibra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|