scheduled_value 1.2.1 → 1.2.2

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
  SHA256:
3
- metadata.gz: b81a491075b1bcacd3a7e3a4ccd0c1fbedb84467dd67fc0553705f0f2e90ecf2
4
- data.tar.gz: fc2818b379dc616176f1dfb98ea7fa7a4c92b6651e59f73902554e89f0528f72
3
+ metadata.gz: 9f86452ee9d8684bc34b2704bf1749670d2ed3b9bb85fee625d33f3c7672db58
4
+ data.tar.gz: 664cb83af2b58a9d86ec43859088e2bdc5a73b38bb962210f1577908ec989095
5
5
  SHA512:
6
- metadata.gz: a3735862668e754f7d7ca9f7619b298b22d5530df2179757c40bc4ed117249ec2c1979ec30674068ec212c06a2f7136fa8ab120dda85877497dc1e4f118feee6
7
- data.tar.gz: 688e00b8e4d3c03ce6fcc6870f7c2ea855e384bf7ed82e0edae23c500b815ae393afc5aec12a4cdae3dc42faf0c2d0fca34f871ecd8d73291f118b793ea7b361
6
+ metadata.gz: 12678c0f0b7dcacf23a8a27ec5cab9400b4836af555f0534c2b71d33faccfb6d513f055540f9757f8ef6b3c8408fb773d0f36c5f0a49bd83889a80083780334f
7
+ data.tar.gz: ff7736721f2fc4443ec1381d64c804a01e48e4229e8a51180dfe9f52f6b5d087790843908cf22f50757aa04aa19753fada6ed69100938863c6c51fb2099f6df0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.2.2 - January 17, 2019
2
+
3
+ * Fix a formatting bug where the start time could be accidentally used
4
+ as the finish time if there is no timezone
5
+
1
6
  # 1.2.1 - January 25, 2018
2
7
 
3
8
  * Fix a major bug when formatting timespans with timezones
@@ -68,7 +68,7 @@ module ScheduledValue
68
68
 
69
69
  def finish_description(format = nil, timezone = nil)
70
70
  if finish
71
- finish_in_zone = timezone ? finish.in_time_zone(timezone) : start
71
+ finish_in_zone = timezone ? finish.in_time_zone(timezone) : finish
72
72
  "up to #{finish_in_zone.to_s(format)}"
73
73
  elsif start
74
74
  "indefinitely"
@@ -1,3 +1,3 @@
1
1
  module ScheduledValue
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scheduled_value
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Budin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.7.3
97
+ rubygems_version: 2.7.6
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Ruby classes for values that change over time