chronic-mmlac 0.6.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/.gemtest +0 -0
  3. data/.gitignore +5 -0
  4. data/.yardopts +3 -0
  5. data/HISTORY.md +174 -0
  6. data/LICENSE +21 -0
  7. data/README.md +177 -0
  8. data/Rakefile +46 -0
  9. data/chronic.gemspec +17 -0
  10. data/lib/chronic/chronic.rb +325 -0
  11. data/lib/chronic/grabber.rb +31 -0
  12. data/lib/chronic/handler.rb +90 -0
  13. data/lib/chronic/handlers.rb +465 -0
  14. data/lib/chronic/mini_date.rb +38 -0
  15. data/lib/chronic/numerizer.rb +121 -0
  16. data/lib/chronic/ordinal.rb +44 -0
  17. data/lib/chronic/pointer.rb +30 -0
  18. data/lib/chronic/repeater.rb +135 -0
  19. data/lib/chronic/repeaters/repeater_day.rb +53 -0
  20. data/lib/chronic/repeaters/repeater_day_name.rb +52 -0
  21. data/lib/chronic/repeaters/repeater_day_portion.rb +94 -0
  22. data/lib/chronic/repeaters/repeater_fortnight.rb +71 -0
  23. data/lib/chronic/repeaters/repeater_hour.rb +58 -0
  24. data/lib/chronic/repeaters/repeater_minute.rb +58 -0
  25. data/lib/chronic/repeaters/repeater_month.rb +79 -0
  26. data/lib/chronic/repeaters/repeater_month_name.rb +94 -0
  27. data/lib/chronic/repeaters/repeater_season.rb +109 -0
  28. data/lib/chronic/repeaters/repeater_season_name.rb +43 -0
  29. data/lib/chronic/repeaters/repeater_second.rb +42 -0
  30. data/lib/chronic/repeaters/repeater_time.rb +128 -0
  31. data/lib/chronic/repeaters/repeater_week.rb +74 -0
  32. data/lib/chronic/repeaters/repeater_weekday.rb +85 -0
  33. data/lib/chronic/repeaters/repeater_weekend.rb +66 -0
  34. data/lib/chronic/repeaters/repeater_year.rb +77 -0
  35. data/lib/chronic/scalar.rb +109 -0
  36. data/lib/chronic/season.rb +37 -0
  37. data/lib/chronic/separator.rb +88 -0
  38. data/lib/chronic/span.rb +31 -0
  39. data/lib/chronic/tag.rb +42 -0
  40. data/lib/chronic/time_zone.rb +30 -0
  41. data/lib/chronic/token.rb +45 -0
  42. data/lib/chronic.rb +118 -0
  43. data/test/helper.rb +6 -0
  44. data/test/test_Chronic.rb +148 -0
  45. data/test/test_DaylightSavings.rb +118 -0
  46. data/test/test_Handler.rb +104 -0
  47. data/test/test_MiniDate.rb +32 -0
  48. data/test/test_Numerizer.rb +72 -0
  49. data/test/test_RepeaterDayName.rb +51 -0
  50. data/test/test_RepeaterFortnight.rb +62 -0
  51. data/test/test_RepeaterHour.rb +68 -0
  52. data/test/test_RepeaterMinute.rb +34 -0
  53. data/test/test_RepeaterMonth.rb +50 -0
  54. data/test/test_RepeaterMonthName.rb +56 -0
  55. data/test/test_RepeaterSeason.rb +40 -0
  56. data/test/test_RepeaterTime.rb +70 -0
  57. data/test/test_RepeaterWeek.rb +62 -0
  58. data/test/test_RepeaterWeekday.rb +55 -0
  59. data/test/test_RepeaterWeekend.rb +74 -0
  60. data/test/test_RepeaterYear.rb +69 -0
  61. data/test/test_Span.rb +23 -0
  62. data/test/test_Token.rb +25 -0
  63. data/test/test_parsing.rb +886 -0
  64. 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