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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ddd6b8ed226e3eeead4b2cb8a83e792f140bb0f
4
- data.tar.gz: 5b3dfda22ba5831a090a6056cb91976c49247d73
3
+ metadata.gz: ceb170c17a6a657f300f5484043aef12872af929
4
+ data.tar.gz: c2739a7b1b2a61efbd182dc9d11ffe88b7223fd5
5
5
  SHA512:
6
- metadata.gz: 1410d70ac368a9ba6104119afe6ec0a78ff8ed96e7b636cf6a232086909c0eab3b9e93e696170d6cc4c42973f0522475701f7d2a71152df9a1b95a402c68e332
7
- data.tar.gz: ae355a32b6fff4c4a1d6db38825b20ecc52e0fabc67f16c245cc876049bd36654aaba1f0e4e7589b7cd4863cdcb333ed9690e347c18bc0f6ff0b935cab3b87e0
6
+ metadata.gz: 294ab16fdb0736f35847dfaa9b54ea450b511726af52f4a517fe8cdc8ae4058a012e78b3555a823bfae4f66baba0a6dfc4466dcfa60be3bb46a96d2ca8223b5f
7
+ data.tar.gz: 004c0ecf1a574212ac068572e186693c045941e9a8e5ac2d3c251bbb1b33aa955d5e3687e5068b2cc7827842d57651990fe280cfbf33051e50d8c6669c876fef
@@ -1,3 +1,12 @@
1
+ <a name="v1.10.1"></a>
2
+ ### v1.10.1 (2019-04-26)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * gracefully handle read only file system (eg RunKit) ([eeee528](/../../commit/eeee528))
8
+
9
+
1
10
  <a name="v1.10.0"></a>
2
11
  ### v1.10.0 (2019-03-15)
3
12
 
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Support
3
- VERSION = "1.10.0"
3
+ VERSION = "1.10.1"
4
4
  end
5
5
  end
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.0
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-03-14 00:00:00.000000000 Z
15
+ date: 2019-04-26 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp