bearcat 1.5.21.beta1 → 1.5.22.beta1

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: 8af52a1f089277dd87ff70ee72f8250fbe63738b333614f9a41e0a99070095e3
4
- data.tar.gz: 5c3948a05a61a4b82eb3b49a0f09a584386ef46460a62b23295e456f29adb195
3
+ metadata.gz: 7b5510a994c530d2d871ab42d507e3f35482821c91813868efc74b5e7364f199
4
+ data.tar.gz: c088cf8ae146681319f7afe7c09d70653d951f53ba433830ae81d923c105b41c
5
5
  SHA512:
6
- metadata.gz: 5813a78f871a1d9bfe1bc3e55f10ac3c90cab993246321d4bcbaeaffb670dbb355aa69185d6463611f90e50228e63dae6be672162b3a4737cd2714312af28d9f
7
- data.tar.gz: 13858e8a9ed4a0525e649d3ddae4ab40bae68eeaa946e9cf827432bbc49fd97fb722e22f5916f4d8ae1ba64e5ff6145aefe2e3fd302aac739dc783e674de5cf9
6
+ metadata.gz: ca74eae1225bdbd8ebf77b73b85c406a48e8253b2d2954f32ccee0b4c61cf1da7268b32bd20675a25560fb276c2aa9d23c0d7719160b5fb5bf474061bb836d7f
7
+ data.tar.gz: 5e6530fdf8556f75a037b47a013e5141f06555ac07f8c131a4387c850f97d310888a2eeeb438a9bc42819c61e3493be5407bb9b1ec9c2b2564f6397638ba7af4
@@ -85,7 +85,7 @@ module Bearcat
85
85
  rl = config[:rate_limiter] || Bearcat.rate_limiter
86
86
  master_rate_limit = config[:master_rate_limit].present? ? config[:master_rate_limit] : Bearcat.master_rate_limit
87
87
 
88
- if rl.nil? && master_rate_limit.nil? && defined?(Rails) && Rails.env.production? && defined?(::Redis) && RedisConnection.configured?("BEARCAT", explicit: false)
88
+ if rl.nil? && master_rate_limit.nil? && defined?(Rails) && Rails.env.production? && defined?(::Redis) && Bearcat::RedisConnection.configured?("BEARCAT", explicit: false)
89
89
  master_rate_limit = true
90
90
  end
91
91
 
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.21.beta1' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.22.beta1' unless defined?(Bearcat::VERSION)
3
3
  end
data/lib/bearcat.rb CHANGED
@@ -37,7 +37,7 @@ module Bearcat
37
37
 
38
38
  def redis_pool
39
39
  require 'bearcat/redis_connection'
40
- @redis_pool ||= RedisConnection.create(env_prefix: "BEARCAT")
40
+ @redis_pool ||= Bearcat::RedisConnection.create(env_prefix: "BEARCAT")
41
41
  end
42
42
 
43
43
  def redis
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.21.beta1
4
+ version: 1.5.22.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-07 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake