bootstrap-generators 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/bootstrap-generators.gemspec +4 -2
- data/lib/bootstrap-generators.rb +31 -3
- data/lib/bootstrap-generators/engine.rb +6 -0
- data/lib/bootstrap-generators/version.rb +1 -1
- data/lib/generators/erubis.rb +10 -0
- data/lib/generators/{erb → erubis}/controller/controller_generator.rb +3 -3
- data/lib/generators/erubis/controller/templates/view.html.erb +3 -0
- data/lib/generators/{erb → erubis}/scaffold/scaffold_generator.rb +3 -4
- data/lib/generators/erubis/scaffold/templates/_form.html.erb +24 -0
- data/lib/generators/erubis/scaffold/templates/edit.html.erb +9 -0
- data/lib/generators/erubis/scaffold/templates/index.html.erb +31 -0
- data/lib/generators/erubis/scaffold/templates/new.html.erb +8 -0
- data/lib/generators/erubis/scaffold/templates/show.html.erb +13 -0
- data/lib/generators/layout/application.html.erb +42 -0
- data/lib/generators/layout/bootstrap-layout.css +3 -0
- data/test/lib/generators/{erb → erubis}/controller_generator_test.rb +2 -2
- data/test/lib/generators/{erb → erubis}/scaffold_generator_test.rb +3 -3
- data/test/test_helper.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-alerts.js +111 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +53 -0
- data/vendor/assets/javascripts/bootstrap-modal.js +244 -0
- data/vendor/assets/javascripts/bootstrap-popover.js +77 -0
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +105 -0
- data/vendor/assets/javascripts/bootstrap-tabs.js +77 -0
- data/vendor/assets/javascripts/bootstrap-twipsy.js +303 -0
- data/vendor/assets/stylesheets/bootstrap.css +2363 -0
- data/vendor/assets/stylesheets/bootstrap.min.css +330 -0
- metadata +56 -22
- data/lib/generators/erb.rb +0 -10
- data/lib/generators/erb/controller/templates/view.html.erb +0 -1
- data/lib/generators/erb/scaffold/templates/_form.html.erb +0 -1
- data/lib/generators/erb/scaffold/templates/edit.html.erb +0 -1
- data/lib/generators/erb/scaffold/templates/index.html.erb +0 -1
- data/lib/generators/erb/scaffold/templates/new.html.erb +0 -1
- data/lib/generators/erb/scaffold/templates/show.html.erb +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
view
|
@@ -1 +0,0 @@
|
|
1
|
-
form
|
@@ -1 +0,0 @@
|
|
1
|
-
edit
|
@@ -1 +0,0 @@
|
|
1
|
-
index
|
@@ -1 +0,0 @@
|
|
1
|
-
new
|
@@ -1 +0,0 @@
|
|
1
|
-
show
|