twitch-bot 5.0.0 → 5.0.1

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: 62d03f6a524a016a3c7472f473699677c203961d5c0db80d8345da5a2e48397d
4
- data.tar.gz: c9a11d3c030bf1a9debf6bb66b06a18b80d814347b123dc41f070d4cd5670064
3
+ metadata.gz: c93a3e736df843858523b560468c2e8f5b485753d962048a53a1d31288dac8e7
4
+ data.tar.gz: 0bcecc94bf291ba8f1cbdd95643fef3fcb63dec42a60b19b6b4714a99412e48a
5
5
  SHA512:
6
- metadata.gz: 34fe79b2b493e373bf79665dd001bda15e6c4bc87e6c70ba2a6bb0a34a6190b1800450ffcdfa850f167c29e8ec25a5a1bee2837116a9d1b93313f213b170475e
7
- data.tar.gz: 9cdf0dde5c84e3fac9f5e1a37d8aaddddd284086e900390dac97f384c364a11a138cbad0bd098a96eaf5020a99b749a38149111890c9f798d169b46f77f895f1
6
+ metadata.gz: 1dd1afaf1758e6e284286c574d6e1c97c7173431ecec73570394193e174afd8ed2216bf6f22cec76f4ac0c0b379b4fdcf0ef93d275664870b8247f0da2f880a7
7
+ data.tar.gz: 2457c8f76af99c2b0293ffce6bc6269df1cc0c07f9a3aa54fbfb210e28c791f34e42eee7eeb89da00d523da6b9853454c8ad0b561d182667e80280f962253f76
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog Twitch::Bot
2
2
 
3
+ ## v5.0.1
4
+
5
+ - [FIX] Environment variable `REDIS_URL` now has precedence over configuration
6
+ object values.
7
+
3
8
  ## v5.0.0
4
9
 
5
10
  - [BREAKING] Complex values like arrays and hashes get serialized as JSON before
@@ -27,7 +27,7 @@ module Twitch
27
27
  attr_reader :client, :redis
28
28
 
29
29
  def connect_db
30
- url = redis_config_url || ENV["REDIS_URL"]
30
+ url = ENV["REDIS_URL"] || redis_config_url
31
31
  ::Redis.new(url: url)
32
32
  end
33
33
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Twitch
4
4
  module Bot
5
- VERSION = "5.0.0"
5
+ VERSION = "5.0.1"
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.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jochen Lillich