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 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.3"
12
+ s.version = "0.4"
13
13
  end
14
14
  Jeweler::GemcutterTasks.new
15
15
  rescue LoadError
@@ -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
@@ -1,5 +1,5 @@
1
1
  require ~'deja-vu/init'
2
- require ~'rack-session-listener'
2
+ #require ~'rack-session-listener'
3
3
  require 'digest/sha1'
4
4
  require 'xampl'
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deja-vu
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.3"
4
+ version: "0.4"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristan "Krispy" Uccello