Sha256: 64221ae5dc128b4674834b72abcdbb62d70a26eb82d017d57b90348633851d9e

Contents?: true

Size: 1.21 KB

Versions: 19

Compression:

Stored size: 1.21 KB

Contents

require 'rubygems'
require 'irb/completion'
require 'irb/ext/save-history'

begin
  require 'awesome_print'
rescue LoadError => e
  msg = ["Caught a LoadError: could not load 'awesome_print'",
         "#{e}",
         '',
         'Use bundler (recommended) or uninstall awesome_print.',
         '',
         '# Use bundler (recommended)',
         '$ bundle update',
         '$ bundle exec calabash-android console <path to apk>',
         '',
         '# Uninstall',
         '$ gem update --system',
         '$ gem uninstall -Vax --force --no-abort-on-dependent awesome_print']
  puts msg
  exit(1)
end

AwesomePrint.irb!

ARGV.concat [ "--readline",
              "--prompt-mode",
              "simple" ]

# 50 entries in the list
IRB.conf[:SAVE_HISTORY] = 50

# Store results in home directory with specified file name
IRB.conf[:HISTORY_FILE] = ".irb-history"

require 'calabash-android/defaults'
require 'calabash-android/operations'

module Calabash
  module Android
    module Operations
      def embed(*args)
        puts "Embed is a Cucumber method and is not available in this console."
      end
    end
  end
end

module Cucumber
  class << self
    wants_to_quit = false
  end
end

extend Calabash::Android::Operations

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
calabash-android-0.5.16.pre1 irbrc
calabash-android-0.5.15.coordinate.pre.fix2 irbrc
calabash-android-0.5.15.coordinate.pre.fix irbrc
calabash-android-0.5.15 irbrc
calabash-android-0.5.15.pre1 irbrc
calabash-android-0.5.14 irbrc
calabash-android-0.5.13.pre1 irbrc
calabash-android-0.5.12 irbrc
calabash-android-0.5.12.pre1 irbrc
calabash-android-0.5.11 irbrc
calabash-android-0.5.10 irbrc
calabash-android-0.5.10.pre2 irbrc
calabash-android-0.5.10.pre1 irbrc
calabash-android-0.5.9 irbrc
calabash-android-0.5.9.pre2.intenthook1 irbrc
calabash-android-0.5.9.pre2 irbrc
calabash-android-0.5.9.pre1 irbrc
calabash-android-0.5.8 irbrc
calabash-android-0.5.8.pre1 irbrc