bearcat 1.5.15 → 1.5.16

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: 324dde5c220114f2d0063c41f60f3ef41a6089b7897b2928a9dae39a059bfd6e
4
+ data.tar.gz: bee480f7c40c3203af87c5fc7e228023688b86731936b5f8dfba3c92811493c7
5
5
  SHA512:
6
- metadata.gz: 417ac58a63930dbe2fac92f3b639ba9aed765c6d208da98872b03d4455d892f05dde0c91be37e0bad32085119dc43363869f60df0b96748924e6b9c6ab6e4855
7
- data.tar.gz: 422c748f8fa04f8ecabb139e19e0a4793c848b3ab0d4de65552725cb2235f81c2d991711494d8d0e24cbe3f617e86ab796bad2e982d323e7d61a9504733f4f2c
6
+ metadata.gz: c291702f4ae7f572b629aab42fdc89fe5a2f43a0477c2ea80cff472fa92215b00e4f2d25820a82822b89a820cbe96c1a96e68772e33ce24fb5275f113a2ea575
7
+ data.tar.gz: 7fe6d25e2c7b5812983f67adb6ffbaa00f9c2567426dbf3c5fae95c55c4521fc835f686a4e484dd8700769d7cf3eec0c8e697b881773b182c911c8ef0e5bd44b
@@ -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_uri_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.16' unless defined?(Bearcat::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev