pact-support 1.15.2 → 1.16.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: 013c48242b5599c0523e3a0628008cad711662fc96cf40271d5a1f28ae27fe33
4
- data.tar.gz: 734a79394ff2baef976fcc0f3ad21907f994892c6dbba7a888d26f37332fdcb2
3
+ metadata.gz: e3921a36bb710b3a9c466c6b14d3f2be4e7a155b3fc327c2f30b877f10f97024
4
+ data.tar.gz: c6b156962001e753d85e3f627396efa07a6117943fb631fa1c59017db552aa39
5
5
  SHA512:
6
- metadata.gz: e065e5f99495d3e5acd90fa10807b3ed33138669ea120e0709b2fce1169b53085fa81ad2751120f21befaad1a89bb1295d3a1837465ac1eebf5c2dc6f8a9bad1
7
- data.tar.gz: 36054ddc380804d4b94b18829ec6859a595b82f14ccae0de78e5d5f842aa266af04c78782677b1d8a9a52f37a72e1168e203bfaac28d53e2ad8acaa79c90cadd
6
+ metadata.gz: 1da5c8dafd5925e67f8060c2436dd072e69907aae0316e6c4402812b7ce303dbdb259484173e3e38740222858db7dc774b3fe7e8fc676943c149776b8a42d1af
7
+ data.tar.gz: 91c699474be4d252970fa34f0f5881c12c891e2278ea8e3a5219dd3003ca197c46546fc94b8c49cfc84ac0652cbbbd75651658b405f6ab204e62eea1942c8fdd
@@ -1,3 +1,42 @@
1
+ <a name="v1.16.1"></a>
2
+ ### v1.16.1 (2020-11-06)
3
+
4
+ #### Bug Fixes
5
+
6
+ * add missing params_hash_type? from Rack ([3195b0a](/../../commit/3195b0a))
7
+
8
+ <a name="v1.16.0"></a>
9
+ ### v1.16.0 (2020-11-04)
10
+
11
+ #### Features
12
+
13
+ * remove runtime dependency on rspec ([aca30e2](/../../commit/aca30e2))
14
+
15
+ <a name="v1.15.5"></a>
16
+ ### v1.15.5 (2020-11-04)
17
+
18
+ #### Bug Fixes
19
+
20
+ * add missing outputs to release workflow ([d565d0f](/../../commit/d565d0f))
21
+ * try different output syntax ([b11e8fb](/../../commit/b11e8fb))
22
+
23
+ <a name="v1.15.4"></a>
24
+ ### v1.15.4 (2020-11-04)
25
+
26
+ #### Bug Fixes
27
+
28
+ * update release gem action version ([9dead58](/../../commit/9dead58))
29
+
30
+ <a name="v1.15.3"></a>
31
+ ### v1.15.3 (2020-11-04)
32
+
33
+
34
+ #### Bug Fixes
35
+
36
+ * release workflow ([4bdf8d8](/../../commit/4bdf8d8))
37
+ * not actually a fix, just triggering new release ([74038a5](/../../commit/74038a5))
38
+
39
+
1
40
  <a name="v1.15.2"></a>
2
41
  ### v1.15.2 (2020-11-04)
3
42
 
@@ -105,6 +105,10 @@ module Pact
105
105
  params
106
106
  end
107
107
 
108
+ def self.params_hash_type?(obj)
109
+ obj.is_a?(Hash)
110
+ end
111
+
108
112
  def self.unescape(s, encoding = Encoding::UTF_8)
109
113
  URI.decode_www_form_component(s, encoding)
110
114
  end
@@ -1,4 +1,3 @@
1
- require 'rspec'
2
1
  # This is horrible, must work out a better way of doing this
3
2
  module Pact
4
3
  module RSpec
@@ -19,7 +18,6 @@ module Pact
19
18
  require 'pact/provider/rspec/formatter_rspec_2'
20
19
  Pact::Provider::RSpec::Formatter2
21
20
  end
22
-
23
21
  end
24
22
 
25
23
  def self.full_description example
@@ -31,11 +29,11 @@ module Pact
31
29
  end
32
30
 
33
31
  def self.is_rspec_3
34
- ::RSpec::Core::Formatters.respond_to?(:register)
32
+ defined?(::RSpec) && ::RSpec::Core::Formatters.respond_to?(:register)
35
33
  end
36
34
 
37
35
  def self.is_rspec_2
38
- !is_rspec_3
36
+ defined?(::RSpec) && !is_rspec_3
39
37
  end
40
38
 
41
39
  def self.with_rspec_3
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Support
3
- VERSION = "1.15.2"
3
+ VERSION = "1.16.1"
4
4
  end
5
5
  end
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.15.2
4
+ version: 1.16.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-11-03 00:00:00.000000000 Z
15
+ date: 2020-11-06 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp
@@ -28,20 +28,6 @@ dependencies:
28
28
  - - "~>"
29
29
  - !ruby/object:Gem::Version
30
30
  version: 0.1.7
31
- - !ruby/object:Gem::Dependency
32
- name: rspec
33
- requirement: !ruby/object:Gem::Requirement
34
- requirements:
35
- - - ">="
36
- - !ruby/object:Gem::Version
37
- version: '2.14'
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: '2.14'
45
31
  - !ruby/object:Gem::Dependency
46
32
  name: term-ansicolor
47
33
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +70,26 @@ dependencies:
84
70
  - - "~>"
85
71
  - !ruby/object:Gem::Version
86
72
  version: '1.4'
73
+ - !ruby/object:Gem::Dependency
74
+ name: rspec
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '2.14'
80
+ - - "<"
81
+ - !ruby/object:Gem::Version
82
+ version: '4.0'
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '2.14'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '4.0'
87
93
  - !ruby/object:Gem::Dependency
88
94
  name: rake
89
95
  requirement: !ruby/object:Gem::Requirement