canistor 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canistor/storage/bucket.rb +1 -1
- data/lib/canistor/storage/bucket/settings.rb +5 -5
- data/lib/canistor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2edb558a153237b48ed0e9438b9e77d6f9d1f8e8c6435b56e51fb79c4fd32fc8
|
4
|
+
data.tar.gz: 8993f393d9e18e7fd2f95873babdbf261e3fc27d4e736c7b8993d42baa797c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cfd41769d311b131c28fd1515e3bfdec9fc1ca3912eb37ade3e00fe0796423adad0b9c7a7b4952d84a13b4fff0d163046ca4b8e1dad181f6879fb58e97c16fb
|
7
|
+
data.tar.gz: 8c2ee77d44457b16fe37dffc1e85cb3e381a873a28f1d3c8112f2a5acfc3d69b7332e0031f00d9b7c591dc1f528312cd22c8d447159917585f781b2fa96198ac
|
@@ -29,19 +29,19 @@ module Canistor
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def access_keys
|
32
|
-
@access_keys
|
32
|
+
@access_keys
|
33
33
|
end
|
34
34
|
|
35
35
|
def replicates_to
|
36
|
-
@replicates_to
|
36
|
+
@replicates_to
|
37
37
|
end
|
38
38
|
|
39
39
|
def versioned?
|
40
40
|
!!@versioned
|
41
41
|
end
|
42
42
|
|
43
|
-
def allow_access_keys(
|
44
|
-
@access_keys
|
43
|
+
def allow_access_keys(access_key_ids)
|
44
|
+
@access_keys.merge(access_key_ids)
|
45
45
|
end
|
46
46
|
|
47
47
|
def replicated?
|
@@ -73,7 +73,7 @@ module Canistor
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def clear
|
76
|
-
@access_keys =
|
76
|
+
@access_keys = Set.new
|
77
77
|
@replicates_to = []
|
78
78
|
@versioned = false
|
79
79
|
end
|
data/lib/canistor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canistor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manfred Stienstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|