social_stream 0.30.2 → 1.0.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.
Files changed (36) hide show
  1. data/Gemfile +0 -4
  2. data/README.rdoc +28 -51
  3. data/base/app/controllers/activity_actions_controller.rb +6 -13
  4. data/base/app/controllers/comments_controller.rb +6 -0
  5. data/base/app/controllers/posts_controller.rb +6 -0
  6. data/base/app/controllers/profiles_controller.rb +7 -1
  7. data/base/app/models/activity_action.rb +2 -0
  8. data/base/app/models/actor.rb +3 -1
  9. data/base/app/models/contact.rb +1 -10
  10. data/base/app/models/group.rb +5 -3
  11. data/base/app/models/profile.rb +6 -3
  12. data/base/app/models/tie.rb +3 -1
  13. data/base/lib/inherited_resources/social_stream.rb +7 -2
  14. data/base/lib/social_stream/base/dependencies.rb +2 -0
  15. data/base/lib/social_stream/base/version.rb +1 -1
  16. data/base/lib/social_stream/controllers/objects.rb +10 -0
  17. data/base/lib/social_stream/models/object.rb +3 -0
  18. data/base/lib/social_stream/models/subtype.rb +17 -2
  19. data/base/lib/social_stream/models/supertype.rb +5 -3
  20. data/base/social_stream-base.gemspec +2 -0
  21. data/documents/app/controllers/documents_controller.rb +4 -0
  22. data/documents/lib/social_stream/documents/version.rb +1 -1
  23. data/documents/social_stream-documents.gemspec +1 -1
  24. data/events/app/controllers/events_controller.rb +4 -0
  25. data/events/lib/social_stream/events/version.rb +1 -1
  26. data/events/social_stream-events.gemspec +1 -1
  27. data/lib/social_stream/version.rb +1 -1
  28. data/linkser/app/controllers/links_controller.rb +6 -0
  29. data/linkser/lib/social_stream/linkser/version.rb +1 -1
  30. data/linkser/social_stream-linkser.gemspec +1 -1
  31. data/ostatus/lib/social_stream/ostatus/version.rb +1 -1
  32. data/ostatus/social_stream-ostatus.gemspec +1 -1
  33. data/presence/lib/social_stream/presence/version.rb +1 -1
  34. data/presence/social_stream-presence.gemspec +1 -1
  35. data/social_stream.gemspec +6 -6
  36. metadata +14 -14
data/Gemfile CHANGED
@@ -1,9 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Freeze rails version
4
- # https://github.com/ging/social_stream/issues/291
5
- gem 'rails', '3.2.8'
6
-
7
3
  # Uncomment the following lines if you are planing to
8
4
  # use a local code of any of these gems
9
5
 
