From 897a9a3bd3849693d9cc41f475525c0e636784f6 Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Sun, 7 Dec 2008 12:06:42 +1100 Subject: [PATCH] final touch ups to changelog, todo and gemspec for release 1.0.0 --- CHANGELOG | 5 ++++- Rakefile | 3 ++- TODO | 1 + validates_timeliness.gemspec | 5 +++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 284f10e..d9f47bf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,11 +1,14 @@ = 1.0.0 [2008-12-06] - Gemified! -- Refactor of plugin into a Data Mapper style validator class which makes for a cleaner implementation and possible future Data Mapper support +- Refactor of plugin into a Data Mapper style validator class which makes for a cleaner implementation and possible future Merb\Data Mapper support - Added Rails 2.2 i18n support. Plugin error messages can specified in locale files. See README. - ignore_datetime_restriction_errors setting has been moved from AR to ValidatesTimeliness::Validator.ignore_restriction_errors - date_time_error_value_formats setting has been moved from AR to ValidatesTimeliness::Validator.error_value_formats - Namespaced modules and specs - Clean up of specs +- fixed a few bugs + - accessor methods not generating properly due method name stored as symbol in generated_attributes which fails on lookup + - force value assigned to time/datetime attributes to time objects = 0.1.0 [2008-12-06] - Tagged plugin as version 0.1.0 diff --git a/Rakefile b/Rakefile index 2c41979..80c3c89 100644 --- a/Rakefile +++ b/Rakefile @@ -8,13 +8,14 @@ GEM = "validates_timeliness" GEM_VERSION = "1.0.0" AUTHOR = "Adam Meehan" EMAIL = "adam.meehan@gmail.com" -HOMEPAGE = "http://duckpunching.com" +HOMEPAGE = "http://github.com/adzap/validates_timeliness" SUMMARY = "Date and time validation plugin for Rails 2.x which allows custom formats" spec = Gem::Specification.new do |s| s.name = GEM s.version = GEM_VERSION s.platform = Gem::Platform::RUBY + s.rubyforge_project = "validatestime" s.has_rdoc = true s.extra_rdoc_files = ["README.rdoc", "LICENSE", "TODO", "CHANGELOG"] s.summary = SUMMARY diff --git a/TODO b/TODO index 6c7bad5..9c4d830 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ +- :between option - :format option - :with_date and :with_time options - Merb and Data Mapper support diff --git a/validates_timeliness.gemspec b/validates_timeliness.gemspec index 4a0ed16..cc80720 100644 --- a/validates_timeliness.gemspec +++ b/validates_timeliness.gemspec @@ -7,14 +7,15 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Adam Meehan"] s.autorequire = %q{validates_timeliness} - s.date = %q{2008-12-06} + s.date = %q{2008-12-07} s.description = %q{Date and time validation plugin for Rails 2.x which allows custom formats} s.email = %q{adam.meehan@gmail.com} s.extra_rdoc_files = ["README.rdoc", "LICENSE", "TODO", "CHANGELOG"] s.files = ["LICENSE", "README.rdoc", "Rakefile", "TODO", "CHANGELOG", "lib/validates_timeliness", "lib/validates_timeliness/core_ext", "lib/validates_timeliness/core_ext/date.rb", "lib/validates_timeliness/core_ext/date_time.rb", "lib/validates_timeliness/core_ext/time.rb", "lib/validates_timeliness/action_view", "lib/validates_timeliness/action_view/instance_tag.rb", "lib/validates_timeliness/locale", "lib/validates_timeliness/locale/en.yml", "lib/validates_timeliness/validation_methods.rb", "lib/validates_timeliness/active_record", "lib/validates_timeliness/active_record/attribute_methods.rb", "lib/validates_timeliness/active_record/multiparameter_attributes.rb", "lib/validates_timeliness/formats.rb", "lib/validates_timeliness/validator.rb", "lib/validates_timeliness/spec", "lib/validates_timeliness/spec/rails", "lib/validates_timeliness/spec/rails/matchers", "lib/validates_timeliness/spec/rails/matchers/validate_timeliness.rb", "lib/validates_timeliness.rb", "spec/core_ext", "spec/core_ext/dummy_time_spec.rb", "spec/validator_spec.rb", "spec/action_view", "spec/action_view/instance_tag_spec.rb", "spec/ginger_scenarios.rb", "spec/validation_methods_spec.rb", "spec/spec_helper.rb", "spec/formats_spec.rb", "spec/active_record", "spec/active_record/attribute_methods_spec.rb", "spec/active_record/multiparameter_attributes_spec.rb", "spec/time_travel", "spec/time_travel/time_travel.rb", "spec/time_travel/time_extensions.rb", "spec/time_travel/MIT-LICENSE", "spec/spec", "spec/spec/rails", "spec/spec/rails/matchers", "spec/spec/rails/matchers/validate_timeliness_spec.rb", "spec/resources", "spec/resources/person.rb", "spec/resources/sqlite_patch.rb", "spec/resources/schema.rb", "spec/resources/application.rb"] s.has_rdoc = true - s.homepage = %q{http://duckpunching.com} + s.homepage = %q{http://github.com/adzap/validates_timeliness} s.require_paths = ["lib"] + s.rubyforge_project = %q{validatestime} s.rubygems_version = %q{1.3.1} s.summary = %q{Date and time validation plugin for Rails 2.x which allows custom formats}