scheduled_value 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +8 -0
- data/CHANGELOG.md +13 -9
- data/lib/scheduled_value/scheduled_value.rb +2 -0
- data/lib/scheduled_value/version.rb +1 -1
- data/renovate.json +5 -0
- data/scheduled_value.gemspec +2 -0
- metadata +22 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25b4e127a2058c15e463d65dcdfeb37341f10a74ba932cd4e3e0c9cc26050de8
|
4
|
+
data.tar.gz: 49baea44dd5719e1dc98d02a3d29c593ea17d0c2e89d876c9e1562a472f9efe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dc06b4e0088a7493ffa6141923f38edb2ffbcb37a888291bc670c47e3a4a509bc91be597de4d7941855758ff2afe7e938a99400c877ceeae7dc40fe00e771b9
|
7
|
+
data.tar.gz: 49396437f18d57fd907f55bd81c867b12f0d7046eb887aba25d720dc1cb1d40f8726b59246fa0ac61d2e2be5ce85f89485447ff7b695420d7653bca14ebc39d3
|
data/CHANGELOG.md
CHANGED
@@ -1,37 +1,41 @@
|
|
1
|
+
# 1.4.0 - September 19, 2021
|
2
|
+
|
3
|
+
- Use an explicit dependency on the sorted_set gem for Ruby 3 compatibility
|
4
|
+
|
1
5
|
# 1.3.0 - March 28, 2020
|
2
6
|
|
3
|
-
|
7
|
+
- Implement #to_hash as an alias for #attributes on all objects, to make ActiveSupport serialization
|
4
8
|
behave better
|
5
9
|
|
6
10
|
# 1.2.2 - January 17, 2019
|
7
11
|
|
8
|
-
|
12
|
+
- Fix a formatting bug where the start time could be accidentally used
|
9
13
|
as the finish time if there is no timezone
|
10
14
|
|
11
15
|
# 1.2.1 - January 25, 2018
|
12
16
|
|
13
|
-
|
17
|
+
- Fix a major bug when formatting timespans with timezones
|
14
18
|
|
15
19
|
# 1.2.0 - YANKED - January 25, 2018
|
16
20
|
|
17
|
-
|
21
|
+
- Allow passing timezone argument to string formatting methods in Timespan
|
18
22
|
|
19
23
|
# 1.1.3 - September 27, 2017
|
20
24
|
|
21
|
-
|
25
|
+
- Don't assume 'date' and 'time' are already required by the time we require 'scheduled_value/timespan'
|
22
26
|
|
23
27
|
# 1.1.2 - May 22, 2017
|
24
28
|
|
25
|
-
|
29
|
+
- Bug fix: use setters in initializers so that custom conversions will work when deserializing ScheduledValues
|
26
30
|
|
27
31
|
# 1.1.1 - February 18, 2017
|
28
32
|
|
29
|
-
|
33
|
+
- `ScheduledValue::ScheduledValue#covers_all_time?` will no longer raise an exception if there are no timespans
|
30
34
|
|
31
35
|
# 1.1.0 - December 25, 2016
|
32
36
|
|
33
|
-
|
37
|
+
- Add `ScheduledValue::ScheduledValue#has_value_at?` method to reduce the need for exceptions-as-control-flow
|
34
38
|
|
35
39
|
# 1.0.0 - December 24, 2016
|
36
40
|
|
37
|
-
|
41
|
+
- Initial public release.
|
data/scheduled_value.gemspec
CHANGED
@@ -19,6 +19,8 @@ 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_dependency "sorted_set", "~> 1.0"
|
23
|
+
|
22
24
|
spec.add_development_dependency "bundler", "~> 2.0"
|
23
25
|
spec.add_development_dependency "rake", "~> 13.0"
|
24
26
|
spec.add_development_dependency "minitest"
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scheduled_value
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Budin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sorted_set
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,6 +74,7 @@ executables: []
|
|
60
74
|
extensions: []
|
61
75
|
extra_rdoc_files: []
|
62
76
|
files:
|
77
|
+
- ".github/dependabot.yml"
|
63
78
|
- ".gitignore"
|
64
79
|
- ".travis.yml"
|
65
80
|
- CHANGELOG.md
|
@@ -73,12 +88,13 @@ files:
|
|
73
88
|
- lib/scheduled_value/timespan.rb
|
74
89
|
- lib/scheduled_value/timespan_with_value.rb
|
75
90
|
- lib/scheduled_value/version.rb
|
91
|
+
- renovate.json
|
76
92
|
- scheduled_value.gemspec
|
77
93
|
homepage: https://github.com/neinteractiveliterature/scheduled_value
|
78
94
|
licenses:
|
79
95
|
- MIT
|
80
96
|
metadata: {}
|
81
|
-
post_install_message:
|
97
|
+
post_install_message:
|
82
98
|
rdoc_options: []
|
83
99
|
require_paths:
|
84
100
|
- lib
|
@@ -93,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
109
|
- !ruby/object:Gem::Version
|
94
110
|
version: '0'
|
95
111
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
97
|
-
signing_key:
|
112
|
+
rubygems_version: 3.2.22
|
113
|
+
signing_key:
|
98
114
|
specification_version: 4
|
99
115
|
summary: Ruby classes for values that change over time
|
100
116
|
test_files: []
|