rails-bootstrap-ui 0.0.1 → 0.0.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.
- data/README.md +5 -1
- data/lib/rails-bootstrap-ui/version.rb +1 -1
- data/lib/rails-bootstrap-ui/will_paginate.rb +2 -2
- metadata +3 -3
data/README.md
CHANGED
|
@@ -10,10 +10,14 @@ This project adds several UI elements to Rails 3.1. Included are:
|
|
|
10
10
|
|
|
11
11
|
# Installation
|
|
12
12
|
|
|
13
|
+
Add the following to your Gemfile
|
|
14
|
+
|
|
15
|
+
gem 'rails-bootstrap-ui'
|
|
16
|
+
|
|
13
17
|
Add the following to app/assets/javascripts/application.js
|
|
14
18
|
|
|
15
19
|
//= require bootstrap
|
|
16
20
|
|
|
17
|
-
Add the following to app/assets/
|
|
21
|
+
Add the following to app/assets/stylesheets/application.css
|
|
18
22
|
|
|
19
23
|
*= require bootstrap
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require 'will_paginate/view_helpers/
|
|
1
|
+
require 'will_paginate/view_helpers/action_view'
|
|
2
2
|
|
|
3
3
|
module WillPaginate
|
|
4
4
|
module ActionView
|
|
@@ -7,7 +7,7 @@ module WillPaginate
|
|
|
7
7
|
super.try :html_safe
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
class BootstrapLinkRenderer < WillPaginate::
|
|
10
|
+
class BootstrapLinkRenderer < WillPaginate::ActionView::LinkRenderer
|
|
11
11
|
protected
|
|
12
12
|
|
|
13
13
|
def html_container(html)
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Darian Shimy
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-12-03 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|