nickel 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/nickel/construct_finder.rb +1 -1
- data/lib/nickel/version.rb +1 -1
- data/spec/lib/nickel_spec.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b0361c1b72f9b007ecd54f8865c0ab83eb94601
|
4
|
+
data.tar.gz: b3b322c5e5ae062c6ed01d9f8d77508b984bf3e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c2829ca72afe97825b23822f0eaebd757d546626ff80232ccd97d52455bd1389a5adfb66d78d8af515e7e12fd0c4f65ada64a9d8f45bcc219c1fa1db7f8ad54
|
7
|
+
data.tar.gz: 78567c960f25b17273b125e020f3482fa905212bb47a37c6a6624dc6ddb02250c80d8dd619641ad2db6f75a4e1bf6fb779ce482b4349b97ba579347cd6725ab9
|
data/CHANGELOG.md
CHANGED
@@ -1011,7 +1011,7 @@ module Nickel
|
|
1011
1011
|
end
|
1012
1012
|
|
1013
1013
|
def found_all_day
|
1014
|
-
|
1014
|
+
@constructs << Construct.new(comp_start: @pos, comp_end: @pos += 1, found_in: __method__)
|
1015
1015
|
end
|
1016
1016
|
|
1017
1017
|
def match_tomorrow
|
data/lib/nickel/version.rb
CHANGED
data/spec/lib/nickel_spec.rb
CHANGED
@@ -2189,6 +2189,12 @@ describe Nickel do
|
|
2189
2189
|
let(:query) { 'tomorrow anytime' }
|
2190
2190
|
let(:run_date) { Time.local(2014, 4, 18) }
|
2191
2191
|
|
2192
|
+
describe '#message' do
|
2193
|
+
it 'is empty' do
|
2194
|
+
expect(n.message).to be_empty
|
2195
|
+
end
|
2196
|
+
end
|
2197
|
+
|
2192
2198
|
describe '#occurrences' do
|
2193
2199
|
it 'is tomorrow' do
|
2194
2200
|
expect(n.occurrences).to match_array [
|
@@ -2202,6 +2208,12 @@ describe Nickel do
|
|
2202
2208
|
let(:query) { 'all day tomorrow' }
|
2203
2209
|
let(:run_date) { Time.local(2014, 4, 18) }
|
2204
2210
|
|
2211
|
+
describe '#message' do
|
2212
|
+
it 'is empty' do
|
2213
|
+
expect(n.message).to be_empty
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2205
2217
|
describe '#occurrences' do
|
2206
2218
|
it 'is tomorrow' do
|
2207
2219
|
expect(n.occurrences).to match_array [
|