twitter-bootstrap-rails 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of twitter-bootstrap-rails might be problematic. Click here for more details.
- data/README.md +14 -1
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +2 -2
- data/lib/twitter-bootstrap-rails.rb +1 -1
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +0 -1
- data/vendor/toolkit/twitter/bootstrap/sprites.less +2 -2
- metadata +17 -24
data/README.md
CHANGED
@@ -20,10 +20,22 @@ in this episode continues on the Twitter Bootstrap project showing how to displa
|
|
20
20
|
|
21
21
|
|
22
22
|
## Installing Gem
|
23
|
+
The gem includes the source LESS and JS files. You'll need to choose a javascript runtime.
|
24
|
+
ExecJS supports these runtimes:
|
23
25
|
|
24
|
-
|
26
|
+
* [therubyracer](https://github.com/cowboyd/therubyracer) - Google V8
|
27
|
+
embedded within Ruby
|
28
|
+
* [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla
|
29
|
+
Rhino embedded within JRuby
|
30
|
+
* [Node.js](http://nodejs.org/)
|
31
|
+
* Apple JavaScriptCore - Included with Mac OS X
|
32
|
+
* [Microsoft Windows Script Host](http://msdn.microsoft.com/en-us/library/9bbdkx3k.aspx) (JScript)
|
33
|
+
|
34
|
+
Include the [Twitter Bootstrap Rails gem](http://rubygems.org/gems/twitter-bootstrap-rails) in Gemfile to install it from [RubyGems.org](http://rubygems.org):
|
25
35
|
|
26
36
|
```ruby
|
37
|
+
gem "therubyracer"
|
38
|
+
gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS
|
27
39
|
gem "twitter-bootstrap-rails"
|
28
40
|
```
|
29
41
|
|
@@ -192,6 +204,7 @@ gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootst
|
|
192
204
|
<li>Released gem v.2.1.3 (minor fixes and updated to Twitter Bootstrap 2.1.1)</li>
|
193
205
|
<li>Released gem v.2.1.4 (minor fixes)</li>
|
194
206
|
<li>Released gem v.2.1.5 (minor fixes, install generator detects javascript template engine, updated to Twitter Bootstrap 2.2.1)</li>
|
207
|
+
<li>Released gem v.2.1.6 (minor fixes)</li>
|
195
208
|
</ul>
|
196
209
|
|
197
210
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
@import "twitter/bootstrap/responsive";
|
3
3
|
|
4
4
|
// Set the correct sprite paths
|
5
|
-
@iconSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings
|
6
|
-
@iconWhiteSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings-white
|
5
|
+
@iconSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings");
|
6
|
+
@iconWhiteSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings-white");
|
7
7
|
|
8
8
|
// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
|
9
9
|
// Note: If you use asset_path() here, your compiled boostrap_and_overrides.css will not
|
@@ -22,7 +22,7 @@
|
|
22
22
|
.ie7-restore-right-whitespace();
|
23
23
|
line-height: 14px;
|
24
24
|
vertical-align: text-top;
|
25
|
-
background-image: url(
|
25
|
+
background-image: url(@iconSpritePath);
|
26
26
|
background-position: 14px 14px;
|
27
27
|
background-repeat: no-repeat;
|
28
28
|
margin-top: 1px;
|
@@ -42,7 +42,7 @@
|
|
42
42
|
.dropdown-menu > .active > a > [class*=" icon-"],
|
43
43
|
.dropdown-submenu:hover > a > [class^="icon-"],
|
44
44
|
.dropdown-submenu:hover > a > [class*=" icon-"] {
|
45
|
-
background-image: url(
|
45
|
+
background-image: url(@iconWhiteSpritePath);
|
46
46
|
}
|
47
47
|
|
48
48
|
.icon-glass { background-position: 0 0; }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &70105032018960 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70105032018960
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: actionpack
|
27
|
-
requirement: &
|
27
|
+
requirement: &70105032018240 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,32 +32,21 @@ dependencies:
|
|
32
32
|
version: '3.1'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70105032018240
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
38
|
-
requirement: &
|
37
|
+
name: execjs
|
38
|
+
requirement: &70105032017480 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0
|
43
|
+
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: less-rails
|
49
|
-
requirement: &70195226730700 !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 2.2.3
|
55
|
-
type: :runtime
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: *70195226730700
|
46
|
+
version_requirements: *70105032017480
|
58
47
|
- !ruby/object:Gem::Dependency
|
59
48
|
name: rails
|
60
|
-
requirement: &
|
49
|
+
requirement: &70105032016440 !ruby/object:Gem::Requirement
|
61
50
|
none: false
|
62
51
|
requirements:
|
63
52
|
- - ! '>='
|
@@ -65,7 +54,7 @@ dependencies:
|
|
65
54
|
version: '3.1'
|
66
55
|
type: :development
|
67
56
|
prerelease: false
|
68
|
-
version_requirements: *
|
57
|
+
version_requirements: *70105032016440
|
69
58
|
description: twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for
|
70
59
|
Rails 3.1 Asset Pipeline
|
71
60
|
email:
|
@@ -186,7 +175,11 @@ files:
|
|
186
175
|
- README.md
|
187
176
|
homepage: https://github.com/seyhunak/twitter-bootstrap-rails
|
188
177
|
licenses: []
|
189
|
-
post_install_message:
|
178
|
+
post_install_message: ! "Important: You may need to add a javascript runtime to your
|
179
|
+
Gemfile in order for bootstrap's LESS files to compile to CSS. \n\n**********************************************\n\nExecJS
|
180
|
+
supports these runtimes:\n\ntherubyracer - Google V8 embedded within Ruby\n\ntherubyrhino
|
181
|
+
- Mozilla Rhino embedded within JRuby\n\nNode.js\n\nApple JavaScriptCore - Included
|
182
|
+
with Mac OS X\n\nMicrosoft Windows Script Host (JScript)\n\n**********************************************"
|
190
183
|
rdoc_options: []
|
191
184
|
require_paths:
|
192
185
|
- lib
|