Permalink
Browse files

add gemfile and fix gemspec dependencies

  • Loading branch information...
1 parent 2a5a8c6 commit 21fcf3aaa2711288bf853b310ea4d3d418a50288 Sven Fuchs committed Oct 15, 2010
Showing with 59 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 Gemfile
  3. +44 −0 Gemfile.lock
  4. +8 −0 rack-cache-tags.gemspec
  5. +4 −3 test/test_helper.rb
View
@@ -0,0 +1 @@
+.bundle
View
@@ -0,0 +1,2 @@
+source :rubygems
+gemspec
View
@@ -0,0 +1,44 @@
+PATH
+ remote: .
+ specs:
+ rack-cache-tags (0.0.6)
+ rack-cache-purge
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.0.0)
+ activesupport (= 3.0.0)
+ builder (~> 2.1.2)
+ i18n (~> 0.4.1)
+ activerecord (3.0.0)
+ activemodel (= 3.0.0)
+ activesupport (= 3.0.0)
+ arel (~> 1.0.0)
+ tzinfo (~> 0.3.23)
+ activesupport (3.0.0)
+ arel (1.0.1)
+ activesupport (~> 3.0.0)
+ builder (2.1.2)
+ database_cleaner (0.5.2)
+ i18n (0.4.1)
+ rack (1.2.1)
+ rack-cache (0.5.3)
+ rack (>= 0.4)
+ rack-cache-purge (0.0.2)
+ rack-cache (~> 0.5)
+ sqlite3-ruby (1.3.1)
+ test_declarative (0.0.4)
+ tzinfo (0.3.23)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord
+ database_cleaner
+ rack
+ rack-cache-purge
+ rack-cache-tags!
+ sqlite3-ruby
+ test_declarative
View
@@ -16,4 +16,12 @@ Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.rubyforge_project = '[none]'
+
+ s.add_dependency 'rack-cache-purge'
+
+ s.add_development_dependency 'test_declarative'
+ s.add_development_dependency 'rack'
+ s.add_development_dependency 'activerecord'
+ s.add_development_dependency 'sqlite3-ruby'
+ s.add_development_dependency 'database_cleaner'
end
View
@@ -2,13 +2,14 @@
require 'rubygems'
require 'test/unit'
-require 'test_declarative'
require 'fileutils'
-require 'active_record'
require 'logger'
+require 'bundler/setup'
+
+require 'test_declarative'
+require 'active_record'
require 'rack/mock'
require 'database_cleaner'
-
require 'rack_cache_tags'
log = '/tmp/rack_cache_tags.log'

0 comments on commit 21fcf3a

Please sign in to comment.