timeliness 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ = 0.3.1 - 2010-11-27
2
+ * Fix issue with 2nd argument options being overidden
3
+
1
4
  = 0.3.0 - 2010-11-27
2
5
  * Support for parsed timezone offset or abbreviation being used in creating time value
3
6
  * Added timezone abbreviation mapping config option
@@ -54,7 +54,7 @@ module Timeliness
54
54
  type_or_now = args.first
55
55
  if type_or_now.is_a?(Symbol)
56
56
  type = type_or_now
57
- elsif !type_or_now.is_a?(Hash)
57
+ elsif type_or_now
58
58
  options[:now] = type_or_now
59
59
  end
60
60
  return type, options
@@ -1,3 +1,3 @@
1
1
  module Timeliness
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timeliness
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Meehan