validates_timeliness 1.1.0 → 1.1.1

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/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ = 1.1.1 [2009-01-03]
2
+ - Fixed bug in matcher for options local variable
3
+
1
4
  = 1.1.0 [2009-01-01]
2
5
  - Added between option
3
6
 
data/README.rdoc CHANGED
@@ -26,6 +26,8 @@ think should be a valid date or time string.
26
26
 
27
27
  * Supports Rails 2.2 I18n for the error messages
28
28
 
29
+ * Rspec matcher for testing model validation of dates and times
30
+
29
31
 
30
32
  == INSTALLATION:
31
33
 
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "validates_timeliness"
8
- GEM_VERSION = "1.1.0"
8
+ GEM_VERSION = "1.1.1"
9
9
  AUTHOR = "Adam Meehan"
10
10
  EMAIL = "adam.meehan@gmail.com"
11
11
  HOMEPAGE = "http://github.com/adzap/validates_timeliness"
@@ -23,7 +23,7 @@ module Spec
23
23
 
24
24
  def matches?(record)
25
25
  @record = record
26
- @type = options[:type]
26
+ @type = @options[:type]
27
27
 
28
28
  valid = test_validity
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_timeliness
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
  - Adam Meehan
@@ -9,7 +9,7 @@ autorequire: validates_timeliness
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-02 00:00:00 +11:00
12
+ date: 2009-01-03 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies: []
15
15