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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9b0e297ccfb28aff9a5671f6db509740d72b305ea876c90dd9f43801a29d678
4
- data.tar.gz: 2671cd878bcdfa50e841b8f69f40188053f7c65646100b94ea2d700add445132
3
+ metadata.gz: 5b6703933e244f375a0ebc2a9be4ecc7d9baa65c1f72950e7ee9bd4bfc7fca6c
4
+ data.tar.gz: 3d2e0906da58faeb0e882eb78cc4e255d52d1efd7a8ee19d7feeb8d8a31b00e3
5
5
  SHA512:
6
- metadata.gz: 2a1e25b8199ca7a2ed5940d32f749273d1e9be09bb376440902fd3b72bcfaaa26820b98c177cf22922d1ea325afd821b12b8136e3e0728febbed261ecbe92a12
7
- data.tar.gz: 64735e63241058558c290c24e46ff929bb89d7515d7d97413d9e18491b543128a610fc568b711efb9e2fba6bb099d99ed4600aee842c9119e47961a5b99d7a46
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
- # - name: Trigger release of pact-cli Docker image
28
- # uses: peter-evans/repository-dispatch@v1
29
- # with:
30
- # token: ${{ secrets.GHTOKENFORPACTCLIRELEASE }}
31
- # repository: pact-foundation/pact-ruby-cli
32
- # event-type: gem-released
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
+ }
@@ -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
 
@@ -16,7 +16,7 @@ module PactBroker
16
16
  end
17
17
 
18
18
  def groups
19
- Relationships::Groupify.call index_service.find_index_items
19
+ Relationships::Groupify.call(index_service.find_all_index_items)
20
20
  end
21
21
  end
22
22
  end
@@ -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] }
@@ -1,3 +1,3 @@
1
1
  module PactBroker
2
- VERSION = '2.59.0'
2
+ VERSION = '2.59.1'
3
3
  end
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.0
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-07-31 00:00:00.000000000 Z
13
+ date: 2020-08-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty