appfuel 0.5.1 → 0.5.2

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: 86b53af1e23fb6e34017a940816d4a84e2caa7d2
4
- data.tar.gz: 974b1dfd89827a541f42be6ca7f7dd90c127409f
3
+ metadata.gz: 259df454a7a765d3b8bb73cbb7f0c512ef507e9e
4
+ data.tar.gz: ead4fce377496bf073d1cf08a19fa2aa3cc41de8
5
5
  SHA512:
6
- metadata.gz: 2f2dae26a6472892d1e02be3ddd3b7b23ddbcce9e24baf2a2f1944e146c19e8a0556a09a2f501bdc04a87d8cbd0293cc31418c99e6c4807901cdc2a9c2f49df5
7
- data.tar.gz: 000ca55f3d3ba17b8c2710ebb720075ad794b7467908d49a7aadeb2f25b732b229cf4c4478c229838499cde4437300465869cf9a7441d8db1ac384f2a57c210f
6
+ metadata.gz: 9ec7d761b53d31b9751f47e6b54d5cbd99d7a93aa40af9b00501fd33f52ab55aff255ffd60cb6850013cba81cac5ef0ed7c3606c1375c6567b77d4732d6d21c7
7
+ data.tar.gz: 54bb42b0bffe6c7a2d81e0d736c57ab6bc7aea25d1ec32dbdfa751a43e80da6f42ec843d27a6ca85db99726fdae442ddc5e9f3b7f966aa9b692743fec4b37954
data/CHANGELOG.md CHANGED
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
- ## [[0.5.1]] (https://github.com/rsb/appfuel/releases/tag/0.5.0) 2017-07-03
8
+ ## [[0.5.2]] (https://github.com/rsb/appfuel/releases/tag/0.5.2) 2017-07-03
9
+ ### Fixed
10
+ - aws initialization fails when no endpoint
11
+
12
+ ## [[0.5.1]] (https://github.com/rsb/appfuel/releases/tag/0.5.1) 2017-07-03
9
13
  ### Added
10
14
  - table prefix to aws_dynamodb nosql_model
11
15
 
@@ -3,10 +3,10 @@ Appfuel::Initialize.define('global.aws_dynamodb') do |config, container|
3
3
  require 'appfuel/storage/aws_dynamodb'
4
4
 
5
5
  env = config[:env]
6
- if ['local', 'development'].include?(env.to_s)
6
+ endpoint = config[:aws][:dynamodb][:endpoint]
7
+ if ['local', 'development'].include?(env.to_s) && endpoint
7
8
  Aws.config.update({
8
- region: config[:aws][:dynamodb][:region],
9
- endpoint: config[:aws][:dynamodb][:endpoint]
9
+ endpoint: endpoint
10
10
  })
11
11
  end
12
12
  key = Appfuel::AwsDynamodb::CLIENT_CONTAINER_KEY
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch