ocean-dynamo 0.5.1 → 0.5.2

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: 050bb409c80700917429d0826f6e7f2f57665ff8
4
- data.tar.gz: 04dfbcbcf7a927b5616ae070f56ec7d536550689
3
+ metadata.gz: 7e299974a601887f0a573b9a4a12c4cf08b69d6d
4
+ data.tar.gz: 73070f1718fcd7fc53510c6b2b744aff233ea71f
5
5
  SHA512:
6
- metadata.gz: 0158fc7b07d5f594a88efd0499fe0466233a6de48fbc120e760968003c26b4a8c337e81110defb98cf66dd8d9093510056e2b7313696d7ec9035d19c598a50e5
7
- data.tar.gz: 1705bacb9d7df7102790ce612b5fc6753b30965094e5ede5300b241251e577e11c01a09f1d509bfd570463feaafb311c50d82b015a6db981be80fe10075b7408
6
+ metadata.gz: c6d1be7adc334cd4ad80129d5aebb95ab6d55a527218b6b6b91fac09ba15a44a873a9b07d02b06a8af480345040f6f9852235ab64d23f0399c74a6071ecb3f0b
7
+ data.tar.gz: 7da307a679b562a36c63e1cedf1d63308fcb69464eeda03a7f5b37e9398c4ce54255dae6f5791fbcba5f831fec528ff216678da51c138a9ed6262e0fc0be63e2
data/README.rdoc CHANGED
@@ -149,8 +149,8 @@ all children have their parent UUID as their hash key, and their own UUID in the
149
149
  range key.
150
150
 
151
151
  This type of relation is even more efficient than its ActiveRecord counterpart as
152
- it uses only the primary index of the child model in both directions of the
153
- +has_many+ / +belongs_to+ association. No scans.
152
+ it uses only primary indices in both directions of the +has_many+ / +belongs_to+
153
+ association. No scans.
154
154
 
155
155
  Furthermore, since DynamoDB has powerful primary index searches involving substrings
156
156
  and matching, the fact that the range key is a string can be used to implement
@@ -170,7 +170,7 @@ controllers. OceanDynamo implements much of the infrastructure of ActiveRecord;
170
170
  for instance, +read_attribute+, +write_attribute+, and much of the control logic and
171
171
  internal organisation.
172
172
 
173
- * <tt>belongs_to :thingy now defines <tt>.build_thingy</tt> and <tt>.create_thingy</tt>.
173
+ * <tt>belongs_to :thingy</tt> now defines <tt>.build_thingy</tt> and <tt>.create_thingy</tt>.
174
174
  * Work begun on collection proxies, etc.
175
175
 
176
176
  === Future milestones
@@ -1,7 +1,7 @@
1
1
  require 'active_support/core_ext/array/wrap'
2
2
 
3
- module ActiveRecord #:nodoc:
4
- module Associations #:nodoc:
3
+ module ActiveRecord #:nodoc: all
4
+ module Associations
5
5
  # = Active Record Associations
6
6
  #
7
7
  # This is the root class of all associations ('+ Foo' signifies an included module Foo):
@@ -1,5 +1,5 @@
1
- module ActiveRecord #:nodoc:
2
- module Associations #:nodoc:
1
+ module ActiveRecord #:nodoc: all
2
+ module Associations
3
3
  # = Active Record Association Collection
4
4
  #
5
5
  # CollectionAssociation is an abstract class that provides common stuff to
@@ -1,5 +1,5 @@
1
- module OceanDynamo #:nodoc:
2
- module Associations #:nodoc:
1
+ module OceanDynamo #:nodoc: all
2
+ module Associations
3
3
  #
4
4
  # Association proxies in OceanDynamo are middlemen between the object that
5
5
  # holds the association, known as the <tt>@owner</tt>, and the actual associated
@@ -1,6 +1,6 @@
1
- module ActiveRecord #:nodoc:
1
+ module ActiveRecord #:nodoc: all
2
2
  # = Active Record Has And Belongs To Many Association
3
- module Associations #:nodoc:
3
+ module Associations
4
4
  class HasAndBelongsToManyAssociation < CollectionAssociation #:nodoc:
5
5
  attr_reader :join_table
6
6
 
@@ -1,6 +1,6 @@
1
- module ActiveRecord #:nodoc:
1
+ module ActiveRecord #:nodoc: all
2
2
  # = Active Record Has Many Association
3
- module Associations #:nodoc:
3
+ module Associations
4
4
  # This is the proxy that handles a has many association.
5
5
  #
6
6
  # If the association has a <tt>:through</tt> option further specialization
@@ -1,6 +1,6 @@
1
- module ActiveRecord #:nodoc:
1
+ module ActiveRecord #:nodoc: all
2
2
  # = Active Record Reflection
3
- module Reflection # :nodoc:
3
+ module Reflection
4
4
  extend ActiveSupport::Concern
5
5
 
6
6
  included do
@@ -1,6 +1,6 @@
1
- module ActiveRecord #:nodoc:
1
+ module ActiveRecord #:nodoc: all
2
2
  # = Active Record Relation
3
- class Relation #:nodoc:
3
+ class Relation
4
4
  JoinOperation = Struct.new(:relation, :join_class, :on)
5
5
 
6
6
  MULTI_VALUE_METHODS = [:includes, :eager_load, :preload, :select, :group,
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
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.5.1
4
+ version: 0.5.2
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-10-03 00:00:00.000000000 Z
11
+ date: 2013-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk