mimeo 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mimeo.rb +4 -0
  2. data/lib/mimeo/version.rb +1 -1
  3. metadata +1 -1
@@ -8,6 +8,10 @@ module Mimeo
8
8
  self.ohm_model_class = model
9
9
  self.field_map = options[:field_map] if options[:field_map]
10
10
 
11
+ self.set_callback :create, :after do
12
+ self.save_to_redis
13
+ end
14
+
11
15
  self.set_callback :save, :after do
12
16
  self.save_to_redis
13
17
  end
@@ -1,3 +1,3 @@
1
1
  module Mimeo
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimeo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: