visionmedia-mini 0.0.4 → 0.0.5
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.
- data/History.rdoc +5 -0
- data/bin/mini +3 -5
- data/mini.gemspec +1 -1
- data/templates/light/style.sass +1 -1
- metadata +1 -1
data/History.rdoc
CHANGED
data/bin/mini
CHANGED
@@ -6,7 +6,7 @@ require 'commander'
|
|
6
6
|
require 'bind'
|
7
7
|
|
8
8
|
program :name, 'mini'
|
9
|
-
program :version, '0.0.
|
9
|
+
program :version, '0.0.5'
|
10
10
|
program :description, 'Github project page framework'
|
11
11
|
|
12
12
|
def html_error message
|
@@ -66,10 +66,8 @@ command :refresh do |c|
|
|
66
66
|
listener = Bind::Listener.new :interval => 1, :debug => $stdout, :actions => actions, :paths => haml + sass
|
67
67
|
listener.run!
|
68
68
|
rescue => e
|
69
|
-
|
70
|
-
|
71
|
-
file.write html_error(e.message)
|
72
|
-
end
|
69
|
+
File.open("#{page}.html", 'w+') do |file|
|
70
|
+
file.write html_error(e.message)
|
73
71
|
end
|
74
72
|
raise
|
75
73
|
end
|
data/mini.gemspec
CHANGED
data/templates/light/style.sass
CHANGED