vidibus-oauth2_server 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,9 +15,9 @@ class Oauth2Token
15
15
  field :code_expires_at, :type => Time
16
16
  field :token_expires_at, :type => Time
17
17
 
18
- index :client_id
19
- index :token
20
- index :code
18
+ index({client_id: 1})
19
+ index({token: 1})
20
+ index({code: 1})
21
21
 
22
22
  validates :client_id, :redirect_url, :presence => true
23
23
  validates :token, :code, :uniqueness => {:allow_blank => true}
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Oauth2Server
3
- VERSION = '0.0.8'
3
+ VERSION = '0.0.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-oauth2_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: -153729370394451499
210
+ hash: 2596014141521182650
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  none: false
213
213
  requirements: