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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e909e04e9f8d28d66830424a835382cbd8f1e19
4
- data.tar.gz: 22837b6f669097bf247375947ffd8dc3c9a83c91
3
+ metadata.gz: 8b0361c1b72f9b007ecd54f8865c0ab83eb94601
4
+ data.tar.gz: b3b322c5e5ae062c6ed01d9f8d77508b984bf3e7
5
5
  SHA512:
6
- metadata.gz: be9d1aa084a9a31d440e60885e5db535eeb28d5c1ca1e1e1863d0cc4c1b811f56123c8f0beabf63622811cdee20b4774c686617b2e9bc2e3ed3d6070a333a8e6
7
- data.tar.gz: c610292f6fae975fbd54d7741cc031eb8e04b0034e9020517b41d270025a5dabad6b2b832c079f579d4ce4eac4239cda089b6b81e727370dd1db7ed27d20acd6
6
+ metadata.gz: 4c2829ca72afe97825b23822f0eaebd757d546626ff80232ccd97d52455bd1389a5adfb66d78d8af515e7e12fd0c4f65ada64a9d8f45bcc219c1fa1db7f8ad54
7
+ data.tar.gz: 78567c960f25b17273b125e020f3482fa905212bb47a37c6a6624dc6ddb02250c80d8dd619641ad2db6f75a4e1bf6fb779ce482b4349b97ba579347cd6725ab9
@@ -1,3 +1,7 @@
1
+ 0.1.5
2
+ -----
3
+ * Better bugfix for queries containing "anytime"
4
+
1
5
  0.1.4
2
6
  -----
3
7
  * Bugfix for queries containing "anytime"
@@ -1011,7 +1011,7 @@ module Nickel
1011
1011
  end
1012
1012
 
1013
1013
  def found_all_day
1014
- # @constructs << TimeConstruct.new(time: nil, comp_start: @pos, comp_end: @pos += 1, found_in: __method__)
1014
+ @constructs << Construct.new(comp_start: @pos, comp_end: @pos += 1, found_in: __method__)
1015
1015
  end
1016
1016
 
1017
1017
  def match_tomorrow
@@ -1,3 +1,3 @@
1
1
  module Nickel
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
@@ -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 [
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
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Zell