tickle 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f37559d98569337ef293a7dab47aff50bbf79ddc
4
- data.tar.gz: ae5ab433c8e9561b83ce453c25ca1bebb957f024
3
+ metadata.gz: a728255bc9bd0d6f7bac246cfd6970b1e7dcbf62
4
+ data.tar.gz: 7001178b3e3e47fe21d6797380a15f4a47ff20f0
5
5
  SHA512:
6
- metadata.gz: c46c9d0305c4c0ed9bc669998c05951e551a2c96d10a117a49fcf72e13d3dc7afce702c47c68f2262d5e3ed3d29fa1fc5730a4b284a08bbd2f6348675fae781f
7
- data.tar.gz: 305f4b9f2c78624d5d98e71d13563eb6892e1b2c88e9cae0be7f990ec763b8ab345952684b32f41197c14d4087a142cac54207464dee39653e983e14f32deace
6
+ metadata.gz: da19d5f7cc11c2311197671418d055f52fcfaa243bc2836cf8a90a0e84786fd6de50aa0906f949c8de6b2847d8b2e0f399fd3f6ecf26a96bce94609043b2f38c
7
+ data.tar.gz: d98ec40a885d1378e745600c707a3293d0c273616738e151221936657b05e3dbb49924e6d08bb242348f68ba8cf8556420aaca4925d7c9d0ee1d3e4641e309e7
data/CHANGES.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # CH CH CH CH CHANGES! #
2
2
 
3
+ ## Wednesday the 15th of March 2017, v1.1.1 ##
4
+
5
+ * Bit of easier debugging added in.
6
+ * Bug fixes, thanks to https://github.com/dodomarocgenex for finding and helping with them.
7
+
8
+ ----
9
+
10
+
3
11
  ## Wednesday the 22nd of February 2017, v1.1.0 ##
4
12
 
5
13
  * Numerizer duplication removed. Thanks to https://github.com/bjonord.
data/Gemfile CHANGED
@@ -4,4 +4,7 @@ gemspec
4
4
 
5
5
  group :test do
6
6
  gem "rspec"
7
- end
7
+ end
8
+
9
+ gem "pry-byebug"
10
+ gem "pry-state"
@@ -9,6 +9,13 @@
9
9
 
10
10
  $LOAD_PATH.unshift(File.dirname(__FILE__)) # For use/testing when no gem is installed
11
11
 
12
+ if ENV["DEBUG"]
13
+ warn "DEBUG MODE ON"
14
+ require 'pry-byebug'
15
+ require 'pry-state'
16
+ binding.pry
17
+ end
18
+
12
19
  require 'date'
13
20
  require 'time'
14
21
  require 'chronic'
@@ -262,7 +262,8 @@ module Tickle
262
262
  end
263
263
 
264
264
  def next_appropriate_year(month, day)
265
- year = (Date.new(@start.year.to_i, month.to_i, day.to_i) == @start.to_date) ? @start.year + 1 : @start.year
265
+ start = @start || Date.today
266
+ year = (Date.new(start.year.to_i, month.to_i, day.to_i) == start.to_date) ? start.year + 1 : start.year
266
267
  return year
267
268
  end
268
269
 
@@ -1,5 +1,5 @@
1
1
  module Tickle
2
2
 
3
3
  # This library's current version.
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Lippiner
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-22 00:00:00.000000000 Z
12
+ date: 2017-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chronic
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.4.5
174
+ rubygems_version: 2.6.8
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: natural language parser for recurring events