modelizer 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/Rakefile +1 -1
- data/lib/modelizer/assertions.rb +2 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/Rakefile
CHANGED
data/lib/modelizer/assertions.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
module Modelizer
|
2
2
|
module Assertions
|
3
3
|
def assert_invalid attribute, model, match = nil
|
4
|
-
assert !model.valid?,
|
4
|
+
assert !model.valid?,
|
5
|
+
"#{model.class.name} should have invalid #{attribute}, but it's valid."
|
5
6
|
|
6
7
|
assert !model.errors.on(attribute).blank?,
|
7
8
|
"No error on #{attribute}, but: " +
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modelizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Barnette
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-16 00:00:00 -07: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: 1.
|
23
|
+
version: 1.11.0
|
24
24
|
version:
|
25
25
|
description: ""
|
26
26
|
email:
|