webstub 1.1.0 → 1.1.1

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: 1dd5474dfb7e84f9c5c4ab0a6272c62273425de0
4
- data.tar.gz: 19f99236e92eda0fadb4b317363ef984b81bd3ac
3
+ metadata.gz: 40544713a0826d109fcb02e4783588517437b435
4
+ data.tar.gz: 46b02687ec96a9a3f46cb59695964e8285de78ee
5
5
  SHA512:
6
- metadata.gz: ae67b53bd163b33bf3a1e0116b01f778e19cda56a99267e5aa71e345141109b518beb17ed87f6cbc55f831a076cc09e3fa2686801113f5db418df297b681d26f
7
- data.tar.gz: 67712acc73b86d72de7fe45152361be12a81352b9a9e6e3ce580634e6528b283a3aa538b7ddb8149179331015e3bbbd19278e31aff07be9eae707ca545daf22e
6
+ metadata.gz: 93aab16995e60f7dc7ac17b35063ea5b7418558f50d9bbb1483e52c7ea02cadcfb4d84362b7e858f182f5d183f325c453ba6e0db12ca0c43b895acc99a45a1ce
7
+ data.tar.gz: 822c71d00fca97e051b6a112ea4221540f364d775b8517ee6ea2afdb39ca2b7825672e8668c55820ad075d56006d4485d5f526eb8ebfe7469206c2ba08327651
@@ -6,7 +6,7 @@ if Kernel.const_defined?(:NSURLSessionConfiguration)
6
6
  def defaultSessionConfiguration
7
7
  config = originalDefaultSessionConfiguration
8
8
 
9
- protocols = config.protocolClasses || []
9
+ protocols = config.protocolClasses.clone || []
10
10
  unless protocols.include?(WebStub::Protocol)
11
11
  protocols << WebStub::Protocol
12
12
  config.protocolClasses = protocols
@@ -20,7 +20,7 @@ if Kernel.const_defined?(:NSURLSessionConfiguration)
20
20
  def ephemeralSessionConfiguration
21
21
  config = originalEphemeralSessionConfiguration
22
22
 
23
- protocols = config.protocolClasses || []
23
+ protocols = config.protocolClasses.clone || []
24
24
  unless protocols.include?(WebStub::Protocol)
25
25
  protocols << WebStub::Protocol
26
26
  config.protocolClasses = protocols
@@ -1,3 +1,3 @@
1
1
  module WebStub
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webstub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-22 00:00:00.000000000 Z
11
+ date: 2014-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake