Permalink
Browse files

fix tests for 2.3.14, add dependencies

  • Loading branch information...
1 parent 5d253e9 commit 736543cf1954a444f5e66e7559cc0b940a3d13d6 Reinier de Lange committed Apr 19, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −0 Rakefile
  2. +2 −2 lib/setting.rb
  3. +1 −1 test/helper.rb
View
@@ -10,6 +10,9 @@ begin
gem.email = "r.j.delange@nedforce.nl"
gem.homepage = "http://github.com/moiristo/settler"
gem.authors = ["Reinier de Lange"]
+ gem.test_files = Dir["test/**/*"]
+ gem.add_development_dependency 'sqlite3'
+ gem.add_dependency 'rails'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
View
@@ -79,8 +79,8 @@ def destroy
end
# Overrides the delete methods to ensure the default scope is not passed in the query
- def delete; Setting.without_default_scope{ super } end
- def self.delete_all; Setting.without_default_scope{ super } end
+ def delete *args; Setting.without_default_scope{ super } end
+ def self.delete_all *args; Setting.without_default_scope{ super } end
# Resets this setting to the default stored in the settler configuration
def reset!
View
@@ -1,5 +1,5 @@
require 'rubygems'
-require 'debugger'
+#require 'debugger'
require 'test/unit'
require 'pp'

0 comments on commit 736543c

Please sign in to comment.