cutoff 0.5.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ab1dba25fcad8b3f65d816d1740dbd2c2e1b6102f4009e19fa36fd0baf8236c
4
- data.tar.gz: 7a86b6dbf5c0d0bd6631281687c674ec21dc19102097bee351b8e13a3b2a53c3
3
+ metadata.gz: ccf20a5afa9e52d5c638e5e72edfa1395375701b31525868ab354d036d6593a5
4
+ data.tar.gz: 83f27ac46d53346b3fa5c9b07644dacb3ce058a78d7bd0e07a72e0eb4b291874
5
5
  SHA512:
6
- metadata.gz: e23dcd3d2fa5b44bcc3630aa4976cff12eef9771f4c1010a2cd12cc820ef5caabf1e54b0dba83de60af1ce2142eea4d53bae7c79e5c02ac34ec91d1e07cfba62
7
- data.tar.gz: bfc01027499784eaeaf89f5bc4114483bf89bc41eb2db6668a297ace172b58136ae58b214df6f0929a027729aff417ff56b9fb4dfacd45cb979d280b675f3868
6
+ metadata.gz: 5b13ffe6962c36d49aff8969bc1ca23e8e0173885505556d945dd19593b815261fc07202d3fa75d83433d3c6ad831645bcdaaf79e5a06785e1a4dc9aeceea955
7
+ data.tar.gz: 165328cd0c983b3ec1b9007c0a4e17bd4e66b3dd4683f4a760e7374ec1c563caff1ffcd9dfe8653e8945da92764d110a7fb3ef7d66011d56d1f3f91cda7d4983
data/CHANGELOG.md CHANGED
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.0] - 2026-05-12
11
+
12
+ This release marks Cutoff's API as stable. There are no behavior changes
13
+ since 0.5.2.
14
+
15
+ ### Breaking
16
+
17
+ - Drop support for Ruby < 3.1. The minimum supported Ruby is now 3.1.
18
+ `required_ruby_version` in the gemspec has been raised accordingly. #21
19
+ justinhoward
20
+
21
+ ### Changed
22
+
23
+ - Modernize CI matrix to Ruby 3.1, 3.2, 3.3, 3.4, jruby-head, and
24
+ truffleruby-head, and update gem dependencies that had rotted out of
25
+ CI in the interim. #21 justinhoward
26
+
27
+ ## [0.5.2] - 2022-09-06
28
+
29
+ ### Changed
30
+
31
+ - Switch http URLs in specs to https #15 justinhoward
32
+ - Switch CI to support jruby and truffleruby head #18 justinhoward
33
+
34
+ ### Added
35
+
36
+ - Add Rails 6 support #17 maksymst
37
+
10
38
  ## [0.5.1] - 2022-09-06
11
39
 
12
40
  ### Changed
@@ -70,7 +98,9 @@ to `Timeout::Error`. `CutoffError` changes from a class to a module.
70
98
  - Cutoff class
71
99
  - Mysql2 patch
72
100
 
73
- [Unreleased]: https://github.com/justinhoward/cutoff/compare/v0.5.1...HEAD
101
+ [Unreleased]: https://github.com/justinhoward/cutoff/compare/v1.0.0...HEAD
102
+ [1.0.0]: https://github.com/justinhoward/cutoff/compare/v0.5.2...v1.0.0
103
+ [0.5.2]: https://github.com/justinhoward/cutoff/compare/v0.5.1...v0.5.2
74
104
  [0.5.1]: https://github.com/justinhoward/cutoff/compare/v0.5.0...v0.5.1
75
105
  [0.5.0]: https://github.com/justinhoward/cutoff/compare/v0.4.2...v0.5.0
76
106
  [0.4.2]: https://github.com/justinhoward/cutoff/compare/v0.4.1...v0.4.2
@@ -47,8 +47,6 @@ class Cutoff
47
47
  end
48
48
 
49
49
  # @api external
50
- module ActionController
51
- class Base
52
- extend Cutoff::Rails::Controller
53
- end
50
+ ActiveSupport.on_load(:action_controller_base) do
51
+ ActionController::Base.extend(Cutoff::Rails::Controller)
54
52
  end
@@ -3,6 +3,6 @@
3
3
  class Cutoff
4
4
  # @return [Gem::Version] The current version of the cutoff gem
5
5
  def self.version
6
- Gem::Version.new('0.5.1')
6
+ Gem::Version.new('1.0.0')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Howard
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-07 00:00:00.000000000 Z
11
+ date: 2026-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -58,7 +58,7 @@ dependencies:
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.0'
61
- description:
61
+ description:
62
62
  email:
63
63
  - jmhoward0@gmail.com
64
64
  executables: []
@@ -84,9 +84,9 @@ licenses:
84
84
  - MIT
85
85
  metadata:
86
86
  changelog_uri: https://github.com/justinhoward/cutoff/blob/master/CHANGELOG.md
87
- documentation_uri: https://www.rubydoc.info/gems/cutoff/0.5.1
87
+ documentation_uri: https://www.rubydoc.info/gems/cutoff/1.0.0
88
88
  rubygems_mfa_required: 'true'
89
- post_install_message:
89
+ post_install_message:
90
90
  rdoc_options: []
91
91
  require_paths:
92
92
  - lib
@@ -94,15 +94,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: '2.3'
97
+ version: '3.1'
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.1.2
105
- signing_key:
104
+ rubygems_version: 3.4.20
105
+ signing_key:
106
106
  specification_version: 4
107
107
  summary: Deadlines for ruby
108
108
  test_files: []