Sha256: 58c725d5d8b64e63f2d325a5dd92afcb2ba9f15e7707e52b8f81281399f9e5c1

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require "zip/zip"

class Joe < Thor
  desc "download", "download the Selenium jar file from Google Code repository"
  def download
    url = "http://selenium.googlecode.com/files/selenium-server-standalone-2.0b1.jar"
    file = File.join("tmp", File.basename(url))

    FileUtils.mkdir_p("tmp")

    system "wget #{url} -O #{file}" unless File.exist?(file)

    FileUtils.mv("#{file}", "vendor/selenium-server.jar")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
selenium-rc-2.3.1 Thorfile
selenium-rc-2.3.0 Thorfile