pact_expectations 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/pact_expectations/version.rb +1 -1
- data/pact_expectations.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2c6097b4e1d649eb32c6f7b0d9d3bce98db3bad
|
4
|
+
data.tar.gz: 0d19bd1288addfe734b378420be20e8e55a6d159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c97e2ecba7a7d1c6ff93507454287bea7f0b3f88499171a8030b768a869d865df86d53c01ad28541d90fa4be24e8d2227c3782703bdd6a58d4240b222b83b3f2
|
7
|
+
data.tar.gz: 8fde5ef8ace82e754c3b569da0ea6b0c802617e34d437db589b9f07ae8648da636057413a1bb3585a0ed7039bcbb93419a594c0a0812fc0ad0d751df8295f634
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ for example
|
|
27
27
|
```ruby
|
28
28
|
class APIClient
|
29
29
|
def item(id)
|
30
|
-
# api request
|
30
|
+
# Sending api request
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
@@ -39,7 +39,7 @@ PactExpectations.add_response_body_for(
|
|
39
39
|
),
|
40
40
|
)
|
41
41
|
|
42
|
-
## Pact
|
42
|
+
## CDC testing with Pact
|
43
43
|
describe APIClient, pact: true do
|
44
44
|
describe "#item" do
|
45
45
|
before do
|
@@ -57,7 +57,7 @@ describe APIClient, pact: true do
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
##
|
60
|
+
## Stub Remote Facade's method
|
61
61
|
describe ItemsController do
|
62
62
|
describe "show" do
|
63
63
|
before do
|
data/pact_expectations.gemspec
CHANGED
@@ -17,9 +17,9 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_dependency "pact-support", "
|
20
|
+
spec.add_dependency "pact-support", ">= 0.5.4"
|
21
21
|
|
22
|
-
spec.add_development_dependency "pact", "
|
22
|
+
spec.add_development_dependency "pact", ">= 1.9"
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.11"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
25
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_expectations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiori SHOJI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pact-support
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.5.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.5.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pact
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.9'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|