mongoid 0.9.11 → 0.9.12

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.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ begin
12
12
  gem.homepage = "http://github.com/durran/mongoid"
13
13
  gem.authors = ["Durran Jordan"]
14
14
 
15
- gem.add_dependency("activesupport", ">= 2.3.4")
15
+ gem.add_dependency("activesupport", ">= 2.2.2")
16
16
  gem.add_dependency("mongo", ">= 0.18.1")
17
17
  gem.add_dependency("mongo_ext", ">= 0.18.1")
18
18
  gem.add_dependency("durran-validatable", ">= 1.8.3")
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.11
1
+ 0.9.12
@@ -21,7 +21,7 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  require "rubygems"
23
23
 
24
- gem "activesupport", ">= 2.3.4"
24
+ gem "activesupport", ">= 2.2.2"
25
25
  gem "mongo", ">= 0.18.1"
26
26
  gem "mongo_ext", ">= 0.18.1"
27
27
  gem "durran-validatable", ">= 1.8.3"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mongoid}
8
- s.version = "0.9.11"
8
+ s.version = "0.9.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Durran Jordan"]
12
- s.date = %q{2009-12-20}
12
+ s.date = %q{2009-12-21}
13
13
  s.email = %q{durran@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.textile"
@@ -175,7 +175,7 @@ Gem::Specification.new do |s|
175
175
  s.specification_version = 3
176
176
 
177
177
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
178
- s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
178
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.2.2"])
179
179
  s.add_runtime_dependency(%q<mongo>, [">= 0.18.1"])
180
180
  s.add_runtime_dependency(%q<mongo_ext>, [">= 0.18.1"])
181
181
  s.add_runtime_dependency(%q<durran-validatable>, [">= 1.8.3"])
@@ -183,7 +183,7 @@ Gem::Specification.new do |s|
183
183
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
184
184
  s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
185
185
  else
186
- s.add_dependency(%q<activesupport>, [">= 2.3.4"])
186
+ s.add_dependency(%q<activesupport>, [">= 2.2.2"])
187
187
  s.add_dependency(%q<mongo>, [">= 0.18.1"])
188
188
  s.add_dependency(%q<mongo_ext>, [">= 0.18.1"])
189
189
  s.add_dependency(%q<durran-validatable>, [">= 1.8.3"])
@@ -192,7 +192,7 @@ Gem::Specification.new do |s|
192
192
  s.add_dependency(%q<mocha>, [">= 0.9.8"])
193
193
  end
194
194
  else
195
- s.add_dependency(%q<activesupport>, [">= 2.3.4"])
195
+ s.add_dependency(%q<activesupport>, [">= 2.2.2"])
196
196
  s.add_dependency(%q<mongo>, [">= 0.18.1"])
197
197
  s.add_dependency(%q<mongo_ext>, [">= 0.18.1"])
198
198
  s.add_dependency(%q<durran-validatable>, [">= 1.8.3"])
@@ -10,10 +10,10 @@ describe Mongoid::Extensions::Date::Conversions do
10
10
 
11
11
  context "when string provided" do
12
12
 
13
- context "when string is a utc time" do
13
+ context "when string is a non utc time" do
14
14
 
15
- it "returns a time from the string" do
16
- Date.set(@time.utc.to_s).should == @time
15
+ it "returns a utc time from the string" do
16
+ Date.set(@time.to_s).should == @time.utc
17
17
  end
18
18
 
19
19
  end
@@ -21,7 +21,7 @@ describe Mongoid::Extensions::Date::Conversions do
21
21
  context "when string is a date" do
22
22
 
23
23
  it "returns a time from the string" do
24
- Date.set("01/15/2007").should == Date.new(2007, 1, 15).at_midnight
24
+ Date.set("01/15/2007").should == Date.new(2007, 1, 15).at_midnight.utc
25
25
  end
26
26
 
27
27
  end
@@ -39,7 +39,7 @@ describe Mongoid::Extensions::Date::Conversions do
39
39
  context "when time provided" do
40
40
 
41
41
  it "returns the time" do
42
- Date.set(@time).should == @time
42
+ Date.set(@time).should == @time.utc
43
43
  end
44
44
 
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durran Jordan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-20 00:00:00 -05:00
12
+ date: 2009-12-21 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.3.4
23
+ version: 2.2.2
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mongo