Updating Gemfile to latest versions of libraries:
* updating deprecated require 'rake/rdoctask' with 'rdoc/task' * preparing to remove deprecated ActiveRecord set_table_name with self.table_name=
This commit is contained in:
parent
b500ebe5a1
commit
a1a183e43d
2
Gemfile
2
Gemfile
|
@ -11,7 +11,7 @@ group :test do
|
||||||
# Database Adapters
|
# Database Adapters
|
||||||
platforms :ruby do
|
platforms :ruby do
|
||||||
gem "mysql", "~> 2.8.1"
|
gem "mysql", "~> 2.8.1"
|
||||||
gem "mysql2", "~> 0.2.4"
|
gem "mysql2", "~> 0.3.0"
|
||||||
gem "pg", "~> 0.9"
|
gem "pg", "~> 0.9"
|
||||||
gem "sqlite3-ruby", "~> 1.3.1"
|
gem "sqlite3-ruby", "~> 1.3.1"
|
||||||
end
|
end
|
||||||
|
|
53
Gemfile.lock
53
Gemfile.lock
|
@ -1,44 +1,51 @@
|
||||||
GEM
|
GEM
|
||||||
remote: http://rubygems.org/
|
remote: http://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
activemodel (3.2.0)
|
activemodel (3.2.7)
|
||||||
activesupport (= 3.2.0)
|
activesupport (= 3.2.7)
|
||||||
builder (~> 3.0.0)
|
builder (~> 3.0.0)
|
||||||
activerecord (3.2.0)
|
activerecord (3.2.7)
|
||||||
activemodel (= 3.2.0)
|
activemodel (= 3.2.7)
|
||||||
activesupport (= 3.2.0)
|
activesupport (= 3.2.7)
|
||||||
arel (~> 3.0.0)
|
arel (~> 3.0.2)
|
||||||
tzinfo (~> 0.3.29)
|
tzinfo (~> 0.3.29)
|
||||||
activerecord-jdbc-adapter (1.1.1)
|
activerecord-jdbc-adapter (1.2.2)
|
||||||
activerecord-jdbcmysql-adapter (1.1.1)
|
activerecord-jdbcmysql-adapter (1.2.2)
|
||||||
activerecord-jdbc-adapter (= 1.1.1)
|
activerecord-jdbc-adapter (~> 1.2.2)
|
||||||
jdbc-mysql (~> 5.1.0)
|
jdbc-mysql (~> 5.1.0)
|
||||||
activesupport (3.2.0)
|
activesupport (3.2.7)
|
||||||
i18n (~> 0.6)
|
i18n (~> 0.6)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
archive-tar-minitar (0.5.2)
|
archive-tar-minitar (0.5.2)
|
||||||
arel (3.0.0)
|
arel (3.0.2)
|
||||||
builder (3.0.0)
|
builder (3.0.0)
|
||||||
chronic (0.3.0)
|
chronic (0.7.0)
|
||||||
columnize (0.3.2)
|
columnize (0.3.6)
|
||||||
delorean (0.2.1)
|
delorean (0.2.1)
|
||||||
chronic
|
chronic
|
||||||
factory_girl (1.3.3)
|
factory_girl (1.3.3)
|
||||||
git (1.2.5)
|
git (1.2.5)
|
||||||
i18n (0.6.0)
|
i18n (0.6.0)
|
||||||
jdbc-mysql (5.1.13)
|
jdbc-mysql (5.1.13)
|
||||||
jeweler (1.5.2)
|
jeweler (1.8.4)
|
||||||
bundler (~> 1.0.0)
|
bundler (~> 1.0)
|
||||||
git (>= 1.2.5)
|
git (>= 1.2.5)
|
||||||
rake
|
rake
|
||||||
linecache (0.43)
|
rdoc
|
||||||
|
json (1.7.4)
|
||||||
|
json (1.7.4-java)
|
||||||
|
linecache (0.46)
|
||||||
|
rbx-require-relative (> 0.0.4)
|
||||||
linecache19 (0.5.12)
|
linecache19 (0.5.12)
|
||||||
ruby_core_source (>= 0.1.4)
|
ruby_core_source (>= 0.1.4)
|
||||||
multi_json (1.0.4)
|
multi_json (1.3.6)
|
||||||
mysql (2.8.1)
|
mysql (2.8.1)
|
||||||
mysql2 (0.2.7)
|
mysql2 (0.3.11)
|
||||||
pg (0.11.0)
|
pg (0.14.0)
|
||||||
rake (0.8.7)
|
rake (0.9.2.2)
|
||||||
|
rbx-require-relative (0.0.9)
|
||||||
|
rdoc (3.12)
|
||||||
|
json (~> 1.4)
|
||||||
ruby-debug (0.10.4)
|
ruby-debug (0.10.4)
|
||||||
columnize (>= 0.1)
|
columnize (>= 0.1)
|
||||||
ruby-debug-base (~> 0.10.4.0)
|
ruby-debug-base (~> 0.10.4.0)
|
||||||
|
@ -55,10 +62,10 @@ GEM
|
||||||
ruby-debug-base19 (>= 0.11.19)
|
ruby-debug-base19 (>= 0.11.19)
|
||||||
ruby_core_source (0.1.5)
|
ruby_core_source (0.1.5)
|
||||||
archive-tar-minitar (>= 0.5.2)
|
archive-tar-minitar (>= 0.5.2)
|
||||||
sqlite3 (1.3.5)
|
sqlite3 (1.3.6)
|
||||||
sqlite3-ruby (1.3.3)
|
sqlite3-ruby (1.3.3)
|
||||||
sqlite3 (>= 1.3.3)
|
sqlite3 (>= 1.3.3)
|
||||||
tzinfo (0.3.31)
|
tzinfo (0.3.33)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
java
|
java
|
||||||
|
@ -72,7 +79,7 @@ DEPENDENCIES
|
||||||
jdbc-mysql
|
jdbc-mysql
|
||||||
jeweler (>= 1.4.0)
|
jeweler (>= 1.4.0)
|
||||||
mysql (~> 2.8.1)
|
mysql (~> 2.8.1)
|
||||||
mysql2 (~> 0.2.4)
|
mysql2 (~> 0.3.0)
|
||||||
pg (~> 0.9)
|
pg (~> 0.9)
|
||||||
rake
|
rake
|
||||||
ruby-debug (= 0.10.4)
|
ruby-debug (= 0.10.4)
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -63,7 +63,7 @@ rescue LoadError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'rake/rdoctask'
|
require 'rdoc/task'
|
||||||
Rake::RDocTask.new do |rdoc|
|
Rake::RDocTask.new do |rdoc|
|
||||||
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
class SchemaInfo < ActiveRecord::Base
|
class SchemaInfo < ActiveRecord::Base
|
||||||
set_table_name 'schema_info'
|
if respond_to?(:table_name=)
|
||||||
|
self.table_name = 'schema_info'
|
||||||
|
else
|
||||||
|
# this is becoming deprecated in ActiveRecord but not all adapters supported it
|
||||||
|
# at this time
|
||||||
|
set_table_name 'schema_info'
|
||||||
|
end
|
||||||
VERSION = 12
|
VERSION = 12
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue