examples/redis.rb in toystore-0.6.1 vs examples/redis.rb in toystore-0.6.2

- old
+ new

@@ -1,8 +1,13 @@ require 'pp' +require 'pathname' require 'rubygems' -require 'toystore' require 'adapter/redis' + +root_path = Pathname(__FILE__).dirname.join('..').expand_path +lib_path = root_path.join('lib') +$:.unshift(lib_path) +require 'toystore' class User include Toy::Store store :redis, Redis.new \ No newline at end of file