toy-dynamo 0.0.13 → 0.0.14

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: f12795e1156d00c91369903150e12b7ed192a7b6
4
- data.tar.gz: 32b4a40ee6afd98ca49a9cab1a694588dda4d7a0
3
+ metadata.gz: 114c16518a9a149bc2fb4f5ba5ca589c31fe0341
4
+ data.tar.gz: e7392c9638caaf64c38afc5331c8cf3c4f8aff46
5
5
  SHA512:
6
- metadata.gz: 954d17ee74c141e6d6268ab404e133178b9333675015fa4c4c5a356e16ddc863c06fcea8d40e8e3dc8cab53118f6783fecc255a83c59a58701a0994be743e470
7
- data.tar.gz: 31950ddcecdce9ee4a089d09053827f98a63ebcc944add40633237cc017de381d86b25ac7395895665e229709123a672d15294806804fbe601bcc0361d485fdb
6
+ metadata.gz: dce42aa6a370bccfa8a55d1ea5df1f4859bfa0402581d4fb867606cf5c57712766d2b6b4aedc9781e03c72dfe60ee1e473ff227561eba495b8661936ff345e28
7
+ data.tar.gz: 8236426a3f8ebfa6823fefe7cb048e69cc736bfb493f68c6ed1274c2effc6e54d6da6d869b886f23f7fa2bbd3fa76de1bc43e6b962c57a96b8ffdfaa57ed55bc
@@ -270,7 +270,7 @@ module Toy
270
270
  # PutItem
271
271
  items = {}
272
272
  attributes.each_pair do |k,v|
273
- next if v.nil?
273
+ next if v.blank? # If empty string or nil, skip...
274
274
  items.merge!(attr_with_type(k,v))
275
275
  end
276
276
  items.merge!(hash_key_item_param(hash_key_value))
@@ -1,5 +1,5 @@
1
1
  module Toy
2
2
  module Dynamo
3
- VERSION = "0.0.13"
3
+ VERSION = "0.0.14"
4
4
  end
5
5
  end
data/todo.otl CHANGED
@@ -7,3 +7,4 @@
7
7
  [_] support some sort of rolling tables (for time series type tables)
8
8
  [_] cross table range queries
9
9
  [_] model.reload for models with hash + range
10
+ [_] watch out for in place edits of hashes not saving to ddb (or figure a way to track dirty changes?)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toy-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cary Dunn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-25 00:00:00.000000000 Z
11
+ date: 2013-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler