pact-mock_service 3.6.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/pact/mock_service/cli.rb +3 -0
- data/lib/pact/mock_service/cli/custom_thor.rb +3 -0
- data/lib/pact/mock_service/cli/pidfile.rb +3 -1
- data/lib/pact/mock_service/version.rb +1 -1
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73c7073ed6b327f9f0a747b47555fcb6ef9206b6c57a41a7c3b951d11ac5e1e5
|
4
|
+
data.tar.gz: f46face2860458edbdc0282acb0a29737a71adec3010bbc4602af6c38c615c6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1491d288d1862ab6bddb50914353b2ed1b51c56cd244dde48db639df8d4ac89e6dd096fb8b52822e78038fdbb0c3eddf893544bc5d38d79f70dee6775d4860de
|
7
|
+
data.tar.gz: 6e6eebe7ff8017e8682961540730fd851a20a41e75719d662265ab6a8fdf3954fe74dcd3891efaf91e8d476bbaa9f214e74fb2c999aeae95a79e37f7fd693cda
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,9 @@ require 'socket'
|
|
9
9
|
module Pact
|
10
10
|
module MockService
|
11
11
|
class CLI < Thor
|
12
|
+
def self.exit_on_failure? # Thor 1.0 deprecation guard
|
13
|
+
false
|
14
|
+
end
|
12
15
|
|
13
16
|
PACT_FILE_WRITE_MODE_DESC = "`overwrite` or `merge`. Use `merge` when running multiple mock service instances in parallel for the same consumer/provider pair." +
|
14
17
|
" Ensure the pact file is deleted before running tests when using this option so that interactions deleted from the code are not maintained in the file."
|
@@ -11,6 +11,9 @@ module Pact
|
|
11
11
|
# `script --help` to display the help for the default task instead of the command list
|
12
12
|
#
|
13
13
|
class CustomThor < ::Thor
|
14
|
+
def self.exit_on_failure? # Thor 1.0 deprecation guard
|
15
|
+
false
|
16
|
+
end
|
14
17
|
|
15
18
|
no_commands do
|
16
19
|
def self.start given_args = ARGV, config = {}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact-mock_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.2
|
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-
|
15
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rack
|
@@ -60,16 +60,22 @@ dependencies:
|
|
60
60
|
name: thor
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- - "
|
63
|
+
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0.19'
|
66
|
+
- - "<"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
66
69
|
type: :runtime
|
67
70
|
prerelease: false
|
68
71
|
version_requirements: !ruby/object:Gem::Requirement
|
69
72
|
requirements:
|
70
|
-
- - "
|
73
|
+
- - ">="
|
71
74
|
- !ruby/object:Gem::Version
|
72
75
|
version: '0.19'
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '2.0'
|
73
79
|
- !ruby/object:Gem::Dependency
|
74
80
|
name: json
|
75
81
|
requirement: !ruby/object:Gem::Requirement
|
@@ -399,8 +405,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
399
405
|
- !ruby/object:Gem::Version
|
400
406
|
version: '0'
|
401
407
|
requirements: []
|
402
|
-
|
403
|
-
rubygems_version: 2.7.7
|
408
|
+
rubygems_version: 3.1.4
|
404
409
|
signing_key:
|
405
410
|
specification_version: 4
|
406
411
|
summary: Provides a mock service for use with Pact
|