spurious-ruby-awssdk-helper 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35db99f709f5b753f75869ecedd1d2588b4607fd
4
- data.tar.gz: dce2c26f57126bb906f68c81e09734230e47cee5
3
+ metadata.gz: a2746fa5ba8f1e44823065b5273a04d471ca1bb5
4
+ data.tar.gz: 1a1665ce05fb24d6909d4179b7f97318f75ec9fe
5
5
  SHA512:
6
- metadata.gz: 95bb134754a8fba3a562750aa714ce099918ec961f5723196d084989e052d825b4afb3faa69ae2dc23b16b6f2138dd07e0b8c79c8d42fb5cb9b6a41b0e0c12bc
7
- data.tar.gz: 4d3afd76cada5fd2f12908acb0c7d955137ab2bb1568b2317336e5af3275f671c35182755f587c660834f245e3c830250bd9ec2f4594443f3f3c89f98f4b45fa
6
+ metadata.gz: 80aa20f0b4db6d4b88456d87b00814d96adc0baa5ee9de7e7b164da088dd7cdc624b5e2f39f902acb7e0b2916175d50e0cb231d0b6ba6cb7ca2586ade5f825af
7
+ data.tar.gz: 102941dde655a588669823c03e3700bfbe3daa1e8c27196227168a5aba2bbfd0ec15461e19bcf00180d2ecca02d4c658826d3a4afa1edeb24ebd0c6369539b52
@@ -2,7 +2,7 @@ module Spurious
2
2
  module Ruby
3
3
  module Awssdk
4
4
  module Helper
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
8
8
  end
@@ -10,13 +10,13 @@ module Spurious
10
10
  def initialize(set_all = false)
11
11
  @mapping = {}
12
12
  if set_all then
13
- dynamo(true, true)
14
- sqs(true, true)
15
- s3(true, true)
13
+ dynamo
14
+ sqs
15
+ s3
16
16
  end
17
17
  end
18
18
 
19
- def dynamo(port = true, ip = false)
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 = false)
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 = false)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spurious-ruby-awssdk-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack