less-rails-bootstrap 2.0.0 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.0.1 - 01/31/2011
5
+
6
+ * Package up Glyphicons and use less-rails' asset-url() helper.
7
+
8
+
4
9
  2.0.0 - 01/31/2011
5
10
 
6
11
  * Update to Twitter Bootstrap 2.0.0
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module Bootstrap
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -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
@@ -19,14 +19,14 @@
19
19
  width: 14px;
20
20
  height: 14px;
21
21
  vertical-align: text-top;
22
- background-image: url(../img/glyphicons-halflings.png);
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(../img/glyphicons-halflings-white.png);
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.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