que 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51b50d40120fb319646d1b216aa7f67931e9614b
4
- data.tar.gz: c82fb2957389d088f3d6190311f9dae376fe82f6
3
+ metadata.gz: d5b079fcd58e807e529a24355cd68b1f01872824
4
+ data.tar.gz: 28e4205134326cdcd0a9f0416d96796dfeecfb99
5
5
  SHA512:
6
- metadata.gz: 20c1f09a17e33aa0589ff01ef0983cf2000e9ae0be3594126a3c13aca10cca5d2b236f9296b17b8111d560fe2c62bc1d17924a3a00242ce31e768f95cdda39c8
7
- data.tar.gz: e7f761b3622ae87e88f1ef85f81ebe8597ad82c4b1b07ce5aa00c0dc454cea08175ebf0fa2e01ebe0d7500220ee55f0035c8772945cd9ea95d63dfc5ca83c0f7
6
+ metadata.gz: 42b58920c74ab27e09647987ede2ae07a362c034b557d1fcbea21cfdcaf8ae64eb712d4688731bfab10bd7ebbb28c384dc5c431a6854245852e8a2a491b9e626
7
+ data.tar.gz: ab299f61a338f3ae5b26cf3186beda5c15313e0fce0da6287676fc4faa6e0a7d0ec896376f9fdfb44f9e4e4aa3bdf6f06b46417ed81a12a55d8493597cf5a261
@@ -1,9 +1,11 @@
1
+ ### 0.11.1 (2015-09-04)
2
+
3
+ * The `rake que:work` rake task that was specific to Rails has been deprecated and will be removed in Que 1.0. A deprecation warning will display when it is run.
4
+
1
5
  ### 0.11.0 (2015-09-04)
2
6
 
3
7
  * A command-line program has been added that can be used to work jobs in a more flexible manner than the previous rake task. Run `que -h` for more information.
4
8
 
5
- * The `rake que:work` rake task that was specific to Rails has been removed in favor of the CLI, and the various QUE_* environment variables no longer have any effect.
6
-
7
9
  * The worker pool will no longer start automatically in the same process when running the rails server - this behavior was too prone to breakage. If you'd like to recreate the old behavior, you can manually set `Que.mode = :async` in your app whenever conditions are appropriate (classes have loaded, a database connection has been established, and the process will not be forking).
8
10
 
9
11
  * Add a Que.disable_prepared_transactions= configuration option, to make it easier to use tools like pgbouncer. (#110)
@@ -12,6 +14,8 @@
12
14
 
13
15
  * When using Que with ActiveRecord, workers now call `ActiveRecord::Base.clear_active_connections!` between jobs. This cleans up connections that ActiveRecord leaks when it is used to access mutliple databases. (#116)
14
16
 
17
+ * If it exists, use String#constantize to constantize job classes, since ActiveSupport's constantize method behaves better with Rails' autoloading. (#115, #120) (joevandyk)
18
+
15
19
  ### 0.10.0 (2015-03-18)
16
20
 
17
21
  * When working jobs via the rake task, Rails applications are now eager-loaded if present, to avoid problems with multithreading and autoloading. (#96) (hmarr)
@@ -1,6 +1,8 @@
1
1
  namespace :que do
2
2
  desc "Process Que's jobs using a worker pool"
3
3
  task :work => :environment do
4
+ $stdout.puts "The que:work rake task has been deprecated and will be removed in Que 1.0. Please transition to the que command line interface instead."
5
+
4
6
  if defined?(::Rails) && Rails.respond_to?(:application)
5
7
  # ActiveSupport's dependency autoloading isn't threadsafe, and Que uses
6
8
  # multiple threads, which means that eager loading is necessary. Rails
@@ -1,3 +1,3 @@
1
1
  module Que
2
- Version = '0.11.0'
2
+ Version = '0.11.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: que
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hanks