social_stream-base 0.13.2 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/activities.js.erb +5 -5
- data/app/assets/javascripts/social_stream-base.js +2 -0
- data/app/assets/stylesheets/cheesecake.css.scss +13 -0
- data/app/controllers/omniauth_callbacks_controller.rb +3 -3
- data/app/helpers/notifications_helper.rb +2 -2
- data/app/models/user.rb +15 -14
- data/app/views/cheesecake/_cheesecake.html.erb +69 -1
- data/app/views/frontpage/_social_networks.html.erb +1 -1
- data/app/views/layouts/application.html.erb +6 -1
- data/lib/acts_as_taggable_on/social_stream.rb +59 -31
- data/lib/i18n-js/social_stream-base.rb +36 -0
- data/lib/social_stream/base/dependencies.rb +6 -2
- data/lib/social_stream/base/version.rb +1 -1
- data/lib/social_stream/controllers/cancan_devise_integration.rb +15 -18
- data/lib/social_stream/controllers/helpers.rb +81 -83
- data/lib/social_stream/controllers/i18n_integration.rb +11 -13
- data/lib/social_stream/controllers/objects.rb +4 -7
- data/lib/social_stream/controllers/subjects.rb +3 -5
- data/lib/social_stream/models/channeled.rb +24 -26
- data/lib/social_stream/models/object.rb +57 -61
- data/lib/social_stream/models/subject.rb +4 -8
- data/lib/social_stream/models/subtype.rb +36 -34
- data/lib/social_stream/models/supertype.rb +17 -21
- data/lib/tasks/db/populate.rake +11 -3
- data/social_stream-base.gemspec +9 -5
- data/spec/dummy/config/initializers/devise.rb +1 -1
- metadata +99 -65
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'active_support/concern'
|
2
|
-
|
3
1
|
module SocialStream
|
4
2
|
module Models
|
5
3
|
# {Subject Subjects} are subtypes of {Actor Actors}. {SocialStream Social Stream} provides two
|
@@ -75,12 +73,6 @@ module SocialStream
|
|
75
73
|
end
|
76
74
|
end
|
77
75
|
|
78
|
-
module InstanceMethods
|
79
|
-
def to_param
|
80
|
-
slug
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
76
|
module ClassMethods
|
85
77
|
def find_by_slug(perm)
|
86
78
|
includes(:actor).where('actors.slug' => perm).first
|
@@ -91,6 +83,10 @@ module SocialStream
|
|
91
83
|
raise(ActiveRecord::RecordNotFound)
|
92
84
|
end
|
93
85
|
end
|
86
|
+
|
87
|
+
def to_param
|
88
|
+
slug
|
89
|
+
end
|
94
90
|
end
|
95
91
|
end
|
96
92
|
end
|
@@ -1,9 +1,21 @@
|
|
1
|
-
require 'active_support/concern'
|
2
|
-
|
3
1
|
module SocialStream #:nodoc:
|
4
2
|
module Models
|
5
3
|
# Common methods for models that have a {SocialStream::Models::Supertype}
|
6
4
|
module Subtype
|
5
|
+
# Add the class method {#subtype_of} to ActiveRecord::Base
|
6
|
+
module ActiveRecord
|
7
|
+
extend ActiveSupport::Concern
|
8
|
+
|
9
|
+
module ClassMethods
|
10
|
+
# This class is a subtype. Its supertype class is name
|
11
|
+
def subtype_of name, options = {}
|
12
|
+
@supertype_name = name
|
13
|
+
@supertype_options = options
|
14
|
+
include SocialStream::Models::Subtype
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
7
19
|
extend ActiveSupport::Concern
|
8
20
|
|
9
21
|
included do
|
@@ -37,43 +49,33 @@ module SocialStream #:nodoc:
|
|
37
49
|
end
|
38
50
|
end
|
39
51
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
# These methods must be raised to avoid loops
|
46
|
-
# (the @supertype_name association (i.e. :actor) calls here again)
|
47
|
-
exceptions = [ "_#{ self.class.supertype_foreign_key }".to_sym ] # [ :_actor_id ]
|
48
|
-
raise subtype_error if exceptions.include?(method)
|
52
|
+
# Delegate missing methods to supertype, if they exist there
|
53
|
+
def method_missing(method, *args, &block)
|
54
|
+
super
|
55
|
+
rescue NameError => subtype_error
|
56
|
+
raise subtype_error unless _delegate_to_supertype?(:method)
|
49
57
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
end
|
58
|
+
begin
|
59
|
+
supertype!.__send__ method, *args, &block
|
60
|
+
# We rescue supertype's NameErrors so methods not defined are raised from
|
61
|
+
# the subtype. Example: user.foo should raise "foo is not defined in user"
|
62
|
+
# and not "in actor"
|
63
|
+
rescue NameError => supertype_error
|
64
|
+
raise subtype_error
|
58
65
|
end
|
59
|
-
|
60
|
-
# {SocialStream::Models::Supertype} handles some methods
|
61
|
-
def respond_to? *args
|
62
|
-
super || supertype!.respond_to?(*args)
|
63
|
-
end
|
64
66
|
end
|
65
67
|
|
66
|
-
|
67
|
-
|
68
|
+
# {SocialStream::Models::Supertype} handles some methods
|
69
|
+
def respond_to? *args
|
70
|
+
super || _delegate_to_supertype?(:method) && supertype!.respond_to?(*args)
|
71
|
+
end
|
68
72
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
end
|
76
|
-
end
|
73
|
+
def _delegate_to_supertype?(method)
|
74
|
+
# These methods must not be delegated to avoid loops
|
75
|
+
# (the @supertype_name association (e.g. :actor) calls here again)
|
76
|
+
exceptions = [ "_#{ self.class.supertype_foreign_key }".to_sym ] # [ :_actor_id ]
|
77
|
+
|
78
|
+
! exceptions.include?(method)
|
77
79
|
end
|
78
80
|
end
|
79
81
|
end
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'active_support/concern'
|
2
|
-
|
3
1
|
module SocialStream #:nodoc:
|
4
2
|
module Models
|
5
3
|
# Common methods for models having many {SocialStream::Models::Subtype subtypes}.
|
@@ -7,6 +5,18 @@ module SocialStream #:nodoc:
|
|
7
5
|
# * {Actor}: participates in the social network and has {Tie Ties} with other actors. Its subtypes are {SocialStream::Models::Subject subjects}, such as {User} or {Group}
|
8
6
|
# * {ActivityObject}: created and managed by {Actor Actors} in {Activity Activities}. Its subtypes are {SocialStream::Models::Object objects}, like {Post} or {Comment}
|
9
7
|
module Supertype
|
8
|
+
# Include the class method {#supertype_of} to ActiveRecord::Base
|
9
|
+
module ActiveRecord
|
10
|
+
extend ActiveSupport::Concern
|
11
|
+
|
12
|
+
module ClassMethods
|
13
|
+
# This class is a supertype. Subtype classes are known as name
|
14
|
+
def supertype_of name
|
15
|
+
@subtypes_name = name
|
16
|
+
include SocialStream::Models::Supertype
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
10
20
|
extend ActiveSupport::Concern
|
11
21
|
|
12
22
|
included do
|
@@ -25,25 +35,11 @@ module SocialStream #:nodoc:
|
|
25
35
|
end
|
26
36
|
end
|
27
37
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
end # end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
module ActiveRecord
|
38
|
-
extend ActiveSupport::Concern
|
39
|
-
|
40
|
-
module ClassMethods
|
41
|
-
# This class is a supertype. Subtype classes are known as name
|
42
|
-
def supertype_of name
|
43
|
-
@subtypes_name = name
|
44
|
-
include SocialStream::Models::Supertype
|
45
|
-
end
|
46
|
-
end
|
38
|
+
def subtype_instance
|
39
|
+
if __send__("#{ self.class.subtypes_name }_type").present? # if object_type.present?
|
40
|
+
object_class = __send__("#{ self.class.subtypes_name }_type") # object_class = object_type # => "Video"
|
41
|
+
__send__ object_class.constantize.base_class.to_s.underscore # __send__ "document"
|
42
|
+
end # end
|
47
43
|
end
|
48
44
|
end
|
49
45
|
end
|
data/lib/tasks/db/populate.rake
CHANGED
@@ -131,13 +131,21 @@ namespace :db do
|
|
131
131
|
actor = Actor.first
|
132
132
|
unless a==actor
|
133
133
|
puts a.name + " connecting with " + actor.name
|
134
|
-
|
135
|
-
|
134
|
+
# DRY! :-S
|
135
|
+
contact = a.contact_to!(actor)
|
136
|
+
contact.user_author = a.user_author if a.subject_type != "User"
|
137
|
+
contact.relation_ids = Array(Forgery::Extensions::Array.new(a.relation_customs).random.id)
|
138
|
+
|
139
|
+
contact = actor.contact_to!(a)
|
140
|
+
contact.user_author = actor.user_author if actor.subject_type != "User"
|
141
|
+
contact.relation_ids = Array(Forgery::Extensions::Array.new(actor.relation_customs).random.id)
|
136
142
|
end
|
137
143
|
else
|
138
144
|
Forgery::Basic.number(:at_most => actors.size).times do
|
139
145
|
actor = actors.delete_at((rand * actors.size).to_i)
|
140
|
-
a.contact_to!(actor)
|
146
|
+
contact = a.contact_to!(actor)
|
147
|
+
contact.user_author = a.user_author if a.subject_type != "User"
|
148
|
+
contact.relation_ids = Array(Forgery::Extensions::Array.new(relations).random.id) unless a==actor
|
141
149
|
end
|
142
150
|
end
|
143
151
|
end
|
data/social_stream-base.gemspec
CHANGED
@@ -16,13 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
# Do not forget to require the file at lib/social_stream/base/dependencies !
|
17
17
|
#
|
18
18
|
# Rails
|
19
|
-
s.add_runtime_dependency('rails', '
|
19
|
+
s.add_runtime_dependency('rails', '>= 3.1.0')
|
20
20
|
# Activity and Relation hierarchies
|
21
21
|
s.add_runtime_dependency('ancestry', '~> 1.2.3')
|
22
22
|
# SQL foreign keys
|
23
23
|
s.add_runtime_dependency('foreigner', '~> 1.1.1')
|
24
24
|
# Authentication
|
25
|
-
s.add_runtime_dependency('devise', '~> 1.
|
25
|
+
s.add_runtime_dependency('devise', '~> 1.5.3')
|
26
26
|
# CRUD controllers
|
27
27
|
s.add_runtime_dependency('inherited_resources', '~> 1.3.0')
|
28
28
|
# Slug generation
|
@@ -36,11 +36,13 @@ Gem::Specification.new do |s|
|
|
36
36
|
# Pagination
|
37
37
|
s.add_runtime_dependency('kaminari', '~> 0.13.0')
|
38
38
|
# OAuth client
|
39
|
-
s.add_runtime_dependency('omniauth','~> 0.2
|
39
|
+
s.add_runtime_dependency('omniauth','~> 1.0.2')
|
40
|
+
s.add_runtime_dependency('omniauth-facebook','~> 1.2.0')
|
41
|
+
s.add_runtime_dependency('omniauth-linkedin','~> 0.0.6')
|
40
42
|
# Messages
|
41
43
|
s.add_runtime_dependency('mailboxer','~> 0.6.0')
|
42
44
|
# Tagging
|
43
|
-
s.add_runtime_dependency('acts-as-taggable-on','~> 2.
|
45
|
+
s.add_runtime_dependency('acts-as-taggable-on','~> 2.2.2')
|
44
46
|
# HTML Forms
|
45
47
|
s.add_runtime_dependency('formtastic','~> 1.2.3')
|
46
48
|
# Simple navigation for menu
|
@@ -52,11 +54,13 @@ Gem::Specification.new do |s|
|
|
52
54
|
# Sphinx search engine
|
53
55
|
s.add_runtime_dependency('thinking-sphinx', '~> 2.0.8')
|
54
56
|
# Syntactically Awesome Stylesheets
|
55
|
-
s.add_runtime_dependency('sass-rails', '
|
57
|
+
s.add_runtime_dependency('sass-rails', '>= 3.1.0')
|
56
58
|
# Autolink text blocks
|
57
59
|
s.add_runtime_dependency('rails_autolink', '~> 1.0.4')
|
58
60
|
# SocialCheesecake
|
59
61
|
s.add_runtime_dependency('social_cheesecake','~> 0.2.0')
|
62
|
+
# I18n-js
|
63
|
+
s.add_runtime_dependency('i18n-js','~>2.1.2')
|
60
64
|
|
61
65
|
# Development gem dependencies
|
62
66
|
#
|
@@ -198,7 +198,7 @@ Devise.setup do |config|
|
|
198
198
|
# Add a new OmniAuth provider. Check the wiki for more information on setting
|
199
199
|
# up on your models and hooks.
|
200
200
|
# config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
|
201
|
-
config.omniauth :
|
201
|
+
config.omniauth :linkedin, "ekxfXU8nueVSMQ9fc5KJAryBkyztUlCBYMW3DoQPzbE79WhivvzhQloRNHCHgPeB", "WYiHFT-KKFgjd45W3-pEAficmXRHmN6_6DGwj1C_ZILJlSO1gBvv6VNYXU9tybGY"
|
202
202
|
|
203
203
|
config.omniauth :facebook, "129571360447856","eef39dce5e20e76f77495c59623bdb38"
|
204
204
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,22 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-26 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
requirement: &
|
17
|
+
requirement: &82861540 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 3.1.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *82861540
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: ancestry
|
28
|
-
requirement: &
|
28
|
+
requirement: &82861290 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 1.2.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *82861290
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: foreigner
|
39
|
-
requirement: &
|
39
|
+
requirement: &82861060 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,21 +44,21 @@ dependencies:
|
|
44
44
|
version: 1.1.1
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *82861060
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: devise
|
50
|
-
requirement: &
|
50
|
+
requirement: &82860830 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
55
|
+
version: 1.5.3
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *82860830
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: inherited_resources
|
61
|
-
requirement: &
|
61
|
+
requirement: &82860600 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: 1.3.0
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *82860600
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: stringex
|
72
|
-
requirement: &
|
72
|
+
requirement: &82860370 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 1.3.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *82860370
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: avatars_for_rails
|
83
|
-
requirement: &
|
83
|
+
requirement: &82860140 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ~>
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: 0.2.2
|
89
89
|
type: :runtime
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *82860140
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: jquery-rails
|
94
|
-
requirement: &
|
94
|
+
requirement: &82859910 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ~>
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: 1.0.9
|
100
100
|
type: :runtime
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *82859910
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: cancan
|
105
|
-
requirement: &
|
105
|
+
requirement: &82859680 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: 1.6.4
|
111
111
|
type: :runtime
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *82859680
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: kaminari
|
116
|
-
requirement: &
|
116
|
+
requirement: &82859450 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ~>
|
@@ -121,21 +121,43 @@ dependencies:
|
|
121
121
|
version: 0.13.0
|
122
122
|
type: :runtime
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *82859450
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: omniauth
|
127
|
-
requirement: &
|
127
|
+
requirement: &82859220 !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ~>
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 1.0.2
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: *82859220
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
name: omniauth-facebook
|
138
|
+
requirement: &82858990 !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
141
|
+
- - ~>
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: 1.2.0
|
144
|
+
type: :runtime
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: *82858990
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: omniauth-linkedin
|
149
|
+
requirement: &82858760 !ruby/object:Gem::Requirement
|
128
150
|
none: false
|
129
151
|
requirements:
|
130
152
|
- - ~>
|
131
153
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.
|
154
|
+
version: 0.0.6
|
133
155
|
type: :runtime
|
134
156
|
prerelease: false
|
135
|
-
version_requirements: *
|
157
|
+
version_requirements: *82858760
|
136
158
|
- !ruby/object:Gem::Dependency
|
137
159
|
name: mailboxer
|
138
|
-
requirement: &
|
160
|
+
requirement: &82858530 !ruby/object:Gem::Requirement
|
139
161
|
none: false
|
140
162
|
requirements:
|
141
163
|
- - ~>
|
@@ -143,21 +165,21 @@ dependencies:
|
|
143
165
|
version: 0.6.0
|
144
166
|
type: :runtime
|
145
167
|
prerelease: false
|
146
|
-
version_requirements: *
|
168
|
+
version_requirements: *82858530
|
147
169
|
- !ruby/object:Gem::Dependency
|
148
170
|
name: acts-as-taggable-on
|
149
|
-
requirement: &
|
171
|
+
requirement: &82858300 !ruby/object:Gem::Requirement
|
150
172
|
none: false
|
151
173
|
requirements:
|
152
174
|
- - ~>
|
153
175
|
- !ruby/object:Gem::Version
|
154
|
-
version: 2.
|
176
|
+
version: 2.2.2
|
155
177
|
type: :runtime
|
156
178
|
prerelease: false
|
157
|
-
version_requirements: *
|
179
|
+
version_requirements: *82858300
|
158
180
|
- !ruby/object:Gem::Dependency
|
159
181
|
name: formtastic
|
160
|
-
requirement: &
|
182
|
+
requirement: &82858070 !ruby/object:Gem::Requirement
|
161
183
|
none: false
|
162
184
|
requirements:
|
163
185
|
- - ~>
|
@@ -165,10 +187,10 @@ dependencies:
|
|
165
187
|
version: 1.2.3
|
166
188
|
type: :runtime
|
167
189
|
prerelease: false
|
168
|
-
version_requirements: *
|
190
|
+
version_requirements: *82858070
|
169
191
|
- !ruby/object:Gem::Dependency
|
170
192
|
name: simple-navigation
|
171
|
-
requirement: &
|
193
|
+
requirement: &82889760 !ruby/object:Gem::Requirement
|
172
194
|
none: false
|
173
195
|
requirements:
|
174
196
|
- - ~>
|
@@ -176,10 +198,10 @@ dependencies:
|
|
176
198
|
version: 3.5.1
|
177
199
|
type: :runtime
|
178
200
|
prerelease: false
|
179
|
-
version_requirements: *
|
201
|
+
version_requirements: *82889760
|
180
202
|
- !ruby/object:Gem::Dependency
|
181
203
|
name: resque
|
182
|
-
requirement: &
|
204
|
+
requirement: &82889530 !ruby/object:Gem::Requirement
|
183
205
|
none: false
|
184
206
|
requirements:
|
185
207
|
- - ~>
|
@@ -187,10 +209,10 @@ dependencies:
|
|
187
209
|
version: 1.19.0
|
188
210
|
type: :runtime
|
189
211
|
prerelease: false
|
190
|
-
version_requirements: *
|
212
|
+
version_requirements: *82889530
|
191
213
|
- !ruby/object:Gem::Dependency
|
192
214
|
name: modernizr-rails
|
193
|
-
requirement: &
|
215
|
+
requirement: &82889300 !ruby/object:Gem::Requirement
|
194
216
|
none: false
|
195
217
|
requirements:
|
196
218
|
- - ~>
|
@@ -198,10 +220,10 @@ dependencies:
|
|
198
220
|
version: 2.0.6
|
199
221
|
type: :runtime
|
200
222
|
prerelease: false
|
201
|
-
version_requirements: *
|
223
|
+
version_requirements: *82889300
|
202
224
|
- !ruby/object:Gem::Dependency
|
203
225
|
name: thinking-sphinx
|
204
|
-
requirement: &
|
226
|
+
requirement: &82889070 !ruby/object:Gem::Requirement
|
205
227
|
none: false
|
206
228
|
requirements:
|
207
229
|
- - ~>
|
@@ -209,21 +231,21 @@ dependencies:
|
|
209
231
|
version: 2.0.8
|
210
232
|
type: :runtime
|
211
233
|
prerelease: false
|
212
|
-
version_requirements: *
|
234
|
+
version_requirements: *82889070
|
213
235
|
- !ruby/object:Gem::Dependency
|
214
236
|
name: sass-rails
|
215
|
-
requirement: &
|
237
|
+
requirement: &82888840 !ruby/object:Gem::Requirement
|
216
238
|
none: false
|
217
239
|
requirements:
|
218
|
-
- -
|
240
|
+
- - ! '>='
|
219
241
|
- !ruby/object:Gem::Version
|
220
242
|
version: 3.1.0
|
221
243
|
type: :runtime
|
222
244
|
prerelease: false
|
223
|
-
version_requirements: *
|
245
|
+
version_requirements: *82888840
|
224
246
|
- !ruby/object:Gem::Dependency
|
225
247
|
name: rails_autolink
|
226
|
-
requirement: &
|
248
|
+
requirement: &82888610 !ruby/object:Gem::Requirement
|
227
249
|
none: false
|
228
250
|
requirements:
|
229
251
|
- - ~>
|
@@ -231,10 +253,10 @@ dependencies:
|
|
231
253
|
version: 1.0.4
|
232
254
|
type: :runtime
|
233
255
|
prerelease: false
|
234
|
-
version_requirements: *
|
256
|
+
version_requirements: *82888610
|
235
257
|
- !ruby/object:Gem::Dependency
|
236
258
|
name: social_cheesecake
|
237
|
-
requirement: &
|
259
|
+
requirement: &82888380 !ruby/object:Gem::Requirement
|
238
260
|
none: false
|
239
261
|
requirements:
|
240
262
|
- - ~>
|
@@ -242,10 +264,21 @@ dependencies:
|
|
242
264
|
version: 0.2.0
|
243
265
|
type: :runtime
|
244
266
|
prerelease: false
|
245
|
-
version_requirements: *
|
267
|
+
version_requirements: *82888380
|
268
|
+
- !ruby/object:Gem::Dependency
|
269
|
+
name: i18n-js
|
270
|
+
requirement: &82888150 !ruby/object:Gem::Requirement
|
271
|
+
none: false
|
272
|
+
requirements:
|
273
|
+
- - ~>
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: 2.1.2
|
276
|
+
type: :runtime
|
277
|
+
prerelease: false
|
278
|
+
version_requirements: *82888150
|
246
279
|
- !ruby/object:Gem::Dependency
|
247
280
|
name: capybara
|
248
|
-
requirement: &
|
281
|
+
requirement: &82887920 !ruby/object:Gem::Requirement
|
249
282
|
none: false
|
250
283
|
requirements:
|
251
284
|
- - ~>
|
@@ -253,10 +286,10 @@ dependencies:
|
|
253
286
|
version: 0.3.9
|
254
287
|
type: :development
|
255
288
|
prerelease: false
|
256
|
-
version_requirements: *
|
289
|
+
version_requirements: *82887920
|
257
290
|
- !ruby/object:Gem::Dependency
|
258
291
|
name: sqlite3-ruby
|
259
|
-
requirement: &
|
292
|
+
requirement: &82887730 !ruby/object:Gem::Requirement
|
260
293
|
none: false
|
261
294
|
requirements:
|
262
295
|
- - ! '>='
|
@@ -264,10 +297,10 @@ dependencies:
|
|
264
297
|
version: '0'
|
265
298
|
type: :development
|
266
299
|
prerelease: false
|
267
|
-
version_requirements: *
|
300
|
+
version_requirements: *82887730
|
268
301
|
- !ruby/object:Gem::Dependency
|
269
302
|
name: ruby-debug19
|
270
|
-
requirement: &
|
303
|
+
requirement: &82887490 !ruby/object:Gem::Requirement
|
271
304
|
none: false
|
272
305
|
requirements:
|
273
306
|
- - ! '>='
|
@@ -275,10 +308,10 @@ dependencies:
|
|
275
308
|
version: '0'
|
276
309
|
type: :development
|
277
310
|
prerelease: false
|
278
|
-
version_requirements: *
|
311
|
+
version_requirements: *82887490
|
279
312
|
- !ruby/object:Gem::Dependency
|
280
313
|
name: rspec-rails
|
281
|
-
requirement: &
|
314
|
+
requirement: &82887240 !ruby/object:Gem::Requirement
|
282
315
|
none: false
|
283
316
|
requirements:
|
284
317
|
- - ~>
|
@@ -286,10 +319,10 @@ dependencies:
|
|
286
319
|
version: 2.6.1
|
287
320
|
type: :development
|
288
321
|
prerelease: false
|
289
|
-
version_requirements: *
|
322
|
+
version_requirements: *82887240
|
290
323
|
- !ruby/object:Gem::Dependency
|
291
324
|
name: factory_girl
|
292
|
-
requirement: &
|
325
|
+
requirement: &82886990 !ruby/object:Gem::Requirement
|
293
326
|
none: false
|
294
327
|
requirements:
|
295
328
|
- - ~>
|
@@ -297,10 +330,10 @@ dependencies:
|
|
297
330
|
version: 1.3.2
|
298
331
|
type: :development
|
299
332
|
prerelease: false
|
300
|
-
version_requirements: *
|
333
|
+
version_requirements: *82886990
|
301
334
|
- !ruby/object:Gem::Dependency
|
302
335
|
name: forgery
|
303
|
-
requirement: &
|
336
|
+
requirement: &82886760 !ruby/object:Gem::Requirement
|
304
337
|
none: false
|
305
338
|
requirements:
|
306
339
|
- - ~>
|
@@ -308,10 +341,10 @@ dependencies:
|
|
308
341
|
version: 0.4.2
|
309
342
|
type: :development
|
310
343
|
prerelease: false
|
311
|
-
version_requirements: *
|
344
|
+
version_requirements: *82886760
|
312
345
|
- !ruby/object:Gem::Dependency
|
313
346
|
name: ci_reporter
|
314
|
-
requirement: &
|
347
|
+
requirement: &82886530 !ruby/object:Gem::Requirement
|
315
348
|
none: false
|
316
349
|
requirements:
|
317
350
|
- - ~>
|
@@ -319,10 +352,10 @@ dependencies:
|
|
319
352
|
version: 1.6.4
|
320
353
|
type: :development
|
321
354
|
prerelease: false
|
322
|
-
version_requirements: *
|
355
|
+
version_requirements: *82886530
|
323
356
|
- !ruby/object:Gem::Dependency
|
324
357
|
name: nifty-generators
|
325
|
-
requirement: &
|
358
|
+
requirement: &82886300 !ruby/object:Gem::Requirement
|
326
359
|
none: false
|
327
360
|
requirements:
|
328
361
|
- - ~>
|
@@ -330,7 +363,7 @@ dependencies:
|
|
330
363
|
version: 0.4.5
|
331
364
|
type: :development
|
332
365
|
prerelease: false
|
333
|
-
version_requirements: *
|
366
|
+
version_requirements: *82886300
|
334
367
|
description: ! 'Social Stream is a Ruby on Rails engine providing your application
|
335
368
|
with social networking features and activity streams.
|
336
369
|
|
@@ -835,6 +868,7 @@ files:
|
|
835
868
|
- lib/generators/social_stream/base/templates/navigation.rb
|
836
869
|
- lib/generators/social_stream/base/templates/relations.yml
|
837
870
|
- lib/generators/social_stream/base/templates/sphinx.yml
|
871
|
+
- lib/i18n-js/social_stream-base.rb
|
838
872
|
- lib/paperclip/social_stream.rb
|
839
873
|
- lib/social_stream-base.rb
|
840
874
|
- lib/social_stream/ability.rb
|