xronor 0.1.2 → 0.2.0

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: 0e2bebda2a6ecdc3f00b13174c1c6e50656902de
4
- data.tar.gz: f0a8ffff76c41b6b5829ea2fae41aa2c6b56b280
3
+ metadata.gz: 93475da3836a0c0cb3ed81615fba7fe3767699ec
4
+ data.tar.gz: 1b70b017931f047c6881b50abcd06731f7e50c0e
5
5
  SHA512:
6
- metadata.gz: bf298ad2554461fcac63119dd5c7d6fb6399233f2627ff216fcfdccded67aeeccaf4b3884fd0e29d6d2c0cf876c1e9fe35b77050656331173326edf1db980d0a
7
- data.tar.gz: 121aa259aee3fc77d7cdac1a17d983a4b79b9d6eb152c8c00756aa77dbad646995a2566a15fc84e1b3716cee1864ebc8c43ff2a70b4c11c3ab56a745625f8ec9
6
+ metadata.gz: 607ed92f6501d2aba977f63de3c072ffc00cd7276c627f68bf1f3ff0c1be4ac39c62c95e57c254a98bbdbc51d592bee60055147c0aee44413c8f079e1ba841e6
7
+ data.tar.gz: b517f19e3e34294cdb1d14b6909181cde74bc77d21620b9dcc5d3e607900db25040f9b0de1c9d17604f366909dd964c2a7f04f2cf307f100fbe1419e09c16fd7
@@ -1,3 +1,10 @@
1
+ # [v0.2.0](https://github.com/dtan4/xronor/releases/tag/v0.2.0) (2017-05-25)
2
+
3
+ ## Fixed
4
+
5
+ - Parse ambiguous time to be more intuitive [#18](https://github.com/dtan4/xronor/pull/18)
6
+ - :warning: Due to this change, some conversion result may be changed after upgrading
7
+
1
8
  # [v0.1.2](https://github.com/dtan4/xronor/releases/tag/v0.1.2) (2017-03-28)
2
9
 
3
10
  ## Updated
@@ -136,7 +136,7 @@ module Xronor
136
136
  original_time_class = Chronic.time_class
137
137
  Time.zone = @options[:timezone]
138
138
  Chronic.time_class = Time.zone
139
- local_at = Chronic.parse(@options[:at])
139
+ local_at = Chronic.parse(@options[:at], ambiguous_time_range: 1)
140
140
  cron_at = local_at.in_time_zone(@options[:cron_timezone])
141
141
  Chronic.time_class = original_time_class
142
142
 
@@ -1,3 +1,3 @@
1
1
  module Xronor
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xronor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daisuke Fujita
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2017-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport