Skip to content

Commit

Permalink
removed active_record dependency (suggested by shingara) and forced >3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
francesc committed Jun 20, 2012
1 parent 3f352e7 commit dcc44b9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,6 +1,6 @@
source "http://rubygems.org"

gem "rails", ">= 3.0"
gem "railties", ">= 3.1"

# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
Expand Down
34 changes: 2 additions & 32 deletions Gemfile.lock
@@ -1,9 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.3)
actionpack (= 3.1.3)
mail (~> 2.3.0)
actionpack (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
Expand All @@ -19,17 +16,8 @@ GEM
activesupport (= 3.1.3)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
activesupport (3.1.3)
multi_json (~> 1.0)
arel (2.2.1)
builder (3.0.0)
erubis (2.7.0)
git (1.2.5)
Expand All @@ -40,14 +28,8 @@ GEM
git (>= 1.2.5)
rake
json (1.6.5)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.17.2)
minitest (2.10.1)
multi_json (1.0.4)
polyglot (0.3.3)
rack (1.3.6)
rack-cache (1.1)
rack (>= 0.4)
Expand All @@ -57,14 +39,6 @@ GEM
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.3)
actionmailer (= 3.1.3)
actionpack (= 3.1.3)
activerecord (= 3.1.3)
activeresource (= 3.1.3)
activesupport (= 3.1.3)
bundler (~> 1.0)
railties (= 3.1.3)
railties (3.1.3)
actionpack (= 3.1.3)
activesupport (= 3.1.3)
Expand All @@ -79,13 +53,9 @@ GEM
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.5)
sqlite3 (1.3.6)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.31)

PLATFORMS
ruby
Expand All @@ -94,5 +64,5 @@ DEPENDENCIES
bundler (~> 1.0.0)
jeweler (~> 1.6.4)
minitest
rails (>= 3.0)
railties (>= 3.1)
sqlite3
8 changes: 4 additions & 4 deletions rails-translate-routes.gemspec
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Francesc Pla"]
s.date = "2012-02-24"
s.date = "2012-06-20"
s.description = "Simple gem to translate routes in Rails 3.x based on translate_routes"
s.email = "francesc@francesc.net"
s.extra_rdoc_files = [
Expand Down Expand Up @@ -40,20 +40,20 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rails>, [">= 3.0"])
s.add_runtime_dependency(%q<railties>, [">= 3.1"])
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
s.add_development_dependency(%q<sqlite3>, [">= 0"])
s.add_development_dependency(%q<minitest>, [">= 0"])
else
s.add_dependency(%q<rails>, [">= 3.0"])
s.add_dependency(%q<railties>, [">= 3.1"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
s.add_dependency(%q<sqlite3>, [">= 0"])
s.add_dependency(%q<minitest>, [">= 0"])
end
else
s.add_dependency(%q<rails>, [">= 3.0"])
s.add_dependency(%q<railties>, [">= 3.1"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
s.add_dependency(%q<sqlite3>, [">= 0"])
Expand Down
1 change: 0 additions & 1 deletion test/helper.rb
Expand Up @@ -11,7 +11,6 @@
end

require 'minitest/autorun'
require 'active_record'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
Expand Down

0 comments on commit dcc44b9

Please sign in to comment.