bearcat 1.5.21 → 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: c5e4609f1a2197a4de501c57adcf2e6b1ac49f8da1bee63d3828d247007e1f49
4
- data.tar.gz: e8dec27f59a72df043c02a8dbcabb22c171dc0ea1a7f6ddea2813563d8b87d57
3
+ metadata.gz: 7b5510a994c530d2d871ab42d507e3f35482821c91813868efc74b5e7364f199
4
+ data.tar.gz: c088cf8ae146681319f7afe7c09d70653d951f53ba433830ae81d923c105b41c
5
5
  SHA512:
6
- metadata.gz: 214e9a15e522bb68b3576c72fbdc8f72c598096a1d19a8daa9aca852a30f27e1172e884fe5af64ca75a26abb9499278abb524e648bf56df0e122309ee260fbe5
7
- data.tar.gz: 0a4091c32877621c4b420ee55b72727ff2b8e223dbbf096b6b9ef51d106fa896bb7f36475f62a474eed98d5f60fc89309df544b2b866a1161716ffb719d4d66b
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' 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
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-09 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