Skip to content

Commit 75ce92a

Browse files
committed
Update Gemfile to use 0.5.0 of TinyTDS and allow a RAILS_VERSION to be set.
1 parent e8c1562 commit 75ce92a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ if ENV['RAILS_SOURCE']
66
else
77
spec = eval(File.read('activerecord-sqlserver-adapter.gemspec'))
88
ar_version = spec.dependencies.detect{ |d|d.name == 'activerecord' }.requirement.requirements.first.last.version
9-
gem 'rails', :git => "git://github.com/rails/rails.git", :tag => "v#{ar_version}"
9+
version = ENV['RAILS_VERSION'] || ar_version
10+
gem 'rails', :git => "git://github.com/rails/rails.git", :tag => "v#{version}"
1011
end
1112

1213
if ENV['AREL']
@@ -17,7 +18,7 @@ group :tinytds do
1718
if ENV['TINYTDS_SOURCE']
1819
gem 'tiny_tds', :path => ENV['TINYTDS_SOURCE']
1920
else
20-
gem 'tiny_tds', '>= 0.4.5'
21+
gem 'tiny_tds', '0.5.0.rc1'
2122
end
2223
end
2324

0 commit comments

Comments
 (0)