Sha256: 6540137de00ba3c826fbfd8657cfee636dd9fa9c32934d4711aeac9ed414ebc5

Contents?: true

Size: 728 Bytes

Versions: 3

Compression:

Stored size: 728 Bytes

Contents

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "../vendor/redis-0.1/lib")
require "redis"
require "openssl"

# All the cool stuff happens in other places:
# - Vanity::Helpers
# - Vanity::Playground
# - Experiment::AbTest
module Vanity
  # Version number.
  module Version
    version = Gem::Specification.load(File.expand_path("../vanity.gemspec", File.dirname(__FILE__))).version.to_s.split(".").map { |i| i.to_i }
    MAJOR = version[0]
    MINOR = version[1]
    PATCH = version[2]
    STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
  end
end

require "vanity/playground"
require "vanity/experiment/base"
require "vanity/experiment/ab_test"
require "vanity/rails" if defined?(Rails)
Vanity.autoload :Commands, "vanity/commands"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vanity-1.0.0 lib/vanity.rb
vanity-0.4.0 lib/vanity.rb
vanity-0.3.1 lib/vanity.rb