From cc12f171e6f8621a56b3dd6970652f1cda014749 Mon Sep 17 00:00:00 2001 From: Ross Kaffenberger Date: Thu, 3 Apr 2014 14:53:58 -0400 Subject: [PATCH] scope to rails 3 --- Gemfile | 6 ++++++ two_factor_authentication.gemspec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 0c560a1..7bdd1a5 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,9 @@ source "http://rubygems.org" # Specify your gem's dependencies in devise_ip_filter.gemspec gemspec + +gem 'rails', '~> 3.2' + +group :test do + gem "sqlite3" +end diff --git a/two_factor_authentication.gemspec b/two_factor_authentication.gemspec index 60955a8..6d3225d 100644 --- a/two_factor_authentication.gemspec +++ b/two_factor_authentication.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - s.add_development_dependency "rspec" + s.add_development_dependency "rspec-rails" s.add_runtime_dependency 'rails', '>= 3.1.1' s.add_runtime_dependency 'devise' s.add_runtime_dependency 'randexp'