data/README.rdoc CHANGED
@@ -1,40 +1,38 @@
1
- = Social Stream: core for building social network websites
2
- Social Stream is an engine for Ruby on Rails. It provides a robust and flexible core
3
- with social networking features and activity streams for building websites.
1
+ = Social Stream: a framework for building social network websites
2
+
3
+ Social Stream is an engine for Ruby on Rails. It provides a robust and flexible framework
4
+ with {social networking}[http://en.wikipedia.org/wiki/Social_network] features and {activity streams}[http://activitystrea.ms/] for building websites.
4
5
 
5
6
  {<img src="https://secure.travis-ci.org/ging/social_stream.png" />}[http://travis-ci.org/ging/social_stream]
6
- {<img src="https://gemnasium.com/ging/social_stream.png" />}[https://gemnasium.com/ging/social_stream]
7
+ {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/ging/social_stream]
7
8
 
8
- == Social networking
9
- Social networks are a new paradigm on web application design. Social networking platforms stand
10
- among the most popular websites, while many content oriented applications are supporting social
11
- networking features in order to improve engagement, enhance user awareness and stimulate communities
12
- around the website.
9
+ = Social Stream components
13
10
 
14
- {Social Stream}[http://github.com/ging/social_stream] is based on
15
- {social network analysis (SNA)}[http://en.wikipedia.org/wiki/Social_network] concepts and methods,
16
- including social entities (actors), ties and relations. Social Stream is so flexible that you can
17
- define custom actors (groups, organizations, institutions, social events) and relationships
18
- (friends, collegues, members, administrators, contributors, attendants, speakers).
11
+ Social Stream is divided into components. Developers can customize their social
12
+ network with the functionalities they need for each case. Current Social Stream distribution include the following components:
19
13
 
20
- It also provides a new tie-based access control model, which grants rights at the relation level,
21
- allowing you to share activities with friends, administrators, members or everybody.
14
+ * {Base}[https://github.com/ging/social_stream/tree/master/base], basic functionalities of contacts, streams and walls,
15
+ along with users, group, post and comments
16
+ * {Documents}[https://github.com/ging/social_stream/tree/master/documents], support for
17
+ activities on files: pictures, audio and video with a HTML5 player
18
+ * {Events}[https://github.com/ging/social_stream/tree/master/events], sheduled events with calendar
19
+ * {Linkser}[https://github.com/ging/social_stream/tree/master/linkser], advanced management of links to other webpages
20
+ * {Presence}[https://github.com/ging/social_stream/tree/master/presence], XMPP based chat support
21
+
22
+ = Installation
22
23
 
23
- == Activity Streams
24
- {Activity Streams}[http://activitystrea.ms/] is a format for syndicating social activities around the web. It has already been adopted by some of the major social networking platforms.
24
+ Add the following to the Gemfile of the your Rails application:
25
25
 
26
- {Social Stream}[http://github.com/ging/social_stream] provides a database schema based on the
27
- {Activity Streams specification}[http://activitystrea.ms/head/activity-schema.html], leading your
28
- application towards a well-known compatible data model design. It is extensible so you can
29
- add your own activities easily.
26
+ gem 'social_stream', '>= 1.0.0'
30
27
 
31
- = Installation
28
+ In the case you do not want some functionality, include your desired components instead.
29
+ For instance, the Gemfile in an application using documents and links only would contain the following:
32
30
 
33
- Add the following to the Gemfile of the your Rails application:
31
+ gem 'social_stream-documents'
32
+ gem 'social_stream-linkser'
34
33
 
35
- gem 'social_stream', '>= 0.19.0'
36
34
 
37
- and run:
35
+ Then run:
38
36
 
39
37
  bundle
40
38
 
@@ -42,6 +40,8 @@ Then:
42
40
 
43
41
  rails generate social_stream:install
44
42
 
43
+ or use specific generators if you are using components.
44
+
45
45
  Do not forget to migrate your database
46
46
 
47
47
  rake db:migrate
@@ -50,35 +50,13 @@ Since {Social Stream}[http://github.com/ging/social_stream] depends on {Devise}[
50
50
 
51
51
  config.action_mailer.default_url_options = { :host => 'localhost:3000' }
52
52
 
53
- Social Stream is not compatible with default mass attributes protection shipped with Rails 3.2.3
54
- http://weblog.rubyonrails.org/2012/3/30/ann-rails-3-2-3-has-been-released/
53
+ Social Stream is not compatible with {default mass attributes protection shipped with Rails 3.2.3}[http://weblog.rubyonrails.org/2012/3/30/ann-rails-3-2-3-has-been-released/], but uses the {strong_parameters gem}[https://github.com/rails/strong_parameters] that will be the default in Rails 4.
55
54
 
56
55
  You must set
57
56
 
58
57
  config.active_record.whitelist_attributes = false in config/application.rb
59
58
 
60
59
 
61
-
62
-
63
- = Social Stream components
64
-
65
- Social Stream is divided into components. Developers can customize their social
66
- network with the functionalities they need for each case. For instance, the Gemfile
67
- in an application using documents and links only would contain the following:
68
-
69
- gem 'social_stream-documents'
70
- gem 'social_stream-linkser'
71
-
72
- Current Social Stream distribution include the following components:
73
-
74
- * {Base}[https://github.com/ging/social_stream/tree/master/base], basic functionalities of contacts, streams and walls,
75
- along with users, group, post and comments
76
- * {Documents}[https://github.com/ging/social_stream/tree/master/documents], support for
77
- activities on files: pictures, audio and video with a HTML5 player
78
- * {Events}[https://github.com/ging/social_stream/tree/master/events], sheduled events with calendar
79
- * {Linkser}[https://github.com/ging/social_stream/tree/master/linkser], advanced management of links to other webpages
80
- * {Presence}[https://github.com/ging/social_stream/tree/master/presence], XMPP based chat support
81
-
82
60
  = Documentation
83
61
 
84
62
  {Social Stream documentation is available at rdoc.info}[http://rubydoc.info/gems/social_stream/frames]
@@ -87,5 +65,4 @@ However, most of the documentation is in {the base gem}[http://rubydoc.info/gems
87
65
 
88
66
  = Discussion
89
67
 
90
- We are reaching beta phase of development.
91
- Feel free to add an issue or send a message at github[https://github.com/ging/social_stream].
68
+ Feel free to add an issue at github[https://github.com/ging/social_stream/issues] or drop a message at {Social Stream's Google group}[http://groups.google.com/group/social-stream].
@@ -1,10 +1,4 @@
1
1
  class ActivityActionsController < ApplicationController
2
- # Last tendencies in rails talk about filtering params in the controller,
3
- # instead of using attr_protected
4
- #
5
- # We hope it will be shiped in Rails 4, so we write our custom method for now
6
- before_filter :clean_params
7
-
8
2
  before_filter :can_read_activity_object, :only => :create
9
3
 
10
4
  respond_to :js
@@ -15,20 +9,19 @@ class ActivityActionsController < ApplicationController
15
9
  sent_actions.
16
10
  find_or_create_by_activity_object_id @activity_object.id
17
11
 
18
- @activity_action.update_attributes params[:activity_action]
12
+ @activity_action.update_attributes activity_action_params
19
13
  end
20
14
 
21
15
  def update
22
- activity_action.update_attributes params[:activity_action]
16
+ activity_action.update_attributes activity_action_params
23
17
  end
24
18
 
25
19
  private
26
20
 
27
- def clean_params
28
- return if params[:activity_action].blank?
29
-
30
- params[:activity_action].delete(:actor_id)
31
- params[:activity_action].delete(:activity_object_id) if params[:id].present?
21
+ def activity_action_params
22
+ params.
23
+ require(:activity_action).
24
+ permit(:follow)
32
25
  end
33
26
 
34
27
  def can_read_activity_object
@@ -5,4 +5,10 @@ class CommentsController < ApplicationController
5
5
  parent = resource.post_activity.parent
6
6
  redirect_to polymorphic_path(parent.direct_object,:anchor => dom_id(parent))
7
7
  end
8
+
9
+ private
10
+
11
+ def allowed_params
12
+ [:text]
13
+ end
8
14
  end
@@ -1,3 +1,9 @@
1
1
  class PostsController < ApplicationController
2
2
  include SocialStream::Controllers::Objects
3
+
4
+ private
5
+
6
+ def allowed_params
7
+ [:text]
8
+ end
3
9
  end
@@ -12,7 +12,7 @@ class ProfilesController < ApplicationController
12
12
  end
13
13
 
14
14
  def update
15
- current_profile.update_attributes params[:profile]
15
+ current_profile.update_attributes profile_params
16
16
 
17
17
  respond_to do |format|
18
18
  format.html{ redirect_to [profile_subject, :profile] }
@@ -22,6 +22,12 @@ class ProfilesController < ApplicationController
22
22
 
23
23
  private
24
24
 
25
+ def profile_params
26
+ params.
27
+ require(:profile).
28
+ permit(:organization, :birthday, :city, :country, :description, :phone, :mobile, :fax, :address, :website, :experience, actor_attributes: [ :id, :name, :email, :tag_list ])
29
+ end
30
+
25
31
  def subject_profile
26
32
  @profile ||=
27
33
  profile_subject!.profile
@@ -2,6 +2,8 @@
2
2
  # on {ActivityObject activity objects}
3
3
  #
4
4
  class ActivityAction < ActiveRecord::Base
5
+ include ActiveModel::ForbiddenAttributesProtection
6
+
5
7
  belongs_to :actor
6
8
  belongs_to :activity_object
7
9
 
@@ -31,7 +31,9 @@ class Actor < ActiveRecord::Base
31
31
 
32
32
  acts_as_url :name, :url_attribute => :slug
33
33
 
34
- has_one :profile, :dependent => :destroy
34
+ has_one :profile,
35
+ dependent: :destroy,
36
+ inverse_of: :actor
35
37
 
36
38
  has_many :avatars,
37
39
  :validate => true,
@@ -29,7 +29,7 @@ class Contact < ActiveRecord::Base
29
29
 
30
30
  has_many :ties,
31
31
  :dependent => :destroy,
32
- :before_add => :set_user_author
32
+ :inverse_of => :contact
33
33
 
34
34
  has_many :relations,
35
35
  :through => :ties,
@@ -172,15 +172,6 @@ class Contact < ActiveRecord::Base
172
172
  raise "Cannot determine user_author for #{ sender.inspect }"
173
173
  end
174
174
 
175
- # user_author is not preserved when the associated tie is build, in:
176
- #
177
- # contact.ties.build
178
- #
179
- # so we need to preserve so the tie activity is recorded
180
- def set_user_author(tie)
181
- tie.contact.user_author = @user_author
182
- end
183
-
184
175
  # after_remove callback
185
176
  #
186
177
  # has_many collection=objects method does not trigger destroy callbacks,
@@ -51,9 +51,11 @@ class Group < ActiveRecord::Base
51
51
  participant_ids = ([ author_id, user_author_id ] | Array.wrap(@_participants)).uniq
52
52
 
53
53
  participant_ids.each do |a|
54
- sent_contacts.create! :receiver_id => a,
55
- :user_author => user_author,
56
- :relation_ids => Array(relation_customs.sort.first.id)
54
+ c =
55
+ sent_contacts.create! :receiver_id => a,
56
+ :user_author => user_author
57
+
58
+ c.relation_ids = Array.wrap(relation_customs.sort.first.id)
57
59
  end
58
60
  end
59
61
  end
@@ -1,8 +1,11 @@
1
1
  class Profile < ActiveRecord::Base
2
- belongs_to :actor
3
-
2
+ include ActiveModel::ForbiddenAttributesProtection
3
+
4
+ belongs_to :actor,
5
+ inverse_of: :profile
6
+
4
7
  accepts_nested_attributes_for :actor
5
-
8
+
6
9
  validates_presence_of :actor_id
7
10
 
8
11
  validates_format_of :mobile, :phone, :fax,
@@ -22,7 +22,9 @@
22
22
  # integer, array
23
23
  #
24
24
  class Tie < ActiveRecord::Base
25
- belongs_to :contact, :counter_cache => true
25
+ belongs_to :contact,
26
+ :counter_cache => true,
27
+ :inverse_of => :ties
26
28
 
27
29
  has_one :sender, :through => :contact
28
30
  has_one :receiver, :through => :contact
@@ -1,7 +1,7 @@
1
1
  # Monkey path inherited_resources
2
2
  #
3
3
  #
4
- # Fix https://github.com/josevalim/inherited_resources/issues/216
4
+ # Pull request https://github.com/josevalim/inherited_resources/pull/237
5
5
  module InheritedResources::BaseHelpers
6
6
  private
7
7
 
@@ -11,8 +11,13 @@ module InheritedResources::BaseHelpers
11
11
  end
12
12
 
13
13
  def build_resource_params
14
- rparams = [params[resource_request_name] || params[resource_instance_name] || {}]
14
+ rparams = [whitelisted_params || params[resource_request_name] || params[resource_instance_name] || {}]
15
15
  rparams << as_role if role_given?
16
16
  rparams
17
17
  end
18
+
19
+ def whitelisted_params
20
+ whitelist_method = :"#{ resource_request_name }_params"
21
+ respond_to?(whitelist_method, true) && self.send(whitelist_method)
22
+ end
18
23
  end
@@ -54,4 +54,6 @@ require 'social_cheesecake'
54
54
  # I18n-js
55
55
  require 'i18n-js'
56
56
  require 'i18n-js/social_stream-base'
57
+ # Strong parameters
58
+ require 'strong_parameters'
57
59
 
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "0.24.2".freeze
3
+ VERSION = "1.0.0".freeze
4
4
  end
5
5
  end
@@ -22,6 +22,16 @@ module SocialStream
22
22
 
23
23
  # Methods that should be included after the included block
24
24
  module UpperInstanceMethods
25
+ def allowed_params
26
+ [] # This should be overriden in controllers to allow extra params
27
+ end
28
+
29
+ def whitelisted_params
30
+ return {} if request.present? and request.get?
31
+ all_allowed_params = allowed_params + [:created_at, :updated_at, :title, :description, :author_id, :owner_id, :user_author_id, :_activity_parent_id]
32
+ params.require(self.class.model_class.to_s.underscore.to_sym).permit( *all_allowed_params )
33
+ end
34
+
25
35
  def search
26
36
  collection_variable_set self.class.model_class.search(params[:q], search_options)
27
37
 
@@ -47,6 +47,9 @@ module SocialStream
47
47
  joins(:activity_object).
48
48
  merge(ActivityObject.followed_by(subject))
49
49
  }
50
+
51
+ # Strong parameters
52
+ include ActiveModel::ForbiddenAttributesProtection
50
53
  end
51
54
 
52
55
  module ClassMethods
@@ -19,7 +19,8 @@ module SocialStream #:nodoc:
19
19
  belongs_to supertype_name, { # belongs_to :actor, {
20
20
  :validate => true, # :validate => true
21
21
  :autosave => true, # :autosave => true
22
- :dependent => :destroy # :dependent => :destroy
22
+ :dependent => :destroy, # :dependent => :destroy
23
+ :inverse_of => name.underscore.to_sym # :inverse_of => :user,
23
24
  }.merge(supertype_options[:belongs] || {}) # }.merge(supertype_options[:belongs] || {})
24
25
 
25
26
  class_eval <<-EOS
@@ -38,6 +39,10 @@ module SocialStream #:nodoc:
38
39
  end
39
40
 
40
41
  module ClassMethods
42
+ def supertype_sym
43
+ supertype_name.to_sym
44
+ end
45
+
41
46
  def supertype_foreign_key
42
47
  "#{ supertype_name }_id" # "actor_id"
43
48
  end
@@ -50,7 +55,17 @@ module SocialStream #:nodoc:
50
55
  raise subtype_error unless _delegate_to_supertype?(:method)
51
56
 
52
57
  begin
53
- supertype!.__send__ method, *args, &block
58
+ res = supertype!.__send__(method, *args, &block)
59
+
60
+ # Cache method
61
+ self.class.class_eval <<-STR, __FILE__, __LINE__ + 1
62
+ def #{ method } *args, &block
63
+ supertype!.__send__ :#{ method }, *args, &block
64
+ end
65
+ STR
66
+
67
+ res
68
+
54
69
  # We rescue supertype's NameErrors so methods not defined are raised from
55
70
  # the subtype. Example: user.foo should raise "foo is not defined in user"
56
71
  # and not "in actor"
@@ -14,9 +14,11 @@ module SocialStream #:nodoc:
14
14
  include SocialStream::ActivityStreams::Supertype
15
15
 
16
16
  included do
17
- subtypes.each do |s| # [ :user, :group ].each do |s|
18
- has_one s, :dependent => :destroy # has_one s, :dependent => :destroy
19
- end # end
17
+ subtypes.each do |s| # [ :user, :group ].each do |s|
18
+ has_one s, # has_one s,
19
+ autosave: false, # autosave: false,
20
+ inverse_of: name.underscore.to_sym # inverse_of: :actor
21
+ end # end
20
22
  end
21
23
 
22
24
  module ClassMethods
@@ -63,6 +63,8 @@ Gem::Specification.new do |s|
63
63
  s.add_runtime_dependency('social_cheesecake','~> 0.5.0')
64
64
  # I18n-js
65
65
  s.add_runtime_dependency('i18n-js','~>2.1.2')
66
+ # Strong Parameters
67
+ s.add_runtime_dependency('strong_parameters','~> 0.1.5')
66
68
 
67
69
  # Development gem dependencies
68
70
  #
@@ -65,6 +65,10 @@ class DocumentsController < ApplicationController
65
65
 
66
66
  private
67
67
 
68
+ def allowed_params
69
+ [:file]
70
+ end
71
+
68
72
  class << self
69
73
  def index_object_type
70
74
  [ :Audio, :Video, :Picture, :Document ]
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Documents
3
- VERSION = "0.18.1".freeze
3
+ VERSION = "1.0.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.24.2')
15
+ s.add_runtime_dependency('social_stream-base', '~> 1.0.0')
16
16
  s.add_runtime_dependency('paperclip','~> 3.3.0')
17
17
  s.add_runtime_dependency('paperclip-ffmpeg', '~> 0.9.0')
18
18
  s.add_runtime_dependency('delayed_paperclip','>= 2.4.5.2')
@@ -27,6 +27,10 @@ class EventsController < ApplicationController
27
27
 
28
28
  private
29
29
 
30
+ def allowed_params
31
+ [ :start_at, :end_at, :all_day, :frequency, :room_id ]
32
+ end
33
+
30
34
  def events_with_start_and_end
31
35
  @start_time = Time.at(params[:start].to_i)
32
36
  @end_time = Time.at(params[:end].to_i)
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Events
3
- VERSION = "0.16.2".freeze
3
+ VERSION = "1.0.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.24.2')
15
+ s.add_runtime_dependency('social_stream-base', '~> 1.0.0')
16
16
  s.add_runtime_dependency('rails-scheduler', '~> 0.0.8')
17
17
 
18
18
  # Development Gem dependencies
@@ -1,3 +1,3 @@
1
1
  module SocialStream
2
- VERSION = "0.30.2".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
@@ -8,4 +8,10 @@ class LinksController < ApplicationController
8
8
  format.all {redirect_to link_path(resource) || home_path}
9
9
  end
10
10
  end
11
+
12
+ private
13
+
14
+ def allowed_params
15
+ [:url]
16
+ end
11
17
  end
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Linkser
3
- VERSION = "0.15.0".freeze
3
+ VERSION = "1.0.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.24.0')
15
+ s.add_runtime_dependency('social_stream-base', '~> 1.0.0')
16
16
  s.add_runtime_dependency('linkser', '~> 0.0.12')
17
17
  # Development Gem dependencies
18
18
  s.add_development_dependency('sqlite3-ruby')
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Ostatus
3
- VERSION = "0.2.0".freeze
3
+ VERSION = "1.0.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.24.0')
15
+ s.add_runtime_dependency('social_stream-base', '~> 1.0.0')
16
16
  s.add_runtime_dependency('proudhon','>= 0.3.6')
17
17
  s.add_runtime_dependency('nokogiri','> 1.4.4')
18
18
 
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Presence
3
- VERSION = "0.17.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  # Gem dependencies
22
- s.add_runtime_dependency('social_stream-base', '~> 0.24.0')
22
+ s.add_runtime_dependency('social_stream-base', '~> 1.0.0')
23
23
 
24
24
  s.add_runtime_dependency "xmpp4r"
25
25
 
@@ -11,12 +11,12 @@ Gem::Specification.new do |s|
11
11
  s.files = `git ls-files`.split("\n")
12
12
 
13
13
  # Gem dependencies
14
- s.add_runtime_dependency('social_stream-base', '~> 0.24.2')
15
- s.add_runtime_dependency('social_stream-documents', '~> 0.18.1')
16
- s.add_runtime_dependency('social_stream-events', '~> 0.16.2')
17
- s.add_runtime_dependency('social_stream-linkser', '~> 0.15.0')
18
- s.add_runtime_dependency('social_stream-presence', '~> 0.17.0')
19
- s.add_runtime_dependency('social_stream-ostatus', '~> 0.2.0')
14
+ s.add_runtime_dependency('social_stream-base', '~> 1.0.0')
15
+ s.add_runtime_dependency('social_stream-documents', '~> 1.0.0')
16
+ s.add_runtime_dependency('social_stream-events', '~> 1.0.0')
17
+ s.add_runtime_dependency('social_stream-linkser', '~> 1.0.0')
18
+ s.add_runtime_dependency('social_stream-presence', '~> 1.0.0')
19
+ s.add_runtime_dependency('social_stream-ostatus', '~> 1.0.0')
20
20
 
21
21
  # Development Gem dependencies
22
22
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.2
4
+ version: 1.0.1
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-12-20 00:00:00.000000000 Z
13
+ date: 2013-01-09 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.24.2
22
+ version: 1.0.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.24.2
30
+ version: 1.0.0
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: social_stream-documents
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.18.1
38
+ version: 1.0.0
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: 0.18.1
46
+ version: 1.0.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: social_stream-events
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.16.2
54
+ version: 1.0.0
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  requirements:
60
60
  - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: 0.16.2
62
+ version: 1.0.0
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: social_stream-linkser
65
65
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  requirements:
68
68
  - - ~>
69
69
  - !ruby/object:Gem::Version
70
- version: 0.15.0
70
+ version: 1.0.0
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -75,7 +75,7 @@ dependencies:
75
75
  requirements:
76
76
  - - ~>
77
77
  - !ruby/object:Gem::Version
78
- version: 0.15.0
78
+ version: 1.0.0
79
79
  - !ruby/object:Gem::Dependency
80
80
  name: social_stream-presence
81
81
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ dependencies:
83
83
  requirements:
84
84
  - - ~>
85
85
  - !ruby/object:Gem::Version
86
- version: 0.17.0
86
+ version: 1.0.0
87
87
  type: :runtime
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ dependencies:
91
91
  requirements:
92
92
  - - ~>
93
93
  - !ruby/object:Gem::Version
94
- version: 0.17.0
94
+ version: 1.0.0
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: social_stream-ostatus
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -99,7 +99,7 @@ dependencies:
99
99
  requirements:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: 0.2.0
102
+ version: 1.0.0
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
@@ -107,7 +107,7 @@ dependencies:
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: 0.2.0
110
+ version: 1.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: capybara
113
113
  requirement: !ruby/object:Gem::Requirement