devise-oauth2_providable-models-mongoid 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cf410cabb8bac290b2e33359a901aa487d9a106
4
- data.tar.gz: befec022c495146b78f522610cf1b146a817b6ee
3
+ metadata.gz: 70962119ccae14bdd0248fcd69563a15af5d8ff7
4
+ data.tar.gz: 762e0ca5427758c8d84ac44a95930a834fce1a1e
5
5
  SHA512:
6
- metadata.gz: 1ca3b41998d1e2aeee2efc355e6724324ebbe66592f1318790f1684ca54dc1b743e32cacae3d75e0d73aeeb012f35ab60566daded3e97d6c3ba3ed2a9bb6a973
7
- data.tar.gz: cc25964773a7b3b5a0f98793429f6208f82c47da7afec4e9ef043b4374945d397cc95af94ba4f76906ecd875308a806ddb6d90cce3d99fcf605e60691ef3bf90
6
+ metadata.gz: 4b5fa2ceaf7c6f8ac11310be1b0cafd4407dd48c0c1ef42dd6808d4049e2f89136053639a1356a6d6c21eae00ae5ee5a5fb900dd0f56f3c97cf5846df0369652
7
+ data.tar.gz: 6a2d2f437e5d1e54d9a088d6f81df3f03299063d658a560ccb431b0661bb1f916301b498a9f0fe9084b0b8173de0d1d69bfe3452a326aee84739214b70fa7636
@@ -3,7 +3,7 @@ class Devise::Oauth2Providable::Base
3
3
  include Mongoid::Timestamps
4
4
  include Mongoid::Validations
5
5
 
6
- def default_collection_name
7
- "oauth2_#{super}"
6
+ def self.collection_name
7
+ "oauth2_#{name.demodulize.pluralize.underscore}"
8
8
  end
9
9
  end
@@ -2,7 +2,7 @@ module Devise
2
2
  module Oauth2Providable
3
3
  module Models
4
4
  module Mongoid
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.3"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-oauth2_providable-models-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-18 00:00:00.000000000 Z
12
+ date: 2013-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler