pact 1.19.2 → 1.20.0

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: 5600e03dfa36e82f5046524a577d8d0b3fbfb65c
4
- data.tar.gz: 806e61b3debf79d48dbdf7d6782f842b51d4e878
3
+ metadata.gz: 4ff1d60084d4c20892a663b68af77d3c05e419a6
4
+ data.tar.gz: 78f85722706fc0c6328a16172b4e9a31adb2c4b7
5
5
  SHA512:
6
- metadata.gz: 716c814749febf3a308cf0fd4ceef616483f1ddc44cb5bd4e06d8abe6a8b2ea2c76046c87dd5db1f34e1c469cd71aeffa1a69aa9c1bfb245b7de726117f6b877
7
- data.tar.gz: 71b3a60fab8ce4def9d6718ca78f806215c28e83b47ebdef2c8c4436536339d577e0b1ac754d3c2d274e1b135308acbfdad42bbe2cc1a8dba2f5b9e3cba17ffa
6
+ metadata.gz: 5873fe24cd3eb193068ae0a155a4ee0dfbc15ee4f2b53e4b7f1f39549b58d2a3e5563a11f7915caaa82a33562de88a35519b52223dfef6e3b103caa4c85213ea
7
+ data.tar.gz: d12f70c741c1367936ebd3a6d004b005390a2892e2171368aa0242186fd73b3fd46c515d488739e18d566c3c741f3ed561ed294c25df1db625a2c247e26edee4
@@ -1,3 +1,12 @@
1
+ <a name="v1.20.0"></a>
2
+ ### v1.20.0 (2017-12-10)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * send verification publishing message to stderr when json output ([568f511](/../../commit/568f511))
8
+
9
+
1
10
  <a name="v1.19.2"></a>
2
11
  ### v1.19.2 (2017-11-16)
3
12
 
@@ -107,7 +107,7 @@ module Pact
107
107
 
108
108
  if response.code.start_with?("2")
109
109
  new_resource_url = JSON.parse(response.body)['_links']['self']['href']
110
- $stdout.puts "INFO: Verification results published to #{new_resource_url}"
110
+ Pact.configuration.output_stream.puts "INFO: Verification results published to #{new_resource_url}"
111
111
  else
112
112
  raise PublicationError.new("Error returned from verification results publication #{response.code} #{response.body}")
113
113
  end
@@ -1,3 +1,4 @@
1
+ require 'pact/configuration'
1
2
  require 'pact/provider/pact_helper_locator'
2
3
  require 'rake/file_utils'
3
4
  require 'shellwords'
@@ -36,7 +37,7 @@ module Pact
36
37
  end
37
38
 
38
39
  def execute_cmd command
39
- $stdout.puts command
40
+ Pact.configuration.output_stream.puts command
40
41
  temporarily_set_env_var 'PACT_EXECUTING_LANGUAGE', 'ruby' do
41
42
  temporarily_set_env_var 'PACT_INTERACTION_RERUN_COMMAND', PACT_INTERACTION_RERUN_COMMAND do
42
43
  exit_status = system(command) ? 0 : 1
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.19.2"
3
+ VERSION = "1.20.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.2
4
+ version: 1.20.0
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: 2017-11-16 00:00:00.000000000 Z
15
+ date: 2017-12-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp