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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26008749776ba357f8a284a4feee76e7370c18c7
4
- data.tar.gz: 0c2c61390c5e6e8a36a4b4101bd51ea49e97953f
3
+ metadata.gz: 22cbcbfd9ed2ff47484cd6a44be32cf3345f2a29
4
+ data.tar.gz: cba0345aabce2a856f7ea4444b9c1c8afbbf777f
5
5
  SHA512:
6
- metadata.gz: 47a10118db23f624497b4035fe3267239d3ebbde0da51fd98769033ce02656afe2859344c2037d57147047d7241e3193695a5ff30514a734bf39c2128da7129b
7
- data.tar.gz: 5df321fb1f883bf3f7a6ed91d29517a515986933c9d8f5928d5dd81f4247c7e1b652951c6977b7c86e5403bb0109d34c288e1e2f4a53df7395e06e8104a6afde
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
 
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.5.10"
2
+ VERSION = "0.5.11"
3
3
  end
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.10
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-28 00:00:00.000000000 Z
11
+ date: 2017-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord