social_stream-base 0.7.11 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/app/assets/javascripts/ties.js +67 -0
- data/app/assets/stylesheets/activities.css +1 -1
- data/app/assets/stylesheets/base.css +3 -2
- data/app/assets/stylesheets/ties.css +10 -0
- data/app/controllers/ties_controller.rb +8 -0
- data/app/helpers/subjects_helper.rb +5 -5
- data/app/models/actor.rb +21 -0
- data/app/views/ties/index.html.erb +8 -0
- data/config/locales/en.yml +1 -1
- data/config/routes.rb +1 -0
- data/lib/mailboxer/notification_decoder.rb +8 -8
- data/lib/social_stream/base/version.rb +1 -1
- data/lib/social_stream/controllers/helpers.rb +4 -6
- data/lib/social_stream/d3.rb +53 -0
- data/lib/social_stream/toolbar_config.rb +1 -0
- data/lib/social_stream-base.rb +9 -3
- data/lib/tasks/db/populate.rake +60 -54
- data/social_stream-base.gemspec +10 -11
- data/spec/dummy/app/assets/javascripts/application.js +8 -0
- data/spec/dummy/app/assets/stylesheets/application.css +8 -0
- data/spec/dummy/db/schema.rb +2 -9
- data/vendor/assets/javascripts/d3.geom.js +825 -0
- data/vendor/assets/javascripts/d3.js +4013 -0
- data/vendor/assets/javascripts/d3.layout.js +1865 -0
- data/vendor/assets/stylesheets/jquery-ui.css +1 -1
- metadata +84 -90
data/social_stream-base.gemspec
CHANGED
@@ -4,22 +4,24 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = "social_stream-base"
|
5
5
|
s.version = SocialStream::Base::VERSION.dup
|
6
6
|
s.summary = "Basic features for Social Stream, the core for building social network websites"
|
7
|
-
s.description = "Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.\n\nThis gem packages the basic functionality, along with basic actors (user, group) and activity objects(post and comments)"
|
7
|
+
s.description = "Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.\n\nThis gem packages the basic functionality, along with basic actors (user, group) and activity objects (post and comments)"
|
8
8
|
s.authors = [ "GING - DIT - UPM",
|
9
9
|
"CISE - ESPOL" ]
|
10
10
|
s.homepage = "http://social-stream.dit.upm.es/"
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
|
13
|
-
#
|
13
|
+
# Runtime gem dependencies
|
14
14
|
#
|
15
|
+
# Rails
|
16
|
+
s.add_runtime_dependency('rails', '>= 3.1.0')
|
15
17
|
# Activity and Relation hierarchies
|
16
18
|
s.add_runtime_dependency('ancestry', '~> 1.2.3')
|
17
19
|
# SQL foreign keys
|
18
20
|
s.add_runtime_dependency('foreigner', '~> 0.9.1')
|
19
21
|
# Authentication
|
20
|
-
s.add_runtime_dependency('devise', '~> 1.3
|
22
|
+
s.add_runtime_dependency('devise', '~> 1.4.3')
|
21
23
|
# CRUD controllers
|
22
|
-
s.add_runtime_dependency('inherited_resources', '~> 1.
|
24
|
+
s.add_runtime_dependency('inherited_resources', '~> 1.3.0')
|
23
25
|
# Slug generation
|
24
26
|
s.add_runtime_dependency('stringex', '~> 1.2.0')
|
25
27
|
# Avatar attachments
|
@@ -36,22 +38,19 @@ Gem::Specification.new do |s|
|
|
36
38
|
s.add_runtime_dependency('oauth-plugin','~> 0.4.0.pre1')
|
37
39
|
# Messages
|
38
40
|
s.add_runtime_dependency('mailboxer','~> 0.5.0')
|
39
|
-
# Avatar manipulation
|
40
|
-
s.add_runtime_dependency('rmagick','~> 2.13.1')
|
41
41
|
# Tagging
|
42
42
|
s.add_runtime_dependency('acts-as-taggable-on','~> 2.0.6')
|
43
43
|
# HTML Forms
|
44
44
|
s.add_runtime_dependency('formtastic','~> 1.2.3')
|
45
45
|
# Simple navigation for menu
|
46
46
|
s.add_runtime_dependency('simple-navigation')
|
47
|
-
#
|
47
|
+
# Background jobs
|
48
48
|
s.add_runtime_dependency('resque','~> 1.17.1')
|
49
49
|
# Modernizr.js javascript library
|
50
50
|
s.add_runtime_dependency('modernizr-rails', '~> 2.0.6')
|
51
|
-
|
52
|
-
s.add_runtime_dependency('rails', '3.1.0.rc5')
|
53
51
|
|
54
|
-
# Development
|
52
|
+
# Development gem dependencies
|
53
|
+
#
|
55
54
|
# Integration testing
|
56
55
|
s.add_development_dependency('capybara', '~> 0.3.9')
|
57
56
|
# Testing database
|
@@ -67,7 +66,7 @@ Gem::Specification.new do |s|
|
|
67
66
|
# Fixtures
|
68
67
|
s.add_development_dependency('factory_girl', '~> 1.3.2')
|
69
68
|
# Population
|
70
|
-
s.add_development_dependency('forgery', '~> 0.
|
69
|
+
s.add_development_dependency('forgery', '~> 0.4.2')
|
71
70
|
# Continous integration
|
72
71
|
s.add_development_dependency('ci_reporter', '~> 1.6.4')
|
73
72
|
# Scaffold generator
|
@@ -0,0 +1,8 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
+
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
+
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
+
// the compiled file.
|
6
|
+
//
|
7
|
+
//= require social_stream-base
|
8
|
+
//= require_tree .
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*= require_self
|
6
|
+
*= require social_stream-base
|
7
|
+
*= require_tree .
|
8
|
+
*/
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -1,12 +1,5 @@
|
|
1
|
-
require
|
1
|
+
require 'social_stream/migrations/base'
|
2
2
|
|
3
3
|
ActiveRecord::Schema.define(:version => 0) do
|
4
|
-
|
5
|
-
mailboxer_path = Gem::GemPathSearcher.new.find('mailboxer').full_gem_path
|
6
|
-
mailboxer_migration = File.join([mailboxer_path,'db', 'migrate'])
|
7
|
-
ActiveRecord::Migrator.migrate mailboxer_migration
|
8
|
-
#SocialStream
|
9
|
-
CreateSocialStream.up
|
10
|
-
#ActAsTaggable
|
11
|
-
ActsAsTaggableOnMigration.up
|
4
|
+
SocialStream::Migrations::Base.new.up
|
12
5
|
end
|