chronic 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.3 / 2011-08-01
2
+
3
+ * Ensure 'thu' is parsed as Thursday for 1.8.7 generic timestamp
4
+
1
5
  # 0.6.2 / 2011-07-28
2
6
 
3
7
  * Ensure specific endian handlers are prioritised over normal date handlers
data/lib/chronic.rb CHANGED
@@ -28,7 +28,7 @@ require 'date'
28
28
  #
29
29
  # @author Tom Preston-Werner, Lee Jarvis
30
30
  module Chronic
31
- VERSION = "0.6.2"
31
+ VERSION = "0.6.3"
32
32
 
33
33
  class << self
34
34
 
@@ -58,7 +58,7 @@ module Chronic
58
58
  /^m[ou]n(day)?$/ => :monday,
59
59
  /^t(ue|eu|oo|u|)s?(day)?$/ => :tuesday,
60
60
  /^we(d|dnes|nds|nns)(day)?$/ => :wednesday,
61
- /^th(urs|ers)(day)?$/ => :thursday,
61
+ /^th(u(?:rs)?|ers)(day)?$/ => :thursday,
62
62
  /^fr[iy](day)?$/ => :friday,
63
63
  /^sat(t?[ue]rday)?$/ => :saturday,
64
64
  /^su[nm](day)?$/ => :sunday
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease: false
4
+ hash: 1
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 2
10
- version: 0.6.2
9
+ - 3
10
+ version: 0.6.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Preston-Werner
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-28 00:00:00 +01:00
20
- default_executable:
19
+ date: 2011-09-02 00:00:00 Z
21
20
  dependencies: []
22
21
 
23
22
  description: Chronic is a natural language date/time parser written in pure Ruby.
@@ -95,7 +94,6 @@ files:
95
94
  - test/test_Span.rb
96
95
  - test/test_Token.rb
97
96
  - test/test_parsing.rb
98
- has_rdoc: true
99
97
  homepage: http://github.com/mojombo/chronic
100
98
  licenses: []
101
99
 
@@ -125,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
123
  requirements: []
126
124
 
127
125
  rubyforge_project: chronic
128
- rubygems_version: 1.3.7
126
+ rubygems_version: 1.8.6
129
127
  signing_key:
130
128
  specification_version: 3
131
129
  summary: Natural language date/time parsing.