twitch-bot 5.0.5 → 5.0.6

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: 8a9cd13d5b108b20673a4c971d882ca32538ed59cec9b53bbe96e810c114f72c
4
- data.tar.gz: 10bf6db842e60d29b8e55ecb907110b31d01d19e625729caedb446ed7f947c83
3
+ metadata.gz: 6133a3ba914f7fd40da2b2f0f451b49a431bc02823820a7e75ca93322f0c340a
4
+ data.tar.gz: 3c2e6b980f222d9971ea31eebe245dbad6328580dbb80f8628001401745014a7
5
5
  SHA512:
6
- metadata.gz: 9f8b1e3f3c9685a624845f45c9da18e81081f2d471ef917f280f715741345c61dce68b9af4941e7d808a950af85027afc651da384adbffa291ea39c5a763611c
7
- data.tar.gz: 8ec7e264de9418e546ee1f885dc196f7d35541fe0b93da957928937f4030f30f5fad3534d512c7afffb4f63479a6067b4a50ce0e7302ef0e1e91efa2e928be75
6
+ metadata.gz: 7d92e3cca67e6e16cf2d226a71342cc91d58ce65982dbc3f98cb406e1556fc5a068747edf27e386ac1fb9c20162433c8aadcc41960ef68c795784e8b3146ae73
7
+ data.tar.gz: 434259e844ddff31a768f4c4349d1eb7d621be9718f94060cdace86cdaca76c0f8effebf16c8f83f9ac74f91e4448e7f6612b865b6b03f73070c17f2d2700979
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog Twitch::Bot
2
2
 
3
+ ## v5.0.6
4
+
5
+ - [FIX] Use safe navigation properly.
6
+
3
7
  ## v5.0.5
4
8
 
5
9
  - [FIX] Catch missing channel object.
@@ -181,7 +181,7 @@ module Twitch
181
181
  end
182
182
 
183
183
  def max_messages_count
184
- if channel&.moderators.include?(config.setting("botname"))
184
+ if channel&.moderators&.include?(config.setting("botname"))
185
185
  MODERATOR_MESSAGES_COUNT
186
186
  else
187
187
  USER_MESSAGES_COUNT
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Twitch
4
4
  module Bot
5
- VERSION = "5.0.5"
5
+ VERSION = "5.0.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitch-bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.5
4
+ version: 5.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jochen Lillich