chronic-mmlac 0.6.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gemtest +0 -0
- data/.gitignore +5 -0
- data/.yardopts +3 -0
- data/HISTORY.md +174 -0
- data/LICENSE +21 -0
- data/README.md +177 -0
- data/Rakefile +46 -0
- data/chronic.gemspec +17 -0
- data/lib/chronic/chronic.rb +325 -0
- data/lib/chronic/grabber.rb +31 -0
- data/lib/chronic/handler.rb +90 -0
- data/lib/chronic/handlers.rb +465 -0
- data/lib/chronic/mini_date.rb +38 -0
- data/lib/chronic/numerizer.rb +121 -0
- data/lib/chronic/ordinal.rb +44 -0
- data/lib/chronic/pointer.rb +30 -0
- data/lib/chronic/repeater.rb +135 -0
- data/lib/chronic/repeaters/repeater_day.rb +53 -0
- data/lib/chronic/repeaters/repeater_day_name.rb +52 -0
- data/lib/chronic/repeaters/repeater_day_portion.rb +94 -0
- data/lib/chronic/repeaters/repeater_fortnight.rb +71 -0
- data/lib/chronic/repeaters/repeater_hour.rb +58 -0
- data/lib/chronic/repeaters/repeater_minute.rb +58 -0
- data/lib/chronic/repeaters/repeater_month.rb +79 -0
- data/lib/chronic/repeaters/repeater_month_name.rb +94 -0
- data/lib/chronic/repeaters/repeater_season.rb +109 -0
- data/lib/chronic/repeaters/repeater_season_name.rb +43 -0
- data/lib/chronic/repeaters/repeater_second.rb +42 -0
- data/lib/chronic/repeaters/repeater_time.rb +128 -0
- data/lib/chronic/repeaters/repeater_week.rb +74 -0
- data/lib/chronic/repeaters/repeater_weekday.rb +85 -0
- data/lib/chronic/repeaters/repeater_weekend.rb +66 -0
- data/lib/chronic/repeaters/repeater_year.rb +77 -0
- data/lib/chronic/scalar.rb +109 -0
- data/lib/chronic/season.rb +37 -0
- data/lib/chronic/separator.rb +88 -0
- data/lib/chronic/span.rb +31 -0
- data/lib/chronic/tag.rb +42 -0
- data/lib/chronic/time_zone.rb +30 -0
- data/lib/chronic/token.rb +45 -0
- data/lib/chronic.rb +118 -0
- data/test/helper.rb +6 -0
- data/test/test_Chronic.rb +148 -0
- data/test/test_DaylightSavings.rb +118 -0
- data/test/test_Handler.rb +104 -0
- data/test/test_MiniDate.rb +32 -0
- data/test/test_Numerizer.rb +72 -0
- data/test/test_RepeaterDayName.rb +51 -0
- data/test/test_RepeaterFortnight.rb +62 -0
- data/test/test_RepeaterHour.rb +68 -0
- data/test/test_RepeaterMinute.rb +34 -0
- data/test/test_RepeaterMonth.rb +50 -0
- data/test/test_RepeaterMonthName.rb +56 -0
- data/test/test_RepeaterSeason.rb +40 -0
- data/test/test_RepeaterTime.rb +70 -0
- data/test/test_RepeaterWeek.rb +62 -0
- data/test/test_RepeaterWeekday.rb +55 -0
- data/test/test_RepeaterWeekend.rb +74 -0
- data/test/test_RepeaterYear.rb +69 -0
- data/test/test_Span.rb +23 -0
- data/test/test_Token.rb +25 -0
- data/test/test_parsing.rb +886 -0
- metadata +132 -0
metadata
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chronic-mmlac
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.4.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tom Preston-Werner
|
8
|
+
- Lee Jarvis
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Chronic is a natural language date/time parser written in pure Ruby.
|
15
|
+
email:
|
16
|
+
- tom@mojombo.com
|
17
|
+
- lee@jarvis.co
|
18
|
+
executables: []
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files:
|
21
|
+
- README.md
|
22
|
+
- HISTORY.md
|
23
|
+
- LICENSE
|
24
|
+
files:
|
25
|
+
- .gemtest
|
26
|
+
- .gitignore
|
27
|
+
- .yardopts
|
28
|
+
- HISTORY.md
|
29
|
+
- LICENSE
|
30
|
+
- README.md
|
31
|
+
- Rakefile
|
32
|
+
- chronic.gemspec
|
33
|
+
- lib/chronic.rb
|
34
|
+
- lib/chronic/chronic.rb
|
35
|
+
- lib/chronic/grabber.rb
|
36
|
+
- lib/chronic/handler.rb
|
37
|
+
- lib/chronic/handlers.rb
|
38
|
+
- lib/chronic/mini_date.rb
|
39
|
+
- lib/chronic/numerizer.rb
|
40
|
+
- lib/chronic/ordinal.rb
|
41
|
+
- lib/chronic/pointer.rb
|
42
|
+
- lib/chronic/repeater.rb
|
43
|
+
- lib/chronic/repeaters/repeater_day.rb
|
44
|
+
- lib/chronic/repeaters/repeater_day_name.rb
|
45
|
+
- lib/chronic/repeaters/repeater_day_portion.rb
|
46
|
+
- lib/chronic/repeaters/repeater_fortnight.rb
|
47
|
+
- lib/chronic/repeaters/repeater_hour.rb
|
48
|
+
- lib/chronic/repeaters/repeater_minute.rb
|
49
|
+
- lib/chronic/repeaters/repeater_month.rb
|
50
|
+
- lib/chronic/repeaters/repeater_month_name.rb
|
51
|
+
- lib/chronic/repeaters/repeater_season.rb
|
52
|
+
- lib/chronic/repeaters/repeater_season_name.rb
|
53
|
+
- lib/chronic/repeaters/repeater_second.rb
|
54
|
+
- lib/chronic/repeaters/repeater_time.rb
|
55
|
+
- lib/chronic/repeaters/repeater_week.rb
|
56
|
+
- lib/chronic/repeaters/repeater_weekday.rb
|
57
|
+
- lib/chronic/repeaters/repeater_weekend.rb
|
58
|
+
- lib/chronic/repeaters/repeater_year.rb
|
59
|
+
- lib/chronic/scalar.rb
|
60
|
+
- lib/chronic/season.rb
|
61
|
+
- lib/chronic/separator.rb
|
62
|
+
- lib/chronic/span.rb
|
63
|
+
- lib/chronic/tag.rb
|
64
|
+
- lib/chronic/time_zone.rb
|
65
|
+
- lib/chronic/token.rb
|
66
|
+
- test/helper.rb
|
67
|
+
- test/test_Chronic.rb
|
68
|
+
- test/test_DaylightSavings.rb
|
69
|
+
- test/test_Handler.rb
|
70
|
+
- test/test_MiniDate.rb
|
71
|
+
- test/test_Numerizer.rb
|
72
|
+
- test/test_RepeaterDayName.rb
|
73
|
+
- test/test_RepeaterFortnight.rb
|
74
|
+
- test/test_RepeaterHour.rb
|
75
|
+
- test/test_RepeaterMinute.rb
|
76
|
+
- test/test_RepeaterMonth.rb
|
77
|
+
- test/test_RepeaterMonthName.rb
|
78
|
+
- test/test_RepeaterSeason.rb
|
79
|
+
- test/test_RepeaterTime.rb
|
80
|
+
- test/test_RepeaterWeek.rb
|
81
|
+
- test/test_RepeaterWeekday.rb
|
82
|
+
- test/test_RepeaterWeekend.rb
|
83
|
+
- test/test_RepeaterYear.rb
|
84
|
+
- test/test_Span.rb
|
85
|
+
- test/test_Token.rb
|
86
|
+
- test/test_parsing.rb
|
87
|
+
homepage: http://github.com/mojombo/chronic
|
88
|
+
licenses: []
|
89
|
+
metadata: {}
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options:
|
92
|
+
- --charset=UTF-8
|
93
|
+
require_paths:
|
94
|
+
- lib
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
requirements: []
|
106
|
+
rubyforge_project: chronic
|
107
|
+
rubygems_version: 2.0.3
|
108
|
+
signing_key:
|
109
|
+
specification_version: 4
|
110
|
+
summary: Natural language date/time parsing.
|
111
|
+
test_files:
|
112
|
+
- test/helper.rb
|
113
|
+
- test/test_Chronic.rb
|
114
|
+
- test/test_DaylightSavings.rb
|
115
|
+
- test/test_Handler.rb
|
116
|
+
- test/test_MiniDate.rb
|
117
|
+
- test/test_Numerizer.rb
|
118
|
+
- test/test_RepeaterDayName.rb
|
119
|
+
- test/test_RepeaterFortnight.rb
|
120
|
+
- test/test_RepeaterHour.rb
|
121
|
+
- test/test_RepeaterMinute.rb
|
122
|
+
- test/test_RepeaterMonth.rb
|
123
|
+
- test/test_RepeaterMonthName.rb
|
124
|
+
- test/test_RepeaterSeason.rb
|
125
|
+
- test/test_RepeaterTime.rb
|
126
|
+
- test/test_RepeaterWeek.rb
|
127
|
+
- test/test_RepeaterWeekday.rb
|
128
|
+
- test/test_RepeaterWeekend.rb
|
129
|
+
- test/test_RepeaterYear.rb
|
130
|
+
- test/test_Span.rb
|
131
|
+
- test/test_Token.rb
|
132
|
+
- test/test_parsing.rb
|