public_activity 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,8 +32,8 @@ module PublicActivity
32
32
  # User.first.activities
33
33
  #
34
34
  def activist
35
- has_many :activities_as_owner, :class_name => "PublicActivity::Activity", :as => :owner
36
- has_many :activities_as_recipient, :class_name => "PublicActivity::Activity", :as => :recipient
35
+ has_many :activities_as_owner, :class_name => "::PublicActivity::Activity", :as => :owner
36
+ has_many :activities_as_recipient, :class_name => "::PublicActivity::Activity", :as => :recipient
37
37
  end
38
38
  end
39
39
  end
@@ -32,8 +32,8 @@ module PublicActivity
32
32
  # User.first.activities
33
33
  #
34
34
  def activist
35
- has_many :activities_as_owner, :class_name => "PublicActivity::Activity", :inverse_of => :owner
36
- has_many :activities_as_recipient, :class_name => "PublicActivity::Activity", :inverse_of => :recipient
35
+ has_many :activities_as_owner, :class_name => "::PublicActivity::Activity", :inverse_of => :owner
36
+ has_many :activities_as_recipient, :class_name => "::PublicActivity::Activity", :inverse_of => :recipient
37
37
  end
38
38
  end
39
39
  end
@@ -1,4 +1,4 @@
1
1
  module PublicActivity
2
2
  # A constant with gem's version
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_activity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-10 00:00:00.000000000 Z
13
+ date: 2013-02-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 1.8.24
144
+ rubygems_version: 1.8.25
145
145
  signing_key:
146
146
  specification_version: 3
147
147
  summary: Easy activity tracking for ActiveRecord models