sass-prof 0.1.0 → 0.1.1
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/sass/prof/version.rb +1 -1
- data/lib/sass/prof.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342fc0dba26d7c663ad524ffd480330bc65f833d
|
4
|
+
data.tar.gz: b4387614c2082c05b60a41da37b7480d3fca57da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15bd5e8088121c3b6d6d64976c7b5a73c470a5f1209469e046f36600aedd15445d331546d40f8dcd3400e7ef5f4dfe9a37651bae01a0a466aee5557dc6f4acc9
|
7
|
+
data.tar.gz: e1af4c6e5f38ac0609ef7914dfca03686ae1cfbd3af3d7856e6d5adb42e70edaaa8dd32ad69116c8fc719c65791cf99f564aa8083c85778634376a32dff2f8ff
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem](https://img.shields.io/gem/v/sass-prof.svg?style=flat-square)](https://rubygems.org/gems/sass-prof)
|
4
4
|
|
5
|
-
Sass Prof is a code profiler for Sass. For each function, Sass Prof will show the execution time for the function, which file called it and what arguments were given when the function was called.
|
5
|
+
Sass Prof is a code profiler for [Sass](https://github.com/sass/sass). For each function, Sass Prof will show the execution time for the function, which file called it and what arguments were given when the function was called.
|
6
6
|
|
7
7
|
## Requirements
|
8
8
|
|
data/lib/sass/prof/version.rb
CHANGED
data/lib/sass/prof.rb
CHANGED
@@ -64,7 +64,7 @@ module Sass
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def fn_source
|
67
|
-
return colorize("unknown file", :red)
|
67
|
+
return colorize("unknown file", :red) unless env
|
68
68
|
|
69
69
|
orig_filename = env.options.fetch :original_filename, "unknown file"
|
70
70
|
filename = env.options.fetch :filename, "unknown file"
|