Sha256: 162e0b6b5bd0ecca8035ecbfeba87f79afb24d8f89487ae02c4052fc9cb15d64

Contents?: true

Size: 499 Bytes

Versions: 12

Compression:

Stored size: 499 Bytes

Contents

add_gem 'bootstrap-generators'
add_gem 'bootstrap-select-rails'
add_gem 'scrollbar-rails'
run 'bundle install'
# TODO removing is probably not good idea when adding bootstrap to existing project
remove 'app/views/layouts/application.html.erb'
system "rails generate bootstrap:install"
sub "#{@project_path}/app/views/layouts/application.html.erb", /<title>.*?<\/title>/, "<title>#{@project_label}</title>"
sub "#{@project_path}/app/views/layouts/application.html.erb", /Project name/, @project_label

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
r5-0.2.5.2 lib/r5/recipes/bootstrap.rb
r5-0.2.5 lib/r5/recipes/bootstrap.rb
r5-0.1.9 lib/r5/recipes/bootstrap.rb
r5-0.1.8 lib/r5/recipes/bootstrap.rb
r5-0.1.7 lib/r5/recipes/bootstrap.rb
r5-0.1.6 lib/r5/recipes/bootstrap.rb
r5-0.1.5 lib/r5/recipes/bootstrap.rb
r4-0.1.5 lib/r4/recipes/bootstrap.rb
r4-0.1.4 lib/r4/recipes/bootstrap.rb
r4-0.1.3 lib/r4/recipes/bootstrap.rb
r4-0.1.2 lib/r4/recipes/bootstrap.rb
r4-0.1.1 lib/r4/recipes/bootstrap.rb