Sha256: 66ee3e785f413cdd436331e12ea49d2620ea598ba38f78582f981492589a27a3

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'open-uri'

desc "Download the latest cycle2.js"
task :update do
  url = "http://malsup.github.com/jquery.cycle2.js"
  outputfile = "vendor/assets/javascripts/cycle2-rails/jquery.cycle2.js"

  open(outputfile, 'wb') do |file|
    file << open(url).read
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cycle2-rails-1.0.0 Rakefile