Sha256: a6ea1b24289bad484970d6fbed169d3e90d4e53f7b1ab43c70c3b2fe719013ec

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

require 'redis'
require 'rollout'
require 'rollout_ui/monkey_patch'

# Hack so we only load the engine when Rails will support it.
# TODO: find a better way
if defined?(Rails) && Rails::VERSION::STRING.to_f >= 3.1
  $:.unshift File.expand_path("rollout_ui/engine/lib", File.dirname(__FILE__))
  require 'rollout_ui/engine'
end

module RolloutUi
  autoload :Version, 'rollout_ui/version'
  autoload :Wrapper, 'rollout_ui/wrapper'
  autoload :Feature, 'rollout_ui/feature'
  autoload :Server,  'rollout_ui/server'

  def self.wrap(rollout)
    @@rollout = rollout
  end

  def self.rollout
    @@rollout
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rollout_ui-0.2.1 lib/rollout_ui.rb
rollout_ui-0.2.0 lib/rollout_ui.rb
bitlove-rollout_ui-0.1.0 lib/rollout_ui.rb
rollout_ui-0.1.0 lib/rollout_ui.rb