[DRE-commits] [ruby-acts-as-taggable-on] 01/02: gem2deb 0.7.5 and drop -3.2 for rails
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Apr 16 06:48:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-acts-as-taggable-on.
commit b628a9482f04d33202fac7ed0b47ae712abd1020
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Apr 16 11:48:44 2014 +0530
gem2deb 0.7.5 and drop -3.2 for rails
---
debian/control | 2 +-
spec/spec_helper.rb | 33 +++++++++++++++++++--------------
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/debian/control b/debian/control
index acb4785..7bb96e8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Praveen Arimbrathodiyil <praveen at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.1~), rake, ruby-rspec, ruby-rails-3.2,
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), rake, ruby-rspec, ruby-rails,
ruby-rspec-rails, ruby-sqlite3, ruby-mysql2, ruby-pg
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-acts-as-taggable-on.git
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e317bc3..268b80f 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,25 +1,30 @@
$LOAD_PATH << "." unless $LOAD_PATH.include?(".")
require 'logger'
-begin
- require "rubygems"
- require "bundler"
+#begin
+# require "rubygems"
+# require "bundler"
- if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.5")
- raise RuntimeError, "Your bundler version is too old." +
- "Run `gem install bundler` to upgrade."
- end
+# if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.5")
+# raise RuntimeError, "Your bundler version is too old." +
+# "Run `gem install bundler` to upgrade."
+# end
# Set up load paths for all bundled gems
- Bundler.setup
-rescue Bundler::GemNotFound
- raise RuntimeError, "Bundler couldn't find some gems." +
- "Did you run \`bundlee install\`?"
-end
+# Bundler.setup
+#rescue Bundler::GemNotFound
+# raise RuntimeError, "Bundler couldn't find some gems." +
+# "Did you run \`bundlee install\`?"
+#end
-Bundler.require
+#Bundler.require
require File.expand_path('../../lib/acts-as-taggable-on', __FILE__)
-require 'ammeter/init'
+#require 'ammeter/init'
+require "active_support/test_case"
+
+require "rails/railtie"
+require "rails/generators"
+require "rails/generators/test_case"
unless [].respond_to?(:freq)
class Array
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-acts-as-taggable-on.git
More information about the Pkg-ruby-extras-commits
mailing list