acts_as_event_owner 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_event_owner}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Danny Burkes"]
12
- s.date = %q{2010-11-27}
12
+ s.date = %q{2010-12-12}
13
13
  s.description = %q{Simple calendar events for any ActiveRecord model}
14
14
  s.email = %q{dburkes@netable.com}
15
15
  s.extra_rdoc_files = [
@@ -1,6 +1,6 @@
1
1
  module ActsAsEventOwner
2
2
  class EventOccurrence < ::ActiveRecord::Base
3
3
  belongs_to :owner, :polymorphic => true
4
- belongs_to :event_specification
4
+ belongs_to :event_specification, :class_name => "::ActsAsEventOwner::EventSpecification"
5
5
  end
6
6
  end
@@ -3,7 +3,7 @@ require 'ri_cal'
3
3
  module ActsAsEventOwner
4
4
  class EventSpecification < ::ActiveRecord::Base
5
5
  belongs_to :owner, :polymorphic => true
6
- has_many :event_occurrences, :dependent => :destroy
6
+ has_many :event_occurrences, :dependent => :destroy, :class_name => "::ActsAsEventOwner::EventOccurrence"
7
7
 
8
8
  serialize :repeat
9
9
  serialize :on
@@ -1,3 +1,3 @@
1
1
  module ActsAsEventOwner
2
- VERSION = "1.1.0" unless defined? ActsAsEventOwner::VERSION
2
+ VERSION = "1.1.1" unless defined? ActsAsEventOwner::VERSION
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Danny Burkes
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-27 00:00:00 -08:00
17
+ date: 2010-12-12 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency