tickle 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +8 -0
- data/Gemfile +4 -1
- data/lib/tickle.rb +7 -0
- data/lib/tickle/tickle.rb +2 -1
- data/lib/tickle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a728255bc9bd0d6f7bac246cfd6970b1e7dcbf62
|
4
|
+
data.tar.gz: 7001178b3e3e47fe21d6797380a15f4a47ff20f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/tickle.rb
CHANGED
@@ -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'
|
data/lib/tickle/tickle.rb
CHANGED
@@ -262,7 +262,8 @@ module Tickle
|
|
262
262
|
end
|
263
263
|
|
264
264
|
def next_appropriate_year(month, day)
|
265
|
-
|
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
|
|
data/lib/tickle/version.rb
CHANGED
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.
|
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-
|
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.
|
174
|
+
rubygems_version: 2.6.8
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: natural language parser for recurring events
|