persistence-adapter-flat_file 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/README.md +2 -2
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
data/README.md
CHANGED
@@ -26,7 +26,7 @@ At this point, two versions exist:
|
|
26
26
|
To use Marshal:
|
27
27
|
|
28
28
|
```ruby
|
29
|
-
flat_file_adapter = ::Persistence::Adapter::FlatFile::Marshal.new
|
29
|
+
flat_file_adapter = ::Persistence::Adapter::FlatFile::Marshal.new( 'path/to/use/as/persistence/home/directory' )
|
30
30
|
|
31
31
|
Persistence.enable_port( :flat_file_marshal_port, flat_file_adapter )
|
32
32
|
```
|
@@ -34,7 +34,7 @@ Persistence.enable_port( :flat_file_marshal_port, flat_file_adapter )
|
|
34
34
|
To use YAML:
|
35
35
|
|
36
36
|
```ruby
|
37
|
-
flat_file_adapter = ::Persistence::Adapter::FlatFile::YAML.new
|
37
|
+
flat_file_adapter = ::Persistence::Adapter::FlatFile::YAML.new( 'path/to/use/as/persistence/home/directory' )
|
38
38
|
|
39
39
|
Persistence.enable_port( :flat_file_yaml_port, flat_file_adapter )
|
40
40
|
```
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: persistence-adapter-flat_file
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
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-
|
12
|
+
date: 2012-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: persistence
|