Sha256: 2f41c3cc8e56942c103c99d980f8771673c27dc2f97fef44a60fb87d6e0c6b20

Contents?: true

Size: 459 Bytes

Versions: 9

Compression:

Stored size: 459 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require File.expand_path('../lib/chosen-rails/source_file', __FILE__)

desc "Update with Harvest's Chosen Library"
task 'update-chosen', 'repository_url', 'branch' do |task, args|
  remote = args['repository_url'] || 'https://github.com/harvesthq/chosen'
  branch = args['branch'] || 'master'
  files = SourceFile.new
  files.fetch remote, branch
  files.eject_javascript_class_from_closure
  files.cleanup
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
chosen-rails-1.4.3 Rakefile
chosen-rails-1.4.2 Rakefile
chosen-rails-1.4.1 Rakefile
chosen-rails-1.3.0 Rakefile
chosen-rails-1.2.0 Rakefile
chosen-rails-1.1.1 Rakefile
chosen-rails-1.1.0 Rakefile
chosen-rails-1.0.2 Rakefile
chosen-rails-1.0.1 Rakefile