graphite-sass 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/graphite/importer.rb +2 -2
- data/lib/graphite/version.rb +1 -1
- 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: 6079b90170f9d6648c025af5d7b77694100c22c6
|
4
|
+
data.tar.gz: 5ed62de6b1beeced445b40ee9d173f51abc76c56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b7f39aac2d4f61b11221da76c2710d0fec861b6c004dcc2a42c021090c5446b91049cec54a1135895cd60430b78a0f38e88422f84cd7e91ab29250e49ce7aaf
|
7
|
+
data.tar.gz: 6810291c4af504d6e14b8a3a2afb9127d17d4becf040ee8de70ada0d843e6e287421a05dadb596ac4867bc0c921fdc567ed0dda7f1a2d249bbfb41dc9a9220ff
|
data/README.md
CHANGED
@@ -52,7 +52,7 @@ Example,
|
|
52
52
|
|
53
53
|
### Usage
|
54
54
|
|
55
|
-
Font paths are relative to your `config.rb` or your `$LOAD_PATH`, so not necessarily the Sass file you're importing from. Graphite will automatically
|
55
|
+
Font paths are relative to your `config.rb` or your `$LOAD_PATH`, so not necessarily the Sass file you're importing from. Graphite will automatically find the relative path between your CSS file and your font directory.
|
56
56
|
|
57
57
|
```scss
|
58
58
|
@import "fonts/lato?styles=200,700,200-italic,700-italic";
|
data/lib/graphite/importer.rb
CHANGED
@@ -32,9 +32,9 @@ module Graphite
|
|
32
32
|
]
|
33
33
|
|
34
34
|
def find(name, options)
|
35
|
-
if options[:
|
35
|
+
if options[:css_filename]
|
36
36
|
if name.include? "?styles="
|
37
|
-
find_fonts(name, options[:
|
37
|
+
find_fonts(name, options[:css_filename], options)
|
38
38
|
else
|
39
39
|
super(name, options)
|
40
40
|
end
|
data/lib/graphite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphite-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|