nickel 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Rakefile +5 -1
- data/lib/nickel/construct.rb +31 -36
- data/lib/nickel/construct_finder.rb +442 -360
- data/lib/nickel/construct_interpreter.rb +50 -52
- data/lib/nickel/nlp.rb +18 -21
- data/lib/nickel/nlp_query.rb +471 -471
- data/lib/nickel/nlp_query_constants.rb +1 -1
- data/lib/nickel/occurrence.rb +7 -8
- data/lib/nickel/version.rb +1 -1
- data/lib/nickel/zdate.rb +86 -77
- data/lib/nickel/ztime.rb +58 -54
- data/spec/lib/nickel/construct_spec.rb +66 -0
- data/spec/lib/nickel/nlp_spec.rb +7 -7
- data/spec/lib/nickel/occurrence_spec.rb +20 -21
- data/spec/lib/nickel/zdate_spec.rb +49 -29
- data/spec/lib/nickel/ztime_spec.rb +174 -158
- data/spec/lib/nickel_spec.rb +687 -609
- data/spec/spec_helper.rb +2 -2
- metadata +4 -2
data/spec/spec_helper.rb
CHANGED
@@ -5,8 +5,8 @@ end
|
|
5
5
|
|
6
6
|
RSpec.configure do |config|
|
7
7
|
config.order = 'random'
|
8
|
-
config.expect_with(:rspec){ |c| c.syntax = :expect }
|
9
|
-
config.mock_with(:rspec){ |c| c.syntax = :expect }
|
8
|
+
config.expect_with(:rspec) { |c| c.syntax = :expect }
|
9
|
+
config.mock_with(:rspec) { |c| c.syntax = :expect }
|
10
10
|
config.filter_run_excluding broken: true
|
11
11
|
|
12
12
|
# make sure warnings are not shown when testing deprecated methods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nickel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Zell
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -122,6 +122,7 @@ files:
|
|
122
122
|
- lib/nickel/zdate.rb
|
123
123
|
- lib/nickel/ztime.rb
|
124
124
|
- nickel.gemspec
|
125
|
+
- spec/lib/nickel/construct_spec.rb
|
125
126
|
- spec/lib/nickel/nlp_spec.rb
|
126
127
|
- spec/lib/nickel/occurrence_spec.rb
|
127
128
|
- spec/lib/nickel/zdate_spec.rb
|
@@ -153,6 +154,7 @@ signing_key:
|
|
153
154
|
specification_version: 4
|
154
155
|
summary: Natural language date, time, and message parsing.
|
155
156
|
test_files:
|
157
|
+
- spec/lib/nickel/construct_spec.rb
|
156
158
|
- spec/lib/nickel/nlp_spec.rb
|
157
159
|
- spec/lib/nickel/occurrence_spec.rb
|
158
160
|
- spec/lib/nickel/zdate_spec.rb
|