natural-date 1.0 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/natural-date.rb +15 -0
- data/lib/natural-date/natural_date_expression.rb +1 -2
- data/natural-date.gemspec +1 -15
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 681980a99568f3977ab2a0f7925e2a43574a20be
|
4
|
+
data.tar.gz: 07bc28df9cf1d66ac45af4a4a971676c651029e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdd7ed1788c36fb31512244e08190535fe222d1789ce19a7c1fbe2fd18572fdcba75bd1dab01be1d782580a80ae096c124a0856cfa04029f6b3320aa7c18934f
|
7
|
+
data.tar.gz: d23c7b259592c867df2e2cf44c7b6a689aad23a6c1bb4e2b7f27175d022a25da4b3ecd059f2ad97443ed43774bd59b5cdc13454f0d6ba6489ef71406da3930e8
|
data/.gitignore
CHANGED
data/lib/natural-date.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'natural-date/translator/step'
|
2
|
+
require 'natural-date/translator/cleaner'
|
3
|
+
require 'natural-date/translator/expander'
|
4
|
+
require 'natural-date/translator/expression_splitter'
|
5
|
+
require 'natural-date/translator/minifier'
|
6
|
+
require 'natural-date/translator/mod_applier'
|
7
|
+
require 'natural-date/translator/mounter'
|
8
|
+
require 'natural-date/translator/normalizer'
|
9
|
+
require 'natural-date/translator/splitter_literal_date'
|
10
|
+
require 'natural-date/translator/time_mounter'
|
11
|
+
require 'natural-date/translator/unknown_cleaner'
|
12
|
+
require 'natural-date/translator/year_finder'
|
13
|
+
require 'natural-date/language_bundle'
|
14
|
+
require 'natural-date/natural_date_expression_factory'
|
15
|
+
require 'natural-date/natural_date_expression'
|
data/natural-date.gemspec
CHANGED
@@ -2,21 +2,7 @@
|
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
|
5
|
-
require 'natural-date
|
6
|
-
require 'natural-date/translator/cleaner'
|
7
|
-
require 'natural-date/translator/expander'
|
8
|
-
require 'natural-date/translator/expression_splitter'
|
9
|
-
require 'natural-date/translator/minifier'
|
10
|
-
require 'natural-date/translator/mod_applier'
|
11
|
-
require 'natural-date/translator/mounter'
|
12
|
-
require 'natural-date/translator/normalizer'
|
13
|
-
require 'natural-date/translator/splitter_literal_date'
|
14
|
-
require 'natural-date/translator/time_mounter'
|
15
|
-
require 'natural-date/translator/unknown_cleaner'
|
16
|
-
require 'natural-date/translator/year_finder'
|
17
|
-
require 'natural-date/language_bundle'
|
18
|
-
require 'natural-date/natural_date_expression_factory'
|
19
|
-
require 'natural-date/natural_date_expression'
|
5
|
+
require 'natural-date'
|
20
6
|
|
21
7
|
Gem::Specification.new do |spec|
|
22
8
|
spec.name = "natural-date"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: natural-date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew S Aguiar
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- Rakefile
|
71
71
|
- bin/console
|
72
72
|
- bin/setup
|
73
|
+
- lib/natural-date.rb
|
73
74
|
- lib/natural-date/language_bundle.rb
|
74
75
|
- lib/natural-date/natural_date_expression.rb
|
75
76
|
- lib/natural-date/natural_date_expression_factory.rb
|