social_stream-events 0.14.2 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ Actor.class_eval do
2
+ include SocialStream::Events::Models::Actor
3
+ end
@@ -0,0 +1,3 @@
1
+ Document.class_eval do
2
+ include SocialStream::Events::Models::Document
3
+ end
@@ -7,16 +7,8 @@ module SocialStream
7
7
  end
8
8
  end
9
9
 
10
- initializer "social_stream-events.actor" do
11
- ActiveSupport.on_load(:actor) do
12
- include SocialStream::Events::Models::Actor
13
- end
14
- end
15
-
16
- initializer "social_stream-events.document" do
17
- ActiveSupport.on_load(:document) do
18
- include SocialStream::Events::Models::Document
19
- end
10
+ initializer "social_stream-events.models.register_activity_streams" do
11
+ SocialStream::ActivityStreams.register :event
20
12
  end
21
13
 
22
14
  initializer "social_stream-events.views.settings" do
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Events
3
- VERSION = "0.14.2".freeze
3
+ VERSION = "0.15.0".freeze
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
 
14
14
  # Gem dependencies
15
- s.add_runtime_dependency('social_stream-base', '~> 0.22.4')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.23.0')
16
16
  s.add_runtime_dependency('rails-scheduler', '~> 0.0.8')
17
17
 
18
18
  # Development Gem dependencies
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.15.0
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: 2012-09-18 00:00:00.000000000 Z
13
+ date: 2012-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: social_stream-base
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 0.22.4
22
+ version: 0.23.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- version: 0.22.4
30
+ version: 0.23.0
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rails-scheduler
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -85,6 +85,8 @@ files:
85
85
  - app/assets/stylesheets/social_stream-events.css
86
86
  - app/controllers/events_controller.rb
87
87
  - app/controllers/rooms_controller.rb
88
+ - app/decorators/social_stream/base/actor_decorator.rb
89
+ - app/decorators/social_stream/base/document_decorator.rb
88
90
  - app/helpers/events_helper.rb
89
91
  - app/models/activity_object_property/poster.rb
90
92
  - app/models/event.rb