pact-support 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/pact/configuration.rb +5 -0
- data/lib/pact/consumer_contract/pact_file.rb +2 -0
- data/lib/pact/support/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: ceb170c17a6a657f300f5484043aef12872af929
|
4
|
+
data.tar.gz: c2739a7b1b2a61efbd182dc9d11ffe88b7223fd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 294ab16fdb0736f35847dfaa9b54ea450b511726af52f4a517fe8cdc8ae4058a012e78b3555a823bfae4f66baba0a6dfc4466dcfa60be3bb46a96d2ca8223b5f
|
7
|
+
data.tar.gz: 004c0ecf1a574212ac068572e186693c045941e9a8e5ac2d3c251bbb1b33aa955d5e3687e5068b2cc7827842d57651990fe280cfbf33051e50d8c6669c876fef
|
data/CHANGELOG.md
CHANGED
data/lib/pact/configuration.rb
CHANGED
@@ -169,6 +169,11 @@ module Pact
|
|
169
169
|
logger = ::Logger.new(log_path)
|
170
170
|
logger.level = ::Logger::DEBUG
|
171
171
|
logger
|
172
|
+
rescue Errno::EROFS
|
173
|
+
# So we can run on RunKit
|
174
|
+
logger = ::Logger.new($stdout)
|
175
|
+
logger.level = ::Logger::DEBUG
|
176
|
+
logger
|
172
177
|
end
|
173
178
|
end
|
174
179
|
|
@@ -33,6 +33,8 @@ module Pact
|
|
33
33
|
def save_pactfile_to_tmp pact, name
|
34
34
|
::FileUtils.mkdir_p Pact.configuration.tmp_dir
|
35
35
|
::File.open(Pact.configuration.tmp_dir + "/#{name}", "w") { |file| file << pact}
|
36
|
+
rescue Errno::EROFS => e
|
37
|
+
# do nothing, probably on RunKit
|
36
38
|
end
|
37
39
|
|
38
40
|
def render_pact(uri_string, options)
|
data/lib/pact/support/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Fraser
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2019-
|
15
|
+
date: 2019-04-26 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: randexp
|