omniauth-nextcloud 0.2.1 → 0.2.2

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: 32ad9eb5ce68f8f4a6eb3cb821808094e280872159e408b6c0716742e77048a9
4
- data.tar.gz: 238bb3a4378047c8ae1113b0ca32dd037b18ff424d4e954e25922488bf944a52
3
+ metadata.gz: 762ed8b8bbe3fa1fb7e93aa1e982b31311266f2f0df9fdc563f12b9bf816d9a8
4
+ data.tar.gz: fae79f69152e32557891bc687a28a2dbf6d0d90df01a5c2ca32db5b99791d5df
5
5
  SHA512:
6
- metadata.gz: f07b25d22ab934e8d7d0c4ebdcb1cf9a7d7b5366cbeda1ff36854b0a183fdb669b43dd4ef46a6627442f3e68e770a689d7d710045b0fa98502acaa1a4585656c
7
- data.tar.gz: cd6a30c2c1a5e3bac6ccedd679638c73e695f4e7095b861d1a44cc3ed20095c7407a06f54e3d124ab52edff1534bd58301b4a826fab6e624dc2d39a987aacc54
6
+ metadata.gz: fcb9f9463912e6dcf9bcd4f83772d71378f5c98a602849be04942def7eba5285bf0560c9ba238accebd89206c11054e6bb417cacdd43d3838e1b26a22191f440
7
+ data.tar.gz: d7e4d38e14850784888a163755c41e98bc132f402e7d33e222974929af9ed40f53223b8d72fc73cc2130987bb747f4cc7089bb9f3df5836e3640858956529407
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-nextcloud (0.2.1)
4
+ omniauth-nextcloud (0.2.2)
5
5
  omniauth (= 2.0.4)
6
6
  omniauth-oauth2 (= 1.7.2)
7
7
  rexml (= 3.2.5)
@@ -11,20 +11,20 @@ GEM
11
11
  specs:
12
12
  ast (2.4.2)
13
13
  diff-lcs (1.4.4)
14
- faraday (2.2.0)
15
- faraday-net_http (~> 2.0)
14
+ faraday (2.7.1)
15
+ faraday-net_http (>= 2.0, < 3.1)
16
16
  ruby2_keywords (>= 0.0.4)
17
- faraday-net_http (2.0.1)
17
+ faraday-net_http (3.0.2)
18
18
  hashie (5.0.0)
19
- jwt (2.3.0)
19
+ jwt (2.5.0)
20
20
  multi_json (1.15.0)
21
21
  multi_xml (0.6.0)
22
- oauth2 (1.4.9)
22
+ oauth2 (1.4.11)
23
23
  faraday (>= 0.17.3, < 3.0)
24
24
  jwt (>= 1.0, < 3.0)
25
25
  multi_json (~> 1.3)
26
26
  multi_xml (~> 0.5)
27
- rack (>= 1.2, < 3)
27
+ rack (>= 1.2, < 4)
28
28
  omniauth (2.0.4)
29
29
  hashie (>= 3.4.6)
30
30
  rack (>= 1.6.2, < 3)
@@ -35,8 +35,8 @@ GEM
35
35
  parallel (1.21.0)
36
36
  parser (3.0.2.0)
37
37
  ast (~> 2.4.1)
38
- rack (2.2.3)
39
- rack-protection (2.2.0)
38
+ rack (2.2.4)
39
+ rack-protection (3.0.4)
40
40
  rack
41
41
  rainbow (3.0.0)
42
42
  rake (13.0.6)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Nextcloud
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
@@ -53,7 +53,7 @@ module OmniAuth
53
53
  end
54
54
 
55
55
  def raw_info
56
- @raw_info ||= Hash.from_xml(access_token.get("/ocs/v2.php/cloud/user").body)
56
+ @raw_info ||= Hash.from_xml(access_token.get("#{options.site_url}/ocs/v2.php/cloud/user").body)
57
57
  end
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-nextcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas_Skywalker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-02 00:00:00.000000000 Z
11
+ date: 2022-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth