pact 1.49.0 → 1.49.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
  SHA256:
3
- metadata.gz: d23bb31e12922ffa6334faa9105770afc780d97310296dd48f120613e12cee63
4
- data.tar.gz: 89178f9552aabbf8099e65f3a10864303f53370b7ea76f841be6401d5667a66d
3
+ metadata.gz: 245a9df2329523daa0698effa23fa7819e9bcbc04d09c649bae43e4dc7311d35
4
+ data.tar.gz: 49b657c4124b7b2d539792e8a169896036835b78570ca37d9767a63c360fd200
5
5
  SHA512:
6
- metadata.gz: 0a1f2a19a89eacda8db9a85b08d538821bf8ff25986ea6e8d5df4b84ea798bd41dd9136b6a0f894b3a513bf538055b734d7335d585279653822c81e3bfb49fb0
7
- data.tar.gz: e9b962314733660dd23127eab1076abda1391000de6d9f0f647fbdb5353cc37c79c6c308be6e04c16d9b1e5e341a38ea531f6e6fa7174852edbcb5f4c9dfc46e
6
+ metadata.gz: 1e76e4b52d827927861b3149bca52cb91bb1a86788a4b26fde0e32602f51095bc914ec442827f481bc36d068d216d4ec3d8a08220cd5b095e97b46c2ce341b78
7
+ data.tar.gz: ef83e7097b4804a686fad3a88c8d157bb517f550b8ab95d6985251c2336323681b6ff324fbb49a0f0d1e01aa0fa570959bd5ca521ac10aff3eaea2dcf9be85d1
@@ -1,3 +1,13 @@
1
+ <a name="v1.49.1"></a>
2
+ ### v1.49.1 (2020-03-21)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * ensure diff is included in the json output ([0bd9753](/../../commit/0bd9753))
8
+ * ensure the presence of basic auth credentials does not cause an error when displaying the path of a pact on the local filesystem ([f6a0b4d](/../../commit/f6a0b4d))
9
+
10
+
1
11
  <a name="v1.49.0"></a>
2
12
  ### v1.49.0 (2020-02-18)
3
13
 
@@ -29,10 +29,10 @@ module Pact
29
29
  end
30
30
 
31
31
  def to_s
32
- if(basic_auth?)
32
+ if basic_auth? && uri.start_with?('http://', 'https://')
33
33
  URI(@uri).tap { |x| x.userinfo="#{username}:*****"}.to_s
34
34
  else
35
- @uri
35
+ uri
36
36
  end
37
37
  end
38
38
  end
@@ -30,13 +30,15 @@ module Pact
30
30
  output_hash[:examples] = notification.examples.map do |example|
31
31
  format_example(example).tap do |hash|
32
32
  e = example.exception
33
- # No point providing a backtrace for a mismatch, too much noise
34
- if e && ! e.is_a?(::RSpec::Expectations::ExpectationNotMetError)
33
+ if e
35
34
  hash[:exception] = {
36
- :class => e.class.name,
37
- :message => e.message,
38
- :backtrace => e.backtrace,
35
+ class: e.class.name,
36
+ message: e.message,
39
37
  }
38
+ # No point providing a backtrace for a mismatch, too much noise
39
+ if !e.is_a?(::RSpec::Expectations::ExpectationNotMetError)
40
+ hash[:exception][:backtrace]
41
+ end
40
42
  end
41
43
  end
42
44
  end
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.49.0"
3
+ VERSION = "1.49.1"
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.49.0
4
+ version: 1.49.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: 2020-02-17 00:00:00.000000000 Z
15
+ date: 2020-03-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec