bs-helper 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aac5db86a2ccffadaf4ee00f0154c8cc2d733743
4
- data.tar.gz: e733c1450e3c9466ce25331a8017b7eb1b3d52df
3
+ metadata.gz: 48e0c9744d39e5dda8123ce70cb2ec941ec2aaed
4
+ data.tar.gz: a6fe89a5e76500693bec31991f94c3d077d60c7d
5
5
  SHA512:
6
- metadata.gz: 5562ce754175e627ed04d6634004ac767ae3dd14535d9c55e40048534cd7b304198dc3c28ab9fc0a9a496e18744e99d1abb422da50427d4876303ed705796b2b
7
- data.tar.gz: f68a0b1cda9287b1c856083d40badee305215eb80a7818aa40603304152dbd9fd0f5d60d2c9484c906a1fb049cadd3cfece7a69a08459ebde180389ec2ecec31
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
@@ -1,5 +1,5 @@
1
1
  module Bs
2
2
  module Helper
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -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, :after => "//= require bootstrap\n" do
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bs-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bigxiang