wunderbar 1.0.17 → 1.0.18
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/README.md +2 -2
- data/lib/wunderbar/job-control.rb +6 -1
- data/lib/wunderbar/version.rb +1 -1
- data/wunderbar.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 975a0ebdb8ed585e047ee343fa18ee036f8ba38f
|
4
|
+
data.tar.gz: 50267ba72ed73050b23a217d9f3abfc2bbf268b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d5073c760970ace45d4a4c95a1bebdcac696a09a8e50bcc42ad7503f4697bd4e8d7ceec5b02b71895a4d4ca93ed69168fa0c455354fcf3c03e8b0b265e6ecb9
|
7
|
+
data.tar.gz: c0fe79197a3e9abae9cba6be47327614be66df098860179ef56dda4f3a040e229a399b78270f8bd741d771bee21d2f2491118f600f2a2b3c13999922f21d14fb
|
data/README.md
CHANGED
@@ -198,7 +198,7 @@ Methods provided to Wunderbar.html
|
|
198
198
|
|
199
199
|
Invoking methods that start with a Unicode
|
200
200
|
[low line](http://www.fileformat.info/info/unicode/char/5f/index.htm)
|
201
|
-
character ("_") will generate
|
201
|
+
character ("_") will generate an HTML tag. As with builder, on which this
|
202
202
|
library is based, these tags can have text content and attributes. Tags can
|
203
203
|
also be nested. Logic can be freely intermixed.
|
204
204
|
|
@@ -215,7 +215,7 @@ Suffixes after the tag name will modify the processing.
|
|
215
215
|
|
216
216
|
The "`_`" method serves a number of purposes. Calling it with a single
|
217
217
|
argument inserts markup, respecting indendation. Inserting markup without
|
218
|
-
|
218
|
+
regard to indendatation is done using "`_ << text`". A number of other
|
219
219
|
convenience methods are defined:
|
220
220
|
|
221
221
|
* `_`: insert text with indentation matching the current output
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'wunderbar'
|
2
|
+
require 'rbconfig'
|
2
3
|
|
3
4
|
# run command/block as a background daemon
|
4
5
|
module Wunderbar
|
@@ -14,7 +15,11 @@ module Wunderbar
|
|
14
15
|
|
15
16
|
# close open files
|
16
17
|
STDIN.reopen '/dev/null'
|
17
|
-
|
18
|
+
if RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
|
19
|
+
STDOUT.reopen '/dev/null'
|
20
|
+
else
|
21
|
+
STDOUT.reopen '/dev/null', 'a'
|
22
|
+
end
|
18
23
|
STDERR.reopen STDOUT
|
19
24
|
|
20
25
|
# clear environment of cgi cruft
|
data/lib/wunderbar/version.rb
CHANGED
data/wunderbar.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: wunderbar 1.0.
|
2
|
+
# stub: wunderbar 1.0.18 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "wunderbar"
|
6
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.0.18"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
10
10
|
s.authors = ["Sam Ruby"]
|
11
|
-
s.date = "2016-02-
|
11
|
+
s.date = "2016-02-08"
|
12
12
|
s.description = " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML, Unicode\n (utf-8), consistently indented, readable applications.'\n"
|
13
13
|
s.email = "rubys@intertwingly.net"
|
14
14
|
s.files = ["COPYING", "README.md", "lib/wunderbar", "lib/wunderbar.rb", "lib/wunderbar/angularjs", "lib/wunderbar/angularjs.rb", "lib/wunderbar/angularjs/resource.rb", "lib/wunderbar/angularjs/route.rb", "lib/wunderbar/asset.rb", "lib/wunderbar/backtick.rb", "lib/wunderbar/bootstrap", "lib/wunderbar/bootstrap.rb", "lib/wunderbar/bootstrap/theme.rb", "lib/wunderbar/builder.rb", "lib/wunderbar/cgi-methods.rb", "lib/wunderbar/coderay.rb", "lib/wunderbar/coffeescript.rb", "lib/wunderbar/cssproxy.rb", "lib/wunderbar/environment.rb", "lib/wunderbar/eventsource.rb", "lib/wunderbar/html-methods.rb", "lib/wunderbar/installation.rb", "lib/wunderbar/job-control.rb", "lib/wunderbar/jquery", "lib/wunderbar/jquery.rb", "lib/wunderbar/jquery/filter.rb", "lib/wunderbar/jquery/stupidtable.rb", "lib/wunderbar/listen.rb", "lib/wunderbar/logger.rb", "lib/wunderbar/markdown.rb", "lib/wunderbar/marked.rb", "lib/wunderbar/node.rb", "lib/wunderbar/pagedown.rb", "lib/wunderbar/polymer.rb", "lib/wunderbar/rack.rb", "lib/wunderbar/rails.rb", "lib/wunderbar/react.rb", "lib/wunderbar/script.rb", "lib/wunderbar/server.rb", "lib/wunderbar/sinatra.rb", "lib/wunderbar/underscore.rb", "lib/wunderbar/vendor", "lib/wunderbar/vendor/Markdown.Converter.js", "lib/wunderbar/vendor/angular-resource.min.js", "lib/wunderbar/vendor/angular-route.min.js", "lib/wunderbar/vendor/angular.min.js", "lib/wunderbar/vendor/bootstrap-theme.min.css", "lib/wunderbar/vendor/bootstrap.min.css", "lib/wunderbar/vendor/bootstrap.min.js", "lib/wunderbar/vendor/eventsource.min.js", "lib/wunderbar/vendor/jquery-1.11.2.min.js", "lib/wunderbar/vendor/marked.min.js", "lib/wunderbar/vendor/polymer-v0.0.20131003.min.js", "lib/wunderbar/vendor/react-dom.min.js", "lib/wunderbar/vendor/react-with-addons.min.js", "lib/wunderbar/vendor/stupidtable.min.js", "lib/wunderbar/vendor/underscore-min.js", "lib/wunderbar/version.rb", "lib/wunderbar/websocket.rb", "wunderbar.gemspec"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wunderbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|