bitbar_gitlab 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f319aadfd9c3e462a7aadaf90ed2e2ce9f5a2967
4
- data.tar.gz: 8dd4e9cbc1f4f1a7ae7154e4f7cd28905f9e8664
3
+ metadata.gz: cfc03a619e081054c4f005436a62b67fafda3d00
4
+ data.tar.gz: 8508c6dd092282087c058453264e4eef48f0403f
5
5
  SHA512:
6
- metadata.gz: 0fc286d5ddb18e51b031622f705c8abb4312e384ff50ad517b7b0b0b2fe432bda504e655a2739d60dd3d5358a901536173fecdc50f266c064fd87588bc600fe0
7
- data.tar.gz: cf1a5ecf6bf88c32d8514e5337465bae884b17a83d283424ae5b5b5e78f8f2e5847ed4ba9fa85f7a9aa08d97f9e5d4391507b4ab982e794b78285e6f158b02df
6
+ metadata.gz: c6a73b440082a368c554046b574008bf60f855692b7f7d1d4bc3917108bb0378e8cfb90d77a2db8461ce8233675f43bb6ae184b6335d363ca44b4a796c899b1a
7
+ data.tar.gz: 45ca5e74721096d61e83b6bf507a00862b7f94a4f2dc925e4d3bc48027d0ada46cbfe073d8194fc51c48c2929e3fc36b5710a227c002a17e9405468c6b30b331
@@ -119,11 +119,14 @@ def pipeline_menu pr, level, in_focus = false
119
119
  project_info = $gitlab.project(pr.to_hash['id'].to_s)
120
120
  return unless project_info.to_hash['jobs_enabled']
121
121
 
122
+ labels = ['id','status','web_url']
122
123
  data = []
123
124
 
124
-
125
125
  $gitlab.pipelines(pr.to_hash['id'].to_s,{per_page:3, page:1, state: 'running'}).collect do |iss|
126
126
  d = []
127
+ labels.each do |l|
128
+ d << iss.to_hash[l].to_s
129
+ end
127
130
  data << d
128
131
  end
129
132
 
@@ -1,3 +1,3 @@
1
1
  module BitbarGitlab
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitbar_gitlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pim Snel