gom-filesystem-adapter 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -3
- data/spec/acceptance/adapter_spec.rb +0 -2
- data/spec/spec_helper.rb +13 -0
- metadata +5 -23
- data/spec/storage.configuration +0 -8
data/README.rdoc
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "spec_helper"))
|
2
2
|
|
3
|
-
GOM::Storage::Configuration.read File.join(File.dirname(__FILE__), "..", "storage.configuration")
|
4
|
-
|
5
3
|
describe "filesystem adapter" do
|
6
4
|
|
7
5
|
it_should_behave_like "an adapter that needs setup"
|
data/spec/spec_helper.rb
CHANGED
@@ -4,3 +4,16 @@ require 'rspec'
|
|
4
4
|
|
5
5
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "gom", "filesystem-adapter"))
|
6
6
|
require 'gom/spec'
|
7
|
+
|
8
|
+
GOM::Storage.configure {
|
9
|
+
storage {
|
10
|
+
name :test_storage
|
11
|
+
adapter :filesystem
|
12
|
+
files File.join(File.dirname(__FILE__), "acceptance", "data", "*.yml")
|
13
|
+
view {
|
14
|
+
name :test_object_class_view
|
15
|
+
type :class
|
16
|
+
model_class Object
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gom-filesystem-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 3
|
8
|
-
- 1
|
9
|
-
version: 0.3.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.0
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- "Philipp Br\xC3\xBCll"
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-05-10 00:00:00 +02:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,11 +21,7 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 0
|
30
|
-
- 3
|
31
|
-
- 1
|
32
|
-
version: 0.3.1
|
24
|
+
version: 0.4.0
|
33
25
|
type: :runtime
|
34
26
|
version_requirements: *id001
|
35
27
|
- !ruby/object:Gem::Dependency
|
@@ -40,8 +32,6 @@ dependencies:
|
|
40
32
|
requirements:
|
41
33
|
- - ">="
|
42
34
|
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 2
|
45
35
|
version: "2"
|
46
36
|
type: :development
|
47
37
|
version_requirements: *id002
|
@@ -53,9 +43,6 @@ dependencies:
|
|
53
43
|
requirements:
|
54
44
|
- - ">="
|
55
45
|
- !ruby/object:Gem::Version
|
56
|
-
segments:
|
57
|
-
- 1
|
58
|
-
- 2
|
59
46
|
version: "1.2"
|
60
47
|
type: :development
|
61
48
|
version_requirements: *id003
|
@@ -81,7 +68,6 @@ files:
|
|
81
68
|
- spec/gom/storage/filesystem/collection/fetcher_spec.rb
|
82
69
|
- spec/gom/storage/filesystem/adapter_spec.rb
|
83
70
|
- spec/gom/storage/filesystem/loader_spec.rb
|
84
|
-
- spec/storage.configuration
|
85
71
|
- spec/spec_helper.rb
|
86
72
|
- spec/acceptance/data/objects.yml
|
87
73
|
- spec/acceptance/adapter_spec.rb
|
@@ -99,21 +85,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
85
|
requirements:
|
100
86
|
- - ">="
|
101
87
|
- !ruby/object:Gem::Version
|
102
|
-
segments:
|
103
|
-
- 0
|
104
88
|
version: "0"
|
105
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
90
|
none: false
|
107
91
|
requirements:
|
108
92
|
- - ">="
|
109
93
|
- !ruby/object:Gem::Version
|
110
|
-
segments:
|
111
|
-
- 0
|
112
94
|
version: "0"
|
113
95
|
requirements: []
|
114
96
|
|
115
97
|
rubyforge_project: gom-filesystem-adapter
|
116
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.6.1
|
117
99
|
signing_key:
|
118
100
|
specification_version: 3
|
119
101
|
summary: Filesystem storage adapter for the General Object Mapper.
|