mongoid_alphadog 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module Mongoid
9
9
  fields.map(&:to_s).each { |f|
10
10
  symbol = "#{f}_loweralpha".to_sym
11
11
  field(symbol, type: String)
12
- index(symbol)
12
+ index({symbol: 1})
13
13
  meth = "set_#{f}_loweralpha".to_sym
14
14
  class_eval <<-RUBY
15
15
  before_save do
@@ -1,3 +1,3 @@
1
1
  module MongoidAlphadog
2
- VERSION = "0.5.4"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_alphadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-15 00:00:00.000000000 Z
13
+ date: 2012-06-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mongoid
17
- requirement: &2166026280 !ruby/object:Gem::Requirement
17
+ requirement: &2152387380 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.0.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2166026280
25
+ version_requirements: *2152387380
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rdoc
28
- requirement: &2166025720 !ruby/object:Gem::Requirement
28
+ requirement: &2152386780 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.5.11
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2166025720
36
+ version_requirements: *2152386780
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bson_ext
39
- requirement: &2166025240 !ruby/object:Gem::Requirement
39
+ requirement: &2152386240 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.3.1
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2166025240
47
+ version_requirements: *2152386240
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rspec-core
50
- requirement: &2166024760 !ruby/object:Gem::Requirement
50
+ requirement: &2152385720 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 2.6.3
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2166024760
58
+ version_requirements: *2152385720
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rspec
61
- requirement: &2166024220 !ruby/object:Gem::Requirement
61
+ requirement: &2152385220 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 2.6.0
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2166024220
69
+ version_requirements: *2152385220
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: database_cleaner
72
- requirement: &2166023740 !ruby/object:Gem::Requirement
72
+ requirement: &2152384700 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 0.6.7
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *2166023740
80
+ version_requirements: *2152384700
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: bundler
83
- requirement: &2166023220 !ruby/object:Gem::Requirement
83
+ requirement: &2152383980 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 1.0.0
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *2166023220
91
+ version_requirements: *2152383980
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: jeweler
94
- requirement: &2166022700 !ruby/object:Gem::Requirement
94
+ requirement: &2152383300 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: 1.6.0
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *2166022700
102
+ version_requirements: *2152383300
103
103
  description: A simple little gem that makes it easy to handle case-insensitive alphabetizing
104
104
  for Mongoid document models
105
105
  email:
@@ -133,18 +133,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  - - ! '>='
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
- segments:
137
- - 0
138
- hash: 4547979827458163647
139
136
  required_rubygems_version: !ruby/object:Gem::Requirement
140
137
  none: false
141
138
  requirements:
142
139
  - - ! '>='
143
140
  - !ruby/object:Gem::Version
144
141
  version: '0'
145
- segments:
146
- - 0
147
- hash: 4547979827458163647
148
142
  requirements: []
149
143
  rubyforge_project: mongoid_alphadog
150
144
  rubygems_version: 1.8.10