wunderbar 0.21.0 → 0.21.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 +8 -8
- data/README.md +4 -4
- data/lib/wunderbar/builder.rb +4 -1
- data/lib/wunderbar/html-methods.rb +2 -0
- data/lib/wunderbar/jquery/filter.rb +2 -1
- data/lib/wunderbar/version.rb +1 -1
- data/wunderbar.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGE1ODA3MmFhMjIzNGI3MTNiY2M1ZDhhZDc0MDI5NjM2YzUwNDk3Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTA4NjAxYzAzZjE0NGNkNjY4NjZhYmU1YTFhMzlkMDNhMGNlZDI4Ng==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDNhYWMxYWE5YTkzYjEzYmNhMmE4N2RkNGQ1Mzc3MmE4MTE5MzJmNGYwOGVh
|
10
|
+
NTZlYTAxYjhkNWEyYTI3MmQ3MjIzZDUzZjdmNjNiMWNiOWZhZTY0ZDFmNDdi
|
11
|
+
YzI1OTcyNjViODQxMDU2Y2U4NTA0YzBjNTVlODVjZWNmNmY5OGY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzdiMGFkNjA0NDQ5ZWJlZmZkMDljMTY2MmUwNjU1YzJhZmNhN2RhMzUyMzIz
|
14
|
+
YzBhODg2MmFkNzRkNWNkNzQ2N2ZiNmY0YTIyODkwMjkwNWQ3MzQ0Yjk3Mzlh
|
15
|
+
ZjY3MDYxODc1MWEyYjY4OWUyYjAxYzE3YzBhNDY0ZDQ3ZTFkZjc=
|
data/README.md
CHANGED
@@ -424,10 +424,10 @@ Optional dependencies:
|
|
424
424
|
|
425
425
|
The following gems are needed based on what functions you use:
|
426
426
|
|
427
|
-
* `em-websocket
|
428
|
-
* `kramdown
|
429
|
-
* `ruby2js
|
430
|
-
* `sourcify
|
427
|
+
* `em-websocket` is required by `wunderbar/websocket`
|
428
|
+
* `kramdown` is required by `wunderbar/markdown`
|
429
|
+
* `ruby2js` adds support for scripts written as blocks
|
430
|
+
* `sourcify` is required by `wunderbar/opal`
|
431
431
|
|
432
432
|
The following gems are required by extensions of the same name:
|
433
433
|
|
data/lib/wunderbar/builder.rb
CHANGED
@@ -110,6 +110,8 @@ module Wunderbar
|
|
110
110
|
|
111
111
|
# avoid method_missing overhead for the most common case
|
112
112
|
def tag!(sym, *args, &block)
|
113
|
+
current_node = @node
|
114
|
+
|
113
115
|
if sym.respond_to? :children
|
114
116
|
node = sym
|
115
117
|
attributes = node.attributes
|
@@ -149,9 +151,10 @@ module Wunderbar
|
|
149
151
|
block.call(self)
|
150
152
|
@node.children << nil if @node.children.empty?
|
151
153
|
end
|
152
|
-
@node = @node.parent
|
153
154
|
|
154
155
|
node
|
156
|
+
ensure
|
157
|
+
@node = current_node
|
155
158
|
end
|
156
159
|
|
157
160
|
def pdf=(value)
|
data/lib/wunderbar/version.rb
CHANGED
data/wunderbar.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "wunderbar"
|
5
|
-
s.version = "0.21.
|
5
|
+
s.version = "0.21.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Sam Ruby"]
|
9
|
-
s.date = "2014-
|
9
|
+
s.date = "2014-02-26"
|
10
10
|
s.description = " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML, Unicode\n (utf-8), consistently indented, readable applications. This includes\n output that conforms to the Polyglot specification and the emerging\n results from the XML Error Recovery Community Group.\n"
|
11
11
|
s.email = "rubys@intertwingly.net"
|
12
12
|
s.files = ["wunderbar.gemspec", "README.md", "COPYING", "lib/wunderbar.rb", "lib/wunderbar", "lib/wunderbar/logger.rb", "lib/wunderbar/coderay.rb", "lib/wunderbar/rails.rb", "lib/wunderbar/builder.rb", "lib/wunderbar/coffeescript.rb", "lib/wunderbar/vendor", "lib/wunderbar/vendor/polymer-v0.0.20131003.min.js", "lib/wunderbar/vendor/bootstrap.min.js", "lib/wunderbar/vendor/angular-resource.min.js", "lib/wunderbar/vendor/jquery-1.10.2.min.js", "lib/wunderbar/vendor/Markdown.Converter.js", "lib/wunderbar/vendor/bootstrap-theme.min.css", "lib/wunderbar/vendor/angular-route.min.js", "lib/wunderbar/vendor/angular.min.js", "lib/wunderbar/vendor/underscore-min.js", "lib/wunderbar/vendor/stupidtable.min.js", "lib/wunderbar/vendor/bootstrap.min.css", "lib/wunderbar/markdown.rb", "lib/wunderbar/environment.rb", "lib/wunderbar/pagedown.rb", "lib/wunderbar/underscore.rb", "lib/wunderbar/server.rb", "lib/wunderbar/polymer.rb", "lib/wunderbar/version.rb", "lib/wunderbar/node.rb", "lib/wunderbar/asset.rb", "lib/wunderbar/script.rb", "lib/wunderbar/websocket.rb", "lib/wunderbar/bootstrap.rb", "lib/wunderbar/jquery", "lib/wunderbar/jquery/filter.rb", "lib/wunderbar/jquery/stupidtable.rb", "lib/wunderbar/angularjs", "lib/wunderbar/angularjs/route.rb", "lib/wunderbar/angularjs/resource.rb", "lib/wunderbar/opal", "lib/wunderbar/opal/browser.rb", "lib/wunderbar/opal/jquery.rb", "lib/wunderbar/html-methods.rb", "lib/wunderbar/job-control.rb", "lib/wunderbar/cssproxy.rb", "lib/wunderbar/angularjs.rb", "lib/wunderbar/jquery.rb", "lib/wunderbar/bootstrap", "lib/wunderbar/bootstrap/theme.rb", "lib/wunderbar/cgi-methods.rb", "lib/wunderbar/sinatra.rb", "lib/wunderbar/rack.rb", "lib/wunderbar/opal.rb", "lib/wunderbar/installation.rb"]
|
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: 0.21.
|
4
|
+
version: 0.21.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|