service_contract_webmock 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: ec255e56ac00c160729bbfe32d3d17d740ab8209
4
- data.tar.gz: ffb92a6e8644416f3ea52752fa19bea828bb3c1b
3
+ metadata.gz: 2fed06c2c20333401760de510fb029b9ed1bfca8
4
+ data.tar.gz: a8d18f0c51eb9596271df668c7026b6c34afb859
5
5
  SHA512:
6
- metadata.gz: 47a2f13320ac5cb2178ce7ad887e2d036b4d29808704d8020d36d6dfa30d908b70d59ce28fdcfe72ef6d02b98bca5a507ebc1e017877723319a1b1870a332713
7
- data.tar.gz: 6b5a861d31ee307cfdc4f9f1454594fb3b79d43eedeb637af4bd418112acd15305a503429929dbfaaffc8c185ec4f01ebce441f57be62865b8177c90d2b41f42
6
+ metadata.gz: d75f564d1f84c55fcd571d048e9497a8a95d907992c29bccb36dd8d3a3ffc9617c663f61a5372608e029b52dd5f25488a09905b27dbf15742cb402744548b0d7
7
+ data.tar.gz: c332e54d5c9d1a8a33498e4ddda1a7725a6e0f0670fef73bd9d6aff12835146055caecf68ca4dd51be904ed99d1e8105eae104f87503883072a043b3b0a251ec
@@ -46,7 +46,7 @@ module ServiceContractWebmock
46
46
  end
47
47
 
48
48
  def extract_request(query)
49
- params = CGI.parse(query)
49
+ params = CGI.parse(query).except("includes", "page", "per_page")
50
50
  fields.select {|field| field.name.in?(params.keys)}.each_with_object({}) do |field, acc|
51
51
  data = params[field.name][0].split(',').flat_map {|value| field.convert(value)}
52
52
  acc[field.name] = data
@@ -1,3 +1,3 @@
1
1
  module ServiceContractWebmock
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_contract_webmock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Plummer