ocean-dynamo 0.1.14 → 0.2.0

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: 5e10e3f4a197a97537b6afa0eee14b831c6fbacf
4
- data.tar.gz: af58bdb937981f25306d6db7c7b43da97cfd8217
3
+ metadata.gz: eee6bfa0eda97236424ebd7639305e3baad0d91c
4
+ data.tar.gz: 378883f5079e2f007c1d2ab06993eb93fecfa65a
5
5
  SHA512:
6
- metadata.gz: 87f23170e015fb2592d98e43ed264f06d97e1c147c01be3d006601b7159871be36b4a98e591e2baaa5693964fd2040c1441de873d897c60cb1cb621545d14c17
7
- data.tar.gz: 5649dbf1e4513a19af1387566531fa64f10ce04c70910d0e0970c3d19e0d3b0cfe26144d0bac103d8373c1f663c91c01afd3d2f78fd9087a5f9dedadda05dc58
6
+ metadata.gz: 3fae175fedf4d3926d4ca7bd63d1e800f486d8a915e88fb05a5619b5b3369cbe4c66aa08c2ff59e9f0c5ca1d5da7e0ac79f83324ec2eea8bb7849f77f1948dd1
7
+ data.tar.gz: 7bb5fb1e68e2a87cb4834298dcebb0288e93f2f9e9a8deca508393be183b7b65330ccb51c2469256d617ffecf6b680c86eda2b2747f0417e0588eeb54e6da574
@@ -32,8 +32,7 @@ Due to its similarity to ActiveRecord, OceanDynamo works with FactoryGirl.
32
32
  Furthermore, future versions will keep track of and delete instances after tests.
33
33
 
34
34
  OceanDynamo will use secondary indices to retrieve related table items,
35
- which means it will scale without limits. (NB: this is a pre-release which as yet doesn't
36
- implement relations, but they are underway.)
35
+ which means it will scale without limits.
37
36
 
38
37
 
39
38
  ==== Example
@@ -64,7 +63,8 @@ The following example shows the syntax.
64
63
 
65
64
  Each attribute has a name, a type (:string, :integer, :float, :datetime, :boolean, or
66
65
  :serialized) where :string is the default. Each attribute also optionally has a default
67
- value, which can be a Proc.
66
+ value, which can be a Proc. The hash key attribute is by default :uuid (this can of
67
+ course be specified) and is a :string. The keys can also be explicitly declared.
68
68
 
69
69
  The :string, :integer, :float and :datetime types can also store sets of their type.
70
70
  Sets are represented as arrays and may not contain duplicates and may not be empty.
@@ -75,7 +75,17 @@ value will return the empty string, "".
75
75
  Also, dynamo_schema takes args and many options. Detailed documentation is forthcoming.
76
76
 
77
77
  At the moment, OceanDynamo is fully usable as an ActiveModel and can be used by Rails
78
- controllers. Relations are not yet implemented.
78
+ controllers. Furthermore, OceanDynamo implements much of the infrastructure of ActiveRecord;
79
+ for instance, read_attribute, write_attribute, and much of the control logic and
80
+ parameters.
81
+
82
+ Relations are not yet implemented, but are underway. Relations will use secondary
83
+ indices, up to the DynamoDB maximum of 5 secondary keys per table. At the moment,
84
+ only find with a single uuid is implemented. Collections can not yet be obtained.
85
+
86
+ OceanDynamo is currently used in by the Ocean framework (http://wiki.oceanframework.net)
87
+ e.g. to implement critical job queues. It will be used increasingly as features are
88
+ added to OceanDynamo and will eventually replace all Active>Record tables.
79
89
 
80
90
 
81
91
  === Documentation
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "0.1.14"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson