mongoid_auto_increment_id 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a92cc165e83e7d6a09d40aa92ef9d5d3b1e3d546
4
+ data.tar.gz: 0e0aa1ed3b402d2622da2147a98de142d22c0244
5
+ SHA512:
6
+ metadata.gz: 7cc1a8f657acafe0897ccb7bbeb72d1a1385ea815fbad368313e1e2b59441406f002f8af5bebed1642b4494d4a42a842561d4bc40841fcd0b9219ccae01a5fb5
7
+ data.tar.gz: e2a9ac097d382f3e6b10cbabe87459d101576e852098d0594d378681fd0c2eed9a64aa10e45eee66a03ae5ab59504cafa6029da17ba6d83564f2a3518098bf43
@@ -14,6 +14,7 @@ module Mongoid
14
14
  module Document
15
15
  # define Integer for id field
16
16
  included do
17
+ Mongoid.register_model(self)
17
18
  field :_id, :type => Integer
18
19
  end
19
20
 
metadata CHANGED
@@ -1,40 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_auto_increment_id
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.6.1
4
+ version: 0.6.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jason Lee
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-27 00:00:00.000000000 Z
11
+ date: 2013-08-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: mongoid
16
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ">="
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
- version: 3.0.0
21
- - - !binary |-
22
- PA==
19
+ version: 3.1.0
20
+ - - <
23
21
  - !ruby/object:Gem::Version
24
22
  version: 4.1.0
25
- none: false
26
- requirement: !ruby/object:Gem::Requirement
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
27
26
  requirements:
28
- - - ">="
27
+ - - '>='
29
28
  - !ruby/object:Gem::Version
30
- version: 3.0.0
31
- - - !binary |-
32
- PA==
29
+ version: 3.1.0
30
+ - - <
33
31
  - !ruby/object:Gem::Version
34
32
  version: 4.1.0
35
- none: false
36
- prerelease: false
37
- type: :runtime
38
33
  description: This gem for change Mongoid id field as Integer like MySQL.
39
34
  email:
40
35
  - huacnlee@gmail.com
@@ -46,29 +41,26 @@ files:
46
41
  - README.md
47
42
  homepage: https://github.com/huacnlee/mongoid_auto_increment_id
48
43
  licenses: []
49
- post_install_message:
44
+ metadata: {}
45
+ post_install_message:
50
46
  rdoc_options: []
51
47
  require_paths:
52
48
  - lib
53
49
  required_ruby_version: !ruby/object:Gem::Requirement
54
50
  requirements:
55
- - - ">="
51
+ - - '>='
56
52
  - !ruby/object:Gem::Version
57
- version: !binary |-
58
- MA==
59
- none: false
53
+ version: '0'
60
54
  required_rubygems_version: !ruby/object:Gem::Requirement
61
55
  requirements:
62
- - - ">="
56
+ - - '>='
63
57
  - !ruby/object:Gem::Version
64
- version: !binary |-
65
- MA==
66
- none: false
58
+ version: '0'
67
59
  requirements: []
68
- rubyforge_project:
69
- rubygems_version: 1.8.24
70
- signing_key:
71
- specification_version: 3
60
+ rubyforge_project:
61
+ rubygems_version: 2.0.3
62
+ signing_key:
63
+ specification_version: 4
72
64
  summary: Override id field with MySQL like auto increment for Mongoid
73
65
  test_files: []
74
- has_rdoc:
66
+ has_rdoc: