social_engine 0.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 (68) hide show
  1. data/Gemfile +13 -0
  2. data/LICENSE.txt +20 -0
  3. data/README.md +340 -0
  4. data/VERSION +1 -0
  5. data/app/controllers/comments_controller.rb +13 -0
  6. data/app/controllers/favorites_controller.rb +21 -0
  7. data/app/controllers/ratings_controller.rb +15 -0
  8. data/app/controllers/reputation_actions_controller.rb +13 -0
  9. data/app/controllers/social_engine_controller.rb +32 -0
  10. data/app/controllers/votes_controller.rb +15 -0
  11. data/app/helpers/social_engine_helper.rb +82 -0
  12. data/app/models/comment.rb +10 -0
  13. data/app/models/favorite.rb +4 -0
  14. data/app/models/friending.rb +21 -0
  15. data/app/models/rating.rb +6 -0
  16. data/app/models/reputation.rb +24 -0
  17. data/app/models/reputation_action.rb +15 -0
  18. data/app/models/social_engine/commentable.rb +14 -0
  19. data/app/models/social_engine/favoriteable.rb +14 -0
  20. data/app/models/social_engine/friendable.rb +56 -0
  21. data/app/models/social_engine/helpers.rb +37 -0
  22. data/app/models/social_engine/rateable.rb +33 -0
  23. data/app/models/social_engine/reputatable.rb +14 -0
  24. data/app/models/social_engine/sociable.rb +17 -0
  25. data/app/models/social_engine/social_user.rb +16 -0
  26. data/app/models/social_engine/voteable.rb +28 -0
  27. data/app/models/vote.rb +13 -0
  28. data/app/views/comments/_comment.haml +11 -0
  29. data/app/views/comments/_form.haml +8 -0
  30. data/app/views/comments/_list.haml +4 -0
  31. data/app/views/comments/new.haml +1 -0
  32. data/app/views/common/_user_attributes.haml +6 -0
  33. data/app/views/favorites/_widget.haml +8 -0
  34. data/app/views/ratings/_form.haml +6 -0
  35. data/app/views/ratings/_rating.haml +3 -0
  36. data/app/views/ratings/new.haml +1 -0
  37. data/app/views/reputation_actions/_form.haml +5 -0
  38. data/app/views/reputation_actions/edit.haml +3 -0
  39. data/app/views/reputation_actions/index.haml +21 -0
  40. data/app/views/reputation_actions/new.haml +9 -0
  41. data/app/views/third_party/_fb_friend_box.html.erb +5 -0
  42. data/app/views/third_party/_fb_javascript_sdk.html.erb +13 -0
  43. data/app/views/third_party/_fb_og_tags.html.erb +10 -0
  44. data/app/views/third_party/_fblike.html.erb +3 -0
  45. data/app/views/third_party/_tweetme.html.erb +6 -0
  46. data/app/views/votes/_widget.haml +13 -0
  47. data/config/routes.rb +3 -0
  48. data/lib/generators/social_engine/install/USAGE +17 -0
  49. data/lib/generators/social_engine/install/install_generator.rb +34 -0
  50. data/lib/generators/social_engine/install/templates/create_comments_table.rb +23 -0
  51. data/lib/generators/social_engine/install/templates/create_favorites_table.rb +19 -0
  52. data/lib/generators/social_engine/install/templates/create_friendings_table.rb +20 -0
  53. data/lib/generators/social_engine/install/templates/create_ratings_table.rb +21 -0
  54. data/lib/generators/social_engine/install/templates/create_reputation_actions_table.rb +14 -0
  55. data/lib/generators/social_engine/install/templates/create_reputations_table.rb +19 -0
  56. data/lib/generators/social_engine/install/templates/create_votes_table.rb +21 -0
  57. data/lib/generators/social_engine/install/templates/formtastic.css +145 -0
  58. data/lib/generators/social_engine/install/templates/social_engine.css +26 -0
  59. data/lib/generators/social_engine/install/templates/social_engine_yetting.yml +89 -0
  60. data/lib/generators/social_engine/user_reputation/templates/add_reputation_to_users_table.rb +9 -0
  61. data/lib/generators/social_engine/user_reputation/user_reputation_generator.rb +22 -0
  62. data/lib/social_engine.rb +11 -0
  63. data/lib/social_engine/core_ext/array.rb +13 -0
  64. data/lib/social_engine/core_ext/hash.rb +26 -0
  65. data/lib/social_engine/engine.rb +44 -0
  66. data/lib/social_engine/railties/tasks.rake +0 -0
  67. data/social_engine.gemspec +126 -0
  68. metadata +211 -0
@@ -0,0 +1,26 @@
1
+ /** COMMENT CLASSES **/
2
+ .se-comment{}
3
+ .se-comment-body{}
4
+ .se-comment-info{}
5
+ .se-comment-posted-by{}
6
+ .se-comment-date{}
7
+ .se-comments-list{}
8
+
9
+ /** RATING CLASSES **/
10
+ .se-rating-form{}
11
+ .se-rating-value-text{}
12
+
13
+ /** VOTE CLASSES **/
14
+ .se-vote-widget{}
15
+ .se-vote-score{}
16
+ .se-vote-up{}
17
+ .se-vote-down{}
18
+
19
+ /** REPUTATION ACTION IDs **/
20
+ #se-reputation-action-form{}
21
+ #se-edit-reputation-action{}
22
+ #se-reputation-actions-list{}
23
+ #se-new-reputation-action-link{}
24
+ #se-new-reputation-action{}
25
+ #se-reputation-action-source-list{}
26
+
@@ -0,0 +1,89 @@
1
+ defaults: &defaults
2
+
3
+ # fingerprint_method protects the site from a single user voting or rating more than once
4
+ # Acceptable Values:
5
+ ## session_hash - uses rails session. can be bypassed by clearing cache
6
+ ## browser_header - uses http header info. can be bypassed by changing browsers, but also might return a false if 2 browsers pass the same header info
7
+ ## ip_address - based on user's ip address. User has to change computers or IP addresses to bypass. Returns false positives for people sharing an IP address (this is common)
8
+ ## ip_browser_header - uses IP plus the browser header. This may prevent some false positives caused by IP only fingerprint
9
+ ## none - do I have to tell you?
10
+ fingerprint_method: ip_address
11
+
12
+ reputation:
13
+ update_user_model: false
14
+ user_model_rep_field_name: reputation
15
+
16
+ confirm_friends: true
17
+
18
+ tweetme:
19
+ count: horizontal
20
+ div_class: se-tweetme
21
+
22
+ fb_like:
23
+ layout: standard
24
+ faces: true
25
+ width: 450
26
+ action: like
27
+ font: lucida grande
28
+ colorscheme: light
29
+ div_class: se-fblike
30
+
31
+ fb_og_tags:
32
+ title: Your Title Here
33
+ type: website
34
+ url: http://www.couponshack.com
35
+ image: http://www.couponshack.com/images/logo.png
36
+ site_name: CouponShack.com
37
+ admins: 1234567
38
+
39
+ fb_friend_box:
40
+ width: 250
41
+ stream: false
42
+ header: true
43
+ faces: true
44
+ fb_page_url: http://www.facebook.com/couponshack #EXAMPLE: CHANGE THIS TO YOUR PAGE!
45
+ div_class: se-fb-friend-box
46
+
47
+ fb_javascript_sdk:
48
+ app_id: 123456789
49
+
50
+ comment_form:
51
+ name:
52
+ label: Name
53
+ required: true
54
+ email:
55
+ label: Email
56
+ required: true
57
+ website:
58
+ label: Website
59
+ required: false
60
+ comment:
61
+ label: Comment
62
+ button_text: Add Comment
63
+
64
+ comment_list:
65
+ show_posted_by: true
66
+ date: "%m/%d/%Y at %H:%M"
67
+ order: "DESC"
68
+ display_limit: false
69
+
70
+ favorites_widget:
71
+ remove_text: "Remove from favorites"
72
+ add_text: "Add to favorites"
73
+
74
+ vote_widget:
75
+ upvote_text: Upvote
76
+ downvote_text: Downvote
77
+
78
+ rating_form:
79
+ max_value: 5
80
+ button_text: "Rate It"
81
+
82
+ development:
83
+ <<: *defaults
84
+
85
+ test:
86
+ <<: *defaults
87
+
88
+ production:
89
+ <<: *defaults
@@ -0,0 +1,9 @@
1
+ class AddReputationToUsersTable < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :users, :reputation, :integer
4
+ end
5
+
6
+ def self.down
7
+ remove_column :users, :reputation
8
+ end
9
+ end
@@ -0,0 +1,22 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/migration'
3
+
4
+ module SocialEngine
5
+ class UserReputationGenerator < Rails::Generators::Base
6
+ include Rails::Generators::Migration
7
+ source_root File.join(File.dirname(__FILE__), 'templates')
8
+
9
+ def self.next_migration_number(dirname)
10
+ sleep 1
11
+ if ActiveRecord::Base.timestamped_migrations
12
+ Time.now.utc.strftime("%Y%m%d%H%M%S")
13
+ else
14
+ "%.3d" % (current_migration_number(dirname) + 1)
15
+ end
16
+ end
17
+
18
+ def create_migration_file
19
+ migration_template 'add_reputation_to_users_table.rb', 'db/migrate/add_reputation_to_users_table.rb'
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,11 @@
1
+ SOCIAL_ENGINE_PATH = File.dirname(__FILE__) + "/social_engine"
2
+ require "#{SOCIAL_ENGINE_PATH}/core_ext/array.rb"
3
+ require "#{SOCIAL_ENGINE_PATH}/core_ext/hash.rb"
4
+ require "#{SOCIAL_ENGINE_PATH}/engine.rb"
5
+ require "inherited_resources"
6
+ require "haml"
7
+ require "formtastic"
8
+ require "yettings"
9
+
10
+ module SocialEngine
11
+ end
@@ -0,0 +1,13 @@
1
+ class Array
2
+ def to_options_hash
3
+ hash = {}
4
+ self.each do |element|
5
+ if element.is_a? Symbol
6
+ hash[element] = {}
7
+ elsif element.is_a? Hash
8
+ hash[element.keys[0]] = element.values[0]
9
+ end
10
+ end
11
+ hash
12
+ end
13
+ end
@@ -0,0 +1,26 @@
1
+ class Hash
2
+ def recursively_symbolize_keys!
3
+ self.symbolize_keys!
4
+ self.values.each do |v|
5
+ if v.is_a? Hash
6
+ v.recursively_symbolize_keys!
7
+ elsif v.is_a? Array
8
+ v.recursively_symbolize_keys!
9
+ end
10
+ end
11
+ self
12
+ end
13
+
14
+ def optional_reverse_merge!(defaults,required=[],symbolize=true)
15
+ defaults.recursively_symbolize_keys! if symbolize
16
+ return self.reverse_merge!(defaults) if self.blank?
17
+ defaults.each_pair do |k,v|
18
+ if self[k]
19
+ self[k].reverse_merge!(defaults[k])
20
+ else
21
+ self[k] = defaults[k] if required.include? k
22
+ end
23
+ end
24
+ return self
25
+ end
26
+ end
@@ -0,0 +1,44 @@
1
+ require "social_engine"
2
+ require "rails"
3
+
4
+ module SocialEngine
5
+ class Engine < Rails::Engine
6
+ initializer 'social_engine.ar_extensions', :before=>"action_controller.deprecated_routes" do |app|
7
+ ActiveRecord::Base.extend SocialEngine::Voteable
8
+ ActiveRecord::Base.extend SocialEngine::Commentable
9
+ ActiveRecord::Base.extend SocialEngine::Rateable
10
+ ActiveRecord::Base.extend SocialEngine::Favoriteable
11
+ ActiveRecord::Base.extend SocialEngine::Reputatable
12
+ ActiveRecord::Base.extend SocialEngine::Friendable
13
+ ActiveRecord::Base.extend SocialEngine::Sociable
14
+ ActiveRecord::Base.extend SocialEngine::SocialUser
15
+ end
16
+
17
+ initializer 'social_engine.controller' do |app|
18
+ ActiveSupport.on_load(:action_controller) do
19
+ include SocialEngineController
20
+ end
21
+ end
22
+
23
+ config.to_prepare do
24
+ ActionView::Base.send(:include, SocialEngineHelper)
25
+ SocialEngine::Engine.add_poly_belongs_to
26
+ end
27
+
28
+ #TODO:refactor
29
+ #add polymorhpic_belongs_to to inherited_resources controllers after detecting which models use 'able' functions
30
+ def self.add_poly_belongs_to
31
+ [CommentsController,RatingsController,VotesController,FavoritesController].each do |controller|
32
+ poly_belongs_tos = []
33
+ Dir.glob("#{Rails.root.to_s}/app/models/**/*.rb").each do |model_name|
34
+ #TODO: gotta be a better way to do this. REFACTOR!
35
+ model_name = model_name.split("/").last.gsub(".rb","")
36
+ klass = model_name.camelize.constantize rescue next
37
+ able_id = controller.to_s.gsub("sController","").gsub("ing","e").downcase+"able?"
38
+ poly_belongs_tos << model_name.to_sym if klass.instance_methods.include?(able_id.to_sym)
39
+ end
40
+ controller.class_eval("polymorphic_belongs_to :#{poly_belongs_tos.join(',:')}") unless poly_belongs_tos.blank?
41
+ end
42
+ end
43
+ end
44
+ end
File without changes
@@ -0,0 +1,126 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{social_engine}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = [%q{John McAliley}]
12
+ s.date = %q{2011-07-01}
13
+ s.description = %q{social_engine}
14
+ s.email = %q{john@couponshack.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "LICENSE.txt",
22
+ "VERSION",
23
+ "app/controllers/comments_controller.rb",
24
+ "app/controllers/favorites_controller.rb",
25
+ "app/controllers/ratings_controller.rb",
26
+ "app/controllers/reputation_actions_controller.rb",
27
+ "app/controllers/social_engine_controller.rb",
28
+ "app/controllers/votes_controller.rb",
29
+ "app/helpers/social_engine_helper.rb",
30
+ "app/models/comment.rb",
31
+ "app/models/favorite.rb",
32
+ "app/models/friending.rb",
33
+ "app/models/rating.rb",
34
+ "app/models/reputation.rb",
35
+ "app/models/reputation_action.rb",
36
+ "app/models/social_engine/commentable.rb",
37
+ "app/models/social_engine/favoriteable.rb",
38
+ "app/models/social_engine/friendable.rb",
39
+ "app/models/social_engine/helpers.rb",
40
+ "app/models/social_engine/rateable.rb",
41
+ "app/models/social_engine/reputatable.rb",
42
+ "app/models/social_engine/sociable.rb",
43
+ "app/models/social_engine/social_user.rb",
44
+ "app/models/social_engine/voteable.rb",
45
+ "app/models/vote.rb",
46
+ "app/views/comments/_comment.haml",
47
+ "app/views/comments/_form.haml",
48
+ "app/views/comments/_list.haml",
49
+ "app/views/comments/new.haml",
50
+ "app/views/common/_user_attributes.haml",
51
+ "app/views/favorites/_widget.haml",
52
+ "app/views/ratings/_form.haml",
53
+ "app/views/ratings/_rating.haml",
54
+ "app/views/ratings/new.haml",
55
+ "app/views/reputation_actions/_form.haml",
56
+ "app/views/reputation_actions/edit.haml",
57
+ "app/views/reputation_actions/index.haml",
58
+ "app/views/reputation_actions/new.haml",
59
+ "app/views/third_party/_fb_friend_box.html.erb",
60
+ "app/views/third_party/_fb_javascript_sdk.html.erb",
61
+ "app/views/third_party/_fb_og_tags.html.erb",
62
+ "app/views/third_party/_fblike.html.erb",
63
+ "app/views/third_party/_tweetme.html.erb",
64
+ "app/views/votes/_widget.haml",
65
+ "config/routes.rb",
66
+ "lib/generators/social_engine/install/USAGE",
67
+ "lib/generators/social_engine/install/install_generator.rb",
68
+ "lib/generators/social_engine/install/templates/create_comments_table.rb",
69
+ "lib/generators/social_engine/install/templates/create_favorites_table.rb",
70
+ "lib/generators/social_engine/install/templates/create_friendings_table.rb",
71
+ "lib/generators/social_engine/install/templates/create_ratings_table.rb",
72
+ "lib/generators/social_engine/install/templates/create_reputation_actions_table.rb",
73
+ "lib/generators/social_engine/install/templates/create_reputations_table.rb",
74
+ "lib/generators/social_engine/install/templates/create_votes_table.rb",
75
+ "lib/generators/social_engine/install/templates/formtastic.css",
76
+ "lib/generators/social_engine/install/templates/social_engine.css",
77
+ "lib/generators/social_engine/install/templates/social_engine_yetting.yml",
78
+ "lib/generators/social_engine/user_reputation/templates/add_reputation_to_users_table.rb",
79
+ "lib/generators/social_engine/user_reputation/user_reputation_generator.rb",
80
+ "lib/social_engine.rb",
81
+ "lib/social_engine/core_ext/array.rb",
82
+ "lib/social_engine/core_ext/hash.rb",
83
+ "lib/social_engine/engine.rb",
84
+ "lib/social_engine/railties/tasks.rake",
85
+ "social_engine.gemspec"
86
+ ]
87
+ s.homepage = %q{http://github.com/johnmcaliley/social_engine}
88
+ s.licenses = [%q{MIT}]
89
+ s.require_paths = [%q{lib}]
90
+ s.rubygems_version = %q{1.8.5}
91
+ s.summary = %q{social_engine}
92
+
93
+ if s.respond_to? :specification_version then
94
+ s.specification_version = 3
95
+
96
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
97
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
98
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
99
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
100
+ s.add_development_dependency(%q<rcov>, [">= 0"])
101
+ s.add_runtime_dependency(%q<yettings>, [">= 0"])
102
+ s.add_runtime_dependency(%q<inherited_resources>, [">= 0"])
103
+ s.add_runtime_dependency(%q<haml>, [">= 0"])
104
+ s.add_runtime_dependency(%q<formtastic>, [">= 0"])
105
+ else
106
+ s.add_dependency(%q<shoulda>, [">= 0"])
107
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
108
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
109
+ s.add_dependency(%q<rcov>, [">= 0"])
110
+ s.add_dependency(%q<yettings>, [">= 0"])
111
+ s.add_dependency(%q<inherited_resources>, [">= 0"])
112
+ s.add_dependency(%q<haml>, [">= 0"])
113
+ s.add_dependency(%q<formtastic>, [">= 0"])
114
+ end
115
+ else
116
+ s.add_dependency(%q<shoulda>, [">= 0"])
117
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
118
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
119
+ s.add_dependency(%q<rcov>, [">= 0"])
120
+ s.add_dependency(%q<yettings>, [">= 0"])
121
+ s.add_dependency(%q<inherited_resources>, [">= 0"])
122
+ s.add_dependency(%q<haml>, [">= 0"])
123
+ s.add_dependency(%q<formtastic>, [">= 0"])
124
+ end
125
+ end
126
+
metadata ADDED
@@ -0,0 +1,211 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: social_engine
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - John McAliley
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-07-01 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: shoulda
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: bundler
28
+ requirement: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ name: jeweler
39
+ requirement: &id003 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 1.5.1
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
49
+ name: rcov
50
+ requirement: &id004 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: "0"
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
60
+ name: yettings
61
+ requirement: &id005 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: "0"
67
+ type: :runtime
68
+ prerelease: false
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
71
+ name: inherited_resources
72
+ requirement: &id006 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: "0"
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
82
+ name: haml
83
+ requirement: &id007 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: *id007
92
+ - !ruby/object:Gem::Dependency
93
+ name: formtastic
94
+ requirement: &id008 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: "0"
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: *id008
103
+ description: social_engine
104
+ email: john@couponshack.com
105
+ executables: []
106
+
107
+ extensions: []
108
+
109
+ extra_rdoc_files:
110
+ - LICENSE.txt
111
+ - README.md
112
+ files:
113
+ - Gemfile
114
+ - LICENSE.txt
115
+ - VERSION
116
+ - app/controllers/comments_controller.rb
117
+ - app/controllers/favorites_controller.rb
118
+ - app/controllers/ratings_controller.rb
119
+ - app/controllers/reputation_actions_controller.rb
120
+ - app/controllers/social_engine_controller.rb
121
+ - app/controllers/votes_controller.rb
122
+ - app/helpers/social_engine_helper.rb
123
+ - app/models/comment.rb
124
+ - app/models/favorite.rb
125
+ - app/models/friending.rb
126
+ - app/models/rating.rb
127
+ - app/models/reputation.rb
128
+ - app/models/reputation_action.rb
129
+ - app/models/social_engine/commentable.rb
130
+ - app/models/social_engine/favoriteable.rb
131
+ - app/models/social_engine/friendable.rb
132
+ - app/models/social_engine/helpers.rb
133
+ - app/models/social_engine/rateable.rb
134
+ - app/models/social_engine/reputatable.rb
135
+ - app/models/social_engine/sociable.rb
136
+ - app/models/social_engine/social_user.rb
137
+ - app/models/social_engine/voteable.rb
138
+ - app/models/vote.rb
139
+ - app/views/comments/_comment.haml
140
+ - app/views/comments/_form.haml
141
+ - app/views/comments/_list.haml
142
+ - app/views/comments/new.haml
143
+ - app/views/common/_user_attributes.haml
144
+ - app/views/favorites/_widget.haml
145
+ - app/views/ratings/_form.haml
146
+ - app/views/ratings/_rating.haml
147
+ - app/views/ratings/new.haml
148
+ - app/views/reputation_actions/_form.haml
149
+ - app/views/reputation_actions/edit.haml
150
+ - app/views/reputation_actions/index.haml
151
+ - app/views/reputation_actions/new.haml
152
+ - app/views/third_party/_fb_friend_box.html.erb
153
+ - app/views/third_party/_fb_javascript_sdk.html.erb
154
+ - app/views/third_party/_fb_og_tags.html.erb
155
+ - app/views/third_party/_fblike.html.erb
156
+ - app/views/third_party/_tweetme.html.erb
157
+ - app/views/votes/_widget.haml
158
+ - config/routes.rb
159
+ - lib/generators/social_engine/install/USAGE
160
+ - lib/generators/social_engine/install/install_generator.rb
161
+ - lib/generators/social_engine/install/templates/create_comments_table.rb
162
+ - lib/generators/social_engine/install/templates/create_favorites_table.rb
163
+ - lib/generators/social_engine/install/templates/create_friendings_table.rb
164
+ - lib/generators/social_engine/install/templates/create_ratings_table.rb
165
+ - lib/generators/social_engine/install/templates/create_reputation_actions_table.rb
166
+ - lib/generators/social_engine/install/templates/create_reputations_table.rb
167
+ - lib/generators/social_engine/install/templates/create_votes_table.rb
168
+ - lib/generators/social_engine/install/templates/formtastic.css
169
+ - lib/generators/social_engine/install/templates/social_engine.css
170
+ - lib/generators/social_engine/install/templates/social_engine_yetting.yml
171
+ - lib/generators/social_engine/user_reputation/templates/add_reputation_to_users_table.rb
172
+ - lib/generators/social_engine/user_reputation/user_reputation_generator.rb
173
+ - lib/social_engine.rb
174
+ - lib/social_engine/core_ext/array.rb
175
+ - lib/social_engine/core_ext/hash.rb
176
+ - lib/social_engine/engine.rb
177
+ - lib/social_engine/railties/tasks.rake
178
+ - social_engine.gemspec
179
+ - README.md
180
+ homepage: http://github.com/johnmcaliley/social_engine
181
+ licenses:
182
+ - MIT
183
+ post_install_message:
184
+ rdoc_options: []
185
+
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ none: false
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ hash: 3005016145308655048
194
+ segments:
195
+ - 0
196
+ version: "0"
197
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
+ none: false
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: "0"
203
+ requirements: []
204
+
205
+ rubyforge_project:
206
+ rubygems_version: 1.8.5
207
+ signing_key:
208
+ specification_version: 3
209
+ summary: social_engine
210
+ test_files: []
211
+