pact 1.50.0 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/pact/provider/configuration/message_provider_dsl.rb +27 -0
- data/lib/pact/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b098430ba170a2290f1ae9c18b8d94ea7c2e968f5e8f3bd48c4e34155b4ea0d
|
|
4
|
+
data.tar.gz: 3b5f51717c2ba8934df7bf0fdbe9d68c74096e0058eeeae4f75804becd8366f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0049d4e11c748ebf653da1a754168d82198c73975cd30d16a67a4bcd837490740a30271b16a012612d19100b0a1c7139b5945e5f29686930407436a0acb47584'
|
|
7
|
+
data.tar.gz: 8e2e895e155d37650d5d677f062c9a4d391132beae3884144978cd41438bfa4c979caa33fc2a2623013b23cdd1c67e403d5506b84ed32def9c22be5e5a97f568
|
data/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,33 @@ module Pact
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
dsl do
|
|
25
|
+
def app &block
|
|
26
|
+
self.app_block = block
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def app_version application_version
|
|
30
|
+
self.application_version = application_version
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def app_version_tags tags
|
|
34
|
+
self.tags = tags
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def publish_verification_results publish_verification_results
|
|
38
|
+
self.publish_verification_results = publish_verification_results
|
|
39
|
+
Pact::RSpec.with_rspec_2 do
|
|
40
|
+
Pact.configuration.error_stream.puts "WARN: Publishing of verification results is currently not supported with rspec 2. If you would like this functionality, please feel free to submit a PR!"
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def honours_pact_with consumer_name, options = {}, &block
|
|
45
|
+
create_pact_verification consumer_name, options, &block
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def honours_pacts_from_pact_broker &block
|
|
49
|
+
create_pact_verification_from_broker &block
|
|
50
|
+
end
|
|
51
|
+
|
|
25
52
|
def builder &block
|
|
26
53
|
self.app_block = lambda { RackToMessageAdapter.new(block) }
|
|
27
54
|
end
|
data/lib/pact/version.rb
CHANGED
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.50.
|
|
4
|
+
version: 1.50.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-06-
|
|
15
|
+
date: 2020-06-15 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: rspec
|