Sha256: faf474c9ad5f2dad50cb1b12a0c6d13300e3327a7c50f3b763f52c0ae5cd7386

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 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.39.0.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

1 entries across 1 versions & 1 rubygems

Version Path
selenium-rc-latest-2.39.0 Thorfile