simpleapikeyengine 0.1.2 → 0.1.3

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: 77a89d0e7f1170ed59fc0397aaacf0d5e4036384
4
- data.tar.gz: 761677a6bcd15363d6fcbb2959c383d3f9f35610
3
+ metadata.gz: 351453caab71be2db77ba421cfd82250d593f543
4
+ data.tar.gz: e4aeae172d09ea52ee369b64e9c24124c7d3af98
5
5
  SHA512:
6
- metadata.gz: 8652dbae145f1dca77021ae4936edf96a01d3340e492cadec95c2f4f8931ade4631874ca7b02fdcbe5dba26ed6d1a9e0ccdace3073fb74ea24fa794e56771017
7
- data.tar.gz: 0620d5658db22d5f69e7989c7107bf0ab33e93d821ebf5acef394cddb123d495ae9ab159563bddfdb4a0f68d2b6b38dcc0d59ee69678957542272d52e666f26f
6
+ metadata.gz: 12059b7c7793ef16fc2046a2a043c1d4c7721e850fb020f111eb9eca9562a88489d920c9924b376ab52f2567a1fbbe05512f9e27337210f6deed54e3f0ed26ee
7
+ data.tar.gz: ec43d0eb36caf781be201ee8dced37a49ca9fb03f76b6ce360cd705e9ca592f5fd906107eee8fef99b1a3a3a97370e825dfb4394b77f5bacc2a19009a1d2367a
@@ -11,9 +11,9 @@ module SimpleApiKeyEngine
11
11
  def activate(request, &block)
12
12
  authentication = auth(request, &block)
13
13
  return nil unless authentication
14
- api_keys.create!(provider: authentication.provider,
15
- user_type: authentication.user_type,
16
- user_ident: authentication.user_ident)
14
+ authentication.api_keys.create!(provider: authentication.provider,
15
+ user_type: authentication.user_type,
16
+ user_ident: authentication.user_ident)
17
17
  end
18
18
 
19
19
  private
@@ -1,3 +1,3 @@
1
1
  module SimpleApiKeyEngine
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpleapikeyengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuichi Takeuchi