Sha256: f44ecb775aa699e7ca31052229dfb4f04460b06440e1648c73fade28f811c404

Contents?: true

Size: 732 Bytes

Versions: 17

Compression:

Stored size: 732 Bytes

Contents

# :nocov:
Gorynich.configure do |config|
  # config cache of gorynich
  config.cache = Rails.cache

  # config cache namespace
  # config.namespace = 'gorynich'

  # config how long your cache will be alive in seconds
  # config.cache_expiration = 30

  # handler for gorynich rack middleware
  # config.rack_env_handler =
  #   lambda do |env|
  #     # your code
  #   end
end

# Add cable head
# ActiveSupport.on_load(:action_cable_connection) do
#   include Gorynich::Head::ActionCable::Connection
# end
#
# ActiveSupport.on_load(:action_cable_channel) do
#   prepend Gorynich::Head::ActionCable::Channel
# end

# Add active job head
# ActiveSupport.on_load(:active_job) do
#   include Gorynich::Head::ActiveJob
# end
# :nocov:

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
gorynich-1.3.4.273062 lib/generators/templates/gorynich.rb
gorynich-1.3.3.231946 lib/generators/templates/gorynich.rb
gorynich-1.3.2.231715 lib/generators/templates/gorynich.rb
gorynich-1.3.1.213701 lib/generators/templates/gorynich.rb
gorynich-1.3.0.213297 lib/generators/templates/gorynich.rb
gorynich-1.2.3.198656 lib/generators/templates/gorynich.rb
gorynich-1.2.2.198643 lib/generators/templates/gorynich.rb
gorynich-1.2.1.184916 lib/generators/templates/gorynich.rb
gorynich-1.2.0.180668 lib/generators/templates/gorynich.rb
gorynich-1.1.1.148381 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142168 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142154 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142147 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142142 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142139 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142136 lib/generators/templates/gorynich.rb
gorynich-1.1.0.142046 lib/generators/templates/gorynich.rb