lita-discord_oauth 0.1.2.alpha.67 → 0.1.2.alpha.68

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: 3bc6cf732f29d6835536540af70947e7bae626a9
4
- data.tar.gz: 9304da528022a361122373fce485e65581064caf
3
+ metadata.gz: 514d8e0be9c3f7a1b8c25e208d1d0b3e555dc13a
4
+ data.tar.gz: 435efd72df3be3e65d065e0727792d638f562972
5
5
  SHA512:
6
- metadata.gz: 4882167ccb6dbca2f9b64ab064c21f1b29c496772533aca0610a9c47b317a9629d2ccc91a04ec78ed953b29435700886e4014b1b88e0a489727cf9a0162bbb4a
7
- data.tar.gz: b22ab6966bf19afe667e1f85b590d7efe4096d0b8a885f6c85960b4f02c8a14f87f2244c969c0358ad039c96689300933ace96e2a4f87d8fa714bf05afcc4917
6
+ metadata.gz: 56be841c51fdebf97599741ec991ca7e041aa8e472d12d677801ff45312726c3a99fa334559b323106ac9b2d16e24339bef7b56ac6a3f5a60c9d4194d97acc2d
7
+ data.tar.gz: d1b547fd69ca9eb7841c56cb350b923958ad8dc99fc58333c57ae70437c6903048527bdbe27e4e577af418af5f628f2683991340a06fbd04bee3837570645afb
@@ -56,7 +56,11 @@ module Lita
56
56
  part = message.to_s[0...limit - 1]
57
57
  break_index = part.rindex("\n")
58
58
 
59
- message[0, break_index]
59
+ if break_index != nil
60
+ message[0, break_index]
61
+ else
62
+ message
63
+ end
60
64
  end
61
65
 
62
66
  def table_row(key, value)
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.67
4
+ version: 0.1.2.alpha.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns