stylish 0.3.0 → 0.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c22798835a744816b6894cf715deac2aacead4c1
4
- data.tar.gz: a8e82d25940608c53eea1cf81f672f10f7f495da
3
+ metadata.gz: 31d77a9fdaae95ae7f7dee8bc58f8d35a3345b7c
4
+ data.tar.gz: c14946f43d3319ffe13feaa72a5f84d5df0ce1a9
5
5
  SHA512:
6
- metadata.gz: 636f0e21236f2440eaae6847461adebb5b298ebf29361a5b93439b3ccf8c8bc9cd86bdbfc6b633356321212a510c6802aa625d029216f7ae53815c791a666e6e
7
- data.tar.gz: c538902fc3e930d3e26481a6730050e65d5d035882ce6a15f009c6da909331081efe4ac410712787428ee8b50dbbb89df11596424b1c2c9f6c25608ba30f7390
6
+ metadata.gz: c6b40affa024fd63307e1f244e054b4253197c98319b74727f4e287c6cbcc172b9d65b0b0eb2ede59e1548a7e19738fc8b363d10af461f4bda148da4a1f116b5
7
+ data.tar.gz: 236b6b752ff1b864b7a2f65ca67752d621ea6a051b25bd2d3d76a1490c3c531a363f9f31edec100809682b4e796cf42eab3cc85e370cc1e682a0bd3705d061e2
@@ -14,7 +14,7 @@ module Stylish
14
14
  end
15
15
 
16
16
  def after_configuration
17
- import_stylish_images_and_fonts
17
+ @imported_stylish_images_and_fonts ||= import_stylish_images_and_fonts
18
18
  end
19
19
 
20
20
  def import_stylish_images_and_fonts
@@ -28,7 +28,7 @@ module Stylish
28
28
 
29
29
  def setup_compiler
30
30
  @compiler ||= Stylish.sprockets.dup.tap do |env|
31
- dependency_paths.each {|p| env.append_path(p) }
31
+ dependency_paths.each {|p| env.append_path(p) unless env.paths.include?(p.to_s) }
32
32
 
33
33
  if defined?(::Less)
34
34
  (import_paths.map(&:to_s) - Less.paths.map(&:to_s)).each do |path|
@@ -1,3 +1,3 @@
1
1
  module Stylish
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stylish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Soeder