require 'time'
require 'uri'

require 'nokogiri'
require 'jiraSOAP/nokogiri_extensions'

require 'handsoap'
#Handsoap.http_driver = :http_client
Handsoap.http_driver = :net_http
require 'jiraSOAP/handsoap_extensions'

require 'jiraSOAP/url'

##
# All the remote entities as well as the SOAP service client.
module JIRA; end

require 'jiraSOAP/version'
require 'jiraSOAP/core_extensions'
require 'jiraSOAP/entities'
require 'jiraSOAP/api'
require 'jiraSOAP/jira_service'

if RUBY_ENGINE == 'macruby'
  require 'jiraSOAP/macruby_extensions'
end

require 'time'
require 'uri'

require 'nokogiri'
require 'jiraSOAP/nokogiri_extensions'

require 'handsoap'
#Handsoap.http_driver = :http_client
Handsoap.http_driver = :net_http
require 'jiraSOAP/handsoap_extensions'

require 'jiraSOAP/url'
require 'jiraSOAP/macruby_extensions' if RUBY_ENGINE == 'macruby'

##
# All the remote entities as well as the SOAP service client.
module JIRA; end

require 'jiraSOAP/version'
require 'jiraSOAP/core_extensions'
require 'jiraSOAP/entities'
require 'jiraSOAP/api'
require 'jiraSOAP/jira_service'

--- 
+++ 
@@ -10,7 +10,6 @@
 require 'jiraSOAP/handsoap_extensions'
 
 require 'jiraSOAP/url'
-require 'jiraSOAP/macruby_extensions' if RUBY_ENGINE == 'macruby'
 
 ##
 # All the remote entities as well as the SOAP service client.
@@ -21,3 +20,7 @@
 require 'jiraSOAP/entities'
 require 'jiraSOAP/api'
 require 'jiraSOAP/jira_service'
+
+if RUBY_ENGINE == 'macruby'
+  require 'jiraSOAP/macruby_extensions'
+end
Load MacRuby extensions after everything else