rspec-pact-matchers 0.1.1 → 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/.github/workflows/ci.yml +48 -0
- data/.github/workflows/test.yml +6 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +12 -0
- data/README.md +2 -2
- data/lib/rspec/pact/matchers/version.rb +1 -1
- data/renovate.json +6 -0
- data/rspec-pact-matchers.gemspec +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7834b003c072b44b4f8eb0194acddba82b0234c4d3febc6ffe2ec9f87cbf7e78
|
|
4
|
+
data.tar.gz: 11f938b343c5a3851f33982ebbc015e83093c564d04a5c5eda1455a26e3bcf75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eca5036be7871f0be6cfb2becb3487bc26ab2642e674c277fd707ec943833e4dece7d3dc149fbe164864f2eb6244b5de36d52a239c34567dc3f1f7f136fb9341
|
|
7
|
+
data.tar.gz: 614fd8666c2e2f311fa27598ad93ef8147c194a583185e2c8a48dd4e4dadae13b9e500f263a78728dcf7c5ac93a9f231f4605e1e6ffba5bdd9473747d27c3d04
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: Release gem
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
repository_dispatch:
|
|
5
|
+
types:
|
|
6
|
+
- release-triggered
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
inputs:
|
|
9
|
+
increment:
|
|
10
|
+
description: "Version increment"
|
|
11
|
+
required: true
|
|
12
|
+
type: choice
|
|
13
|
+
options:
|
|
14
|
+
- patch
|
|
15
|
+
- minor
|
|
16
|
+
- major
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
test:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v7
|
|
23
|
+
- uses: ruby/setup-ruby@v1
|
|
24
|
+
with:
|
|
25
|
+
ruby-version: '3.4.10'
|
|
26
|
+
- run: |
|
|
27
|
+
gem install bundler -v 2.4
|
|
28
|
+
bundle install
|
|
29
|
+
- name: Test
|
|
30
|
+
run: bundle exec rake
|
|
31
|
+
|
|
32
|
+
release:
|
|
33
|
+
needs: test
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
outputs:
|
|
36
|
+
gem_name: ${{ steps.release-gem.outputs.gem_name }}
|
|
37
|
+
version: ${{ steps.release-gem.outputs.version }}
|
|
38
|
+
increment: ${{ steps.release-gem.outputs.increment }}
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v7
|
|
41
|
+
with:
|
|
42
|
+
fetch-depth: 0
|
|
43
|
+
- id: release-gem
|
|
44
|
+
uses: pact-foundation/release-gem@v1
|
|
45
|
+
env:
|
|
46
|
+
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
|
|
47
|
+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
|
48
|
+
INCREMENT: "${{ inputs.increment || github.event.client_payload.increment }}"
|
data/.github/workflows/test.yml
CHANGED
|
@@ -2,19 +2,21 @@ name: Test
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
5
7
|
pull_request:
|
|
6
|
-
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
7
10
|
|
|
8
11
|
jobs:
|
|
9
12
|
test:
|
|
10
|
-
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
|
|
11
13
|
runs-on: "ubuntu-latest"
|
|
12
14
|
strategy:
|
|
13
15
|
fail-fast: false
|
|
14
16
|
matrix:
|
|
15
|
-
ruby_version: ["2
|
|
17
|
+
ruby_version: ["3.2", "3.3", "3.4"]
|
|
16
18
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@v4
|
|
18
20
|
- uses: ruby/setup-ruby@v1
|
|
19
21
|
with:
|
|
20
22
|
ruby-version: ${{ matrix.ruby_version }}
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.4.4
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
|
@@ -51,6 +51,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/pact-f
|
|
|
51
51
|
|
|
52
52
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
53
53
|
|
|
54
|
-
[pact-gem]: https://github.com/
|
|
55
|
-
[pact-matchers]: https://
|
|
54
|
+
[pact-gem]: https://github.com/pact-foundation/pact-ruby
|
|
55
|
+
[pact-matchers]: https://docs.pact.io/implementation_guides/ruby/matching
|
|
56
56
|
[postels-law]: https://en.wikipedia.org/wiki/Robustness_principle
|
data/renovate.json
ADDED
data/rspec-pact-matchers.gemspec
CHANGED
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
30
30
|
spec.require_paths = ["lib"]
|
|
31
31
|
|
|
32
|
-
spec.add_runtime_dependency "pact-support", ">=1.1.2", "<
|
|
32
|
+
spec.add_runtime_dependency "pact-support", ">=1.1.2", "<3.0"
|
|
33
33
|
spec.add_runtime_dependency "rspec", "~> 3.0"
|
|
34
34
|
spec.add_runtime_dependency 'term-ansicolor', '~> 1.0'
|
|
35
35
|
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-pact-matchers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Beth Skurrie
|
|
8
8
|
- Mike Williams
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: pact-support
|
|
@@ -20,7 +19,7 @@ dependencies:
|
|
|
20
19
|
version: 1.1.2
|
|
21
20
|
- - "<"
|
|
22
21
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: '
|
|
22
|
+
version: '3.0'
|
|
24
23
|
type: :runtime
|
|
25
24
|
prerelease: false
|
|
26
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -30,7 +29,7 @@ dependencies:
|
|
|
30
29
|
version: 1.1.2
|
|
31
30
|
- - "<"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
32
|
+
version: '3.0'
|
|
34
33
|
- !ruby/object:Gem::Dependency
|
|
35
34
|
name: rspec
|
|
36
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -73,7 +72,6 @@ dependencies:
|
|
|
73
72
|
- - "~>"
|
|
74
73
|
- !ruby/object:Gem::Version
|
|
75
74
|
version: '13.0'
|
|
76
|
-
description:
|
|
77
75
|
email:
|
|
78
76
|
- beth@bethesque.com
|
|
79
77
|
- mdub@dogbiscuit.org
|
|
@@ -81,11 +79,13 @@ executables: []
|
|
|
81
79
|
extensions: []
|
|
82
80
|
extra_rdoc_files: []
|
|
83
81
|
files:
|
|
82
|
+
- ".github/workflows/ci.yml"
|
|
84
83
|
- ".github/workflows/test.yml"
|
|
85
84
|
- ".gitignore"
|
|
86
85
|
- ".rspec"
|
|
87
86
|
- ".ruby-version"
|
|
88
87
|
- ".travis.yml"
|
|
88
|
+
- CHANGELOG.md
|
|
89
89
|
- Gemfile
|
|
90
90
|
- LICENSE.txt
|
|
91
91
|
- README.md
|
|
@@ -94,12 +94,12 @@ files:
|
|
|
94
94
|
- bin/setup
|
|
95
95
|
- lib/rspec/pact/matchers.rb
|
|
96
96
|
- lib/rspec/pact/matchers/version.rb
|
|
97
|
+
- renovate.json
|
|
97
98
|
- rspec-pact-matchers.gemspec
|
|
98
99
|
homepage: http://pact.io
|
|
99
100
|
licenses:
|
|
100
101
|
- MIT
|
|
101
102
|
metadata: {}
|
|
102
|
-
post_install_message:
|
|
103
103
|
rdoc_options: []
|
|
104
104
|
require_paths:
|
|
105
105
|
- lib
|
|
@@ -114,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
114
114
|
- !ruby/object:Gem::Version
|
|
115
115
|
version: '0'
|
|
116
116
|
requirements: []
|
|
117
|
-
rubygems_version:
|
|
118
|
-
signing_key:
|
|
117
|
+
rubygems_version: 4.0.21
|
|
119
118
|
specification_version: 4
|
|
120
119
|
summary: RSpec matcher using the Pact matching logic
|
|
121
120
|
test_files: []
|