easy_html_creator 1.3.0 → 1.3.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/server/server.rb +3 -2
- metadata +4 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f050b1dd390c6a8b5ad4f0691756f2b708820e3c
|
|
4
|
+
data.tar.gz: c8d2b3054146642a373c4f3a6ab11bce7de06151
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 403e7eb4284493f0372857eb0c1b6d6a6f1a59d80b48339bac7bdd1b17ec8af81bfb436bb601bc7f5839c1ad9e068ac007ecba09e15b36d68bec3429c69a2ac8
|
|
7
|
+
data.tar.gz: 934c7cf35f4942c2f5fef7b1cb28904a6b52cb505c664b6d920542638908c9c80612a792c012b7362aac08c0e4f41cbdaf8f1125460788c25931fda3be95ca1d
|
data/CHANGELOG.md
CHANGED
data/lib/server/server.rb
CHANGED
|
@@ -26,10 +26,11 @@ module Server
|
|
|
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
|
|
29
|
+
socket.print "HTTP/1.1 200 OK\r\nContent-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
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy_html_creator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Tom Hanoldt
|
|
8
7
|
- Dennis van de Hoef
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2015-09-
|
|
11
|
+
date: 2015-09-17 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: haml
|
|
@@ -172,14 +171,10 @@ description: |-
|
|
|
172
171
|
|
|
173
172
|
Using our Gem you could generate and maintain multiple static websites and program them in your preferred languages.
|
|
174
173
|
|
|
175
|
-
Currently supported by our fast and lightweight re-generation server:
|
|
176
|
-
HAML
|
|
177
|
-
Sass (with bootstarp)
|
|
178
|
-
CoffeeScript
|
|
174
|
+
Currently supported by our fast and lightweight re-generation server: HAML, Sass (with bootstarp) and CoffeeScript.
|
|
179
175
|
|
|
180
176
|
We also included the 'actionview' gem, to enable the use of rails standard functions like 'text_field_tag'.
|
|
181
177
|
email:
|
|
182
|
-
- monotom@gmail.com
|
|
183
178
|
- dennisvdhoef@gmail.com
|
|
184
179
|
executables:
|
|
185
180
|
- ehc
|
|
@@ -285,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
285
280
|
version: '0'
|
|
286
281
|
requirements: []
|
|
287
282
|
rubyforge_project:
|
|
288
|
-
rubygems_version: 2.4.
|
|
283
|
+
rubygems_version: 2.4.6
|
|
289
284
|
signing_key:
|
|
290
285
|
specification_version: 4
|
|
291
286
|
summary: A simple project for fast and easy HTML website createmend
|