Rakefile in mongodb_logger-0.1.9 vs Rakefile in mongodb_logger-0.2.0
- old
+ new
@@ -69,9 +69,12 @@
GEM_ROOT = File.dirname(__FILE__).freeze
LOCAL_GEM_ROOT = File.join(GEM_ROOT, 'tmp', 'local_gems').freeze
RAILS_VERSIONS = IO.read('SUPPORTED_RAILS_VERSIONS').strip.split("\n")
+# for ci testing only major rails versions
+RAILS_VERSIONS = ['3.0.11', '3.1.3'] if ENV['CI']
+
LOCAL_GEMS = [['sqlite3', nil], ['shoulda', nil], ["rspec", nil], ["mocha", nil], ["cucumber", nil], ["bundler", "1.0.21"]] +
RAILS_VERSIONS.collect { |version| ['rails', version] }
desc "Vendor test gems: Run this once to prepare your test environment"
task :vendor_test_gems do