social_stream 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/social_stream.rb +1 -0
- data/lib/social_stream/rails.rb +4 -0
- data/lib/social_stream/rails/common.rb +2 -2
- data/lib/social_stream/version.rb +1 -1
- metadata +3 -3
data/lib/social_stream.rb
CHANGED
data/lib/social_stream/rails.rb
CHANGED
|
@@ -10,11 +10,15 @@ require 'nested_set'
|
|
|
10
10
|
require 'ancestry'
|
|
11
11
|
# User authentication
|
|
12
12
|
require 'devise'
|
|
13
|
+
# Authorization
|
|
14
|
+
require 'cancan'
|
|
13
15
|
# REST controllers
|
|
14
16
|
require 'inherited_resources'
|
|
15
17
|
# Logo attachments
|
|
16
18
|
require 'paperclip'
|
|
17
19
|
require 'paperclip/social_stream'
|
|
20
|
+
# Pagination
|
|
21
|
+
require 'will_paginate'
|
|
18
22
|
|
|
19
23
|
require 'social_stream/rails/common'
|
|
20
24
|
File.expand_path(__FILE__) =~ /#{ File.join('vendor', 'plugins') }/ ?
|
|
@@ -11,8 +11,8 @@ module SocialStream
|
|
|
11
11
|
|
|
12
12
|
def included(base)
|
|
13
13
|
base.class_eval do
|
|
14
|
-
config.
|
|
15
|
-
config.
|
|
14
|
+
config.app_generators.authentication :devise
|
|
15
|
+
config.app_generators.javascript :jquery
|
|
16
16
|
|
|
17
17
|
config.to_prepare do
|
|
18
18
|
%w( actor activity_object ).each do |supertype|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: social_stream
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.2.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Antonio Tapiador
|