diff --git a/Rakefile b/Rakefile index 50b4af8..06f4ac3 100644 --- a/Rakefile +++ b/Rakefile @@ -5,7 +5,7 @@ begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "calendar_date_select" - gemspec.version = File.read("VERSION") + gemspec.version = File.read("VERSION").strip gemspec.summary = "Calendar date picker for rails" gemspec.description = "Calendar date picker for rails" gemspec.email = "" diff --git a/VERSION b/VERSION index 810ee4e..9c6d629 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6 +1.6.1 diff --git a/calendar_date_select.gemspec b/calendar_date_select.gemspec index 0e71d4c..8fe391b 100644 --- a/calendar_date_select.gemspec +++ b/calendar_date_select.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = %q{calendar_date_select} - s.version = "1.6" + s.version = "1.6.1" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Shih-gian Lee", "Enrique Garcia Cota (kikito)", "Tim Charper", "Lars E. Hoeg"] - s.date = %q{2010-03-25} + s.date = %q{2010-03-29} s.description = %q{Calendar date picker for rails} s.email = %q{} s.extra_rdoc_files = [ @@ -74,7 +74,7 @@ Gem::Specification.new do |s| s.homepage = %q{http://github.com/timcharper/calendar_date_select} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.5} + s.rubygems_version = %q{1.3.6} s.summary = %q{Calendar date picker for rails} s.test_files = [ "spec/calendar_date_select/calendar_date_select_spec.rb", diff --git a/lib/calendar_date_select/calendar_date_select.rb b/lib/calendar_date_select/calendar_date_select.rb index 0c101a2..7a72af7 100644 --- a/lib/calendar_date_select/calendar_date_select.rb +++ b/lib/calendar_date_select/calendar_date_select.rb @@ -1,6 +1,6 @@ module CalendarDateSelect - VERSION = '1.6 -' + VERSION = '1.6.1' + FORMATS = { :natural => { :date => "%B %d, %Y", diff --git a/public/javascripts/calendar_date_select/calendar_date_select.js b/public/javascripts/calendar_date_select/calendar_date_select.js index 385e343..d3cccb7 100644 --- a/public/javascripts/calendar_date_select/calendar_date_select.js +++ b/public/javascripts/calendar_date_select/calendar_date_select.js @@ -1,4 +1,4 @@ -// CalendarDateSelect version 1.6 - a prototype based date picker +// CalendarDateSelect version 1.6.1 - a prototype based date picker // Questions, comments, bugs? - see the project page: http://code.google.com/p/calendardateselect if (typeof Prototype == 'undefined') alert("CalendarDateSelect Error: Prototype could not be found. Please make sure that your application's layout includes prototype.js (.g. <%= javascript_include_tag :defaults %>) *before* it includes calendar_date_select.js (.g. <%= calendar_date_select_includes %>)."); if (Prototype.Version < "1.6") alert("Prototype 1.6.0 is required. If using earlier version of prototype, please use calendar_date_select version 1.8.3");