chronic_2001 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +3 -29
  2. data/lib/chronic.rb +1 -1
  3. metadata +5 -5
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
- Chronic
1
+ Chronic 2001
2
2
  =======
3
3
 
4
4
  ## DESCRIPTION
5
5
 
6
- Chronic is a natural language date/time parser written in pure Ruby. See below
6
+ Chronic 2001 is a natural language date/time parser written in pure Ruby. It is derived from Chronic. See below
7
7
  for the wide variety of formats Chronic will parse.
8
8
 
9
9
 
@@ -11,13 +11,7 @@ for the wide variety of formats Chronic will parse.
11
11
 
12
12
  ### RubyGems
13
13
 
14
- $ [sudo] gem install chronic
15
-
16
- ### GitHub
17
-
18
- $ git clone git://github.com/mojombo/chronic.git
19
- $ cd chronic && gem build chronic.gemspec
20
- $ gem install chronic-<version>.gem
14
+ $ [sudo] gem install chronic_2001
21
15
 
22
16
 
23
17
  ## USAGE
@@ -158,23 +152,3 @@ Chronic uses Ruby's built in Time class for all time storage and computation.
158
152
  Because of this, only times that the Time class can handle will be properly
159
153
  parsed. Parsing for times outside of this range will simply return nil.
160
154
  Support for a wider range of times is planned for a future release.
161
-
162
-
163
- ## CONTRIBUTE
164
-
165
- If you'd like to hack on Chronic, start by forking the repo on GitHub:
166
-
167
- https://github.com/mojombo/chronic
168
-
169
- The best way to get your changes merged back into core is as follows:
170
-
171
- 1. Clone down your fork
172
- 1. Create a thoughtfully named topic branch to contain your change
173
- 1. Hack away
174
- 1. Add tests and make sure everything still passes by running `rake`
175
- 1. Ensure your tests pass in multiple timezones. ie `TZ=utc rake` `TZ=BST rake`
176
- 1. If you are adding new functionality, document it in the README
177
- 1. Do not change the version number, we will do that on our end
178
- 1. If necessary, rebase your commits into logical chunks, without errors
179
- 1. Push the branch up to GitHub
180
- 1. Send a pull request for your branch
data/lib/chronic.rb CHANGED
@@ -27,7 +27,7 @@ require 'date'
27
27
  # Chronic.parse('may 27th', :guess => false)
28
28
  # #=> Sun May 27 00:00:00 PDT 2007..Mon May 28 00:00:00 PDT 2007
29
29
  module Chronic
30
- VERSION = "0.1.1"
30
+ VERSION = "0.1.2"
31
31
 
32
32
  class << self
33
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronic_2001
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70306954771560 !ruby/object:Gem::Requirement
16
+ requirement: &70264076581620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70306954771560
24
+ version_requirements: *70264076581620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: minitest
27
- requirement: &70306954771100 !ruby/object:Gem::Requirement
27
+ requirement: &70264076581200 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70306954771100
35
+ version_requirements: *70264076581200
36
36
  description: The original Chronic gem is a natural language date/time parser written
37
37
  in pure Ruby. This gem, Chronic 2011, returns a Date or Time depending on the user
38
38
  input.