bearcat 1.5.15 → 1.5.17

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: 50e784a85d316e9f8179ad461f069eaa8b436871f261608c72b0056a21fcb027
4
- data.tar.gz: 39ed2b005e162188f2a37777152f8ed1369165fc4b060a719d7cac336d82b4b9
3
+ metadata.gz: 59e70293b595a084b1363c9c48ffb7793d014423631a90e6d6b60d3d01713345
4
+ data.tar.gz: f7c2b6d41a19705775b612ae46c1aa5f721292333bac11837b2e0eb335268514
5
5
  SHA512:
6
- metadata.gz: 417ac58a63930dbe2fac92f3b639ba9aed765c6d208da98872b03d4455d892f05dde0c91be37e0bad32085119dc43363869f60df0b96748924e6b9c6ab6e4855
7
- data.tar.gz: 422c748f8fa04f8ecabb139e19e0a4793c848b3ab0d4de65552725cb2235f81c2d991711494d8d0e24cbe3f617e86ab796bad2e982d323e7d61a9504733f4f2c
6
+ metadata.gz: 756f383a0ab2e6dbfff9ea9edca26d0535ad6827889b2cc9bfa80bcd54176e193364cc3edfc1f457fc605ed9ce6c549b548e08bd9ea07d5904efac17b9a7c2ba
7
+ data.tar.gz: b5fa413a40f6593c414879f2ccf3354b8a2aa0dd8cf54b5ef035ecace5fd15a15049f4dc0a136729e2c516932037912d355d8bc75482ab66dd1f42eec2e50eb1
@@ -92,8 +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
+ val = val.to_s if val.present?
96
+ val = URI.encode_www_form_component(val) if val.is_a?(String)
97
97
  val
98
98
  end
99
99
  end
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.15' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.17' unless defined?(Bearcat::VERSION)
3
3
  end
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.15
4
+ version: 1.5.17
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-01-19 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake