pact-support 1.20.0 → 1.20.1
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/configuration.rb +4 -1
- data/lib/pact/support/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b9c0d84b02abb11d0ca1f14ac23d4f90dc2c55874898c22bb279db2fbf2c143
|
4
|
+
data.tar.gz: a27dc43886c7643b30574c686e78cbbadc117e13cf37f8227bce6a4c661c7d07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5d1e2de94fb66036172adf61079b88a073b24280e780e48e3e667c943f17a68461ab3636e151392aeade397d53c18804ed65069cb84b1c8e03ce8c77ecedea
|
7
|
+
data.tar.gz: b420f3a91cd38c334e2e2c208a815f52bfd8c7cfc0c056e788cb25427e61c9cbc71c680f9d446b8af2815108c2f527d5ff1640516c0564e83776541b5ea3f5f3
|
data/CHANGELOG.md
CHANGED
data/lib/pact/configuration.rb
CHANGED
@@ -6,6 +6,7 @@ require 'pact/shared/json_differ'
|
|
6
6
|
require 'pact/shared/text_differ'
|
7
7
|
require 'pact/shared/form_differ'
|
8
8
|
require 'pact/shared/multipart_form_differ'
|
9
|
+
require 'rainbow'
|
9
10
|
|
10
11
|
|
11
12
|
module Pact
|
@@ -114,7 +115,9 @@ module Pact
|
|
114
115
|
|
115
116
|
def color_enabled
|
116
117
|
# Can't use ||= when the variable might be false, it will execute the expression if it's false
|
117
|
-
defined?(@color_enabled) ? @color_enabled : true
|
118
|
+
color_enabled = defined?(@color_enabled) ? @color_enabled : true
|
119
|
+
Rainbow.enabled = true if color_enabled
|
120
|
+
color_enabled
|
118
121
|
end
|
119
122
|
|
120
123
|
def color_enabled= color_enabled
|
data/lib/pact/support/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact-support
|
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: 2024-08-08 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rainbow
|
@@ -216,6 +216,20 @@ dependencies:
|
|
216
216
|
- - "~>"
|
217
217
|
- !ruby/object:Gem::Version
|
218
218
|
version: '0.5'
|
219
|
+
- !ruby/object:Gem::Dependency
|
220
|
+
name: base64
|
221
|
+
requirement: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - "~>"
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: '0.2'
|
226
|
+
type: :development
|
227
|
+
prerelease: false
|
228
|
+
version_requirements: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - "~>"
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: '0.2'
|
219
233
|
description:
|
220
234
|
email:
|
221
235
|
- james.fraser@alumni.swinburne.edu
|
@@ -319,7 +333,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
319
333
|
- !ruby/object:Gem::Version
|
320
334
|
version: '0'
|
321
335
|
requirements: []
|
322
|
-
rubygems_version: 3.
|
336
|
+
rubygems_version: 3.5.17
|
323
337
|
signing_key:
|
324
338
|
specification_version: 4
|
325
339
|
summary: Shared code for Pact gems
|