Sha256: 137920f196456facd79227f75f4d476bc6e5a866a5f4a0cefa99c35beb6bba64

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
Bundler.require(:default, :development)

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

desc "Start a console with a HeartlandRetail::Client instance"
task :console do
  require 'heartland/client'
  require 'pry'
  CLIENT = HeartlandRetail::Client.new(ENV['URI'])
  CLIENT.auth :username => ENV['USER'], :password => ENV['PASSWORD']
  Pry.start
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heartland-retail-5.1.0 Rakefile
heartland-retail-5.0.1 Rakefile
heartland-retail-5.0.0 Rakefile