Sha256: 90bd71e4c63a4b610846ae20548d5b9f116295e4365216450c84fa3a4ff1e9da

Contents?: true

Size: 855 Bytes

Versions: 6

Compression:

Stored size: 855 Bytes

Contents

require 'thor'
require 'rainbow'
require 'yaml'

# Starting 2.0.0, Rainbow no longer patches string with the color method by default.
require 'rainbow/version'
require 'rainbow/ext/string' unless Rainbow::VERSION < '2.0.0'

module Sunzi
  if ENV['RAILS_ENV'] == 'development'
    autoload :Capistrano, './lib/sunzi/cli/capistrano'
    autoload :Database,   './lib/sunzi/cli/database'
    autoload :Secrets,    './lib/sunzi/cli/secrets'
    autoload :Cli,        './lib/sunzi/cli'
    autoload :Logger,     './lib/sunzi/logger'
    autoload :Utility,    './lib/sunzi/utility'
  else
    autoload :Capistrano, 'sunzi/cli/capistrano'
    autoload :Database,   'sunzi/cli/database'
    autoload :Secrets,    'sunzi/cli/secrets'
    autoload :Cli,        'sunzi/cli'
    autoload :Logger,     'sunzi/logger'
    autoload :Utility,    'sunzi/utility'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sunzi-rails-0.2.4 lib/sunzi.rb
sunzi-rails-0.2.3 lib/sunzi.rb
sunzi-rails-0.2.2 lib/sunzi.rb
sunzi-rails-0.2.1 lib/sunzi.rb
sunzi-rails-0.2.0 lib/sunzi.rb
sunzi-rails-0.1.0 lib/sunzi.rb