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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7234802031b34255cf3f454337315a544832e18f803fac5c8a50ef8f95523258
4
- data.tar.gz: 68b4cdd3575fb251cd28f430db4b6816a8002d31dece0a30c916a1dd59d8f0da
3
+ metadata.gz: 25b4e127a2058c15e463d65dcdfeb37341f10a74ba932cd4e3e0c9cc26050de8
4
+ data.tar.gz: 49baea44dd5719e1dc98d02a3d29c593ea17d0c2e89d876c9e1562a472f9efe3
5
5
  SHA512:
6
- metadata.gz: 577bb65200c721d057de48870c8b86337724f2a8fc0df19ec97a66a471dfd658ee62b6f8b44f4c4e68ff571ccd35d88541e99f870a10e67e132cf886eb1e6d8a
7
- data.tar.gz: 2564ffeb2197265af3e7a26621936220f58bee90655d81bcc606cc57225b717c212ccf3dc673ac0e3d87c88e9be99f60cca5ed3b8c6a2eefa71bb161f2b48ed6
6
+ metadata.gz: 5dc06b4e0088a7493ffa6141923f38edb2ffbcb37a888291bc670c47e3a4a509bc91be597de4d7941855758ff2afe7e938a99400c877ceeae7dc40fe00e771b9
7
+ data.tar.gz: 49396437f18d57fd907f55bd81c867b12f0d7046eb887aba25d720dc1cb1d40f8726b59246fa0ac61d2e2be5ce85f89485447ff7b695420d7653bca14ebc39d3
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "10:00"
8
+ open-pull-requests-limit: 10
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
- * Implement #to_hash as an alias for #attributes on all objects, to make ActiveSupport serialization
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
- * Fix a formatting bug where the start time could be accidentally used
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
- * Fix a major bug when formatting timespans with timezones
17
+ - Fix a major bug when formatting timespans with timezones
14
18
 
15
19
  # 1.2.0 - YANKED - January 25, 2018
16
20
 
17
- * Allow passing timezone argument to string formatting methods in Timespan
21
+ - Allow passing timezone argument to string formatting methods in Timespan
18
22
 
19
23
  # 1.1.3 - September 27, 2017
20
24
 
21
- * Don't assume 'date' and 'time' are already required by the time we require 'scheduled_value/timespan'
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
- * Bug fix: use setters in initializers so that custom conversions will work when deserializing ScheduledValues
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
- * `ScheduledValue::ScheduledValue#covers_all_time?` will no longer raise an exception if there are no timespans
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
- * Add `ScheduledValue::ScheduledValue#has_value_at?` method to reduce the need for exceptions-as-control-flow
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
- * Initial public release.
41
+ - Initial public release.
@@ -1,3 +1,5 @@
1
+ require 'sorted_set'
2
+
1
3
  module ScheduledValue
2
4
  class ScheduledValue
3
5
  attr_reader :timespans
@@ -1,3 +1,3 @@
1
1
  module ScheduledValue
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
3
3
  end
data/renovate.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ]
5
+ }
@@ -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.3.0
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: 2020-03-28 00:00:00.000000000 Z
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.0.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: []