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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff959567f02c639395e0fe82b46b4675476ff9e3
4
- data.tar.gz: baabb1afcc2d6a7886a98ae793ca7e4f91f05f7f
3
+ metadata.gz: 21cf7bf659a5b5c29e29a0a7dc81d6ef93264299
4
+ data.tar.gz: 44b2985a62442e40939c47b8fd2cba987ce360f4
5
5
  SHA512:
6
- metadata.gz: 2b39fe0b80eaf298958e74a4355c24d5e10d6d6fe73ebf8e016670b9432bf3a08b85f95f1d8bee0e436bab2d45a89f14365a80926eee010a2b61e80d6a44ef95
7
- data.tar.gz: c598806771e5ee77242cd6fb23e6fd5cfd54488d699b0542792258d4d89afa49582b3ccdb27c9aa866752aa50c00efd0e7c7a3652ae8acb4c89d19fb7dcf6a48
6
+ metadata.gz: 57a3ee2f516f82b3466ac82a53414cb13fa22598dec77280297a42a0e949bf631646f601b926697c5f7d25a7a6eed7c5e4e6b8b033f0ebb45c87cdf1113eb9a2
7
+ data.tar.gz: 0bc7d4dbcf8cf35ab9d4ca01c44a4e9fb778dd844dad0941617682fed74d6dd72c2369d5a920747c037fb40f195545535e7b066be3245bc0830d3960ee701935
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.8.3
4
+
5
+ * Improved glyphicons paths
6
+
3
7
  ## 2.8.2
4
8
 
5
9
  * Improved tests
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}@{icon-font-name}(.*)\"/, "asset-url('#{icon_font_name}\\1"
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
 
@@ -1,3 +1,3 @@
1
1
  module TwbsLessRails
2
- VERSION = "2.8.2"
2
+ VERSION = "2.8.3"
3
3
  end
@@ -10,11 +10,11 @@
10
10
  // Import the fonts
11
11
  @font-face {
12
12
  font-family: 'Glyphicons Halflings';
13
- src: asset-url('glyphicons-halflings-regular.eot');
14
- src: asset-url('glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
15
- asset-url('glyphicons-halflings-regular.woff') format('woff'),
16
- asset-url('glyphicons-halflings-regular.ttf') format('truetype'),
17
- asset-url('glyphicons-halflings-regular.svg#@{icon-font-svg-id}') format('svg');
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.2
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.1
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