spurious-ruby-awssdk-helper 0.1.2 → 0.1.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2746fa5ba8f1e44823065b5273a04d471ca1bb5
|
|
4
|
+
data.tar.gz: 1a1665ce05fb24d6909d4179b7f97318f75ec9fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80aa20f0b4db6d4b88456d87b00814d96adc0baa5ee9de7e7b164da088dd7cdc624b5e2f39f902acb7e0b2916175d50e0cb231d0b6ba6cb7ca2586ade5f825af
|
|
7
|
+
data.tar.gz: 102941dde655a588669823c03e3700bfbe3daa1e8c27196227168a5aba2bbfd0ec15461e19bcf00180d2ecca02d4c658826d3a4afa1edeb24ebd0c6369539b52
|
|
@@ -10,13 +10,13 @@ module Spurious
|
|
|
10
10
|
def initialize(set_all = false)
|
|
11
11
|
@mapping = {}
|
|
12
12
|
if set_all then
|
|
13
|
-
dynamo
|
|
14
|
-
sqs
|
|
15
|
-
s3
|
|
13
|
+
dynamo
|
|
14
|
+
sqs
|
|
15
|
+
s3
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
def dynamo(port = true, ip =
|
|
19
|
+
def dynamo(port = true, ip = true)
|
|
20
20
|
mapping['spurious-dynamo'] = {
|
|
21
21
|
'port' => port,
|
|
22
22
|
'ip' => ip,
|
|
@@ -24,7 +24,7 @@ module Spurious
|
|
|
24
24
|
}
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
def sqs(port = true, ip =
|
|
27
|
+
def sqs(port = true, ip = true)
|
|
28
28
|
mapping['spurious-sqs'] = {
|
|
29
29
|
'port' => port,
|
|
30
30
|
'ip' => ip,
|
|
@@ -32,7 +32,7 @@ module Spurious
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def s3(port = true, ip =
|
|
35
|
+
def s3(port = true, ip = true)
|
|
36
36
|
mapping['spurious-s3'] = {
|
|
37
37
|
'port' => port,
|
|
38
38
|
'ip' => ip,
|
|
@@ -46,6 +46,9 @@ module Spurious
|
|
|
46
46
|
AWS.config("#{mappings['identifier']}_port".to_sym => ports.first['HostPort']) if mappings['port']
|
|
47
47
|
AWS.config("#{mappings['identifier']}_endpoint".to_sym => ports.first['Host']) if mappings['ip']
|
|
48
48
|
end
|
|
49
|
+
|
|
50
|
+
AWS.config(:use_ssl => false, :s3_force_path_style => true)
|
|
51
|
+
|
|
49
52
|
end
|
|
50
53
|
|
|
51
54
|
end
|