hpoydar-chronic_duration 0.2.0 → 0.3.1

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.
Files changed (2) hide show
  1. data/{README → README.rdoc} +4 -8
  2. metadata +4 -4
@@ -1,16 +1,13 @@
1
- Chronic Duration
2
- ================
1
+ = Chronic Duration
3
2
 
4
3
  A simple Ruby natural language parser for elapsed time. (For example, 4 hours and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in seconds. Will return an integer unless you get tricky and need a float. (4 minutes and 13.47 seconds, for example.)
5
4
 
6
- Installation
7
- ------------
5
+ == Installation
8
6
 
9
7
  $ sudo gem sources -a http://gems.github.com
10
8
  $ sudo gem install hpoydar-chronic_duration
11
9
 
12
- Usage
13
- -----
10
+ == Usage
14
11
 
15
12
  >> require 'chronic_duration'
16
13
  => true
@@ -32,8 +29,7 @@ Examples of parse-able strings:
32
29
  * '47 yrs 6 mos and 4d'
33
30
 
34
31
 
35
- TODO
36
- ----
32
+ == TODO
37
33
 
38
34
  * Benchmark and optimize
39
35
  * Context specific matching (E.g., for '4m30s', assume 'm' is minutes)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hpoydar-chronic_duration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Poydar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-11 00:00:00 -08:00
12
+ date: 2009-01-13 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -25,7 +25,7 @@ files:
25
25
  - lib/chronic_duration.rb
26
26
  - LICENSE
27
27
  - Rakefile
28
- - README
28
+ - README.rdoc
29
29
  has_rdoc: true
30
30
  homepage: http://github.com/hpoydar/chronic_duration
31
31
  post_install_message:
@@ -33,7 +33,7 @@ rdoc_options:
33
33
  - --line-numbers
34
34
  - --inline-source
35
35
  - --main
36
- - README
36
+ - README.rdoc
37
37
  require_paths:
38
38
  - lib
39
39
  required_ruby_version: !ruby/object:Gem::Requirement