ocean-dynamo 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eee6bfa0eda97236424ebd7639305e3baad0d91c
4
- data.tar.gz: 378883f5079e2f007c1d2ab06993eb93fecfa65a
3
+ metadata.gz: c1d14c8cad14fe20abd48a743d192899d015e88f
4
+ data.tar.gz: 931402dbece516985faaede7388447e3d656bc9a
5
5
  SHA512:
6
- metadata.gz: 3fae175fedf4d3926d4ca7bd63d1e800f486d8a915e88fb05a5619b5b3369cbe4c66aa08c2ff59e9f0c5ca1d5da7e0ac79f83324ec2eea8bb7849f77f1948dd1
7
- data.tar.gz: 7bb5fb1e68e2a87cb4834298dcebb0288e93f2f9e9a8deca508393be183b7b65330ccb51c2469256d617ffecf6b680c86eda2b2747f0417e0588eeb54e6da574
6
+ metadata.gz: 572e3087a3b6e2ab6767838dd896386c2f8c66c8f6d111da6d4baf4e2d492120da79699c4bd372a961a452adedcfd7bbe81287fd5716440189fe749556e2e2ef
7
+ data.tar.gz: 80d7a0713f3c6bf3d41b057977936df937c617a577845ae450fa7d38b0913a65cf8ace523fefe00367e578b3858676e209daf9b8d7e41dc00391e8bb34792034
@@ -83,15 +83,15 @@ Relations are not yet implemented, but are underway. Relations will use secondar
83
83
  indices, up to the DynamoDB maximum of 5 secondary keys per table. At the moment,
84
84
  only find with a single uuid is implemented. Collections can not yet be obtained.
85
85
 
86
- OceanDynamo is currently used in by the Ocean framework (http://wiki.oceanframework.net)
86
+ OceanDynamo is currently used in the Ocean framework (http://wiki.oceanframework.net)
87
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.
88
+ added to OceanDynamo and will eventually replace all ActiveRecord tables.
89
89
 
90
90
 
91
- === Documentation
91
+ == Documentation
92
92
 
93
- * Ocean-dynamo gem API: http://rdoc.info/github/OceanDev/ocean-dynamo/frames
94
93
  * Ocean-dynamo gem on Rubygems: https://rubygems.org/gems/ocean-dynamo
94
+ * Ocean-dynamo gem API: http://rubydoc.info/gems/ocean-dynamo/frames
95
95
  * Ocean-dynamo source and wiki: https://github.org/OceanDev/ocean-dynamo
96
96
 
97
97
  See also Ocean, a Rails framework for creating highly scalable SOAs in the cloud, in which
@@ -99,7 +99,15 @@ OceanDynamo is used as a central component:
99
99
  * http://wiki.oceanframework.net
100
100
 
101
101
 
102
- === Running the specs
102
+ == Contributing
103
+
104
+ Contributions are welcome. Fork in the usual way. OceanDynamo is developed using
105
+ TDD: the specs are extensive and test coverage is very near to 100 percent. Pull requests
106
+ will not be considered unless all tests pass and coverage is equally high or higher.
107
+ All contributed code must therefore also be exhaustively tested.
108
+
109
+
110
+ == Running the specs
103
111
 
104
112
  To run the specs for the OceanDynamo gem, you must first install the bundle. It will download
105
113
  a gem called +fake_dynamo+, which runs a local, in-memory functional clone of Amazon DynamoDB.
@@ -143,7 +151,7 @@ With +fake_dynamo+ running, you should now be able to do
143
151
  All tests should pass.
144
152
 
145
153
 
146
- === Rails console
154
+ == Rails console
147
155
 
148
156
  The Rails console is available from the built-in dummy application:
149
157
 
@@ -33,24 +33,6 @@ module OceanDynamo
33
33
  end
34
34
 
35
35
 
36
- def self.set_table_name(name)
37
- self.table_name = name
38
- true
39
- end
40
-
41
-
42
- def self.set_table_name_prefix(prefix)
43
- self.table_name_prefix = prefix
44
- true
45
- end
46
-
47
-
48
- def self.set_table_name_suffix(suffix)
49
- self.table_name_suffix = suffix
50
- true
51
- end
52
-
53
-
54
36
  def self.compute_table_name
55
37
  name.pluralize.underscore
56
38
  end
@@ -61,16 +43,6 @@ module OceanDynamo
61
43
  end
62
44
 
63
45
 
64
- def self.read_capacity_units(units)
65
- self.table_read_capacity_units = units
66
- end
67
-
68
-
69
- def self.write_capacity_units(units)
70
- self.table_write_capacity_units = units
71
- end
72
-
73
-
74
46
  def self.attribute(name, type=:string, **pairs)
75
47
  attr_accessor name
76
48
  fields[name.to_s] = {type: type, default: pairs[:default]}
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-10 00:00:00.000000000 Z
11
+ date: 2013-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk