litestream 0.11.1-arm64-darwin → 0.11.2-arm64-darwin
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: 6ac70fa22c671c0fa4dc7be99caa5d3cc724276c32a9a38bd1b4626219e6c9dc
|
4
|
+
data.tar.gz: f0d49f9bfae8963c3bba980513bfba282d5b531cb5dde996c9d8f93b3c480698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7753d1de1d1cfecf54c2d7afecb0ce27a22fa93bef81549d059b7d3029e9c26c5b6ad7d681fe3cdec227b097cfe695e8fd2f85ea77c9103fe97dcb3bca32c88f
|
7
|
+
data.tar.gz: cec95b5870a68c82d9054c5b1e1e3f6acec147713d008f647e24c743792c08c5ef0d92b351377d290c71a6330c2c8772f8919697e1258a3a75062dd9daa5b289
|
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
|