cutoff 0.5.1 → 0.5.2

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: a1a055e4f571fa6ec2e9282d58bd6980a0ac7524ec80c36f6a9cbc0b2c4fc079
4
+ data.tar.gz: f95e79306f4477b491dc12bb5fc22e034a2e75bfbc4450e5ff16b8320237b17c
5
5
  SHA512:
6
- metadata.gz: e23dcd3d2fa5b44bcc3630aa4976cff12eef9771f4c1010a2cd12cc820ef5caabf1e54b0dba83de60af1ce2142eea4d53bae7c79e5c02ac34ec91d1e07cfba62
7
- data.tar.gz: bfc01027499784eaeaf89f5bc4114483bf89bc41eb2db6668a297ace172b58136ae58b214df6f0929a027729aff417ff56b9fb4dfacd45cb979d280b675f3868
6
+ metadata.gz: bf825fd9ef07bc8ef7bd8d36fbf65f1bb51d397d38466128d374237b8159ae13639bcc5801df5dacbaa86cd399e3303f8ddafd9765092d00f923291d51fedf22
7
+ data.tar.gz: 6e492e4abb51dba9911ccbfd0792e5eb0970f39bb774890d9c440578dce7ea9e0a46f455b0be295e3303868c80ea770f3ac3b5b42ec8e00b4f583237e426f36b
data/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.5.2] - 2022-09-06
11
+
12
+ ### Changed
13
+
14
+ - Switch http URLs in specs to https #15 justinhoward
15
+ - Switch CI to support jruby and truffleruby head #18 justinhoward
16
+
17
+ ### Added
18
+
19
+ - Add Rails 6 support #17 maksymst
20
+
10
21
  ## [0.5.1] - 2022-09-06
11
22
 
12
23
  ### Changed
@@ -70,7 +81,8 @@ to `Timeout::Error`. `CutoffError` changes from a class to a module.
70
81
  - Cutoff class
71
82
  - Mysql2 patch
72
83
 
73
- [Unreleased]: https://github.com/justinhoward/cutoff/compare/v0.5.1...HEAD
84
+ [Unreleased]: https://github.com/justinhoward/cutoff/compare/v0.5.2...HEAD
85
+ [0.5.2]: https://github.com/justinhoward/cutoff/compare/v0.5.1...v0.5.2
74
86
  [0.5.1]: https://github.com/justinhoward/cutoff/compare/v0.5.0...v0.5.1
75
87
  [0.5.0]: https://github.com/justinhoward/cutoff/compare/v0.4.2...v0.5.0
76
88
  [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('0.5.2')
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: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-07 00:00:00.000000000 Z
11
+ date: 2022-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -84,7 +84,7 @@ 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/0.5.2
88
88
  rubygems_mfa_required: 'true'
89
89
  post_install_message:
90
90
  rdoc_options: []
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.1.2
104
+ rubygems_version: 3.3.5
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Deadlines for ruby