pact 1.20.0 → 1.20.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 -9
- data/lib/pact/doc/README.md +4 -4
- data/lib/pact/provider/configuration/service_provider_dsl.rb +2 -2
- data/lib/pact/tasks/task_helper.rb +2 -2
- data/lib/pact/templates/help.erb +2 -2
- data/lib/pact/version.rb +1 -1
- data/pact.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf2ca756a2135d6a2a39417ffae02d437946d129
|
|
4
|
+
data.tar.gz: 569a78170a3a3ceaf2b8af98a0d5850e343240c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9505e040f353a642f44c4dbe487194dd23c0a6a03b567929761c0af6dc89de6e7fe89b7f6ddc3f60d67c4b2194b9a8463c5529afe411ea654d01d376c4c3aa3
|
|
7
|
+
data.tar.gz: 4f687a310e9a7a841bd35f70e702ec9f0190358464cf127977b0a52dcd7ab0463cba384fd96acb41f2a7078d20def0b53ec2cbf457f9682077071d63092d7292
|
data/CHANGELOG.md
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
* b794881 - Read template file with script encoding (Taiki Ono, Wed Nov 2 20:18:50 2016 +0900)
|
|
107
107
|
|
|
108
108
|
### 1.9.4 (19 Aug 2016)
|
|
109
|
-
* 93a1c42 - Ensure consumer level teardown gets called when set up is not defined. https://github.com/
|
|
109
|
+
* 93a1c42 - Ensure consumer level teardown gets called when set up is not defined. https://github.com/pact-foundation/pact-ruby/issues/111 (Beth Skurrie, Fri Aug 19 08:56:20 2016 +1000)
|
|
110
110
|
|
|
111
111
|
### 1.9.3 (27 Jun 2016)
|
|
112
112
|
* edb2208 - Clarify that pact will only work with ruby >= 2.0 (Sergei Matheson, Mon Jun 27 10:53:08 2016 +1000)
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
|
|
144
144
|
### 1.8.1 (15 June 2015)
|
|
145
145
|
|
|
146
|
-
* 207a33d - Escape HTML characters in description when generating 'a' tag IDs. https://github.com/
|
|
146
|
+
* 207a33d - Escape HTML characters in description when generating 'a' tag IDs. https://github.com/pact-foundation/pact_broker/issues/28 (Beth, Mon Jun 15 17:39:02 2015 +1000)
|
|
147
147
|
* 2441e25 - hide the password in the pact uri to_s (lifei zhou, Mon May 4 19:21:40 2015 +1000)
|
|
148
148
|
* 60ba514 - added to_s method on PactUri for printing out the uri when running the test (lifei zhou, Sun May 3 17:20:28 2015 +1000)
|
|
149
149
|
|
|
@@ -230,12 +230,12 @@
|
|
|
230
230
|
|
|
231
231
|
### 1.3.1 (11 August 2014)
|
|
232
232
|
|
|
233
|
-
* 3432259 - Fixed 'pact:verify broken with rspec-core 3.0.3' https://github.com/
|
|
233
|
+
* 3432259 - Fixed 'pact:verify broken with rspec-core 3.0.3' https://github.com/pact-foundation/pact-ruby/issues/44 (bethesque, Mon Aug 11 10:14:42 2014 +1000)
|
|
234
234
|
* e2e8eff - Deleted documentation that has been moved to the wiki (bethesque, Thu Jul 24 15:20:07 2014 +1000)
|
|
235
|
-
* bcc3143 - Fixing bug 'Method case should not matter when matching requests' https://github.com/
|
|
235
|
+
* bcc3143 - Fixing bug 'Method case should not matter when matching requests' https://github.com/pact-foundation/pact-ruby/issues/41 (bethesque, Tue Jul 22 16:51:48 2014 +1000)
|
|
236
236
|
* d4bfab9 - Adding ability to configure DiffFormatter based on content-type (bethesque, Mon Jun 23 21:22:47 2014 +1000)
|
|
237
237
|
* eb330ea - Ensured content-type header works in a case insensitive way when looking up the right differ (bethesque, Mon Jun 23 17:23:04 2014 +1000)
|
|
238
|
-
* 2733e8e - Made header matching case insensitive for requests. Fixing issue https://github.com/
|
|
238
|
+
* 2733e8e - Made header matching case insensitive for requests. Fixing issue https://github.com/pact-foundation/pact-ruby/issues/20 (bethesque, Mon May 26 19:15:48 2014 +1000)
|
|
239
239
|
* 2b8355d - Added nicer error message for scenario when a service provider app has not been configured, and there is no config.ru (bethesque, Mon Jun 23 09:42:18 2014 +1000)
|
|
240
240
|
* 1e774bb - Defaulting to TextDiffer if response has no content-type (bethesque, Sat Jun 21 10:34:44 2014 +1000)
|
|
241
241
|
* 863b093 - Added support for documents without content types (bethesque, Sat Jun 21 10:32:08 2014 +1000)
|
|
@@ -278,10 +278,10 @@
|
|
|
278
278
|
|
|
279
279
|
### 1.1.0.rc4 (1 May 2014)
|
|
280
280
|
|
|
281
|
-
* 5e1b78d - Display / in logs when path is empty https://github.com/
|
|
282
|
-
* 01c5414 - Fixing doc generation bug where Pact::Terms were being displayed https://github.com/
|
|
283
|
-
* 292a14b - Cleaning doc dir before generating new docs as per https://github.com/
|
|
284
|
-
* 73c15dd - Changed default doc_dir to ./doc/pacts as per https://github.com/
|
|
281
|
+
* 5e1b78d - Display / in logs when path is empty https://github.com/pact-foundation/pact-ruby/issues/14 (bethesque, Thu May 1 22:09:29 2014 +1000)
|
|
282
|
+
* 01c5414 - Fixing doc generation bug where Pact::Terms were being displayed https://github.com/pact-foundation/pact-ruby/issues/13 (bethesque, Thu May 1 21:41:11 2014 +1000)
|
|
283
|
+
* 292a14b - Cleaning doc dir before generating new docs as per https://github.com/pact-foundation/pact-ruby/issues/11 (bethesque, Tue Apr 29 12:44:47 2014 +1000)
|
|
284
|
+
* 73c15dd - Changed default doc_dir to ./doc/pacts as per https://github.com/pact-foundation/pact-ruby/issues/12 (bethesque, Tue Apr 29 12:33:57 2014 +1000)
|
|
285
285
|
* 78ca78c - Fixed bug where log_dir was being ignored when set to a non default value (bethesque, Tue Apr 29 07:50:32 2014 +1000)
|
|
286
286
|
|
|
287
287
|
### 1.1.0.rc3 (28 April 2014)
|
data/lib/pact/doc/README.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
If you would like to generate HTML documentation, see how the [HTMLPactRenderer][html_pact_renderer] in the Pact Broker does it.
|
|
8
8
|
|
|
9
|
-
[consumer_contract_renderer]: https://github.com/
|
|
10
|
-
[index_renderer]: https://github.com/
|
|
11
|
-
[generator]: https://github.com/
|
|
12
|
-
[html_pact_renderer]: https://github.com/
|
|
9
|
+
[consumer_contract_renderer]: https://github.com/pact-foundation/pact-ruby/blob/master/lib/pact/doc/markdown/consumer_contract_renderer.rb
|
|
10
|
+
[index_renderer]: https://github.com/pact-foundation/pact-ruby/blob/master/lib/pact/doc/markdown/index_renderer.rb
|
|
11
|
+
[generator]: https://github.com/pact-foundation/pact-ruby/blob/master/lib/pact/doc/markdown/generator.rb
|
|
12
|
+
[html_pact_renderer]: https://github.com/pact-foundation/pact_broker/blob/master/lib/pact_broker/api/renderers/html_pact_renderer.rb
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ module Pact
|
|
|
17
17
|
|
|
18
18
|
CONFIG_RU_APP = lambda {
|
|
19
19
|
unless File.exist? Pact.configuration.config_ru_path
|
|
20
|
-
raise "Could not find config.ru file at #{Pact.configuration.config_ru_path} Please configure the service provider app or create a config.ru file in the root directory of the project. See https://github.com/
|
|
20
|
+
raise "Could not find config.ru file at #{Pact.configuration.config_ru_path} Please configure the service provider app or create a config.ru file in the root directory of the project. See https://github.com/pact-foundation/pact-ruby/wiki/Verifying-pacts for more information."
|
|
21
21
|
end
|
|
22
22
|
Rack::Builder.parse_file(Pact.configuration.config_ru_path).first
|
|
23
23
|
}
|
|
@@ -80,4 +80,4 @@ module Pact
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
|
-
end
|
|
83
|
+
end
|
|
@@ -26,7 +26,7 @@ module Pact
|
|
|
26
26
|
command_parts << "SPEC_OPTS=#{Shellwords.escape(rspec_opts || '')}"
|
|
27
27
|
command_parts << FileUtils::RUBY
|
|
28
28
|
command_parts << "-S pact verify"
|
|
29
|
-
command_parts << "--pact-helper" << (pact_helper.end_with?(".rb") ? pact_helper : pact_helper + ".rb")
|
|
29
|
+
command_parts << "--pact-helper" << Shellwords.escape(pact_helper.end_with?(".rb") ? pact_helper : pact_helper + ".rb")
|
|
30
30
|
(command_parts << "--pact-uri" << pact_uri) if pact_uri
|
|
31
31
|
command_parts << "--pact-broker-username" << ENV['PACT_BROKER_USERNAME'] if ENV['PACT_BROKER_USERNAME']
|
|
32
32
|
command_parts << "--pact-broker-password" << ENV['PACT_BROKER_PASSWORD'] if ENV['PACT_BROKER_PASSWORD']
|
|
@@ -53,4 +53,4 @@ module Pact
|
|
|
53
53
|
ENV[name] = original_value
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
|
-
end
|
|
56
|
+
end
|
data/lib/pact/templates/help.erb
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
config.diff_formatter = :embedded
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
See https://github.com/
|
|
18
|
+
See https://github.com/pact-foundation/pact-ruby/blob/master/documentation/configuration.md#diff_formatter for examples and more information.
|
|
19
19
|
|
|
20
|
-
* Check out https://github.com/
|
|
20
|
+
* Check out https://github.com/pact-foundation/pact-ruby/wiki/Troubleshooting
|
|
21
21
|
|
|
22
22
|
* Ask a question on stackoverflow and tag it `pact-ruby`
|
data/lib/pact/version.rb
CHANGED
data/pact.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
|
10
10
|
gem.email = ["james.fraser@alumni.swinburne.edu", "sergei.matheson@gmail.com", "brent@fuglylogic.com", "uglyog@gmail.com", "bskurrie@dius.com.au"]
|
|
11
11
|
gem.description = %q{Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.}
|
|
12
12
|
gem.summary = %q{Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.}
|
|
13
|
-
gem.homepage = "https://github.com/
|
|
13
|
+
gem.homepage = "https://github.com/pact-foundation/pact-ruby"
|
|
14
14
|
|
|
15
15
|
gem.required_ruby_version = '>= 2.0'
|
|
16
16
|
|
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.20.
|
|
4
|
+
version: 1.20.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:
|
|
15
|
+
date: 2018-02-04 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: randexp
|
|
@@ -388,7 +388,7 @@ files:
|
|
|
388
388
|
- lib/pact/version.rb
|
|
389
389
|
- lib/tasks/pact.rake
|
|
390
390
|
- pact.gemspec
|
|
391
|
-
homepage: https://github.com/
|
|
391
|
+
homepage: https://github.com/pact-foundation/pact-ruby
|
|
392
392
|
licenses:
|
|
393
393
|
- MIT
|
|
394
394
|
metadata: {}
|