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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07d2ed843eae04a7db961b8a36c0c32b1605e8dd
4
- data.tar.gz: 5e920ed80a9fb1292d8bd91d95d4ba7aecf91361
3
+ metadata.gz: a3a7b66c13e0f95d8d4bb9f8ca928986b6ef4fdc
4
+ data.tar.gz: 2e1448e78d71372901d3903fc074e55fbf34f4fb
5
5
  SHA512:
6
- metadata.gz: fa715befb5ac014ae0ca096c2a0cc41fa10c7a9cb0a9489a36afdc6edb8542e1dc27f856098bde14a5090c22bbdab830d835c9a80192f524abe796ad0353283a
7
- data.tar.gz: 996430f6c377012287e2d189e4897cd5b4500a804ffa68fb8e668f7a43248d66ad94200f27f6736645558a039ea9de76a31749acc01d0d261e8cdc13a6cf2158
6
+ metadata.gz: 063bbc7b1336ea3c2522c7083b5ed0d06f7edd13b45b264851699e70353cee38f46671af5a6d404bc9d00f1ded01284ee1b20741874f0f7aa643749e8c0592db
7
+ data.tar.gz: b39122ed3ea99174aee1d0d48602ed6b55f973d40d015be155351ab672a1dc85d5deae99042814035bbb0bbeaa017a869d086d07e3c572bbfc46cd60d090885f
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  module Prof
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
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 Sass::RuntimeError.new "Max execution time of #{config.t_max}ms"\
99
- " reached for function `#{fn_name}` (took #{@@t_total.round(3)}ms)"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ezekg