diff --git a/Gemfile b/Gemfile index da4ced3..0328e33 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,12 @@ source "http://rubygems.org" -gem "rails", "3.1.0" +gem "rails", "~>3.2" # In case you're encouterting weird behavior, # please test if it works with old Rails. #gem "rails", "3.0.10" +gem "sqlite3", "1.3.5" -gem "sqlite3" # To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+) # gem 'ruby-debug' diff --git a/Gemfile.lock b/Gemfile.lock index 6afaca0..d8a1aa5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,89 +1,87 @@ GEM remote: http://rubygems.org/ specs: - actionmailer (3.1.0) - actionpack (= 3.1.0) - mail (~> 2.3.0) - actionpack (3.1.0) - activemodel (= 3.1.0) - activesupport (= 3.1.0) + actionmailer (3.2.14) + actionpack (= 3.2.14) + mail (~> 2.5.4) + actionpack (3.2.14) + activemodel (= 3.2.14) + activesupport (= 3.2.14) builder (~> 3.0.0) erubis (~> 2.7.0) - i18n (~> 0.6) - rack (~> 1.3.2) - rack-cache (~> 1.0.3) - rack-mount (~> 0.8.2) + journey (~> 1.0.4) + rack (~> 1.4.5) + rack-cache (~> 1.2) rack-test (~> 0.6.1) - sprockets (~> 2.0.0) - activemodel (3.1.0) - activesupport (= 3.1.0) - bcrypt-ruby (~> 3.0.0) + sprockets (~> 2.2.1) + activemodel (3.2.14) + activesupport (= 3.2.14) builder (~> 3.0.0) - i18n (~> 0.6) - activerecord (3.1.0) - activemodel (= 3.1.0) - activesupport (= 3.1.0) - arel (~> 2.2.1) + activerecord (3.2.14) + activemodel (= 3.2.14) + activesupport (= 3.2.14) + arel (~> 3.0.2) tzinfo (~> 0.3.29) - activeresource (3.1.0) - activemodel (= 3.1.0) - activesupport (= 3.1.0) - activesupport (3.1.0) + activeresource (3.2.14) + activemodel (= 3.2.14) + activesupport (= 3.2.14) + activesupport (3.2.14) + i18n (~> 0.6, >= 0.6.4) multi_json (~> 1.0) - arel (2.2.1) - bcrypt-ruby (3.0.0) - builder (3.0.0) + arel (3.0.2) + builder (3.0.4) erubis (2.7.0) - hike (1.2.1) - i18n (0.6.0) - mail (2.3.0) - i18n (>= 0.4.0) + hike (1.2.3) + i18n (0.6.5) + journey (1.0.4) + json (1.8.0) + mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) - mime-types (1.16) - multi_json (1.0.3) - polyglot (0.3.2) - rack (1.3.2) - rack-cache (1.0.3) + mime-types (1.24) + multi_json (1.7.9) + polyglot (0.3.3) + rack (1.4.5) + rack-cache (1.2) rack (>= 0.4) - rack-mount (0.8.3) - rack (>= 1.0.0) - rack-ssl (1.3.2) + rack-ssl (1.3.3) rack - rack-test (0.6.1) + rack-test (0.6.2) rack (>= 1.0) - rails (3.1.0) - actionmailer (= 3.1.0) - actionpack (= 3.1.0) - activerecord (= 3.1.0) - activeresource (= 3.1.0) - activesupport (= 3.1.0) + rails (3.2.14) + actionmailer (= 3.2.14) + actionpack (= 3.2.14) + activerecord (= 3.2.14) + activeresource (= 3.2.14) + activesupport (= 3.2.14) bundler (~> 1.0) - railties (= 3.1.0) - railties (3.1.0) - actionpack (= 3.1.0) - activesupport (= 3.1.0) + railties (= 3.2.14) + railties (3.2.14) + actionpack (= 3.2.14) + activesupport (= 3.2.14) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (~> 3.4) - thor (~> 0.14.6) - rake (0.9.2) - rdoc (3.9.4) - sprockets (2.0.0) + thor (>= 0.14.6, < 2.0) + rake (10.1.0) + rdoc (3.12.2) + json (~> 1.4) + sprockets (2.2.2) hike (~> 1.2) + multi_json (~> 1.0) rack (~> 1.0) - tilt (!= 1.3.0, ~> 1.1) - sqlite3 (1.3.4) - thor (0.14.6) - tilt (1.3.3) - treetop (1.4.10) + tilt (~> 1.1, != 1.3.0) + sqlite3 (1.3.5) + thor (0.18.1) + tilt (1.4.1) + treetop (1.4.15) polyglot polyglot (>= 0.3.1) - tzinfo (0.3.29) + tzinfo (0.3.37) PLATFORMS ruby DEPENDENCIES - rails (= 3.1.0) - sqlite3 + rails (~> 3.2) + sqlite3 (= 1.3.5) diff --git a/Rakefile b/Rakefile index 86d88e7..13036c6 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ rescue LoadError end require 'rake' -require 'rake/rdoctask' +require 'rdoc/task' require 'rake/testtask' @@ -20,7 +20,7 @@ end task :default => :test -Rake::RDocTask.new(:rdoc) do |rdoc| +RDoc::Task.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'AttributeSerializer' rdoc.options << '--line-numbers' << '--inline-source'