mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
version 1.1.6
This commit is contained in:
parent
d1ee94248b
commit
c6ba1ced70
10
CHANGELOG
10
CHANGELOG
@ -1,3 +1,13 @@
|
|||||||
|
= 1.1.6 [2009-03-19]
|
||||||
|
- Rail 2.3 support
|
||||||
|
- Added :with_date and :with_time options. They allow an attribute to be combined with another attribute or value to make a datetime value for validation against the temporal restrictions
|
||||||
|
- Added :equal_to option
|
||||||
|
- Option key validation
|
||||||
|
- Better behaviour with other plugins using alias_method_chain on read_attribute and define_attribute_methods
|
||||||
|
- Added option to enable datetime_select extension for future use to optionally enable. Enabled by default until version 2.
|
||||||
|
- Added :ignore_usec option for datetime restrictions to be compared without microsecond
|
||||||
|
- some refactoring
|
||||||
|
|
||||||
= 1.1.5 [2009-01-21]
|
= 1.1.5 [2009-01-21]
|
||||||
- Fixed regex for 'yy' format token which wasn't greedy enough for date formats ending with year when a datetime string parsed as date with a 4 digit year
|
- Fixed regex for 'yy' format token which wasn't greedy enough for date formats ending with year when a datetime string parsed as date with a 4 digit year
|
||||||
|
|
||||||
|
|||||||
5
Rakefile
5
Rakefile
@ -5,7 +5,7 @@ require 'date'
|
|||||||
require 'spec/rake/spectask'
|
require 'spec/rake/spectask'
|
||||||
|
|
||||||
GEM = "validates_timeliness"
|
GEM = "validates_timeliness"
|
||||||
GEM_VERSION = "1.1.5"
|
GEM_VERSION = "1.1.6"
|
||||||
AUTHOR = "Adam Meehan"
|
AUTHOR = "Adam Meehan"
|
||||||
EMAIL = "adam.meehan@gmail.com"
|
EMAIL = "adam.meehan@gmail.com"
|
||||||
HOMEPAGE = "http://github.com/adzap/validates_timeliness"
|
HOMEPAGE = "http://github.com/adzap/validates_timeliness"
|
||||||
@ -24,9 +24,6 @@ spec = Gem::Specification.new do |s|
|
|||||||
s.email = EMAIL
|
s.email = EMAIL
|
||||||
s.homepage = HOMEPAGE
|
s.homepage = HOMEPAGE
|
||||||
|
|
||||||
# Uncomment this to add a dependency
|
|
||||||
# s.add_dependency "foo"
|
|
||||||
|
|
||||||
s.require_path = 'lib'
|
s.require_path = 'lib'
|
||||||
s.autorequire = GEM
|
s.autorequire = GEM
|
||||||
s.files = %w(LICENSE README.rdoc Rakefile TODO CHANGELOG) + Dir.glob("{lib,spec}/**/*")
|
s.files = %w(LICENSE README.rdoc Rakefile TODO CHANGELOG) + Dir.glob("{lib,spec}/**/*")
|
||||||
|
|||||||
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = %q{validates_timeliness}
|
s.name = %q{validates_timeliness}
|
||||||
s.version = "1.1.5"
|
s.version = "1.1.6"
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Adam Meehan"]
|
s.authors = ["Adam Meehan"]
|
||||||
s.autorequire = %q{validates_timeliness}
|
s.autorequire = %q{validates_timeliness}
|
||||||
s.date = %q{2009-01-21}
|
s.date = %q{2009-03-19}
|
||||||
s.description = %q{Date and time validation plugin for Rails 2.x which allows custom formats}
|
s.description = %q{Date and time validation plugin for Rails 2.x which allows custom formats}
|
||||||
s.email = %q{adam.meehan@gmail.com}
|
s.email = %q{adam.meehan@gmail.com}
|
||||||
s.extra_rdoc_files = ["README.rdoc", "LICENSE", "TODO", "CHANGELOG"]
|
s.extra_rdoc_files = ["README.rdoc", "LICENSE", "TODO", "CHANGELOG"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user