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 CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.1.1 (2009-03-16)
2
+
3
+ * Fixed <tt>assert_invalid</tt>'s misleading message.
4
+
1
5
  === 1.1.0 (2009-03-04)
2
6
 
3
7
  * Added <tt>assert_invalid</tt>.
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require "rubygems"
2
2
  require "hoe"
3
3
 
4
- Hoe.new "modelizer", "1.1.0" do |p|
4
+ Hoe.new "modelizer", "1.1.1" do |p|
5
5
  p.developer "John Barnette", "jbarnette@rubyforge.org"
6
6
 
7
7
  p.url = "http://github.com/jbarnette/modelizer"
@@ -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?, "#{model.class.name} should be valid, but isn't."
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.0
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-04 00:00:00 -08:00
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.9.0
23
+ version: 1.11.0
24
24
  version:
25
25
  description: ""
26
26
  email: