Sha256: 1c8958eca9ea25d4f79db1f47bfa94d183047a9e176e9ab9a0c62dad67c71e83

Contents?: true

Size: 598 Bytes

Versions: 3

Compression:

Stored size: 598 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'rubygems' # i'd like to not need this

begin
  gem 'soap4r'
  require 'soap/rpc/driver'
rescue LoadError
  raise "jira4r requires soap4r.  to install: gem install soap4r"
end

require 'jira4r/jira_tool'

# Due to refactoring, this class should no longer be used.
module Jira
  class JiraTool
    
    def initialize(version, base_url)
      puts "Jira::JiraTool is deprecated; use Jira4R::JiraTool"
      @proxy = ::Jira4R::JiraTool.new(version, base_url)
    end
    
    def method_missing(name, *args)
      @proxy.send(name, *args)
    end
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
remi-jira4r-1.0.0 lib/jira4r.rb
jira4r-1.1.0 lib/jira4r.rb
mort666-jira4r-1.0.2 lib/jira4r.rb