mongoid_auto_increment_id 0.6.0 → 0.6.1

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