sass-prof 0.3.3 → 0.3.4

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: a5345f6abae1c649f21788c725c6496a1c0efd79
4
- data.tar.gz: 80fa3bb09cc6b0dad48e0fe46d3bfa98732a2b75
3
+ metadata.gz: 7e7f80a6e5ebec2c14d044f9afce9c1f6659c076
4
+ data.tar.gz: abc511967596f3188b8eb3b27c284d7dc7327a1e
5
5
  SHA512:
6
- metadata.gz: 9ed069921056fb469fb3e699a759a0ab1d79ab6ef96672e683997954de4bad7bcdb0c6749c5a1f75e23cc2286bd064ec310ab22b7442e6a87bb3ffbb229b53ba
7
- data.tar.gz: 2aecdde2cdba349f5594fe12cc769a0e7f3f79be616636694e2d604adf3e74dbe3458eb035e0a35b2668853e18f1eb14da4235f4e132b14412b189afcd424554
6
+ metadata.gz: ce60f6fc70fce46f77eaebda2e01c29d7152314089af493d9f21209402c6c739443819691916ac9b3d440b830a506a23593f1f88fbf035e66ade7d40e075741a
7
+ data.tar.gz: 990bd07b6cf533554df75ed727efd911fc6b7198f51eafc988a369daaa37eee37bd1424321fa856fb94ba6608d62198a4829c7532ce12f672d6f4c09a5f024e4
data/README.md CHANGED
@@ -69,4 +69,5 @@ _Please note: your compile times **will be slower** due to the overhead of **Sas
69
69
 
70
70
  ## Todo
71
71
 
72
- - [ ] Support `@mixin`'s
72
+ - [ ] Add proper rspec tests
73
+ - [ ] Add support for `@mixin`'s
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  module Prof
5
- VERSION = "0.3.3"
5
+ VERSION = "0.3.4"
6
6
  end
7
7
  end
data/lib/sass-prof.rb CHANGED
@@ -84,8 +84,12 @@ module Sass
84
84
 
85
85
  # Add total execution time footer
86
86
  rows << :separator
87
- rows << ["Total",
88
- "%.#{pr}fm %.#{pr}fs %.#{pr}fms" % [t_mm, t_ss, t_ms]]
87
+ rows << [
88
+ "Total",
89
+ "%.#{pr}fm %.#{pr}fs %.#{pr}fms" % [t_mm, t_ss, t_ms],
90
+ "",
91
+ ""
92
+ ]
89
93
 
90
94
  table = Terminal::Table.new({
91
95
  :headings => ["File", "Execution Time", "Action", "Signature"],
@@ -223,7 +227,7 @@ module Sass
223
227
  alias_method :__perform_sass_fn, :perform_sass_fn
224
228
 
225
229
  def perform_sass_fn(function, args, splat, environment)
226
- prof = Prof::Profiler.new(function.dup, :execute, args.dup,
230
+ prof = Prof::Profiler.new(function.dup, :invoke, args.dup,
227
231
  environment.dup)
228
232
  prof.start
229
233
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ezekg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-23 00:00:00.000000000 Z
11
+ date: 2015-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass