access 2.1.5 → 2.2.0

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: 76d1e2ca0154a69bf049b713bbb307c2b6408073
4
- data.tar.gz: 22beeaccc5e200444e55efb271d03dea2b967afe
3
+ metadata.gz: cf3730e91cc2fbaa4500da1437973dfed39c3aee
4
+ data.tar.gz: faa4b94e5c7ccdd0d1925e05885a07a7b202df07
5
5
  SHA512:
6
- metadata.gz: f8d8f3553493cb63e14436a90ec54de4746a4fa8a5f84c02a48e2bb9d8216dc436a2dcb4b652431443393b64ee0451df3890a72964c50dfabf91b856a67c0eea
7
- data.tar.gz: 6b076d91356adfad88dcba89d1821793c343d198a3be9c42342cfdba590453bbf8df7f0f07f29323af4e03eb25cd6841483277b9642b3df3feb55b285458273f
6
+ metadata.gz: fd674087500bdf6894f9d09fe284564776c924268106d29155515e333e591b599aafad1965b3a44c543dad19b9f87340a63a0c5b907057adaa9f82b68ecabb5e
7
+ data.tar.gz: a003d323e4c9807ffa050fec7d6287ed6d61684c1998d548bb4e8bfeff6defa8c80d7798b7545f82f77693c7c98466a36f1d8b885c3f6a4be6a807b5351a437f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- access (2.1.5)
4
+ access (2.2.0)
5
5
  hashie (~> 3.3.1)
6
6
  httparty (~> 0.13.3)
7
7
 
@@ -55,7 +55,7 @@ GEM
55
55
  minitest (5.8.4)
56
56
  minitest-focus (1.1.2)
57
57
  minitest (>= 4, < 6)
58
- multi_xml (0.6.0)
58
+ multi_xml (0.5.5)
59
59
  nenv (0.2.0)
60
60
  netrc (0.11.0)
61
61
  notiffany (0.0.8)
@@ -113,4 +113,4 @@ DEPENDENCIES
113
113
  webmock
114
114
 
115
115
  BUNDLED WITH
116
- 1.11.2
116
+ 1.13.6
@@ -183,6 +183,18 @@ module Access
183
183
  end
184
184
  end
185
185
 
186
+ def user_external_authentication(options = {})
187
+ request.post("/external-auth", "mms", options) do |response|
188
+ UserResponse.new(response)
189
+ end
190
+ end
191
+
192
+ def user_external_authentication_by_token(options = {})
193
+ request.get("/external-auth", "mms", options) do |response|
194
+ UserResponse.new(response)
195
+ end
196
+ end
197
+
186
198
  # Member
187
199
  def member_show(member_key, options = {})
188
200
  request.get("/members/#{member_key}", 'mms', options) do |response|
@@ -32,5 +32,13 @@ module Access
32
32
  Access::Api.new.user_authentication_by_member_key options
33
33
  end
34
34
 
35
+ def self.external_authenticate(options = {})
36
+ Access::Api.new.user_external_authentication options
37
+ end
38
+
39
+ def self.external_authenticate_by_token(options = {})
40
+ Access::Api.new.user_external_authentication_by_token options
41
+ end
42
+
35
43
  end
36
44
  end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.1.5"
2
+ VERSION = "2.2.0"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-02-28 00:00:00.000000000 Z
13
+ date: 2017-07-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler