aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock2
-rw-r--r--actionpack/test/controller/http_basic_authentication_test.rb2
-rw-r--r--activerecord/test/cases/relation_test.rb3
-rw-r--r--activesupport/CHANGELOG.md5
-rw-r--r--guides/source/5_0_release_notes.md3
6 files changed, 5 insertions, 12 deletions
diff --git a/Gemfile b/Gemfile
index 51e7c0043c..1fbf1dd52e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -48,7 +48,7 @@ group :job do
gem 'resque', require: false
gem 'resque-scheduler', require: false
gem 'sidekiq', require: false
- gem 'sucker_punch', require: false
+ gem 'sucker_punch', '< 2.0', require: false
gem 'delayed_job', require: false
gem 'queue_classic', github: "QueueClassic/queue_classic", branch: 'master', require: false, platforms: :ruby
gem 'sneakers', require: false
diff --git a/Gemfile.lock b/Gemfile.lock
index 4e8c1e1744..7c6622dbed 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -338,7 +338,7 @@ DEPENDENCIES
sneakers
sqlite3 (~> 1.3.6)
stackprof
- sucker_punch
+ sucker_punch (< 2.0)
turbolinks
tzinfo-data
uglifier (>= 1.3.0)
diff --git a/actionpack/test/controller/http_basic_authentication_test.rb b/actionpack/test/controller/http_basic_authentication_test.rb
index 0a5e5402b9..194f5b3790 100644
--- a/actionpack/test/controller/http_basic_authentication_test.rb
+++ b/actionpack/test/controller/http_basic_authentication_test.rb
@@ -100,7 +100,7 @@ class HttpBasicAuthenticationTest < ActionController::TestCase
assert_no_match(/\n/, result)
end
- test "succesful authentication with uppercase authorization scheme" do
+ test "successful authentication with uppercase authorization scheme" do
@request.env['HTTP_AUTHORIZATION'] = "BASIC #{::Base64.encode64("lifo:world")}"
get :index
diff --git a/activerecord/test/cases/relation_test.rb b/activerecord/test/cases/relation_test.rb
index f46d414b95..2f0382e273 100644
--- a/activerecord/test/cases/relation_test.rb
+++ b/activerecord/test/cases/relation_test.rb
@@ -77,7 +77,6 @@ module ActiveRecord
def test_tree_is_not_traversed
relation = Relation.new(Post, Post.arel_table, Post.predicate_builder)
- # FIXME: Remove the Arel::Nodes::Quoted in Rails 5.1
left = relation.table[:id].eq(10)
right = relation.table[:id].eq(10)
combine = left.and right
@@ -104,7 +103,6 @@ module ActiveRecord
def test_create_with_value_with_wheres
relation = Relation.new(Post, Post.arel_table, Post.predicate_builder)
- # FIXME: Remove the Arel::Nodes::Quoted in Rails 5.1
relation.where! relation.table[:id].eq(10)
relation.create_with_value = {:hello => 'world'}
assert_equal({:hello => 'world', :id => 10}, relation.scope_for_create)
@@ -115,7 +113,6 @@ module ActiveRecord
relation = Relation.new(Post, Post.arel_table, Post.predicate_builder)
assert_equal({}, relation.scope_for_create)
- # FIXME: Remove the Arel::Nodes::Quoted in Rails 5.1
relation.where! relation.table[:id].eq(10)
assert_equal({}, relation.scope_for_create)
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index fe20094929..ba696374b5 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -8,13 +8,12 @@
*Adam Roben*
-
-## Rails 5.0.0.beta1 (December 18, 2015) ##
-
* Add petabyte and exabyte numeric conversion.
*Akshay Vishnoi*
+## Rails 5.0.0.beta1 (December 18, 2015) ##
+
* Add thread_m/cattr_accessor/reader/writer suite of methods for declaring class and module variables that live per-thread.
This makes it easy to declare per-thread globals that are encapsulated. Note: This is a sharp edge. A wild proliferation
of globals is A Bad Thing. But like other sharp tools, when it's right, it's right.
diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md
index 7ced92d829..2650384df3 100644
--- a/guides/source/5_0_release_notes.md
+++ b/guides/source/5_0_release_notes.md
@@ -494,9 +494,6 @@ Please refer to the [Changelog][active-record] for detailed changes.
* Added `config.active_record.warn_on_records_fetched_greater_than` option.
([Pull Request](https://github.com/rails/rails/pull/18846))
-* Added `cache_key` to `ActiveRecord::Relation`.
- ([Pull Request](https://github.com/rails/rails/pull/20884))
-
* Added a native JSON data type support in MySQL.
([Pull Request](https://github.com/rails/rails/pull/21110))