calendar_sniper 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzdiN2RlYjFhYjZmMGRmNGZlNmQ0MTE0ZDk3OWZiMDNiMjFiZGJhYg==
4
+ YjZhZjFhZTkyZDI2N2VmNjhiZWYyOGEwYWQ3ZGQzYjhmNDY0Y2NmYw==
5
5
  data.tar.gz: !binary |-
6
- ZWVmYTk4MjE4M2YzMjgwMjY1M2YxOWFiOWZlMGExNzQ3MDQzNzFhNg==
6
+ NzcxNzg0NzNhZmQzYjEzMmVkNmViZTNhZmFmYmRjM2Q4OWQ4MGNkNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzNhMzBiZDk2NDhhYjAzNjQ3YzQyMjBmMjZiZDU3Y2FlNzZhMWY1ZDgxMmEx
10
- ZjViZTg0OTRhNjU5YmRmZGY1NGVmNDhhOWRlN2ZjZDk4ZGRmOTI0NGIxY2Fh
11
- Y2JmOWJkOWZkNWMwMjIyYjUxZWQ2NzM4MGEwZDYwN2M5YjhjMTQ=
9
+ Mzk5MjUzM2FmOTM3ZDc0YzkwNTg1ZjVmZDFkMzk3YWVmNTgzM2IwNmZjNThh
10
+ NmVmZGUwYTAyMjVmYzExZmU4MjhkZTYzYWRhMWFmNDRiNmExMzZhNzlhNjYw
11
+ YzgzODY3OTQxNjZjYjRmNTY4MTViN2FkZjZiMTg4ZmYyZDYzYWU=
12
12
  data.tar.gz: !binary |-
13
- MTYzMjE3YjM4MTYxZjNhZGI5Nzk4NjM2MDVlOGE0N2NkMmIxMzM2Y2UxYTE2
14
- NGQ4ODJmYjUwNzFiMmY0NWNiOTM1ODBhMzFiNTQyNzBhNTRjY2Y2NjVjYzgy
15
- NjI1NWFlNzJiZTI0NmQzYzQwNzdkZWU5NDBkZGY3ZmNmYzQ2YTU=
13
+ MjQ2MTFmZDUyMzc5MDkwYzJhMzI4ZWQ2YTFlYjc5MDYxNmNhYjg0NmRiNWVk
14
+ MzIyZTlmYzkwZDJiYTdjOTJkNTViMDI1Y2VlZWVlNmNmNmEzOGJmMDQ1ODZm
15
+ MzZlMjU3NjAyY2QxYzc3Y2ZlOGNmOWNjNDA4NmM1ZTc2OTQxYzI=
@@ -1,3 +1,3 @@
1
1
  module CalendarSniper
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -59,7 +59,7 @@ module CalendarSniper
59
59
  elsif /^\d{4}-\d{1,2}-\d{1,2}/ =~ str
60
60
  if /^\d{4}-\d{1,2}-\d{1,2} \S+/ =~ str
61
61
  '%Y-%m-%d %Z'
62
- elsif /^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2}:\d{2}+/
62
+ elsif /^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2}:\d{2}+/ =~ str
63
63
  '%Y-%m-%d %k:%M:%S'
64
64
  else
65
65
  '%Y-%m-%d'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calendar_sniper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris MacNaughton