litestream 0.11.1-x86_64-linux → 0.11.2-x86_64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/litestream/version.rb +1 -1
- data/lib/litestream.rb +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02d7239c1b78c5e3587efc9e18e1a45f83ebf6ec34d52945ef8b188e288db70e
|
4
|
+
data.tar.gz: 6fe66eccc5ddebe6b2654bf80b30bc5a7e0438ab1d35e798b784322c27934d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07bbe42e6574bbfba22249eec8e3f44be5d8f6d8c9cb2f262bde386d0270ce0c81999ccd40f7e7124951e4245635b41247843c2ef1841fba69bed9cf1a0c379b
|
7
|
+
data.tar.gz: 23bb7d1dc1b560beb32eecea1cd5fcdefea5604b0d1eacf917c0158b9351023cead8c6514f1dacef55c03cb11391a1712b4cd642d6939ccbeeef923040b7379a
|
data/lib/litestream/version.rb
CHANGED
data/lib/litestream.rb
CHANGED
@@ -62,27 +62,27 @@ module Litestream
|
|
62
62
|
# use method instead of attr_accessor to ensure
|
63
63
|
# this works if variable set after Litestream is loaded
|
64
64
|
def username
|
65
|
-
|
65
|
+
ENV["LITESTREAM_USERNAME"] || @@username || "litestream"
|
66
66
|
end
|
67
67
|
|
68
68
|
def password
|
69
|
-
|
69
|
+
ENV["LITESTREAM_PASSWORD"] || @@password
|
70
70
|
end
|
71
71
|
|
72
72
|
def queue
|
73
|
-
|
73
|
+
ENV["LITESTREAM_QUEUE"] || @@queue || "default"
|
74
74
|
end
|
75
75
|
|
76
76
|
def replica_bucket
|
77
|
-
|
77
|
+
@@replica_bucket || configuration.replica_bucket
|
78
78
|
end
|
79
79
|
|
80
80
|
def replica_key_id
|
81
|
-
|
81
|
+
@@replica_key_id || configuration.replica_key_id
|
82
82
|
end
|
83
83
|
|
84
84
|
def replica_access_key
|
85
|
-
|
85
|
+
@@replica_access_key || configuration.replica_access_key
|
86
86
|
end
|
87
87
|
|
88
88
|
def replicate_process
|