validates_timeliness 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ = 2.2.2 [2009-09-19]
2
+ - Fixed dummy_time using make_time to respect timezone. Fixes 1.9.1 bug.
3
+
1
4
  = 2.2.1 [2009-09-12]
2
5
  - Fixed dummy date part for time types in Validator.type_cast_value
3
6
  - No more core extensions! Removed dummy_time methods.
@@ -1,7 +1,7 @@
1
1
  = validates_timeliness
2
2
 
3
3
  * Source: http://github.com/adzap/validates_timeliness
4
- * Bugs: http://adzap.lighthouseapp.com/projects/14111-validates_timeliness
4
+ * Bugs: http://github.com/adzap/validates_timeliness/issues
5
5
 
6
6
  == DESCRIPTION:
7
7
 
@@ -224,7 +224,7 @@ module ValidatesTimeliness
224
224
  time = [0,0,0]
225
225
  end
226
226
  dummy_date = ValidatesTimeliness::Formats.dummy_date_for_time_type
227
- Time.send(ValidatesTimeliness.default_timezone, *(dummy_date + time))
227
+ ValidatesTimeliness::Parser.make_time(dummy_date + time)
228
228
  end
229
229
 
230
230
  end
@@ -1,3 +1,3 @@
1
1
  module ValidatesTimeliness
2
- VERSION = "2.2.1"
2
+ VERSION = "2.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_timeliness
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Meehan
@@ -9,7 +9,7 @@ autorequire: validates_timeliness
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-12 00:00:00 +10:00
12
+ date: 2009-09-19 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -30,34 +30,34 @@ files:
30
30
  - Rakefile
31
31
  - TODO
32
32
  - CHANGELOG
33
- - lib/validates_timeliness/active_record/multiparameter_attributes.rb
34
- - lib/validates_timeliness/active_record/attribute_methods.rb
35
- - lib/validates_timeliness/parser.rb
36
33
  - lib/validates_timeliness/version.rb
37
- - lib/validates_timeliness/validator.rb
38
- - lib/validates_timeliness/validation_methods.rb
34
+ - lib/validates_timeliness/action_view/instance_tag.rb
39
35
  - lib/validates_timeliness/locale/en.yml
40
- - lib/validates_timeliness/spec/rails/matchers/validate_timeliness.rb
36
+ - lib/validates_timeliness/validation_methods.rb
41
37
  - lib/validates_timeliness/matcher.rb
42
- - lib/validates_timeliness/action_view/instance_tag.rb
38
+ - lib/validates_timeliness/active_record/attribute_methods.rb
39
+ - lib/validates_timeliness/active_record/multiparameter_attributes.rb
40
+ - lib/validates_timeliness/parser.rb
43
41
  - lib/validates_timeliness/formats.rb
42
+ - lib/validates_timeliness/validator.rb
43
+ - lib/validates_timeliness/spec/rails/matchers/validate_timeliness.rb
44
44
  - lib/validates_timeliness.rb
45
- - spec/active_record/multiparameter_attributes_spec.rb
46
- - spec/active_record/attribute_methods_spec.rb
47
- - spec/formats_spec.rb
48
- - spec/parser_spec.rb
49
- - spec/spec_helper.rb
45
+ - spec/validator_spec.rb
46
+ - spec/action_view/instance_tag_spec.rb
50
47
  - spec/ginger_scenarios.rb
51
- - spec/time_travel/time_extensions.rb
48
+ - spec/spec_helper.rb
49
+ - spec/formats_spec.rb
50
+ - spec/active_record/attribute_methods_spec.rb
51
+ - spec/active_record/multiparameter_attributes_spec.rb
52
52
  - spec/time_travel/time_travel.rb
53
+ - spec/time_travel/time_extensions.rb
53
54
  - spec/time_travel/MIT-LICENSE
55
+ - spec/parser_spec.rb
54
56
  - spec/spec/rails/matchers/validate_timeliness_spec.rb
55
- - spec/validator_spec.rb
56
- - spec/action_view/instance_tag_spec.rb
57
- - spec/resources/schema.rb
58
- - spec/resources/application.rb
59
57
  - spec/resources/person.rb
60
58
  - spec/resources/sqlite_patch.rb
59
+ - spec/resources/schema.rb
60
+ - spec/resources/application.rb
61
61
  has_rdoc: true
62
62
  homepage: http://github.com/adzap/validates_timeliness
63
63
  licenses: []
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements: []
83
83
 
84
84
  rubyforge_project: validatestime
85
- rubygems_version: 1.3.3
85
+ rubygems_version: 1.3.4
86
86
  signing_key:
87
87
  specification_version: 3
88
88
  summary: Date and time validation plugin for Rails 2.x which allows custom formats