appfuel 0.5.11 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/appfuel/storage/dynamodb/adapter.rb +5 -1
- 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: c0364e623e6f2573b4c821a242437a15b6085718
|
4
|
+
data.tar.gz: b9231f2ba15988e210b61a68fcd60eeff9c7e631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f211340b01ed7b283b2d0999822021f85689a0c92bce670c2340238b7ea9f8e159913aaded2c258253c41b5c17bcb0a4ab229dbe395c5ee63cda7f1fdbe12057
|
7
|
+
data.tar.gz: 42fdce54686c9a8f11e7a791a4f0db2935d24bd8a52690f6270b19874122eda216f9013d1e8c30214907dab97ce0771b7d7a962550878fbd8f36a1e25d4473fc
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. (Pending ap
|
|
5
5
|
|
6
6
|
|
7
7
|
# Releases
|
8
|
+
## [[0.5.12]](https://github.com/rsb/appfuel/releases/tag/0.5.12) 2017-07-31
|
9
|
+
### Fixed
|
10
|
+
- `dynamodb adapter` `index` does not check for existing prefix
|
11
|
+
|
8
12
|
## [[0.5.11]](https://github.com/rsb/appfuel/releases/tag/0.5.11) 2017-07-31
|
9
13
|
### Fixed
|
10
14
|
- `dynamodb adapter` primary_key dsl suppose to be a getter and a setter
|
@@ -57,7 +57,11 @@ module Appfuel
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def index(index_key, index_name)
|
60
|
-
|
60
|
+
unless index_name.start_with?(table_prefix)
|
61
|
+
index_name = "#{table_prefix}#{index_name}"
|
62
|
+
end
|
63
|
+
|
64
|
+
indexes[index_key.to_sym] = index_name
|
61
65
|
end
|
62
66
|
|
63
67
|
def inherited(klass)
|
data/lib/appfuel/version.rb
CHANGED