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 CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ === 0.0.5 / 2009-03-09
3
+
4
+ * Fixed html exception printing
5
+ * Smaller pre for light template
6
+
2
7
  === 0.0.4 / 2009-03-09
3
8
 
4
9
  * Added html exception messages
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.4'
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
- if File.exists? uri
70
- File.open(uri, 'w+') do |file|
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{mini}
5
- s.version = "0.0.4"
5
+ s.version = "0.0.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
@@ -45,7 +45,7 @@ h2
45
45
 
46
46
  pre
47
47
  :display block
48
- :padding 25px 30px
48
+ :padding 15px 20px
49
49
  :background black
50
50
  :font-family "Bitstream Vera Sans Mono"
51
51
  :white-space pre
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visionmedia-mini
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk