litestream 0.11.1-x86_64-darwin → 0.11.2-x86_64-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: b0adcbe9f34a23e5f6bd0a6de57018ee114fe11cdf4557577d1c32c6fe02a7cf
|
4
|
+
data.tar.gz: 183480af9a279fc8490844e3aa389ceed2f8f5ebacffcd66b8fbeefd80d6c3b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5306db6b0fb66f2fdcd51b067c5cd39098eb9de1389282b91f38f4c9a315a8193d83d8ebcb803e79c0d762b53f439a72e5cfea7541658b54ae573224e65b59e2
|
7
|
+
data.tar.gz: 5684670016f90f4277d156dedae679372c758d24b9c8048d4316ddd7c632bc70a05e24b960ca0d488891faf5f69d00e991d217be3490004f638d55ce489354d7
|
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
|