twbs_less_rails 2.8.2 → 2.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Rakefile +1 -2
- data/lib/twbs_less_rails/version.rb +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/glyphicons.less +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21cf7bf659a5b5c29e29a0a7dc81d6ef93264299
|
4
|
+
data.tar.gz: 44b2985a62442e40939c47b8fd2cba987ce360f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57a3ee2f516f82b3466ac82a53414cb13fa22598dec77280297a42a0e949bf631646f601b926697c5f7d25a7a6eed7c5e4e6b8b033f0ebb45c87cdf1113eb9a2
|
7
|
+
data.tar.gz: 0bc7d4dbcf8cf35ab9d4ca01c44a4e9fb778dd844dad0941617682fed74d6dd72c2369d5a920747c037fb40f195545535e7b066be3245bc0830d3960ee701935
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -129,10 +129,9 @@ def update_fontawesome_paths
|
|
129
129
|
end
|
130
130
|
|
131
131
|
def update_glyphicons_paths
|
132
|
-
icon_font_name = File.read("#{DESTINATION_FOLDERS[:bootstrap_stylesheets]}/variables.less").match(/@icon\-font\-name:\s+"([^\"]+)"/)[1]
|
133
132
|
file_name = "#{DESTINATION_FOLDERS[:bootstrap_stylesheets]}/glyphicons.less"
|
134
133
|
text = File.read(file_name)
|
135
|
-
text.gsub! /~\"url\(\'@{icon-font-path}
|
134
|
+
text.gsub! /~\"url\(\'@{icon-font-path}(.*)\"/, "asset-url('\\1"
|
136
135
|
File.open(file_name, 'w') { |file| file.puts text }
|
137
136
|
end
|
138
137
|
|
@@ -10,11 +10,11 @@
|
|
10
10
|
// Import the fonts
|
11
11
|
@font-face {
|
12
12
|
font-family: 'Glyphicons Halflings';
|
13
|
-
src: asset-url('
|
14
|
-
src: asset-url('
|
15
|
-
asset-url('
|
16
|
-
asset-url('
|
17
|
-
asset-url('
|
13
|
+
src: asset-url('@{icon-font-name}.eot');
|
14
|
+
src: asset-url('@{icon-font-name}.eot?#iefix') format('embedded-opentype'),
|
15
|
+
asset-url('@{icon-font-name}.woff') format('woff'),
|
16
|
+
asset-url('@{icon-font-name}.ttf') format('truetype'),
|
17
|
+
asset-url('@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg');
|
18
18
|
}
|
19
19
|
|
20
20
|
// Catchall baseclass
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twbs_less_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diowa
|
@@ -306,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
306
306
|
version: '0'
|
307
307
|
requirements: []
|
308
308
|
rubyforge_project:
|
309
|
-
rubygems_version: 2.2.
|
309
|
+
rubygems_version: 2.2.0
|
310
310
|
signing_key:
|
311
311
|
specification_version: 4
|
312
312
|
summary: Bootstrap and FontAwesome assets in Rails applications
|