mongomatic 0.8.1.1 → 0.8.2
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/VERSION +1 -1
- data/lib/mongomatic/typed_fields.rb +1 -1
- data/mongomatic.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
@@ -20,7 +20,7 @@ module Mongomatic
|
|
20
20
|
module ClassMethods
|
21
21
|
def typed_field(name, opts)
|
22
22
|
unless Mongomatic::TypedFields::KNOWN_TYPES.include?(opts[:type])
|
23
|
-
raise Mongomatic::TypedFields::
|
23
|
+
raise Mongomatic::TypedFields::InvalidType, "#{opts[:type]}"
|
24
24
|
end
|
25
25
|
|
26
26
|
opts = {:cast => true}.merge(opts)
|
data/mongomatic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{mongomatic}
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Myles", "Justin Smestad"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-05-07}
|
13
13
|
s.description = %q{Mongomatic is a modular Ruby object mapper for Mongo}
|
14
14
|
s.email = %q{ben.myles@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mongomatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.8.
|
5
|
+
version: 0.8.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ben Myles
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-05-07 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|