Sha256: bcf2b6649b41d99948360a16cacd78c8c215cf815c38bbb3792d3599782a40d5

Contents?: true

Size: 1.39 KB

Versions: 9

Compression:

Stored size: 1.39 KB

Contents

require "pathname"
require "java"

Dir["#{Dir.pwd}/.akephalos/#{ENV['htmlunit_version']}/*.jar"].each {|file| require file }

java.lang.System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog")
java.lang.System.setProperty("org.apache.commons.logging.simplelog.defaultlog", "fatal")
java.lang.System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true")

# Container module for com.gargoylesoftware.htmlunit namespace.
module HtmlUnit
  java_import "com.gargoylesoftware.htmlunit.BrowserVersion"
  java_import "com.gargoylesoftware.htmlunit.History"
  java_import "com.gargoylesoftware.htmlunit.HttpMethod"
  java_import 'com.gargoylesoftware.htmlunit.ConfirmHandler'
  java_import "com.gargoylesoftware.htmlunit.NicelyResynchronizingAjaxController"
  java_import "com.gargoylesoftware.htmlunit.SilentCssErrorHandler"
  java_import "com.gargoylesoftware.htmlunit.WebClient"
  java_import "com.gargoylesoftware.htmlunit.WebResponseData"
  java_import "com.gargoylesoftware.htmlunit.WebResponse"
  java_import "com.gargoylesoftware.htmlunit.WaitingRefreshHandler"

  # Container module for com.gargoylesoftware.htmlunit.util namespace.
  module Util
    java_import "com.gargoylesoftware.htmlunit.util.NameValuePair"
    java_import "com.gargoylesoftware.htmlunit.util.WebConnectionWrapper"
  end

  # Disable history tracking
  History.field_reader :ignoreNewPages_
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
akephalos2-2.1.3-java lib/akephalos/htmlunit.rb
akephalos2-2.1.3 lib/akephalos/htmlunit.rb
akephalos2-2.1.2-java lib/akephalos/htmlunit.rb
akephalos2-2.1.2 lib/akephalos/htmlunit.rb
akephalos2-2.1.1.2-java lib/akephalos/htmlunit.rb
akephalos2-2.1.1.2 lib/akephalos/htmlunit.rb
akephalos2-stable-2.1.1.1 lib/akephalos/htmlunit.rb
akephalos2-2.1.1.1-java lib/akephalos/htmlunit.rb
akephalos2-2.1.1.1 lib/akephalos/htmlunit.rb