Sha256: a92202a571f37da6c6e0f973a3e3e3a2a1ea08ae8933de3d9fe3d388d783aa51

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

Bundler::GemHelper.install_tasks

require 'dropzonejs-rails'
require 'open-uri'

desc 'Get latest dropzone js build'
task :get do
  source = "https://raw.github.com/enyo/dropzone/v#{DropzonejsRails::DROPZONE_VERSION}/downloads/dropzone.js"
  target = DropzonejsRails::Engine.root.join('vendor/assets/javascripts/dropzone.js')

  open(target, "w+") { |f| f << open(source).read }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dropzonejs-rails-0.1.3 Rakefile
dropzonejs-rails-0.1.2 Rakefile
dropzonejs-rails-0.1.1 Rakefile
dropzonejs-rails-0.1.0 Rakefile
dropzonejs-rails-0.0.2 Rakefile
dropzonejs-rails-0.0.1 Rakefile