Sha256: 290e5839b6e95269b5f6ae0a0cc93fa0efd7c3d6eb50e7134877a254d3bb5f57
Contents?: true
Size: 743 Bytes
Versions: 3
Compression:
Stored size: 743 Bytes
Contents
require "chillout/version" require "chillout/config" require "chillout/creations_container" require "chillout/middleware/creations_monitor" require "chillout/integrations/sidekiq" require "chillout/subscribers/action_controller_notifications" require "chillout/server_side/dispatcher" require "chillout/server_side/server_side" require "chillout/server_side/http_client" require "chillout/client" module Chillout module Metric def self.track(name) Chillout.creations ||= CreationsContainer.new Chillout.creations.increment!(name) end end def self.creations Thread.current[:creations] end def self.creations=(val) Thread.current[:creations] = val end end require 'chillout/railtie' if defined?(Rails)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chillout-0.8.5.1 | lib/chillout.rb |
chillout-0.8.5 | lib/chillout.rb |
chillout-0.8.4 | lib/chillout.rb |