Adam Meehan
5c1406e9b0
v4.0.2
2016-01-07 08:26:19 +11:00
Adam Meehan
32f92cc885
Set @timeliness_methods_generated = false on undefined
2016-01-07 08:25:09 +11:00
Adam Meehan
cb3ac8d445
v4.0.1
2016-01-06 22:20:44 +11:00
Adam Meehan
4e5f5fa695
Return value if not of known type in type cast
2016-01-06 22:20:24 +11:00
Adam Meehan
321834b5ff
Fix thread lock on undefine
...
Move active model methods into active model ORM module to be included
manually if not using AR or other ORM
2016-01-06 22:18:54 +11:00
Adam Meehan
ff131415f7
Fix shadowing
2016-01-06 16:36:25 +11:00
Adam Meehan
ad43eb31d6
Return date if date type
2016-01-06 16:35:01 +11:00
Adam Meehan
0f782a4ed5
Latest rails gems in appraisals
2015-12-30 12:07:06 +11:00
Adam Meehan
d57c64dcc2
Getting with the RSpec times
2015-12-30 12:06:42 +11:00
Adam Meehan
244f398cc4
travis gem install failure on 2.2.0 trying 2.2.3
2015-12-29 18:02:18 +11:00
Adam Meehan
0feeb746cd
Fix zone in test
2015-12-29 17:57:54 +11:00
Adam Meehan
6f23e40c25
Remove ruby 2.0 from travis
2015-12-29 17:51:54 +11:00
Adam Meehan
773e816a4d
Use latest rspec
2015-12-29 17:51:42 +11:00
Adam Meehan
80c9df448d
v3.x changelog
2015-12-29 16:30:46 +11:00
Adam Meehan
54ae49b8a0
Update changelog
2015-12-29 16:27:59 +11:00
Adam Meehan
b20b25940e
Update readme to reflect v4.x only
2015-12-29 16:16:08 +11:00
Adam Meehan
51bc0d7d05
Wrong gemfile names in travis
2015-12-29 16:12:37 +11:00
Adam Meehan
c7d87e3fe6
byebug ignore history
2015-12-29 16:11:23 +11:00
Adam Meehan
4dcebde1bc
Not using autotest anymore
2015-12-29 16:11:13 +11:00
Adam Meehan
1a869bfb1f
Was a random change by my back to rvm
2015-12-29 16:05:35 +11:00
Adam Meehan
22ab7f4455
v4.0.0
2015-12-29 16:01:57 +11:00
Adam Meehan
57379fd78a
Just rake in travis i guess
2015-12-29 16:01:30 +11:00
Adam Meehan
2424acc075
Generate default config with AR orm enabled
2015-12-29 15:58:42 +11:00
Adam Meehan
d883758046
Trying travis setup
2015-12-29 15:56:59 +11:00
Adam Meehan
2bcb3ae4dd
update appraisal gemfiles
2015-12-29 15:55:16 +11:00
Adam Meehan
0444bdc650
Datetime select extension fixes with help from @johncarney's fork
2015-12-29 15:49:18 +11:00
Adam Meehan
feb508f171
Validator 4.x compat
2015-12-29 14:57:56 +11:00
Adam Meehan
24f2752c2e
Multiparam extension 4.x changes
2015-12-29 14:57:38 +11:00
Adam Meehan
afa8dee6ab
Rails 4.x attribute assignment compatability
2015-12-29 14:56:58 +11:00
Adam Meehan
08b16f155c
Rspec 3 syntax
2015-12-29 14:55:03 +11:00
Adam Meehan
1ddf0f1b0f
Remove all mongoid stuff and put in validates_timeliness-mongoid
2015-12-28 14:24:24 +11:00
Adam Meehan
6560a09ad2
Change Time.local_time to Time.local
2015-12-28 13:47:11 +11:00
Adam Meehan
2fef0a23d6
v3.0.15
2015-11-10 18:50:02 +11:00
Adam Meehan
d0f2158ae5
Update Gemfile
2015-11-10 18:49:03 +11:00
Adam Meehan
bb830baea2
Rails 4.0 and 4.1 compat for #setup method removal
2015-11-10 17:52:34 +11:00
Adam Meehan
4d48c3578b
Merge pull request #128 from monkbroc/patch-1
...
Generate attribute methods once instead of on each object creation
2015-09-25 09:13:02 +10:00
Julien Vanier
7d37882327
Generate attribute methods once instead of on each object creation
...
This is a memory and performance improvement change.
The attribute methods for timeliness are generated at each object creation instead of once, at first creation like AR attribute methods. Since creating those methods uses `module_eval` it's quite slow when it's done each `Model.new`.
For more details on the performance improvement, see the same change on John Carney's fork: https://github.com/johncarney/validates_timeliness/pull/6
2015-09-24 14:58:12 -04:00
Adam Meehan
12f6d2a467
Merge pull request #104 from johnnyshields/mongoid-3
...
Update to Mongoid 3
2015-09-12 17:23:20 +10:00
Adam Meehan
913bd4ccfa
Merge pull request #123 from obfuscoder/master
...
Fix typo in comment of initializer template
2015-09-12 09:51:44 +10:00
Obfuscoder
f1b8925a36
Fix typo in comment of initializer template
2014-11-02 20:59:50 +01:00
Adam Meehan
f983dcc9dc
Merge pull request #109 from RudyOnRails/patch-1
...
typo
2013-11-07 09:45:10 -08:00
Kevin Musiorski
7be1539cee
typo
2013-11-06 13:59:17 -06:00
Johnny Shields
99ae8fe7d7
Update for Mongoid 3:
...
- Now requires Mongoid 3.0 as minimum version (this is the only version to support Rails 3.2)
- Upgrade specs/helpers for Mongoid 3
- Support Mongoid aliased field names (e.g. field :foo, as: bar, type: String). Includes spec
- Support before_type_cast on Mongoid. No code change was required for this, only a spec change.
- There was one mongoid spec that was previously marked pending. I've found that it now works on Mongoid 3.
- Removed some Mongoid 2.3 and earlier hacks, which simplifies the Mongoid ORM code.
2013-07-24 11:05:01 +09:00
Adam Meehan
00ce472d3e
Merge pull request #99 from softace/fixing_build
...
Fix for running tests in non-Australian timezones
2013-06-16 15:22:33 -07:00
Jarl Friis
0d2c7ce554
Fix for running tests in non-Australian timezones
2013-04-30 19:56:19 +02:00
Adam Meehan
3d798697e1
Merge pull request #98 from 907th/master
...
Range with excluded end passed to :between option should be split into :on_or_after and :before options
2013-04-30 04:45:54 -07:00
Alexey Chernenkov
dc0fdc0340
Range with excluded end passed to :between option should be split into :on_or_after and :before options
2013-04-30 15:37:44 +06:00
Adam Meehan
dd3b6b5514
Merge pull request #95 from will-ob/fix/require-active-model
...
Require 'active_model'
2013-04-25 22:01:51 -07:00
Will O'Brien
609fafe7bb
Require 'active_model'
...
Apparently classes are lazily required when using autoload. Prompted by
'uninitialized constant ActiveModel::Validations'
2013-04-25 22:42:28 -04:00
Adam Meehan
df9677f5bf
timeliness minimum dep 0.3.7
2012-10-15 20:37:05 +11:00