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.
@@ -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
- module InstanceMethods
41
- # Delegate missing methods to supertype, if they exist there
42
- def method_missing(method, *args, &block)
43
- super
44
- rescue NameError => subtype_error
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
- begin
51
- supertype!.__send__ method, *args, &block
52
- # We rescue supertype's NameErrors so methods not defined are raised from
53
- # the subtype. Example: user.foo should raise "foo is not defined in user"
54
- # and not "in actor"
55
- rescue NameError => supertype_error
56
- raise subtype_error
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
- module ActiveRecord
67
- extend ActiveSupport::Concern
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
- module ClassMethods
70
- # This class is a subtype. Its supertype class is name
71
- def subtype_of name, options = {}
72
- @supertype_name = name
73
- @supertype_options = options
74
- include SocialStream::Models::Subtype
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
- module InstanceMethods
29
- def subtype_instance
30
- if __send__("#{ self.class.subtypes_name }_type").present? # if object_type.present?
31
- object_class = __send__("#{ self.class.subtypes_name }_type") # object_class = object_type # => "Video"
32
- __send__ object_class.constantize.base_class.to_s.underscore # __send__ "document"
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
@@ -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
- a.contact_to!(actor).relation_ids = Array(Forgery::Extensions::Array.new(a.relation_customs).random.id)
135
- actor.contact_to!(a).relation_ids = Array(Forgery::Extensions::Array.new(actor.relation_customs).random.id)
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).relation_ids = Array(Forgery::Extensions::Array.new(relations).random.id) unless a==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
@@ -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', '~> 3.1.0')
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.4.5')
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.6')
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.0.6')
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', '~> 3.1.0')
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 :linked_in, "ekxfXU8nueVSMQ9fc5KJAryBkyztUlCBYMW3DoQPzbE79WhivvzhQloRNHCHgPeB", "WYiHFT-KKFgjd45W3-pEAficmXRHmN6_6DGwj1C_ZILJlSO1gBvv6VNYXU9tybGY"
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.13.2
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-24 00:00:00.000000000Z
13
+ date: 2012-01-26 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &86805000 !ruby/object:Gem::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: *86805000
25
+ version_requirements: *82861540
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ancestry
28
- requirement: &86804750 !ruby/object:Gem::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: *86804750
36
+ version_requirements: *82861290
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: foreigner
39
- requirement: &86833310 !ruby/object:Gem::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: *86833310
47
+ version_requirements: *82861060
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: devise
50
- requirement: &86833080 !ruby/object:Gem::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.4.5
55
+ version: 1.5.3
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *86833080
58
+ version_requirements: *82860830
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: inherited_resources
61
- requirement: &86832850 !ruby/object:Gem::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: *86832850
69
+ version_requirements: *82860600
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: stringex
72
- requirement: &86832620 !ruby/object:Gem::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: *86832620
80
+ version_requirements: *82860370
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: avatars_for_rails
83
- requirement: &86832390 !ruby/object:Gem::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: *86832390
91
+ version_requirements: *82860140
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: jquery-rails
94
- requirement: &86832160 !ruby/object:Gem::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: *86832160
102
+ version_requirements: *82859910
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: cancan
105
- requirement: &86831930 !ruby/object:Gem::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: *86831930
113
+ version_requirements: *82859680
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: kaminari
116
- requirement: &86831700 !ruby/object:Gem::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: *86831700
124
+ version_requirements: *82859450
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: omniauth
127
- requirement: &86831470 !ruby/object:Gem::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.2.6
154
+ version: 0.0.6
133
155
  type: :runtime
134
156
  prerelease: false
135
- version_requirements: *86831470
157
+ version_requirements: *82858760
136
158
  - !ruby/object:Gem::Dependency
137
159
  name: mailboxer
138
- requirement: &86831240 !ruby/object:Gem::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: *86831240
168
+ version_requirements: *82858530
147
169
  - !ruby/object:Gem::Dependency
148
170
  name: acts-as-taggable-on
149
- requirement: &86831010 !ruby/object:Gem::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.0.6
176
+ version: 2.2.2
155
177
  type: :runtime
156
178
  prerelease: false
157
- version_requirements: *86831010
179
+ version_requirements: *82858300
158
180
  - !ruby/object:Gem::Dependency
159
181
  name: formtastic
160
- requirement: &86830780 !ruby/object:Gem::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: *86830780
190
+ version_requirements: *82858070
169
191
  - !ruby/object:Gem::Dependency
170
192
  name: simple-navigation
171
- requirement: &86830550 !ruby/object:Gem::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: *86830550
201
+ version_requirements: *82889760
180
202
  - !ruby/object:Gem::Dependency
181
203
  name: resque
182
- requirement: &86830320 !ruby/object:Gem::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: *86830320
212
+ version_requirements: *82889530
191
213
  - !ruby/object:Gem::Dependency
192
214
  name: modernizr-rails
193
- requirement: &86830090 !ruby/object:Gem::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: *86830090
223
+ version_requirements: *82889300
202
224
  - !ruby/object:Gem::Dependency
203
225
  name: thinking-sphinx
204
- requirement: &86829860 !ruby/object:Gem::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: *86829860
234
+ version_requirements: *82889070
213
235
  - !ruby/object:Gem::Dependency
214
236
  name: sass-rails
215
- requirement: &86829630 !ruby/object:Gem::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: *86829630
245
+ version_requirements: *82888840
224
246
  - !ruby/object:Gem::Dependency
225
247
  name: rails_autolink
226
- requirement: &86829400 !ruby/object:Gem::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: *86829400
256
+ version_requirements: *82888610
235
257
  - !ruby/object:Gem::Dependency
236
258
  name: social_cheesecake
237
- requirement: &86829170 !ruby/object:Gem::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: *86829170
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: &86828940 !ruby/object:Gem::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: *86828940
289
+ version_requirements: *82887920
257
290
  - !ruby/object:Gem::Dependency
258
291
  name: sqlite3-ruby
259
- requirement: &86828750 !ruby/object:Gem::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: *86828750
300
+ version_requirements: *82887730
268
301
  - !ruby/object:Gem::Dependency
269
302
  name: ruby-debug19
270
- requirement: &86828510 !ruby/object:Gem::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: *86828510
311
+ version_requirements: *82887490
279
312
  - !ruby/object:Gem::Dependency
280
313
  name: rspec-rails
281
- requirement: &86828260 !ruby/object:Gem::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: *86828260
322
+ version_requirements: *82887240
290
323
  - !ruby/object:Gem::Dependency
291
324
  name: factory_girl
292
- requirement: &86828010 !ruby/object:Gem::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: *86828010
333
+ version_requirements: *82886990
301
334
  - !ruby/object:Gem::Dependency
302
335
  name: forgery
303
- requirement: &86827780 !ruby/object:Gem::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: *86827780
344
+ version_requirements: *82886760
312
345
  - !ruby/object:Gem::Dependency
313
346
  name: ci_reporter
314
- requirement: &86827550 !ruby/object:Gem::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: *86827550
355
+ version_requirements: *82886530
323
356
  - !ruby/object:Gem::Dependency
324
357
  name: nifty-generators
325
- requirement: &86827320 !ruby/object:Gem::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: *86827320
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