deja-vu 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/deja-vu/model/dejavu.rb +3 -3
- data/lib/deja-vu.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ begin
|
|
9
9
|
s.homepage = "http://github.com/kuccello/deja-vu"
|
10
10
|
s.authors = ['Kristan "Krispy" Uccello']
|
11
11
|
s.files = FileList["[A-Z]*", "{lib,test,example,example-playback}/**/*"]
|
12
|
-
s.version = "0.
|
12
|
+
s.version = "0.4"
|
13
13
|
end
|
14
14
|
Jeweler::GemcutterTasks.new
|
15
15
|
rescue LoadError
|
data/lib/deja-vu/model/dejavu.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require ~'generated_model/DejaVuNS'
|
2
2
|
|
3
3
|
module DejaVuNS
|
4
|
-
Xampl.set_default_persister_kind(:filesystem)
|
5
|
-
Xampl.set_default_persister_format(:xml_format)
|
4
|
+
# Xampl.set_default_persister_kind(:filesystem)
|
5
|
+
# Xampl.set_default_persister_format(:xml_format)
|
6
6
|
|
7
7
|
def self.persistence_type
|
8
8
|
Xampl.default_persister_kind
|
@@ -30,7 +30,7 @@ module DejaVuNS
|
|
30
30
|
|
31
31
|
def self.transaction
|
32
32
|
result = nil
|
33
|
-
Xampl.transaction('recordings') do
|
33
|
+
Xampl.transaction('recordings',:filesystem,true,:xml_format) do
|
34
34
|
result = yield
|
35
35
|
end
|
36
36
|
result
|
data/lib/deja-vu.rb
CHANGED