Commit Graph

371 Commits

Author SHA1 Message Date
Adam Meehan
16221ac092
Merge pull request #190 from AleBL/patch-1
Update README.rdoc
2020-08-19 10:18:45 +10:00
Alessandro Barros
c0c42edd3f
Update README.rdoc
change to new syntax for keys
2020-08-18 17:56:15 -03:00
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
Adam Meehan
3134072f01 v5.0.0.beta1 2020-01-06 15:48:51 +11:00
Adam Meehan
797ba48036 default rails to 5.1.x 2020-01-06 15:47:34 +11:00
Adam Meehan
f8e6480f58 use ActiveSupport Array.wrap 2019-08-20 10:38:38 -10:00
Adam Meehan
3835b2b161 v5.0.0.alpha5 2019-08-08 10:34:27 +10:00
Adam Meehan
00d038bc6f Merge branch 'master' of github.com:adzap/validates_timeliness 2019-08-06 15:17:34 +10:00
Adam Meehan
a3d0182b5e
Merge pull request #186 from timdiggins/patch-1
Add in v4.1.0 details into Changelog
2019-08-06 14:55:45 +10:00
Adam Meehan
46296f914f ensure timeliness initializer is after initializer files 2019-08-03 12:56:08 +10:00
Adam Meehan
4447361743 hash syntax 2019-08-03 12:38:47 +10:00
Adam Meehan
4523138c3c Add Rails initializer to set Timeliness.ambiguous_date_format for Timeliness v0.4+ 2019-08-03 12:38:39 +10:00
Tim Diggins
72807b87a7
Add in v4.1.0 details into Changelog
v4.1.0 details were only available on the v4.1.0 tag. this brings those back in.
2019-08-01 15:30:42 +01:00
Adam Meehan
9daf12c4a1 README typo of Rails version support 2019-06-14 09:59:39 +10:00
Adam Meehan
2a80683683
Merge pull request #183 from kamille-gz/use_AS_on_load_hook
use ActiveSupport.on_load hook for extend ActiveRecord
2019-03-09 17:16:11 +11:00
kamille-321
3a2882be75 use ActiveSupport on_load hook for extend ActiveRecord 2019-03-09 01:14:08 +09:00
Adam Meehan
bf1c808846 fix appraisals 2019-02-09 12:23:57 +11:00
Adam Meehan
d0fcf754ec Update build to ruby 2.5.3 and fix sqlite 2019-02-09 12:15:58 +11:00
Adam Meehan
7233ff66dd v5.0.0.alpha4 2019-02-09 12:00:31 +11:00
Adam Meehan
f0ba09f278 relax timeliness dependency, assuming semver 2019-02-09 11:57:31 +11:00
Adam Meehan
80ee285b3a bump minimum timeliness version 2019-02-03 11:58:11 +11:00
Adam Meehan
cf20576253 readme version bump 2018-07-31 09:08:42 +10:00
Adam Meehan
f39fbb0ad2 v5.0.0.alpha3
Bump with fixed file permissions only.
2018-07-31 09:07:09 +10:00
Adam Meehan
67106b0212 bump gem version in readme 2018-07-02 21:13:24 +10:00
Adam Meehan
bc6d4fe5fc v5.0.0.alpha2 2018-07-02 21:12:12 +10:00
Adam Meehan
70335cd0ba Use prepend for Type overrides /ht @jasl closes #179 2018-07-02 21:08:47 +10:00
Adam Meehan
af406cdedc remove old sqlite-ruby gem. Thanks @jasl 2018-07-02 21:08:47 +10:00
Adam Meehan
837de0d212 v5.0.0.alpha1 2018-07-02 21:08:47 +10:00
Adam Meehan
116930d633
Merge pull request #178 from xMartin/patch-1
update README with actually working 5.x gem version
2018-06-28 09:43:40 +10:00
xMartin
f025d58073
update README with actually working 5.x gem version 2018-06-27 11:22:40 +02:00
Adam Meehan
e645a938b6 remove skipped specs which no longer apply 2018-06-06 13:34:20 -10:00
Adam Meehan
3bc583b200 add Rails 5.1 and 5.2 appraisals 2018-06-06 13:33:44 -10:00
Adam Meehan
4a824e94cd add breaking change for multiparam value format 2018-06-06 13:32:40 -10:00
Adam Meehan
093e33fbed Move conversion module methods in Converter class
Encapsulate conversion helper methods
2018-05-19 16:28:35 +10:00
Adam Meehan
e5bb096161 Move method generation to ActiveModel only and use type system in AR
The ActiveModel type system with extensions in ActiveRecord provide
us a lot of convenience. Some general attribute code is now moved to
ActiveModel only as the AR types provide raw value capturing
(before_type_cast) and type classes to handle type specific string
value parsing if enabled.

In my view, we need to go futher and strip out more from ActiveModel
extension but at least we should have compatibility at the moment.
2018-05-19 15:22:23 +10:00
Adam Meehan
4582c96c42 Time only values are zone aware from AR 5.0 2018-05-18 09:27:16 +10:00
Adam Meehan
38899712c5 update gemfile 2018-05-18 09:14:26 +10:00
Adam Meehan
1c2f4c1b05 turn off timezone aware check specs for now 2018-05-18 09:13:46 +10:00
Adam Meehan
402a6b6e3e Change multiparamter extension to use AR type classes
Multiparamter extension used to do a lot of crappy work to ensure that
the invalid Date dates were not accepted, but also to store a
before_type_cast value in cases when it was invalid. We no longer need
to handle the before_type_cast value as ActiveRecord does that nicely.

Now we just ensure values to cast with a invalid date parts is not
accepted.
2018-05-18 08:58:00 +10:00
Adam Meehan
a1f42fce28 Remove old version checks 2018-05-16 13:12:30 +10:00
Adam Meehan
076714d648 update hash syntax in spec 2018-05-16 12:54:32 +10:00
Adam Meehan
a40a758848 Update CHANGELOG 2018-05-16 12:47:18 +10:00
Adam Meehan
941055c16e Restore usage of DateTime substitute value object
Remove initialize override. Not sure why what was added.
2018-05-16 09:27:27 +10:00
Adam Meehan
4fef42ac24 Rails 5.x compatible Tag value method signature 2018-05-16 09:06:36 +10:00
Adam Meehan
84b1885b6b cannot use POSITION in actionview to map value key 2018-05-15 19:59:59 +10:00
Adam Meehan
90501a8e56 Tag value method takes objects 2018-05-15 19:27:15 +10:00