lita-discord_oauth 0.1.2.alpha.59 → 0.1.2.alpha.60

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: 51480efa6701e4665464215d1278bb0e29704073
4
- data.tar.gz: d0475960df10e5de6b183d370be88a0f1e10282d
3
+ metadata.gz: b1de6b2d6a58c4c706fc4799aa1ee9fda3a21ca5
4
+ data.tar.gz: 182bbad53f7b457b19c7e24ac473fdc5183a0084
5
5
  SHA512:
6
- metadata.gz: c33066bfad852659c4b5a33c9896c2c8292571f8bec5825da70cccb88240f51477e9586b79ae2096f841c9adccf3186ea0033c1ed6ef28f1e086af55e828697b
7
- data.tar.gz: facb0f806a215e7316626a9d2f217c0dc698ff37367652cf72d88d5c50d924121cbb98bc8ef9502e67eab91636fa0d61a637915e320215eb2e757f363775ca0f
6
+ metadata.gz: f7fb405cd0bff4c35fbe08ef49f6e375a486662dc79ca400512b283623edb6416f21b98254f5ca82d760a64f653a6657ffd7d19fb63ed3891d88b0001a2c8dec
7
+ data.tar.gz: 4be1b34a2c532c93f41bc8f769341ad031e7d98670118a1bac34ed3ef5591effbac12bbc0067a1fcd910b070b3271487b365fe544760872057431c9beb163dc7
@@ -27,9 +27,6 @@ module Lita
27
27
  private
28
28
 
29
29
  def table_row(key, value)
30
-
31
- return "#{key} ||| #{value}"
32
-
33
30
  key_width = 25
34
31
  value_width = 112
35
32
 
@@ -38,11 +35,12 @@ module Lita
38
35
  value_words = value.split(' ')
39
36
 
40
37
  value_text = ''
41
- value_line = ''.ljust(key_width + 1, ' ')
38
+ value_line = ''
39
+
42
40
  value_words.each do |word|
43
41
  new_value_line = "#{value_line} #{word}"
44
42
 
45
- if new_value_line.length > value_width + key_width + 1
43
+ if new_value_line.length > value_width
46
44
  value_text += "#{value_line}\n" + ''.ljust(key_width + 1, ' ')
47
45
  value_line = word
48
46
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-discord_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.alpha.59
4
+ version: 0.1.2.alpha.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns