bearcat 1.5.13 → 1.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bearcat/client_module.rb +2 -0
- data/lib/bearcat/version.rb +1 -1
- data/lib/bearcat.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50e784a85d316e9f8179ad461f069eaa8b436871f261608c72b0056a21fcb027
|
4
|
+
data.tar.gz: 39ed2b005e162188f2a37777152f8ed1369165fc4b060a719d7cac336d82b4b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 417ac58a63930dbe2fac92f3b639ba9aed765c6d208da98872b03d4455d892f05dde0c91be37e0bad32085119dc43363869f60df0b96748924e6b9c6ab6e4855
|
7
|
+
data.tar.gz: 422c748f8fa04f8ecabb139e19e0a4793c848b3ab0d4de65552725cb2235f81c2d991711494d8d0e24cbe3f617e86ab796bad2e982d323e7d61a9504733f4f2c
|
@@ -92,6 +92,8 @@ module Bearcat
|
|
92
92
|
val = val.canvas_id if val.respond_to?(:canvas_id)
|
93
93
|
val = val.id if val.respond_to?(:id)
|
94
94
|
val = val['id'].presence || val[:id].presence || val if val.is_a?(Hash)
|
95
|
+
val = val.to_s
|
96
|
+
val = URI.encode_uri_component(val)
|
95
97
|
val
|
96
98
|
end
|
97
99
|
end
|
data/lib/bearcat/version.rb
CHANGED
data/lib/bearcat.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'bearcat/version'
|
2
2
|
require 'bearcat/client'
|
3
|
-
require 'bearcat/redis_connection'
|
4
3
|
|
5
4
|
module Bearcat
|
6
5
|
class << self
|
@@ -41,6 +40,7 @@ module Bearcat
|
|
41
40
|
end
|
42
41
|
|
43
42
|
def redis_pool
|
43
|
+
require 'bearcat/redis_connection'
|
44
44
|
@redis_pool ||= RedisConnection.create(env_prefix: "BEARCAT")
|
45
45
|
end
|
46
46
|
|
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.
|
4
|
+
version: 1.5.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure CustomDev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|