appfuel 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/appfuel/initializers/aws_dynamodb.rb +3 -3
- data/lib/appfuel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 259df454a7a765d3b8bb73cbb7f0c512ef507e9e
|
4
|
+
data.tar.gz: ead4fce377496bf073d1cf08a19fa2aa3cc41de8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
6
|
+
endpoint = config[:aws][:dynamodb][:endpoint]
|
7
|
+
if ['local', 'development'].include?(env.to_s) && endpoint
|
7
8
|
Aws.config.update({
|
8
|
-
|
9
|
-
endpoint: config[:aws][:dynamodb][:endpoint]
|
9
|
+
endpoint: endpoint
|
10
10
|
})
|
11
11
|
end
|
12
12
|
key = Appfuel::AwsDynamodb::CLIENT_CONTAINER_KEY
|
data/lib/appfuel/version.rb
CHANGED