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 +4 -4
- data/lib/webstub/patch/session_configuration.rb +2 -2
- data/lib/webstub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40544713a0826d109fcb02e4783588517437b435
|
4
|
+
data.tar.gz: 46b02687ec96a9a3f46cb59695964e8285de78ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/webstub/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|