custom_counter_cache 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTEwMjdiMDFhMjNjOGQwMDIwZjU4YmMxODU3NjA4MTVlZDdiYjVjZA==
4
+ ODJmZjM2NmQxMGY5MzhiMWRjZTQxNWFiODk3NGZiYWExOTlkNTIyOA==
5
5
  data.tar.gz: !binary |-
6
- ZDJjOGYyYWFiMWQ5ZGM2M2Y4NDc3ZTIxMmU4NDIwZjVkN2FjMGIwYQ==
6
+ YjY0NjUwZTQwOGFiYzczNTA0ODZhNmZlYjkzN2ZjMTAzZTgxOGUwMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MjQzYjAyZTJmZDMyODczNjE3NzM2MjViZDRlN2U1OWYzNzY4NWNlMDVmM2Fi
10
- ZTEyM2U1YzA1N2IzNThhYzk5OTJiZjkxZGEzZTE1ZDU4YTg2NWRkNGM2YmEz
11
- YzAyZGUzNGFiMTZmN2Q5NjA5NDE2Yjc5Y2E4YjBlMThmOTMwM2Y=
9
+ YWRjYmUzZWQ0MmUyMDVjZmM4NmQ4YTRiNWY2NGNmZTE4NGIyNTVkMDM4MDIx
10
+ MzZhYmZlN2ZiOGE5NjU3OGEyNTE2ZGVmNDI2ZjcyMTcwZTZlMGU3MWVlOGU5
11
+ OWZkYWVkYzdkNTQ3MmEzNmNjZTc0YzIwMzU3MDIxODE0MDEzNmY=
12
12
  data.tar.gz: !binary |-
13
- YjNlMDU5MjYxOGQ5ZDMyMzMyNmJjNTRiNmEwMDc5OGQ2MDNjYTNkOGZmYmFk
14
- NjUyZmY5YzdjZWVlOWJhODY3ZjFjZTQ1MWUzMTFjMzUwNzEyMDE4OGZmMGI2
15
- YzcxNTQzNGZjNzU5OWMyNDdiOGY4OWU0NWU5NjNlY2Q4OTQwMjQ=
13
+ YWQwMGNkYjA0ZjhjOTI1YTA0ZjI4MGZhMmQ1YTNmODQyZjZiODk0MDNkNDFk
14
+ NTkwMmZlN2U4ZTVjMDFjMTllMjUzN2EyNjkwNDMzOTM1NmRmMTBmNjEyYmQx
15
+ MGY5YjJjZDRhOWRiOGQ3ZGU5NzgwMGY5MmM4NTM0NzE4Y2IwNTA=
@@ -58,9 +58,9 @@ module CustomCounterCache::Model
58
58
  end
59
59
  end
60
60
  # set callbacks
61
- after_create method_name
62
- after_update method_name, :if => options[:if]
63
- after_destroy method_name, :if => options[:if]
61
+ after_create method_name, options
62
+ after_update method_name, options
63
+ after_destroy method_name, options
64
64
  end
65
65
 
66
66
  end
@@ -1,5 +1,5 @@
1
1
  module CustomCounterCache
2
2
 
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custom_counter_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cedric Howe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-24 00:00:00.000000000 Z
11
+ date: 2013-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails