pact_broker 2.59.0 → 2.59.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release_gem.yml +19 -6
- data/CHANGELOG.md +7 -0
- data/lib/pact_broker/groups/service.rb +1 -1
- data/lib/pact_broker/index/service.rb +6 -0
- data/lib/pact_broker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6703933e244f375a0ebc2a9be4ecc7d9baa65c1f72950e7ee9bd4bfc7fca6c
|
4
|
+
data.tar.gz: 3d2e0906da58faeb0e882eb78cc4e255d52d1efd7a8ee19d7feeb8d8a31b00e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9022f0a89698c8cb3d648a895040059e908c7199489cc56e9183650a9b398592c5d1f1aff3394444e2d40417a02d02f621691c8db7e4de6500582a2ce4704c52
|
7
|
+
data.tar.gz: ba3ea7d815830ae6e35339190909e5e2d06c799c69665ce01563bd952804961f54ef2a9424ab3cc8c323d2701abf305231d9796d4c86d9bd930f528981891dc9
|
@@ -24,9 +24,22 @@ jobs:
|
|
24
24
|
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
|
25
25
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
26
26
|
INCREMENT: '${{ github.event.client_payload.increment }}'
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
notify-gem-released:
|
28
|
+
needs: release
|
29
|
+
strategy:
|
30
|
+
matrix:
|
31
|
+
repository: [pact-foundation/pact-broker-docker, DiUS/pact_broker-docker]
|
32
|
+
runs-on: ubuntu-latest
|
33
|
+
steps:
|
34
|
+
- name: Notify ${{ matrix.repository }} of gem release
|
35
|
+
uses: peter-evans/repository-dispatch@v1
|
36
|
+
with:
|
37
|
+
token: ${{ secrets.GHTOKENNOTIFYPBRELEASED }}
|
38
|
+
repository: ${{ matrix.repository }}
|
39
|
+
event-type: gem-released
|
40
|
+
client-payload: |
|
41
|
+
{
|
42
|
+
"name": "${{ needs.release.outputs.gem_name }}",
|
43
|
+
"version": "${{ needs.release.outputs.version }}",
|
44
|
+
"increment": "${{ needs.release.outputs.increment }}"
|
45
|
+
}
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
<a name="v2.59.1"></a>
|
2
|
+
### v2.59.1 (2020-08-04)
|
3
|
+
|
4
|
+
#### Bug Fixes
|
5
|
+
|
6
|
+
* fix error rendering relationships diagram when the number of index items is greater than one page ([93a19982](/../../commit/93a19982))
|
7
|
+
|
1
8
|
<a name="v2.59.0"></a>
|
2
9
|
### v2.59.0 (2020-07-30)
|
3
10
|
|
@@ -32,6 +32,12 @@ module PactBroker
|
|
32
32
|
PactBroker.policy_scope!(PactBroker::Pacts::PactPublication)
|
33
33
|
end
|
34
34
|
|
35
|
+
def self.find_all_index_items
|
36
|
+
# Is there a better way to do this? Setting a page_size of nil or -1 doesn't work
|
37
|
+
# If we get to 100000000000 index items, we're probably going to have bigger issues...
|
38
|
+
find_index_items(page_number: 1, page_size: 100000000000)
|
39
|
+
end
|
40
|
+
|
35
41
|
def self.find_index_items options = {}
|
36
42
|
latest_verifications_for_cv_tags = latest_verifications_for_consumer_version_tags(options)
|
37
43
|
latest_pact_publication_ids = latest_pact_publications.select(:id).all.collect{ |h| h[:id] }
|
data/lib/pact_broker/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_broker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.59.
|
4
|
+
version: 2.59.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bethany Skurrie
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-08-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|