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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8415cba533cee28e1d874296600c2a958fd29ca2
4
- data.tar.gz: 66cb8ab8941a4ebd019bd4909afd52120cd1b2df
3
+ metadata.gz: 681980a99568f3977ab2a0f7925e2a43574a20be
4
+ data.tar.gz: 07bc28df9cf1d66ac45af4a4a971676c651029e7
5
5
  SHA512:
6
- metadata.gz: '08458ad27757787be2e80fdbd5208948c460cae271398d2d7d9c208627b4c783a1679ae1b703f6bb480dbb138288bf2ab61ca56fc7411996fad32955507a0055'
7
- data.tar.gz: 2880ff3803eea424fb3c452df836de85fbd0591a7745ae7f3be1c96e7573ce738f4b4dd25daa4fa2c4caaeadae9c820b4b3bdf982fb468d52dc2554ff7a9db2a
6
+ metadata.gz: fdd7ed1788c36fb31512244e08190535fe222d1789ce19a7c1fbe2fd18572fdcba75bd1dab01be1d782580a80ae096c124a0856cfa04029f6b3320aa7c18934f
7
+ data.tar.gz: d23c7b259592c867df2e2cf44c7b6a689aad23a6c1bb4e2b7f27175d022a25da4b3ecd059f2ad97443ed43774bd59b5cdc13454f0d6ba6489ef71406da3930e8
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
@@ -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'
@@ -1,6 +1,5 @@
1
1
  class NaturalDateExpression
2
-
3
- VERSION = "1.0"
2
+ VERSION = "1.1"
4
3
 
5
4
  def initialize data, reference_date, expression_string
6
5
  @data = data
@@ -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/translator/step'
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.0'
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