pact_expectations 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +4 -2
- data/lib/pact_expectations/version.rb +1 -1
- data/lib/pact_expectations.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a15010e773b0c66c77a53756ab1c760f6d781a03
|
|
4
|
+
data.tar.gz: 1978b33ff13bdb8f70ebde6774fe48a81e5bf6f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac79bbd43a05de5af795b5ec45717a6a3d5399cb8885a95750ac65c15a95244493639485a613633bf12c1dcb3466e29dc7def762139970419548e47e9fafeeda
|
|
7
|
+
data.tar.gz: 17b20e9edec24f63db5cd27cdddbca543a81580b8742ca722d6e719053bb784dcc7bdaad3e048232d656920265d52c5265bfe7a9125d74ce35ee3ae443d1e6f0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[](https://travis-ci.org/yoshiori/pact_expectations)
|
|
2
|
+
|
|
1
3
|
# PactExpectations
|
|
2
4
|
|
|
3
5
|
Pact response convert to stub.
|
|
@@ -60,7 +62,7 @@ describe ItemsController do
|
|
|
60
62
|
describe "show" do
|
|
61
63
|
before do
|
|
62
64
|
allow(APIClient).to(
|
|
63
|
-
receive(:item).with(1).and_return(PactExpectations.
|
|
65
|
+
receive(:item).with(1).and_return(PactExpectations.reified_body_for("a request for an item"))
|
|
64
66
|
)
|
|
65
67
|
end
|
|
66
68
|
it do
|
|
@@ -83,7 +85,7 @@ end
|
|
|
83
85
|
|
|
84
86
|
## Development
|
|
85
87
|
|
|
86
|
-
After checking out the repo, run `
|
|
88
|
+
After checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.
|
|
87
89
|
|
|
88
90
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
89
91
|
|
data/lib/pact_expectations.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pact_expectations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.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-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pact-support
|