File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ 1.3.1
2
+ =================
3
+ - display the error pages correctly in FireFox
4
+
1
5
1.3.0
2
6
=================
3
7
- refactor generators
Original file line number Diff line number Diff line change 1
1
Gem ::Specification . new do |s |
2
2
s . name = 'easy_html_creator'
3
- s . version = '1.3.0 '
3
+ s . version = '1.3.1 '
4
4
s . licenses = [ 'MIT' ]
5
5
s . summary = "A simple project for fast and easy HTML website createmend"
6
6
s . description = "Easy_html_creator is a gem that makes developing static HTML websites easy and joyful.
@@ -15,8 +15,8 @@ Sass (with bootstarp)
15
15
CoffeeScript
16
16
17
17
We also included the 'actionview' gem, to enable the use of rails standard functions like 'text_field_tag'."
18
- s . authors = [ "Tom Hanoldt" , " Dennis van de Hoef"]
19
- s . email = [ 'monotom@gmail.com' , ' dennisvdhoef@gmail.com']
18
+ s . authors = [ "Dennis van de Hoef" ]
19
+ s . email = [ 'dennisvdhoef@gmail.com' ]
20
20
s . files = Dir . glob ( "{bin,lib,dev_root}/**/*" ) + %w( LICENSE README.md CHANGELOG.md )
21
21
s . homepage = 'http://easyhtmlcreator.bplaced.net'
22
22
Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ def listen(port, host)
26
26
rescue Exception => e
27
27
msg = "#{ e . backtrace . first } : #{ e . message } (#{ e . class } )" , e . backtrace . drop ( 1 ) . map { |s | "\t #{ s } " }
28
28
Server . log msg
29
- socket . print '<pre style="max-width: 100%; color: red; width: 100%; font-size:20px; white-space: normal;">'
29
+ socket . print "HTTP/1.1 200 OK\r \n Content-Type: text/html;charset=utf-8\r \n \r \n "
30
+ socket . print '<html><body><pre style="max-width: 100%; color: red; width: 100%; font-size:20px; white-space: normal;">'
30
31
31
32
socket . print msg . join ( "<br>" )
32
- socket . print '</pre>'
33
+ socket . print '</pre></body></html> '
33
34
end
34
35
35
36
socket . close
You can’t perform that action at this time.
0 commit comments