bs-helper 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/bs-helper/version.rb +1 -1
- data/lib/generators/bshelper/install/install_generator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48e0c9744d39e5dda8123ce70cb2ec941ec2aaed
|
|
4
|
+
data.tar.gz: a6fe89a5e76500693bec31991f94c3d077d60c7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e46db0d3b6f233b74b7195cb75e86e6f43e68756073d75158954484c4af35e094ba61d027cc3252e480a1e2a17a730093bd4f5c2b0fadd9ef23a76aca071b2bd
|
|
7
|
+
data.tar.gz: ea243ac6f0be9d79bf025932832a5a5b82c8076e79afc8f8535474c8b4de4853f1eb7ab362c451f338a36f1d135e501a2d4f9fee309723694facce1b8cb6699f
|
data/README.md
CHANGED
|
@@ -5,6 +5,8 @@ It's compatible with bootstrap 2.3.2.
|
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
|
+
*Install Bootstrap first!* You can use [bootstrap-sass](https://github.com/thomas-mcdonald/bootstrap-sass) or [twitter-bootstrap-rails](https://github.com/seyhunak/twitter-bootstrap-rails)
|
|
9
|
+
|
|
8
10
|
Add this line to your application's Gemfile:
|
|
9
11
|
|
|
10
12
|
gem 'bs-helper'
|
|
@@ -13,6 +15,8 @@ And then execute:
|
|
|
13
15
|
|
|
14
16
|
$ bundle
|
|
15
17
|
|
|
18
|
+
Add assets
|
|
19
|
+
|
|
16
20
|
Execute the installation generator:
|
|
17
21
|
|
|
18
22
|
rails g bshelper:install
|
data/lib/bs-helper/version.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Bshelper
|
|
|
14
14
|
js_manifest = 'app/assets/javascripts/application.js'
|
|
15
15
|
|
|
16
16
|
if File.exist?(js_manifest)
|
|
17
|
-
insert_into_file js_manifest, :
|
|
17
|
+
insert_into_file js_manifest, :before => "//= require_tree .\n" do
|
|
18
18
|
<<-JS
|
|
19
19
|
//= require bs-modal/bootstrap-modal
|
|
20
20
|
//= require bs-modal/bootstrap-modalmanager
|