deplot 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/deplot +2 -4
  2. data/deplot.gemspec +1 -1
  3. metadata +1 -1
data/bin/deplot CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
 
5
5
  require 'thor'
6
6
  require 'fileutils'
@@ -52,15 +52,13 @@ class DeplotRenderer
52
52
 
53
53
  # Sort sources based on file name
54
54
  def sort *args
55
- #args.uniq!
55
+ args.uniq!
56
56
  @sort_options[:reverse] = false if args.include? :ascending
57
57
  @sort_options[:reverse] = true if args.include? :descending
58
58
  end
59
59
 
60
60
  # Prerender: apply sort options
61
61
  def prerender
62
- puts @sort_options[:reverse]
63
- puts @sources
64
62
  @sources.reverse! if @sort_options[:reverse]
65
63
  end
66
64
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'deplot'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.date = '2013-03-01'
5
5
  s.summary = "A lightweight and very extensible static web site generator"
6
6
  s.description = %{
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deplot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: