nutils 0.5.3 → 0.5.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.
@@ -3,7 +3,7 @@ module Nutils
3
3
 
4
4
  # @author Arnau Siches
5
5
  #
6
- # @version 1.0.0
6
+ # @version 1.1.0
7
7
  #
8
8
  # The +filesystem_customizable+ data source allows an array for source
9
9
  # directories and for layout directories.
@@ -34,6 +34,16 @@ module Nutils
34
34
  load_objects(dir, 'layout', Nanoc3::Layout)
35
35
  end.flatten
36
36
  end
37
+
38
+ def up
39
+ @dtstart = Time.now
40
+ end
41
+ def down
42
+ @dtend = Time.now
43
+ puts "Data Loaded in #{format('%.2f', @dtend - @dtstart)}s."
44
+ end
45
+
46
+
37
47
  end
38
48
  end
39
49
  end
@@ -1,12 +1,12 @@
1
1
  module Nutils
2
2
  module Filters
3
3
  autoload "Beautify", "nutils/filters/beautify"
4
- autoload "Sprockets", "nutils/filters/sprockets"
4
+ autoload "SprocketWheel", "nutils/filters/sprockets"
5
5
  autoload "SvgToPng", "nutils/filters/svg2png"
6
6
  autoload "YuiCompressor", "nutils/filters/yuicompressor"
7
7
 
8
8
  ::Nanoc3::Filter.register "::Nutils::Filters::Beautify", :beautify
9
- ::Nanoc3::Filter.register "::Nutils::Filters::Sprockets", :sprockets
9
+ ::Nanoc3::Filter.register "::Nutils::Filters::SprocketWheel", :sprockets
10
10
  ::Nanoc3::Filter.register "::Nutils::Filters::SvgToPng", :svg_to_png
11
11
  ::Nanoc3::Filter.register "::Nutils::Filters::YuiCompressor", :yuicompressor
12
12
  end
data/lib/nutils.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Nutils
4
4
 
5
5
  # The current nutils version.
6
- VERSION = "0.5.3"
6
+ VERSION = "0.5.4"
7
7
 
8
8
  end
9
9
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutils
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Arnau Siches
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-17 00:00:00 -05:00
18
+ date: 2010-12-19 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency