lib/app_drone/drones/bootstrap/bootstrap.rb~ in app_drone-0.8.5 vs lib/app_drone/drones/bootstrap/bootstrap.rb~ in app_drone-0.8.6
- old
+ new
@@ -3,24 +3,25 @@
class Bootstrap < Drone
desc "Installs Twitter Bootstrap stylesheets and javascripts"
category :ui
#param :vendor, :boolean, info: 'place a local copy of the files into the repo for customization'
+
param :responsive, :boolean, info: 'include responsive grid'
param :font_awesome, :boolean, info: 'use font-awesome for icons', default: true
param :javascript_plugins, :choose_many, info: 'pipeline javascript plugin files', default: [], choices: %w(modal dropdown scrollspy tab tooltip popover alert button collapse carousel typeahead)
depends_on :bundle, :stylesheet, :javascript
pairs_with :flair
def align
bundle.add 'compass_twitter_bootstrap', git: 'git://github.com/vwall/compass-twitter-bootstrap.git', group: :assets
- param(:vendor) ? align_vendor : align_bundle
+ false ? align_vendor : align_bundle
flair!
end
def execute
- param(:vendor) ? execute_vendor : execute_bundle
+ false ? execute_vendor : execute_bundle
end
private
def align_vendor
# TODO import paths for stylesheet (different to bundle)