Adam Meehan
|
c3a591a5d8
|
fix bad spec
|
2010-11-06 19:08:25 +11:00 |
|
Adam Meehan
|
6265b2d804
|
fix parsing of datetimes with timezone (thanks sigi)
|
2010-11-06 19:05:50 +11:00 |
|
Adam Meehan
|
d6ddae9977
|
don't allow 0 or > 12 for meridian am hour
|
2010-09-17 14:52:39 +10:00 |
|
Adam Meehan
|
b356363791
|
fix bug preventing custom class methods on date/times
|
2010-03-19 14:11:13 +11:00 |
|
Adam Meehan
|
e9eb812c9e
|
fix misbehaving spec
|
2010-03-19 13:39:47 +11:00 |
|
Adam Meehan
|
353f154330
|
tiny spec clean
|
2010-02-26 11:23:55 +11:00 |
|
Adam Meehan
|
3e1a9fc107
|
fix locale spec by adding time formats into dummy locale
|
2010-02-04 13:08:00 +11:00 |
|
Adam Meehan
|
99d742e3d0
|
instance_tag time_select spec fix
|
2010-02-04 13:06:24 +11:00 |
|
Adam Meehan
|
77f338d97c
|
refactored action view extension to use params
this is instead of value before type to avoid issues with partial value parsing
will be extracted in v3
|
2010-02-04 11:45:28 +11:00 |
|
Adam Meehan
|
d255bbfccf
|
deprecation warning example for :equal_to with messages silenced
|
2010-01-18 12:03:10 +11:00 |
|
Adam Meehan
|
4df1974524
|
tweak instance tag spec
|
2010-01-12 22:13:43 +11:00 |
|
Adam Meehan
|
82c0e1bcd3
|
changed format of string used in multi param for invalid or partial values
|
2010-01-12 22:05:14 +11:00 |
|
Adam Meehan
|
59d9957ab6
|
fix generated_methods bug where read instead of write method stored
existing spec failed unless run alone as attribute methods already
primed. fixed spec to undef method and empty generated_methods set
|
2009-12-29 11:13:15 +11:00 |
|
Adam Meehan
|
694c3b0ce3
|
method rename and words
|
2009-12-23 14:52:41 +11:00 |
|
Adam Meehan
|
a859827af4
|
fix regexp for ISO 8601 datetimes (thanks costan)
|
2009-12-23 13:06:32 +11:00 |
|
Adam Meehan
|
f3c119e191
|
change equal_to to is_at to fix overlap with default rails message
|
2009-12-11 15:20:34 +11:00 |
|
Adam Meehan
|
3bfc7b748f
|
more rails versions in ginger scenarios
|
2009-12-11 15:19:07 +11:00 |
|
Adam Meehan
|
40369efdff
|
GMT to UTC in spec for 1.8.7
|
2009-12-11 15:18:22 +11:00 |
|
Adam Meehan
|
f41016af93
|
spec for missing translation
|
2009-12-11 15:17:46 +11:00 |
|
Adam Meehan
|
78baa7a3cc
|
move default validator options to constant
|
2009-12-11 11:13:35 +11:00 |
|
Adam Meehan
|
a6712de5ff
|
use global error value formats if missing in locale
always loads globals value formats into class accessor
replace old format accessor methods class accessor
|
2009-12-11 11:06:21 +11:00 |
|
Adam Meehan
|
b11893eac0
|
fix dummy date part in Validator.type_cast_value
removed all core extensions
|
2009-09-12 14:14:37 +10:00 |
|
Adam Meehan
|
6db8b7d908
|
push dummy date value assignment into Formats.parse and allow custom values to be used
|
2009-09-12 13:07:01 +10:00 |
|
Adam Meehan
|
1b865cc834
|
split ignore_sec into own describe
|
2009-09-12 13:05:11 +10:00 |
|
Adam Meehan
|
c29478df45
|
fix deprecation for ActiveRecord::Errors#generate_message in Rails 2.3.4
ginger scenario added 2.3.4
|
2009-09-12 13:05:11 +10:00 |
|
Adam Meehan
|
df3283e5a1
|
fix ignore_usec for with_date and with_time options
|
2009-09-12 13:05:04 +10:00 |
|
Adam Meehan
|
0e382e15f2
|
moved action view extension enable call to relevant spec
|
2009-09-11 13:13:02 +10:00 |
|
Adam Meehan
|
9a697b9cab
|
finally fixed spec for latest rspec
|
2009-09-11 13:11:09 +10:00 |
|
Adam Meehan
|
e399c6b510
|
moved mutliparam helper methods our of AR to reduce method pollution
|
2009-07-28 12:52:25 +10:00 |
|
Adam Meehan
|
7aa1a87731
|
require matcher in spec helper
|
2009-07-28 12:51:32 +10:00 |
|
Adam Meehan
|
1a31e7463d
|
have to manually require matcher now because the presence of the Spec
namespace caused issues for shoulda when not using rspec:wq
|
2009-07-07 15:32:15 +10:00 |
|
Adam Meehan
|
75a3b2bd83
|
version 2.1
|
2009-06-20 22:30:08 +10:00 |
|
Adam Meehan
|
9b300e084b
|
change to spec/autorun
|
2009-06-20 19:43:13 +10:00 |
|
Adam Meehan
|
d61dddfbc6
|
fix i18n locale load order to allow customisation
fix interpolation values for i18n
|
2009-06-19 12:06:36 +10:00 |
|
Adam Meehan
|
34c0f25225
|
dramatically simplify the before_type_cast hack and remove read method override
simplified write method with no dirty attributes hackery
|
2009-06-06 16:37:06 +10:00 |
|
Adam Meehan
|
57c3fdca88
|
set RAILS_ENV spec_helper
|
2009-06-06 11:36:03 +10:00 |
|
Adam Meehan
|
7aac14c874
|
added ambiguous year threshold setting
|
2009-06-06 11:16:19 +10:00 |
|
Adam Meehan
|
bb94e234bc
|
add :format option to validate and parse with specific a format
|
2009-04-10 10:57:27 +10:00 |
|
Adam Meehan
|
f041524124
|
add equal_to option to matcher
|
2009-04-10 10:48:24 +10:00 |
|
Adam Meehan
|
e1d23d0f2b
|
Merge branch '2.0.0'
|
2009-04-09 18:54:34 +10:00 |
|
Adam Meehan
|
b197d537f1
|
fix read attribute bug for frozen record (reported by Les Nightingill)
|
2009-04-06 13:52:07 +10:00 |
|
Adam Meehan
|
1e3c802031
|
capture zone offset value in formats to possible usage
|
2009-03-31 21:35:49 +11:00 |
|
Adam Meehan
|
9e2d95c3e1
|
remove brittle and not very useful specs, which are covered elsewhere
|
2009-03-31 14:22:13 +11:00 |
|
Adam Meehan
|
8303be05c3
|
little spec consistency
|
2009-03-30 21:03:51 +11:00 |
|
Adam Meehan
|
f4ed751c26
|
changed back to using error_value_formats for Rails 2.0/2.1
|
2009-03-28 19:51:11 +11:00 |
|
Adam Meehan
|
956933f58b
|
disable multiparameter values extension by default for v2
|
2009-03-28 18:53:47 +11:00 |
|
Adam Meehan
|
7967b5a212
|
refactored error value formats to use locale file for I18n. Rail 2.0/2.1 to use default_error_value_formats now.
moved default_error_messages_method into validator
|
2009-03-28 18:49:26 +11:00 |
|
Adam Meehan
|
a836ed8434
|
changed Formats#parse to take options hash for strict and other possibilities
|
2009-03-28 17:35:41 +11:00 |
|
Adam Meehan
|
c2a4f45b5a
|
removed old spec
|
2009-03-28 17:35:21 +11:00 |
|
Adam Meehan
|
312c1510cb
|
refactored AR parsing methods into Parser module to reduce AR method pollution and make more consistent
|
2009-03-28 17:25:48 +11:00 |
|