scheduled_value 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/scheduled_value/timespan.rb +2 -2
- data/lib/scheduled_value/timespan_with_value.rb +1 -1
- data/lib/scheduled_value/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f634016c2c9deeb2636a8aeb00313e9bf9f604f9
|
4
|
+
data.tar.gz: 26545c67f6551b41d0dc4ecebc6382863aaec688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c5b96836e60c30228cf9726b802d2eca6500dd3706e8df4a5c28e97d89dc26f5dd96c8e4673d180f29a482b99081a6dba9f4656885878a8985ba165dfe7d903
|
7
|
+
data.tar.gz: 32d93b8e6cfd45bbae41f94b6eb95f7e2091f1534d068e219577a4f9059527dc064509cc72cae2306f3fcdaf8414a4ef7845c08f2ef6ee34ff5cc6ec589943ca
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 1.1.2 - May 22, 2017
|
2
|
+
|
3
|
+
* Bug fix: use setters in initializers so that custom conversions will work when deserializing ScheduledValues
|
4
|
+
|
1
5
|
# 1.1.1 - February 18, 2017
|
2
6
|
|
3
7
|
* `ScheduledValue::ScheduledValue#covers_all_time?` will no longer raise an exception if there are no timespans
|
@@ -4,8 +4,8 @@ module ScheduledValue
|
|
4
4
|
attr_accessor :start, :finish
|
5
5
|
|
6
6
|
def initialize(start: nil, finish: nil)
|
7
|
-
|
8
|
-
|
7
|
+
self.start = start
|
8
|
+
self.finish = finish
|
9
9
|
|
10
10
|
raise "Finish must be after start" if start && finish && start >= finish
|
11
11
|
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.1.
|
4
|
+
version: 1.1.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: 2017-
|
11
|
+
date: 2017-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|