openpull 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 11ac4753168a18e414bf437e328e2a6981bcb623
4
- data.tar.gz: d51ca5e3ee7caa640623de403694c0c46a166315
3
+ metadata.gz: 1540556b0871697a17704b082ca5d66fe8265513
4
+ data.tar.gz: fa711e9a48cf9151af5e4b31d022b54cdad31f99
5
5
  SHA512:
6
- metadata.gz: 7f3741087b5ce398d095b22ca2c884f18b930441fdbd745659970115f63d53a529cfcf2f03beb6a5f9379784c7c83a58e45a5a8d8a7f4a197760544d87524ab7
7
- data.tar.gz: 492bad90f158ad4c15f6314f8586b1bfb213b9befd7dce04c3a77698441f6ab768ccc19e77f18e1ebbf2a0ca4b1ebdd5f77cc98c1cbcee53493d27b6e143c3cc
6
+ metadata.gz: 986f0b39062c81fedb4a64da89442b007273873965495a6f08af54de87cd33cb8883d58101b4097c4773dddabc8570cf1b85bdeabd29d59530d049681fdeb1e7
7
+ data.tar.gz: 3518a2b046d07cf8cdf05b1559f76a1d39e6838e2493249a4516be97ed7c087bb87714c4d40fa69de656524f4932cca08a4f91f52bfd66a3061e924df1688e57
@@ -32,17 +32,16 @@ module OpenPull
32
32
  end
33
33
 
34
34
  def headers(repository, size)
35
- visibility = repository.private ? 'private' : 'public'
36
-
37
- [
35
+ head = [
38
36
  "#{repository.name} (#{size})",
39
- visibility
40
- ] +
41
- [''] * 5 +
42
- [
43
- repository.html_url,
44
- ''
45
- ].map { |h| h.blue.bold }
37
+ repository.private ? 'private' : 'public'
38
+ ]
39
+ head += [''] * 5
40
+ head += [
41
+ repository.html_url,
42
+ ''
43
+ ]
44
+ head.map { |h| h.blue.bold }
46
45
  end
47
46
 
48
47
  def row(pr)
@@ -1,3 +1,3 @@
1
1
  module OpenPull
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openpull
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mads Ohm Larsen