Sha256: b7467b161b8f98757d1362df71c5bc69a325535bf32ee3573f1124cf41c561e6

Contents?: true

Size: 363 Bytes

Versions: 37

Compression:

Stored size: 363 Bytes

Contents

module AppDrone
class Chosen < Drone
  desc 'Installs the Chosen plugin by HarvestHQ'
  category :ui
  depends_on :bundle, :stylesheet, :javascript
  pairs_with :flair

  def align
    bundle.add 'chosen-rails'
    stylesheet.pipeline 'chosen'
    javascript.pipeline 'chosen-jquery'
    javascript.on_ready "$('.chzn-select').chosen();"
    flair!
  end
end
end

Version data entries

37 entries across 23 versions & 1 rubygems

Version Path
app_drone-0.8.1 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.8.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.8.0 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.7.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.7.0 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.6.1 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.6.1 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.6.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.6.0 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.5.2 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.5.2 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.5.1 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.5.1 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.5.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.5.0 lib/app_drone/drones/chosen/chosen.rb~
app_drone-0.4.0 lib/app_drone/drones/chosen/chosen.rb
app_drone-0.4.0 lib/app_drone/drones/chosen/chosen.rb~