rescue_registry 0.2.3 → 0.2.4

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: 76e7d0f44e4a1b8dc8f91e8b7c33fceac13b70740dfc3452d127a25e59e49be1
4
- data.tar.gz: 78f018ba46f97c5fd6ad04883f83b9755e18d653d9a638ebd0d863d23b49ce26
3
+ metadata.gz: '059708756e6a55e037d23bea568cfe2d58818204d21da641b15a824eeed8aeb6'
4
+ data.tar.gz: 72f2989656beee1dd63caff80fde2808d9ad82aa36e2d5f48c9ada3eda529fab
5
5
  SHA512:
6
- metadata.gz: 853839cefe3949aaf86ba208bb6d65b9d0646399f1ca437110e13dd07faf0939f2abf54a17d161831e8faac5362142776dbdcc2906c15ecc79aaec061304cd54
7
- data.tar.gz: 697b515d046f7b5033790535158a6ce085d10a69ba694a34ea14054441c5d54a6a4349237a2b32e75dcf9c4b0474314a72773b48a0446125053db75acb93d345
6
+ metadata.gz: 6c40c4d7c189ed217216eca7f37ab81d3fc7bf9ae906a868e0e676f11e7384f67125e8d305bf55db75284ec5b37d70355719dbfee4cd2b72f009229238bcd154
7
+ data.tar.gz: de9fb10f2fd414e44b7a50be904505bb42889088ab71d76ec34f004501b297996018cd398629c6f78cea17f9fbfad77f79a530be4e0b2ee8c8b93fb2c0787888
@@ -46,6 +46,18 @@ module RescueRegistry
46
46
  context.rescue_registry.public_send(method, *args)
47
47
  end
48
48
  end
49
+
50
+ # the Module#ruby2_keywords is added starting at ruby 2.7. It lets us mark
51
+ # these methods as using ruby2-style keyword argument semantics. This will
52
+ # keep them working correctly on ruby3, and clears a deprecation that
53
+ # otherwise fires in 2.7+.
54
+ if respond_to?(:ruby2_keywords, true)
55
+ class << self
56
+ REGISTRY_METHODS.each do |method|
57
+ ruby2_keywords(method)
58
+ end
59
+ end
60
+ end
49
61
  end
50
62
 
51
63
  ActiveSupport.on_load(:before_initialize) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RescueRegistry
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rescue_registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Wagenet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-01 00:00:00.000000000 Z
11
+ date: 2021-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.9'
83
- description:
83
+ description:
84
84
  email:
85
85
  - peter.wagenet@gmail.com
86
86
  executables: []
@@ -114,23 +114,26 @@ metadata:
114
114
  bug_tracker_uri: https://github.com/wagenet/rescue_registry/issues
115
115
  changelog_uri: https://github.com/wagenet/rescue_registry/CHANGELOG.md
116
116
  source_code_uri: https://github.com/wagenet/rescue_registry
117
- post_install_message:
117
+ post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths:
120
120
  - lib
121
121
  required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '2.3'
126
+ - - "<"
127
+ - !ruby/object:Gem::Version
128
+ version: '3.1'
126
129
  required_rubygems_version: !ruby/object:Gem::Requirement
127
130
  requirements:
128
131
  - - ">="
129
132
  - !ruby/object:Gem::Version
130
133
  version: '0'
131
134
  requirements: []
132
- rubygems_version: 3.1.2
133
- signing_key:
135
+ rubygems_version: 3.1.4
136
+ signing_key:
134
137
  specification_version: 4
135
138
  summary: Registry for Rails Exceptions
136
139
  test_files: []