pact-support 1.15.5 → 1.16.0
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/rspec.rb +2 -4
- data/lib/pact/support/version.rb +1 -1
- metadata +21 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6a279f056179dc2383e86277a08e0ee5436601e14462e646c74d5188f8f3926
|
4
|
+
data.tar.gz: 18a96a0b5b1108054a976704e33ab7e6127da3dcc84b470d869dff5127b6275f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f3e75f12fc938510916fc09c5de54caeebeaa1e2067165ef1761114f2100a3b8f07f8d7a103b78becdcfc9fe30a2b3539b4170c42e4b223c7a0a16269e061b1
|
7
|
+
data.tar.gz: 950d8ab96d8e9d755a663072967f21ac6a71c9d99de1205b47fe4c05794a68c733473a6810319a0777c10f9ec196257b3ebe6b6677c830abb336503298855015
|
data/CHANGELOG.md
CHANGED
data/lib/pact/rspec.rb
CHANGED
@@ -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
|
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.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Fraser
|
@@ -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
|