persistence 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +4 -4
  2. data/lib/persistence.rb +0 -5
  3. data/lib/requires.rb +4 -0
  4. metadata +3 -3
data/README.md CHANGED
@@ -167,7 +167,7 @@ object.name = :some_name
167
167
  object.some_atomic_property = :some_value
168
168
  object.persist!( :name, object.name )
169
169
 
170
- object_copy = SomeClass.persist( :name, :some_value )
170
+ object_copy = SomeClass.persist( :name, :some_name )
171
171
  ```
172
172
 
173
173
  ### Block Indexes ###
@@ -186,7 +186,7 @@ object.name = :some_name
186
186
  object.some_atomic_property = :some_value
187
187
  object.persist!
188
188
 
189
- object_copy = SomeClass.persist( :name, :some_value )
189
+ object_copy = SomeClass.persist( :name, :some_name )
190
190
  ```
191
191
 
192
192
  ### Attribute Indexes ###
@@ -203,7 +203,7 @@ object.name = :some_name
203
203
  object.some_atomic_property = :some_value
204
204
  object.persist!
205
205
 
206
- object_copy = SomeClass.persist( :name, :some_value )
206
+ object_copy = SomeClass.persist( :name, :some_name )
207
207
  ```
208
208
 
209
209
  ### Bucket Indexes ###
@@ -222,7 +222,7 @@ object.name = :some_name
222
222
  object.some_atomic_property = :some_value
223
223
  object.persist!
224
224
 
225
- object_copy = SomeClass.persist( :name, :some_value )
225
+ object_copy = SomeClass.persist( :name, :some_name )
226
226
  ```
227
227
 
228
228
  # Outline of General Premises #
data/lib/persistence.rb CHANGED
@@ -1,9 +1,4 @@
1
1
 
2
- require 'module-cluster'
3
-
4
- require 'cascading-configuration'
5
- #require_relative '../../ruby/cascading-configuration/lib/cascading-configuration.rb'
6
-
7
2
  # namespaces that have to be declared ahead of time for proper load order
8
3
  require_relative './namespaces'
9
4
 
data/lib/requires.rb CHANGED
@@ -1,4 +1,8 @@
1
+ require 'module-cluster'
1
2
 
3
+ require 'cascading-configuration'
4
+ #require_relative '../../ruby/cascading-configuration/lib/cascading-configuration.rb'
5
+
2
6
  basepath = 'persistence'
3
7
 
4
8
  files = [ ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: persistence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-26 00:00:00.000000000 Z
12
+ date: 2012-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: module-cluster
@@ -28,7 +28,7 @@ dependencies:
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
- name: cascading-configuration
31
+ name: cascading_configuration
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements: