sass-prof 0.2.0 → 0.2.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 +4 -4
- data/lib/sass-prof/version.rb +1 -1
- data/lib/sass-prof.rb +3 -2
- 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: a3a7b66c13e0f95d8d4bb9f8ca928986b6ef4fdc
|
|
4
|
+
data.tar.gz: 2e1448e78d71372901d3903fc074e55fbf34f4fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 063bbc7b1336ea3c2522c7083b5ed0d06f7edd13b45b264851699e70353cee38f46671af5a6d404bc9d00f1ded01284ee1b20741874f0f7aa643749e8c0592db
|
|
7
|
+
data.tar.gz: b39122ed3ea99174aee1d0d48602ed6b55f973d40d015be155351ab672a1dc85d5deae99042814035bbb0bbeaa017a869d086d07e3c572bbfc46cd60d090885f
|
data/lib/sass-prof/version.rb
CHANGED
data/lib/sass-prof.rb
CHANGED
|
@@ -95,8 +95,9 @@ module Sass
|
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if @@t_total > config.t_max && action == :execute
|
|
98
|
-
raise
|
|
99
|
-
"
|
|
98
|
+
raise RuntimeError.new colorize(
|
|
99
|
+
"Max execution time of #{config.t_max}ms reached for function"\
|
|
100
|
+
" `#{fn_name}` (took #{@@t_total.round(3)}ms)", :red)
|
|
100
101
|
end
|
|
101
102
|
end
|
|
102
103
|
|