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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8267629bcdb12984f655ce827dba06c0a36015e
4
- data.tar.gz: 906859bec157bd3f3800886684b2ee12d2b5fb21
3
+ metadata.gz: 568397abd7d2669366398e23a55487dbcd0a7128
4
+ data.tar.gz: 26b73ba851c78e22b22093f4da27ba0706115a97
5
5
  SHA512:
6
- metadata.gz: d7fc67f49c80d2e14d281ee3df319128fe3625d321f0ef36710fcb0b8de7a8759e8d8832ee9086a3df321fb8c333a1707a032762aaeafd4d2ff1a24530c080c6
7
- data.tar.gz: 6d8a3489bc89f9d2e666ac1fba40000e060366570ab93bfaf4dece5f77e62e2039f173625f220b7c614b6f7759b81d0c7116eefbedd012a1e01189a94734dee2
6
+ metadata.gz: 90f4398a4064e081fac1a167160c267eb1e2fd9fd10b3642b21de94c10c137879b4ab1e10d252e91ee948596eb632f8a5804562d97442f99db9cb8f7ab275ffd
7
+ data.tar.gz: 28d51b13868f9898cd65e414d57e54c7c9297de134030b1470853fea3d25d085ebeacd85a64cc1166035a5d4f2de95f3d011942e3f2765627c09fda35c10a3bf
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-blockstack (0.10.4)
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.1)
18
+ faraday (0.12.2)
19
19
  multipart-post (>= 1.2, < 3)
20
20
  ffi (1.9.18)
21
21
  formatador (0.2.5)
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Blockstack
3
- VERSION = "0.10.4"
3
+ VERSION = "0.10.5"
4
4
  end
5
5
  end
@@ -110,16 +110,15 @@ module OmniAuth
110
110
  urls = {}
111
111
  return urls if websites.nil?
112
112
  count = 0
113
- websites.each {|website|
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
- urls
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
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-05-14 00:00:00.000000000 Z
11
+ date: 2017-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler