compatibility fixes

This commit is contained in:
r888888888 2014-12-10 16:59:54 -08:00
parent ace7e6abff
commit 9f0d818f81
5 changed files with 9 additions and 14 deletions

View File

@ -1 +1 @@
2.1.1
2.1.5

View File

@ -18,7 +18,7 @@ gem "uglifier"
gem 'coffee-rails'
gem "therubyracer", :platforms => :ruby
gem "pry", :group => [:test, :development]
gem "pry-debugger", :group => [:test, :development]
gem "byebug", :group => [:test, :development]
gem "rails", "~> 4.1.8"
gem "pg"
gem "kgio"

View File

@ -50,6 +50,9 @@ GEM
bcrypt-ruby (3.1.5)
bcrypt (>= 3.1.3)
builder (3.2.2)
byebug (3.2.0)
columnize (~> 0.8)
debugger-linecache (~> 1.2)
capistrano (2.15.5)
highline
net-scp (>= 1.0.0)
@ -76,17 +79,12 @@ GEM
money (~> 6.0)
multi_json (>= 1.3.4)
oauth2 (~> 1.0)
columnize (0.8.9)
columnize (0.9.0)
crack (0.4.2)
safe_yaml (~> 1.0.0)
daemons (1.1.9)
dalli (2.7.0)
debugger (1.6.8)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.3.5)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.3.5)
delayed_job (4.0.1)
activesupport (>= 3.0, < 4.2)
delayed_job_active_record (4.0.1)
@ -167,9 +165,6 @@ GEM
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
pry-debugger (0.2.3)
debugger (~> 1.3)
pry (>= 0.9.10, < 0.11.0)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
@ -269,6 +264,7 @@ DEPENDENCIES
awesome_print
aws-s3!
bcrypt-ruby
byebug
capistrano
capistrano-ext
capistrano-unicorn
@ -291,7 +287,6 @@ DEPENDENCIES
pg
protected_attributes
pry
pry-debugger
radix62 (~> 1.0.1)
rails (~> 4.1.8)
rmagick

View File

@ -12,9 +12,9 @@ class ApplicationController < ActionController::Base
# before_filter :secure_cookies_check
layout "default"
rescue_from Exception, :with => :rescue_exception
rescue_from User::PrivilegeError, :with => :access_denied
rescue_from Danbooru::Paginator::PaginationError, :with => :render_pagination_limit
rescue_from Exception, :with => :rescue_exception
protected
def api_check

View File

@ -69,7 +69,7 @@ class ForumPostsControllerTest < ActionController::TestCase
end
forum_post = ForumPost.last
assert_redirected_to(forum_topic_path(@forum_topic, :page => 1))
assert_redirected_to(forum_topic_path(@forum_topic))
end
end