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