activitylog 1.2.3 → 1.3.0

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
- MjljMDViMDQyOTM4NGRkYzU5ODdiNDQwYmI5OTg1MjM0NWMyMGIwMA==
4
+ ODEzMTI3OGViZWJlYjE3OTRmMmM1M2ZiM2M3ZmMwOGFlMDcwYWIxNQ==
5
5
  data.tar.gz: !binary |-
6
- ODEyZGQyNTg3OGRlMzVhZmQ4MzgxMzM5YjMxYWU3NDY0ZDQwNTBlNA==
6
+ NmJiNzIzZWRiNTQ4ZTk0ZGQxYjBmNmFmYmVkZjU2YjE0YWY2MWM3Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzJhYjNlODkyZjg2ZWZkMjBlZmVmMGVkMTY0MGE0YzUzYTlmYWQ5ODQxYjBm
10
- MGZhNDYxMDU5NTYyODEwZDIyYzRlNjdmZjUyMWNhYWEwYmI5ZWMzOTkxZGVk
11
- MjVkNWIwMGMyZDVjZWM5ODE5YmJlYjhhMmRkMmQ1MzgzMWNmOGY=
9
+ NGIwZDk1YmQ2NzhkMzk1ZjliM2Y2MjdiNDc3YTRlNDAwNTVlYzdjNTY1Yzlj
10
+ N2ZiYWNmYWY1ODkyZTI2YTg3ZDhkOWQ0ZmFiNjEzMWQ2MmE5ODc0NDBlZmZi
11
+ NWE5Mzg5Mjk1ZTI1MzgwYjdiN2QzY2NkNDM4YWFiZWVjNDJlZmY=
12
12
  data.tar.gz: !binary |-
13
- NTY3NGM5ZDllNmY0NTM4NmIwOGVjM2RmYzc4NGMxYTI1YWJjNzk1OGZhZDEx
14
- MDIwNDNiNzlhODA3YzA0YWQ0MDU4ZDEzYWRlMjk1MzBhZTJkMGIwMjQ4NTc4
15
- NTUzMDQxOTJlYzZlZGE2ZjY3ZDQ5NTk4NGEzZmU1MjhjODhkNjM=
13
+ MGYyZmY4NGE1N2JiZTg3NTJhYjlkZTU3Y2JjMjk2MjZmNWFiNTgzODcxOTMx
14
+ M2Y0ZDFlOTNlMzUyMmU1YzA3ZDM5OTNkOTMyOTUzZjBjOTk1Yzc2N2U4YTQy
15
+ ZTBlZTljMmE4YWZmMDcxOTE4Y2MzNWY5NmNkMmVmYjU4ZTlmMjU=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.3.0
data/activitylog.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "activitylog"
8
- s.version = "1.2.3"
8
+ s.version = "1.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jon Erik Suero", "Elan Dubrofsky"]
12
- s.date = "2013-10-15"
12
+ s.date = "2013-10-16"
13
13
  s.description = "Coming soon"
14
14
  s.email = "jonerikdsuero@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -33,9 +33,9 @@ module ActivityLogger
33
33
  self.before_destroy {record_model_activity_log("destroy")}
34
34
  end
35
35
 
36
- def log_controller_activity
37
- self.before_filter {record_controller_activity_log}
38
- self.after_filter {destroy_parent_activity_id}
36
+ def log_controller_activity(*args)
37
+ add_before_filter(self, :record_controller_activity_log, *args)
38
+ add_after_filter(self, :destroy_parent_activity_id, *args)
39
39
  end
40
40
  end
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activitylog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Erik Suero
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-15 00:00:00.000000000 Z
12
+ date: 2013-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda