Permalink
Browse files

Adds gemspec

Signed-off-by: Pritesh <pritesh@phatforge.com>
  • Loading branch information...
1 parent 755ee8b commit 319d2e46f3776a77206d380b3705ab47c888360e @rsturim rsturim committed with Jan 7, 2009
Showing with 40 additions and 6 deletions.
  1. +39 −0 acts-as-rated.gemspec
  2. +1 −0 rails/init.rb
  3. +0 −6 test/database.yml
View
@@ -0,0 +1,39 @@
+Gem::Specification.new do |s|
+ s.name = "acts-as-rated"
+ s.version = "0.4"
+ s.date = "2009-01-07"
+ s.summary = "Rails plugin rating system for ActiveRecord models."
+ s.email = "guy.naor@famundo.com"
+ s.homepage = "git://github.com/sherpa99/acts-as-rated.git"
+ s.description = "Flexible, configurable, and easy to use with the defaults. Supports 3 different ways to manage rating statistics."
+ s.has_rdoc = false
+ s.authors = "Guy Noar"
+ s.files = [
+ "acts-as-rated.gemspec",
+ "init.rb",
+ "lib/acts_as_rated.rb",
+ "MIT-LICENSE",
+ "Rakefile",
+ "README"
+ ]
+ s.test_files = [
+ "test/database.yml",
+ "test/abstract_unit.rb",
+ "test/dummy_classes.rb",
+ "test/migration_test.rb",
+ "test/rated_test.rb",
+ "test/schema.rb",
+ "test/fixtures/books.yml",
+ "test/fixtures/cars.yml",
+ "test/fixtures/movies.yml",
+ "test/fixtures/my_statistics.yml",
+ "test/fixtures/my_stats_ratings.yml",
+ "test/fixtures/no_rater_ratings.yml",
+ "test/fixtures/rating_statistics.yml",
+ "test/fixtures/ratings.yml",
+ "test/fixtures/stats_ratings.yml",
+ "test/fixtures/users.yml",
+ "test/fixtures/videos.yml",
+ "test/fixtures/migrations/001_add_rating_tables.rb"
+ ]
+end
View
@@ -0,0 +1 @@
+require File.join(File.dirname(__FILE__), '..', 'init')
View
@@ -1,18 +1,12 @@
sqlite:
adapter: sqlite
dbfile: acts_as_rated_plugin.sqlite.db
-
sqlite3:
adapter: sqlite3
dbfile: acts_as_rated_plugin.sqlite3.db
-
mysql:
adapter: mysql
- host: localhost
- username: rails
- password:
database: acts_as_rated_plugin_test
-
postgresql:
adapter: postgresql
username: postgres

0 comments on commit 319d2e4

Please sign in to comment.