litestream 0.11.1-arm64-linux → 0.11.2-arm64-linux
Sign up to get free protection for your applications and to get access to all the features.
- 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: e07c3f0d5bb299df014db1828e995f1c6463b717d80d6eeab9d7ec5356a86fc4
|
4
|
+
data.tar.gz: 701ec74ac9720daa72b785fdd61a7eb1d0d08b03d69216793d6e9841a730f8cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c27da34ac3bef30c156bb830c47ace13779855e2e9fbb38272cec87ccf3ceebe83dee9479d7b1353db6631f75d8dcc84e9085456788da3717a65ade5ef1bc6fe
|
7
|
+
data.tar.gz: d422cffcda51ff09c30aeb04eeda34b4b1eb6760de32ae718de0a7718318b27158d373da2dfb5074c354029ea16cbaf85feb5592df9431da096b3edc8f3cffb8
|
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
|