less-rails-bootstrap 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/less/rails/bootstrap/version.rb +1 -1
- data/test/cases/usage_css_spec.rb +5 -0
- data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/vendor/frameworks/twitter/bootstrap/sprites.less +2 -2
- metadata +5 -3
data/CHANGELOG.md
CHANGED
@@ -14,6 +14,11 @@ class UsageCssSpec < Less::Rails::Bootstrap::Spec
|
|
14
14
|
app_css.must_include '#other-css { color: red; }', 'From our code afterward.'
|
15
15
|
end
|
16
16
|
|
17
|
+
it 'uses less-rails asset-url helper for images' do
|
18
|
+
app_css.must_include 'url(/assets/twitter/bootstrap/glyphicons-halflings.png)'
|
19
|
+
app_css.must_include 'url(/assets/twitter/bootstrap/glyphicons-halflings-white.png)'
|
20
|
+
end
|
21
|
+
|
17
22
|
end
|
18
23
|
|
19
24
|
describe 'framework.css.less' do
|
Binary file
|
@@ -19,14 +19,14 @@
|
|
19
19
|
width: 14px;
|
20
20
|
height: 14px;
|
21
21
|
vertical-align: text-top;
|
22
|
-
background-image: url(
|
22
|
+
background-image: asset-url("twitter/bootstrap/glyphicons-halflings.png");
|
23
23
|
background-position: 14px 14px;
|
24
24
|
background-repeat: no-repeat;
|
25
25
|
|
26
26
|
.ie7-restore-right-whitespace();
|
27
27
|
}
|
28
28
|
.icon-white {
|
29
|
-
background-image: url(
|
29
|
+
background-image: asset-url("twitter/bootstrap/glyphicons-halflings-white.png");
|
30
30
|
}
|
31
31
|
|
32
32
|
.icon-glass { background-position: 0 0; }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ken Collins
|
@@ -108,6 +108,8 @@ files:
|
|
108
108
|
- test/dummy_app/app/assets/stylesheets/individual.css.less
|
109
109
|
- test/dummy_app/init.rb
|
110
110
|
- test/spec_helper.rb
|
111
|
+
- vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png
|
112
|
+
- vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png
|
111
113
|
- vendor/assets/javascripts/twitter/bootstrap.js
|
112
114
|
- vendor/assets/javascripts/twitter/bootstrap/alert.js
|
113
115
|
- vendor/assets/javascripts/twitter/bootstrap/button.js
|