Sha256: b14b2e0a5cbb2c38faf8ae80ff599d692e067aca79e4a49a7819372d8f91fd3a

Contents?: true

Size: 430 Bytes

Versions: 39

Compression:

Stored size: 430 Bytes

Contents

require "foreman/version"

module Foreman

  class AppDoesNotExist < Exception; end

  def self.runner
    File.expand_path("../../bin/foreman-runner", __FILE__)
  end

  def self.jruby?
    defined?(RUBY_PLATFORM) and RUBY_PLATFORM == "java"
  end

  def self.ruby_18?
    defined?(RUBY_VERSION) and RUBY_VERSION =~ /^1\.8\.\d+/
  end

  def self.windows?
    defined?(RUBY_PLATFORM) and RUBY_PLATFORM =~ /(win|w)32$/
  end

end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
foreman-capistrano-0.53.4 lib/foreman.rb
foreman-capistrano-0.53.3 lib/foreman.rb
foreman-capistrano-0.53.2 lib/foreman.rb
foreman-capistrano-0.53.1 lib/foreman.rb
foreman-capistrano-0.53.0 lib/foreman.rb
foreman-capistrano-0.52.6 lib/foreman.rb
foreman-capistrano-0.52.5 lib/foreman.rb
foreman-capistrano-0.52.4 lib/foreman.rb
foreman-capistrano-0.52.3 lib/foreman.rb
foreman-capistrano-0.52.2 lib/foreman.rb
foreman-capistrano-0.52.1 lib/foreman.rb
foreman-capistrano-0.52.0 lib/foreman.rb
foreman-capistrano-0.51.5 lib/foreman.rb
foreman-0.60.2 lib/foreman.rb
foreman-capistrano-0.51.4 lib/foreman.rb
foreman-capistrano-0.51.3 lib/foreman.rb
foreman-0.60.0 lib/foreman.rb
foreman-0.59.0 lib/foreman.rb
foreman-0.58.0 lib/foreman.rb
foreman-0.57.0-java lib/foreman.rb