BootstrapMan 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -3
- data/lib/BootstrapMan/version.rb +1 -1
- data/lib/generators/bootstrap/install/install_generator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c61c830bf356cd02aec2bbf80ad32058d03b360984c1e16f7301ad90598c930
|
4
|
+
data.tar.gz: d743f0577b2a956da36637e2616015b20c3bce6e44bb213ce96937570bbe54a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4f9142ab302fae41ef867cbeb6ba227d8d9dfd6137527654a66097d0658d698d4402ce60d371820fc75bc951f7fb2fac1a9d0a4dbe702fa28ef0def10ab109f
|
7
|
+
data.tar.gz: 985c6802bb40d7f11b5a54541701a15e0014ad80d2c31da815081ac5567b14f639b4223334ee7b58d0dcf996ac77716b183087a143d1785fc39abe528f07c344
|
data/README.md
CHANGED
@@ -9,12 +9,12 @@ You don't need to customize the stylesheets manually, the only gem you need is t
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem 'BootstrapMan', '~> 0.1.
|
12
|
+
gem 'BootstrapMan', '~> 0.1.3'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
16
16
|
|
17
|
-
$ bundle
|
17
|
+
$ bundle install
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
@@ -45,10 +45,20 @@ Example:
|
|
45
45
|
|
46
46
|
rails g scaffold Post title:string description:text
|
47
47
|
rake db:migrate
|
48
|
-
rails g bootstrap:
|
48
|
+
rails g bootstrap:strapify Posts
|
49
49
|
|
50
50
|
Notice the plural usage of the resource to generate bootstrap:strapify.
|
51
51
|
|
52
|
+
## Rails Server
|
53
|
+
|
54
|
+
Run bundle install before running Rails Server. Gem Install step has added few Gems to the end of Gemfile for ease.
|
55
|
+
|
56
|
+
Gems Added:
|
57
|
+
gem 'jquery-rails'
|
58
|
+
gem 'bootstrap'
|
59
|
+
gem 'font-awesome-rails'
|
60
|
+
gem 'bootstrap_form'
|
61
|
+
|
52
62
|
## Development
|
53
63
|
|
54
64
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/BootstrapMan/version.rb
CHANGED
@@ -43,7 +43,7 @@ module Bootstrap
|
|
43
43
|
template "_navbar.html.#{ext}", "app/views/shared/_navbar.html.#{ext}"
|
44
44
|
template "_footer.html.#{ext}", "app/views/shared/_footer.html.#{ext}"
|
45
45
|
|
46
|
-
|
46
|
+
append_to_file "Gemfile", "# Adding gems required by BootstrapMan\ngem 'jquery-rails'\ngem 'bootstrap'\ngem 'font-awesome-rails'\ngem 'bootstrap_form'\n"
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|