Sha256: bda7261250a73459722c1a003437ee35bbf8dd0089345bde93ef48b8905f3a28

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

require 'orly/installation'
require 'orly/tester'
require 'orly/owl_printer'
require 'orly/version'
require "choice"
require "colored"

module Orly

  def self.run
    tester  = Orly::Tester.new()
    notify = []
    notify << "run 'rake db:migrate'".red if tester.need_migrate?
    notify << "run 'bundle install'".red if tester.need_bundle_install?
    Orly::OwlPrinter.print(notify) unless notify.empty?
  rescue Orly::NoRepo
    puts "O RLY: this is not a git repo".red
  end


end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
orly-0.0.5 lib/orly.rb
orly-0.0.4 lib/orly.rb