sharp_social 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.gitignore +18 -0
  2. data/.rspec +1 -0
  3. data/.travis.yml +7 -0
  4. data/Gemfile +10 -0
  5. data/Gemfile.lock +136 -0
  6. data/Guardfile +27 -0
  7. data/LICENSE.txt +22 -0
  8. data/MIT-LICENSE +20 -0
  9. data/README.md +64 -0
  10. data/Rakefile +38 -0
  11. data/lib/generators/sharp_social/USAGE +8 -0
  12. data/lib/generators/sharp_social/sharp_social_generator.rb +14 -0
  13. data/lib/generators/sharp_social/templates/activity.rb +2 -0
  14. data/lib/generators/sharp_social/templates/follow.rb +10 -0
  15. data/lib/generators/sharp_social/templates/migration.rb +28 -0
  16. data/lib/sharp_social/acts_as_methods.rb +14 -0
  17. data/lib/sharp_social/mixins/actor.rb +87 -0
  18. data/lib/sharp_social/models/activity.rb +8 -0
  19. data/lib/sharp_social/models/follow.rb +7 -0
  20. data/lib/sharp_social/railtie.rb +9 -0
  21. data/lib/sharp_social/version.rb +3 -0
  22. data/lib/sharp_social.rb +12 -0
  23. data/lib/tasks/sharp_social_tasks.rake +4 -0
  24. data/script/rails +8 -0
  25. data/sharp_social.gemspec +26 -0
  26. data/spec/dummy/README.rdoc +261 -0
  27. data/spec/dummy/Rakefile +7 -0
  28. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  29. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  30. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  31. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  32. data/spec/dummy/app/mailers/.gitkeep +0 -0
  33. data/spec/dummy/app/models/activity.rb +3 -0
  34. data/spec/dummy/app/models/follow.rb +10 -0
  35. data/spec/dummy/app/models/user.rb +5 -0
  36. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  37. data/spec/dummy/config/application.rb +65 -0
  38. data/spec/dummy/config/boot.rb +10 -0
  39. data/spec/dummy/config/database.yml +25 -0
  40. data/spec/dummy/config/environment.rb +5 -0
  41. data/spec/dummy/config/environments/development.rb +37 -0
  42. data/spec/dummy/config/environments/production.rb +67 -0
  43. data/spec/dummy/config/environments/test.rb +37 -0
  44. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/spec/dummy/config/initializers/inflections.rb +15 -0
  46. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  47. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  48. data/spec/dummy/config/initializers/session_store.rb +8 -0
  49. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/spec/dummy/config/locales/en.yml +5 -0
  51. data/spec/dummy/config/routes.rb +58 -0
  52. data/spec/dummy/config.ru +4 -0
  53. data/spec/dummy/db/migrate/20130416061349_create_posts.rb +10 -0
  54. data/spec/dummy/db/migrate/20130416061831_create_users.rb +8 -0
  55. data/spec/dummy/db/migrate/20130423080539_create_sharp_social.rb +28 -0
  56. data/spec/dummy/db/schema.rb +53 -0
  57. data/spec/dummy/db/test.sqlite3 +0 -0
  58. data/spec/dummy/lib/assets/.gitkeep +0 -0
  59. data/spec/dummy/log/.gitkeep +0 -0
  60. data/spec/dummy/public/404.html +26 -0
  61. data/spec/dummy/public/422.html +26 -0
  62. data/spec/dummy/public/500.html +25 -0
  63. data/spec/dummy/public/favicon.ico +0 -0
  64. data/spec/dummy/script/rails +6 -0
  65. data/spec/factories.rb +6 -0
  66. data/spec/spec_helper.rb +41 -0
  67. data/spec/test_actor_spec.rb +84 -0
  68. data/spec/test_generator_spec.rb +20 -0
  69. metadata +224 -0
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,58 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation:
3
+ # first created -> highest priority.
4
+
5
+ # Sample of regular route:
6
+ # match 'products/:id' => 'catalog#view'
7
+ # Keep in mind you can assign values other than :controller and :action
8
+
9
+ # Sample of named route:
10
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
+ # This route can be invoked with purchase_url(:id => product.id)
12
+
13
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # resources :products
15
+
16
+ # Sample resource route with options:
17
+ # resources :products do
18
+ # member do
19
+ # get 'short'
20
+ # post 'toggle'
21
+ # end
22
+ #
23
+ # collection do
24
+ # get 'sold'
25
+ # end
26
+ # end
27
+
28
+ # Sample resource route with sub-resources:
29
+ # resources :products do
30
+ # resources :comments, :sales
31
+ # resource :seller
32
+ # end
33
+
34
+ # Sample resource route with more complex sub-resources
35
+ # resources :products do
36
+ # resources :comments
37
+ # resources :sales do
38
+ # get 'recent', :on => :collection
39
+ # end
40
+ # end
41
+
42
+ # Sample resource route within a namespace:
43
+ # namespace :admin do
44
+ # # Directs /admin/products/* to Admin::ProductsController
45
+ # # (app/controllers/admin/products_controller.rb)
46
+ # resources :products
47
+ # end
48
+
49
+ # You can have the root of your site routed with "root"
50
+ # just remember to delete public/index.html.
51
+ # root :to => 'welcome#index'
52
+
53
+ # See how all your routes lay out with "rake routes"
54
+
55
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
56
+ # Note: This route will make all actions in every controller accessible via GET requests.
57
+ # match ':controller(/:action(/:id))(.:format)'
58
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,10 @@
1
+ class CreatePosts < ActiveRecord::Migration
2
+ def change
3
+ create_table :posts do |t|
4
+ t.string :title
5
+ t.text :body
6
+ t.integer :user_id
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users do |t|
4
+ t.string :name
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,28 @@
1
+ # Migration responsible for creating a table with activities
2
+ class CreateSharpSocial < ActiveRecord::Migration
3
+ # Create table
4
+ def self.up
5
+ create_table :activities do |t|
6
+ t.references :actor, :polymorphic => true, :null => false
7
+ t.text :content
8
+ t.timestamps
9
+ end
10
+
11
+ add_index :activities, [:actor_id, :actor_type]
12
+
13
+ create_table :follows, :force => true do |t|
14
+ t.references :actor, :polymorphic => true, :null => false
15
+ t.references :follower, :polymorphic => true, :null => false
16
+ t.boolean :blocked, :default => false, :null => false
17
+ t.timestamps
18
+ end
19
+
20
+ add_index :follows, ["actor_id", "actor_type"]
21
+ add_index :follows, ["follower_id", "follower_type"]
22
+ end
23
+ # Drop table
24
+ def self.down
25
+ drop_table :activities
26
+
27
+ end
28
+ end
@@ -0,0 +1,53 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20130423080539) do
15
+
16
+ create_table "activities", :force => true do |t|
17
+ t.integer "actor_id", :null => false
18
+ t.string "actor_type", :null => false
19
+ t.text "content"
20
+ t.datetime "created_at", :null => false
21
+ t.datetime "updated_at", :null => false
22
+ end
23
+
24
+ add_index "activities", ["actor_id", "actor_type"], :name => "index_activities_on_actor_id_and_actor_type"
25
+
26
+ create_table "follows", :force => true do |t|
27
+ t.integer "actor_id", :null => false
28
+ t.string "actor_type", :null => false
29
+ t.integer "follower_id", :null => false
30
+ t.string "follower_type", :null => false
31
+ t.boolean "blocked", :default => false, :null => false
32
+ t.datetime "created_at", :null => false
33
+ t.datetime "updated_at", :null => false
34
+ end
35
+
36
+ add_index "follows", ["actor_id", "actor_type"], :name => "index_follows_on_actor_id_and_actor_type"
37
+ add_index "follows", ["follower_id", "follower_type"], :name => "index_follows_on_follower_id_and_follower_type"
38
+
39
+ create_table "posts", :force => true do |t|
40
+ t.string "title"
41
+ t.text "body"
42
+ t.integer "user_id"
43
+ t.datetime "created_at", :null => false
44
+ t.datetime "updated_at", :null => false
45
+ end
46
+
47
+ create_table "users", :force => true do |t|
48
+ t.string "name"
49
+ t.datetime "created_at", :null => false
50
+ t.datetime "updated_at", :null => false
51
+ end
52
+
53
+ end
Binary file
File without changes
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
data/spec/factories.rb ADDED
@@ -0,0 +1,6 @@
1
+ # This will guess the User class
2
+ FactoryGirl.define do
3
+ factory :user do
4
+ name { generate(:random_string) }
5
+ end
6
+ end
@@ -0,0 +1,41 @@
1
+ require 'rubygems'
2
+
3
+
4
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
5
+ ENV["RAILS_ENV"] ||= 'test'
6
+ require File.expand_path("../dummy/config/environment", __FILE__)
7
+ require 'rspec/rails'
8
+ require 'rspec/autorun'
9
+
10
+ # Requires supporting ruby files with custom matchers and macros, etc,
11
+ # in spec/support/ and its subdirectories.
12
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
13
+
14
+ RSpec.configure do |config|
15
+ # ## Mock Framework
16
+ #
17
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
18
+ #
19
+ # config.mock_with :mocha
20
+ # config.mock_with :flexmock
21
+ # config.mock_with :rr
22
+
23
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
24
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
25
+
26
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
27
+ # examples within a transaction, remove the following line or assign false
28
+ # instead of true.
29
+ config.use_transactional_fixtures = true
30
+
31
+ # If true, the base class of anonymous controllers will be inferred
32
+ # automatically. This will be the default behavior in future versions of
33
+ # rspec-rails.
34
+ config.infer_base_class_for_anonymous_controllers = false
35
+
36
+ # Run specs in random order to surface order dependencies. If you find an
37
+ # order dependency and want to debug it, you can fix the order by providing
38
+ # the seed, which is printed after each run.
39
+ # --seed 1234
40
+ config.order = "random"
41
+ end
@@ -0,0 +1,84 @@
1
+ require 'spec_helper'
2
+ require 'factory_girl'
3
+ require 'factories'
4
+
5
+ describe SharpSocial::Mixins::Actor do
6
+ before(:each) do
7
+ #SharpSocial::Actor.destroy_all
8
+ User.delete_all
9
+ Activity.delete_all
10
+ @user1 = FactoryGirl.create(:user, name: "user one")
11
+ @user2 = FactoryGirl.create(:user, name: "user two")
12
+ @user3 = FactoryGirl.create(:user, name: "user three")
13
+ end
14
+
15
+ it "can follow others" do
16
+ expect(@user1.is_following @user2).to be_false
17
+ expect(@user1.is_following? @user3).to be_false
18
+
19
+ @user1.follow @user2
20
+
21
+ expect(@user1.is_following? @user2).to be_true
22
+
23
+ @user1.follow! @user3
24
+ expect(@user1.is_following @user3).to be_true
25
+ end
26
+
27
+ it "can unfollow others" do
28
+ @user1.follow @user2
29
+ expect(@user1.is_following? @user2).to be_true
30
+
31
+ @user1.unfollow @user2
32
+
33
+ expect(@user1.is_following? @user2).to be_false
34
+
35
+ @user1.unfollow! @user3
36
+ expect(@user1.is_following @user3).to be_false
37
+ end
38
+
39
+
40
+ it "can be followed by others" do
41
+ @user1.follow! @user2
42
+ expect(@user2.is_followed? @user1).to be_true
43
+ expect(@user1.is_following? @user2).to be_true
44
+ @user2.follow @user3
45
+ expect(@user2.is_following @user3).to be_true
46
+ expect(@user3.is_followed @user2).to be_true
47
+ end
48
+
49
+ it "will be friends when users follow each other" do
50
+ @user1.follow! @user2
51
+ @user2.follow @user1
52
+ expect(@user1.is_friend? @user2).to be_true
53
+ expect(@user2.is_friend @user1).to be_true
54
+ end
55
+
56
+ it "should follow others once" do
57
+ @user1.follow! @user2
58
+ @user1.follow! @user2
59
+ expect(@user1.followings_count == 1).to be true
60
+ expect(@user2.followers_count == 1).to be true
61
+ end
62
+
63
+
64
+ it "can create some activities" do
65
+ @user1.create_activity title: "post title", body: "post body"
66
+ @user2.create_activity! title: "post title", body: "post body"
67
+ expect(@user1.activities.count).to be > 0
68
+ expect(@user2.activities.count).to eq 1
69
+ expect(@user3.activities.count).to eq 0
70
+ end
71
+
72
+
73
+ it "can see activities of followings" do
74
+ @user3.follow! @user2
75
+ @user3.follow! @user1
76
+ @user1.create_activity title: "post title", body: "post body"
77
+ @user2.create_activity! title: "post title", body: "post body"
78
+ expect(@user3.followings_activities.count).to eq 2
79
+ @user3.followings_activities.each do |activity|
80
+ expect(activity.content[:title.to_s]).to include("title")
81
+ expect(activity.content[:body.to_s]).to include("body")
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+ require "generator_spec/test_case"
3
+ require File.expand_path('../../lib/generators/sharp_social/sharp_social_generator', __FILE__)
4
+
5
+ describe SharpSocialGenerator do
6
+ include GeneratorSpec::TestCase
7
+ #destination File.expand_path("../dummy/app/models/", __FILE__)
8
+ destination File.expand_path("../tmp", __FILE__)
9
+ #arguments %w(something)
10
+ arguments %w(sharp_social --skip-active-record)
11
+ before(:all) do
12
+ prepare_destination
13
+ run_generator
14
+ end
15
+
16
+ it "creates a actor model" do
17
+ assert_file "../tmp/app/models/activity.rb", /Activity/
18
+ assert_file "../tmp/app/models/follow.rb", /Follow/
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,224 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sharp_social
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - sharp
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sqlite3
16
+ requirement: &70139116214920 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70139116214920
25
+ - !ruby/object:Gem::Dependency
26
+ name: factory_girl
27
+ requirement: &70139116214420 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 4.2.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70139116214420
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70139116214000 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70139116214000
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec-rails
49
+ requirement: &70139116213540 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70139116213540
58
+ - !ruby/object:Gem::Dependency
59
+ name: generator_spec
60
+ requirement: &70139116213120 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70139116213120
69
+ - !ruby/object:Gem::Dependency
70
+ name: shoulda
71
+ requirement: &70139116212700 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70139116212700
80
+ description: Social engine backed by Riak
81
+ email:
82
+ - liu19850701@gmail.com
83
+ executables: []
84
+ extensions: []
85
+ extra_rdoc_files: []
86
+ files:
87
+ - .gitignore
88
+ - .rspec
89
+ - .travis.yml
90
+ - Gemfile
91
+ - Gemfile.lock
92
+ - Guardfile
93
+ - LICENSE.txt
94
+ - MIT-LICENSE
95
+ - README.md
96
+ - Rakefile
97
+ - lib/generators/sharp_social/USAGE
98
+ - lib/generators/sharp_social/sharp_social_generator.rb
99
+ - lib/generators/sharp_social/templates/activity.rb
100
+ - lib/generators/sharp_social/templates/follow.rb
101
+ - lib/generators/sharp_social/templates/migration.rb
102
+ - lib/sharp_social.rb
103
+ - lib/sharp_social/acts_as_methods.rb
104
+ - lib/sharp_social/mixins/actor.rb
105
+ - lib/sharp_social/models/activity.rb
106
+ - lib/sharp_social/models/follow.rb
107
+ - lib/sharp_social/railtie.rb
108
+ - lib/sharp_social/version.rb
109
+ - lib/tasks/sharp_social_tasks.rake
110
+ - script/rails
111
+ - sharp_social.gemspec
112
+ - spec/dummy/README.rdoc
113
+ - spec/dummy/Rakefile
114
+ - spec/dummy/app/assets/javascripts/application.js
115
+ - spec/dummy/app/assets/stylesheets/application.css
116
+ - spec/dummy/app/controllers/application_controller.rb
117
+ - spec/dummy/app/helpers/application_helper.rb
118
+ - spec/dummy/app/mailers/.gitkeep
119
+ - spec/dummy/app/models/activity.rb
120
+ - spec/dummy/app/models/follow.rb
121
+ - spec/dummy/app/models/user.rb
122
+ - spec/dummy/app/views/layouts/application.html.erb
123
+ - spec/dummy/config.ru
124
+ - spec/dummy/config/application.rb
125
+ - spec/dummy/config/boot.rb
126
+ - spec/dummy/config/database.yml
127
+ - spec/dummy/config/environment.rb
128
+ - spec/dummy/config/environments/development.rb
129
+ - spec/dummy/config/environments/production.rb
130
+ - spec/dummy/config/environments/test.rb
131
+ - spec/dummy/config/initializers/backtrace_silencers.rb
132
+ - spec/dummy/config/initializers/inflections.rb
133
+ - spec/dummy/config/initializers/mime_types.rb
134
+ - spec/dummy/config/initializers/secret_token.rb
135
+ - spec/dummy/config/initializers/session_store.rb
136
+ - spec/dummy/config/initializers/wrap_parameters.rb
137
+ - spec/dummy/config/locales/en.yml
138
+ - spec/dummy/config/routes.rb
139
+ - spec/dummy/db/migrate/20130416061349_create_posts.rb
140
+ - spec/dummy/db/migrate/20130416061831_create_users.rb
141
+ - spec/dummy/db/migrate/20130423080539_create_sharp_social.rb
142
+ - spec/dummy/db/schema.rb
143
+ - spec/dummy/db/test.sqlite3
144
+ - spec/dummy/lib/assets/.gitkeep
145
+ - spec/dummy/log/.gitkeep
146
+ - spec/dummy/public/404.html
147
+ - spec/dummy/public/422.html
148
+ - spec/dummy/public/500.html
149
+ - spec/dummy/public/favicon.ico
150
+ - spec/dummy/script/rails
151
+ - spec/factories.rb
152
+ - spec/spec_helper.rb
153
+ - spec/test_actor_spec.rb
154
+ - spec/test_generator_spec.rb
155
+ homepage: https://github.com/SharpV/sharp_social
156
+ licenses: []
157
+ post_install_message:
158
+ rdoc_options: []
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ none: false
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubyforge_project:
175
+ rubygems_version: 1.8.15
176
+ signing_key:
177
+ specification_version: 3
178
+ summary: Social engine backed by Riak, make your actors can follow, like, mention
179
+ and have activities
180
+ test_files:
181
+ - spec/dummy/README.rdoc
182
+ - spec/dummy/Rakefile
183
+ - spec/dummy/app/assets/javascripts/application.js
184
+ - spec/dummy/app/assets/stylesheets/application.css
185
+ - spec/dummy/app/controllers/application_controller.rb
186
+ - spec/dummy/app/helpers/application_helper.rb
187
+ - spec/dummy/app/mailers/.gitkeep
188
+ - spec/dummy/app/models/activity.rb
189
+ - spec/dummy/app/models/follow.rb
190
+ - spec/dummy/app/models/user.rb
191
+ - spec/dummy/app/views/layouts/application.html.erb
192
+ - spec/dummy/config.ru
193
+ - spec/dummy/config/application.rb
194
+ - spec/dummy/config/boot.rb
195
+ - spec/dummy/config/database.yml
196
+ - spec/dummy/config/environment.rb
197
+ - spec/dummy/config/environments/development.rb
198
+ - spec/dummy/config/environments/production.rb
199
+ - spec/dummy/config/environments/test.rb
200
+ - spec/dummy/config/initializers/backtrace_silencers.rb
201
+ - spec/dummy/config/initializers/inflections.rb
202
+ - spec/dummy/config/initializers/mime_types.rb
203
+ - spec/dummy/config/initializers/secret_token.rb
204
+ - spec/dummy/config/initializers/session_store.rb
205
+ - spec/dummy/config/initializers/wrap_parameters.rb
206
+ - spec/dummy/config/locales/en.yml
207
+ - spec/dummy/config/routes.rb
208
+ - spec/dummy/db/migrate/20130416061349_create_posts.rb
209
+ - spec/dummy/db/migrate/20130416061831_create_users.rb
210
+ - spec/dummy/db/migrate/20130423080539_create_sharp_social.rb
211
+ - spec/dummy/db/schema.rb
212
+ - spec/dummy/db/test.sqlite3
213
+ - spec/dummy/lib/assets/.gitkeep
214
+ - spec/dummy/log/.gitkeep
215
+ - spec/dummy/public/404.html
216
+ - spec/dummy/public/422.html
217
+ - spec/dummy/public/500.html
218
+ - spec/dummy/public/favicon.ico
219
+ - spec/dummy/script/rails
220
+ - spec/factories.rb
221
+ - spec/spec_helper.rb
222
+ - spec/test_actor_spec.rb
223
+ - spec/test_generator_spec.rb
224
+ has_rdoc: