lib/hypernova.rb in hypernova-1.4.0 vs lib/hypernova.rb in hypernova-2.0.0
- old
+ new
@@ -1,9 +1,11 @@
require "hypernova/batch"
require "hypernova/configuration"
require "hypernova/rails/action_controller"
require "hypernova/version"
+warn "[DEPRECATION] The 'hypernova' gem has been deprecated."
+
module Hypernova
# thrown by ControllerHelper methods if you don't call hypernova_batch_before first
class NilBatchError < StandardError; end
# thrown by Batch#render if your job doesn't have the right keys and stuff.