Compare commits

..

5 Commits

Author SHA1 Message Date
Adam Meehan
f8b91e9cea v5.0.0.beta2 2020-07-12 16:26:54 +10:00
Adam Meehan
7fa4d85ee3 Change load_config_initializers to sym in Railtie 2020-07-04 17:07:28 +10:00
Adam Meehan
70307293c6 defaults Rails to 5.2.x 2020-07-04 17:06:39 +10:00
Adam Meehan
f42e905cd1 Merge pull request #189 from VSPPedro/update-readme
readme version bump
2020-06-30 09:33:37 +10:00
Pedro Paiva
35eb50aa40 readme version bump 2020-06-29 19:44:40 -03:00
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ source 'http://rubygems.org'
gemspec gemspec
gem 'rails', '~> 5.1.7' gem 'rails', '~> 5.2.4'
gem 'rspec' gem 'rspec'
gem 'rspec-rails', '~> 3.7' gem 'rspec-rails', '~> 3.7'
gem 'timecop' gem 'timecop'

View File

@@ -30,7 +30,7 @@ If you a looking for the old version for Rails 4.x go here [https://github.com/a
== Installation == Installation
# in Gemfile # in Gemfile
gem 'validates_timeliness', '~> 5.0.0.alpha3' gem 'validates_timeliness', '~> 5.0.0.beta1'
# Run bundler # Run bundler
$ bundle install $ bundle install

View File

@@ -12,7 +12,7 @@ module ValidatesTimeliness
ValidatesTimeliness.ignore_restriction_errors = !Rails.env.test? ValidatesTimeliness.ignore_restriction_errors = !Rails.env.test?
end end
initializer "validates_timeliness.initialize_timeliness_ambiguous_date_format", :after => 'load_config_initializers' do initializer "validates_timeliness.initialize_timeliness_ambiguous_date_format", :after => :load_config_initializers do
if Timeliness.respond_to?(:ambiguous_date_format) # i.e. v0.4+ if Timeliness.respond_to?(:ambiguous_date_format) # i.e. v0.4+
# Set default for each new thread if you have changed the default using # Set default for each new thread if you have changed the default using
# the format switching methods. # the format switching methods.

View File

@@ -1,3 +1,3 @@
module ValidatesTimeliness module ValidatesTimeliness
VERSION = '5.0.0.beta1' VERSION = '5.0.0.beta2'
end end