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 CHANGED
@@ -1,5 +1,6 @@
1
1
  # Provides your Rails application with social network and activity stream support
2
2
  module SocialStream
3
+ autoload :Ability, 'social_stream/ability'
3
4
  autoload :Seed, 'social_stream/seed'
4
5
 
5
6
  module Models
@@ -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.generators.authentication :devise
15
- config.generators.javascript :jquery
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|
@@ -1,3 +1,3 @@
1
1
  module SocialStream
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Antonio Tapiador