bearcat 1.5.4 → 1.5.5

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: 8928f17ff035763ed794fff4b22a8add153060527af6c4f9f1d7df5e975fefdb
4
- data.tar.gz: 4c038af3f5df07456b6c30a3b7a5973cb6c6190dce31fca9b870244240127bfd
3
+ metadata.gz: 0f45f61beb5bf6de6be81d2addef3e0abc7a5f9542e343091c40f50bde572f40
4
+ data.tar.gz: 2e7c146f8c8b42c2311e9fa28c0d4846c4d15335148655b7af883137cd337d4b
5
5
  SHA512:
6
- metadata.gz: 6f8bbeaf624b5a37620f3747a0bab0822d77bb31ec1a7f0d11388d51f50f6bf20189fad95b09162c95b7e6fc6f3c12b7efe70e9823d725e38349972ae4bd2940
7
- data.tar.gz: 9cb3524bafeb83f3b6f86d9fdc855d58a47684153ea3ec4d700b4f77072a782c48874da11f8ac7f31af8e012d78bc7109f6857a0f7332eee38f952fdfb264dc3
6
+ metadata.gz: 76e66a0e528357694ad74e1580f0e04587e511a31849cd7605c5c1c7dac56936828007a8bc1c597017009909759343fd8cbce494a1d26ce081d43724cfe918c8
7
+ data.tar.gz: e171e4b69ee814abdd4c6fa8555dc40518538985bea7738b4955a77acb516ce8d21c46acc1c1baadc756329352f7085315d6a4132d8860414dd96fd58eb9cc09
@@ -19,6 +19,7 @@ module Bearcat::SpecHelpers
19
19
  cfg = _bearcat_resolve_config(endpoint, kwargs, method: method)
20
20
 
21
21
  url = Regexp.escape(_bearcat_resolve_prefix(prefix)) + cfg[:url]
22
+ url += "?" if url.end_with?('/')
22
23
  stub = stub_request(cfg[:method], Regexp.new(url))
23
24
 
24
25
  # Override the to_return method to accept a Hash as body:
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.4' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.5' 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.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev