appfuel 0.5.10 → 0.5.11
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 +3 -2
- data/lib/appfuel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22cbcbfd9ed2ff47484cd6a44be32cf3345f2a29
|
4
|
+
data.tar.gz: cba0345aabce2a856f7ea4444b9c1c8afbbf777f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37ba16885e0f1bbd0c567782721df1de3ba3b88115e8686b36ba52e5b731b4b60c4dbb8e136836542fd79d9b75654162dcac0d725de7d36042a50371fd099ba3
|
7
|
+
data.tar.gz: fbfcbacc0a11f94d09f18417ae4c358d25569b3362ef466cedece8655910fe03f681979f617dbeb71391dcc1e707b368df043b1222810025962c67dade287d95
|
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.11]](https://github.com/rsb/appfuel/releases/tag/0.5.11) 2017-07-31
|
9
|
+
### Fixed
|
10
|
+
- `dynamodb adapter` primary_key dsl suppose to be a getter and a setter
|
11
|
+
|
8
12
|
## [[0.5.10]](https://github.com/rsb/appfuel/releases/tag/0.5.10) 2017-07-28
|
9
13
|
### Added
|
10
14
|
- Primary key object for dynamodb
|
@@ -64,7 +64,9 @@ module Appfuel
|
|
64
64
|
stage_class_for_registration(klass)
|
65
65
|
end
|
66
66
|
|
67
|
-
def primary_key(hash, hash_type, range = nil, range_type = nil)
|
67
|
+
def primary_key(hash = nil, hash_type = nil, range = nil, range_type = nil)
|
68
|
+
return @primary_key if hash.nil?
|
69
|
+
|
68
70
|
@primary_key = PrimaryKey.new(hash, hash_type, range, range_type)
|
69
71
|
end
|
70
72
|
end
|
@@ -130,7 +132,6 @@ module Appfuel
|
|
130
132
|
|
131
133
|
def put(data)
|
132
134
|
params = put_params(data)
|
133
|
-
ap params
|
134
135
|
client.put_item(params)
|
135
136
|
end
|
136
137
|
|
data/lib/appfuel/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appfuel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Scott-Buccleuch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|