scheduled_value 1.2.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/lib/scheduled_value/scheduled_value.rb +5 -1
- data/lib/scheduled_value/timespan.rb +4 -0
- data/lib/scheduled_value/timespan_with_value.rb +4 -0
- data/lib/scheduled_value/version.rb +1 -1
- data/scheduled_value.gemspec +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7234802031b34255cf3f454337315a544832e18f803fac5c8a50ef8f95523258
|
4
|
+
data.tar.gz: 68b4cdd3575fb251cd28f430db4b6816a8002d31dece0a30c916a1dd59d8f0da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 577bb65200c721d057de48870c8b86337724f2a8fc0df19ec97a66a471dfd658ee62b6f8b44f4c4e68ff571ccd35d88541e99f870a10e67e132cf886eb1e6d8a
|
7
|
+
data.tar.gz: 2564ffeb2197265af3e7a26621936220f58bee90655d81bcc606cc57225b717c212ccf3dc673ac0e3d87c88e9be99f60cca5ed3b8c6a2eefa71bb161f2b48ed6
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -28,6 +28,10 @@ module ScheduledValue
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
31
|
+
def to_hash(*)
|
32
|
+
attributes
|
33
|
+
end
|
34
|
+
|
31
35
|
def attributes=(attributes)
|
32
36
|
self.timespans = attributes[:timespans] || attributes['timespans']
|
33
37
|
end
|
@@ -109,4 +113,4 @@ module ScheduledValue
|
|
109
113
|
timespans.find { |my_timespan| my_timespan.overlaps? timespan }
|
110
114
|
end
|
111
115
|
end
|
112
|
-
end
|
116
|
+
end
|
data/scheduled_value.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "~>
|
23
|
-
spec.add_development_dependency "rake", "~>
|
22
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
23
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
24
24
|
spec.add_development_dependency "minitest"
|
25
25
|
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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Budin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
|
97
|
-
rubygems_version: 2.7.6
|
96
|
+
rubygems_version: 3.0.3
|
98
97
|
signing_key:
|
99
98
|
specification_version: 4
|
100
99
|
summary: Ruby classes for values that change over time
|