wunderbar 0.18.3 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -0
- data/lib/wunderbar/{angular-resource.rb → angularjs/resource.rb} +1 -1
- data/lib/wunderbar/{angular-route.rb → angularjs/route.rb} +1 -1
- data/lib/wunderbar/angularjs.rb +1 -1
- data/lib/wunderbar/asset.rb +17 -6
- data/lib/wunderbar/builder.rb +8 -11
- data/lib/wunderbar/cgi-methods.rb +4 -5
- data/lib/wunderbar/cssproxy.rb +4 -0
- data/lib/wunderbar/html-methods.rb +9 -5
- data/lib/wunderbar/job-control.rb +2 -0
- data/lib/wunderbar/jquery/stupidtable.rb +5 -0
- data/lib/wunderbar/jquery.rb +2 -1
- data/lib/wunderbar/markdown.rb +1 -0
- data/lib/wunderbar/node.rb +34 -12
- data/lib/wunderbar/{opal-browser.rb → opal/browser.rb} +0 -0
- data/lib/wunderbar/{opal-jquery.rb → opal/jquery.rb} +0 -0
- data/lib/wunderbar/pagedown.rb +5 -0
- data/lib/wunderbar/polymer.rb +1 -1
- data/lib/wunderbar/script.rb +16 -3
- data/lib/wunderbar/sinatra.rb +7 -2
- data/lib/wunderbar/vendor/Markdown.Converter.js +1412 -0
- data/lib/wunderbar/{angular-resource.min.js → vendor/angular-resource.min.js} +0 -0
- data/lib/wunderbar/{angular-route.min.js → vendor/angular-route.min.js} +0 -0
- data/lib/wunderbar/{angular.min.js → vendor/angular.min.js} +0 -0
- data/lib/wunderbar/{jquery-1.10.2.min.js → vendor/jquery-1.10.2.min.js} +0 -0
- data/lib/wunderbar/{polymer-v0.0.20131003.min.js → vendor/polymer-v0.0.20131003.min.js} +0 -0
- data/lib/wunderbar/vendor/stupidtable.min.js +1 -0
- data/lib/wunderbar/version.rb +2 -2
- data/lib/wunderbar/websocket.rb +1 -1
- data/lib/wunderbar.rb +0 -1
- data/wunderbar.gemspec +3 -3
- metadata +17 -13
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(d){d.fn.stupidtable=function(b){return this.each(function(){var a=d(this);b=b||{};b=d.extend({},d.fn.stupidtable.default_sort_fns,b);var n=function(a,b){for(var f=[],c=0,e=a.slice(0).sort(b),h=0;h<a.length;h++){for(c=d.inArray(a[h],e);-1!=d.inArray(c,f);)c++;f.push(c)}return f},q=function(a,b){for(var d=a.slice(0),c=0,e=0;e<b.length;e++)c=b[e],d[c]=a[e];return d};a.on("click","th",function(){var m=a.children("tbody").children("tr"),g=d(this),f=0,c=d.fn.stupidtable.dir;a.find("th").slice(0, g.index()).each(function(){var a=d(this).attr("colspan")||1;f+=parseInt(a,10)});var e=g.data("sort-default")||c.ASC;g.data("sort-dir")&&(e=g.data("sort-dir")===c.ASC?c.DESC:c.ASC);var h=g.data("sort")||null;null!==h&&(a.trigger("beforetablesort",{column:f,direction:e}),a.css("display"),setTimeout(function(){var l=[],p=b[h];m.each(function(a,b){var c=d(b).children().eq(f),e=c.data("sort-value"),c="undefined"!==typeof e?e:c.text();l.push(c)});var k;k=e==c.ASC?n(l,p):n(l,function(a,b){return-p(a,b)}); a.find("th").data("sort-dir",null).removeClass("sorting-desc sorting-asc");g.data("sort-dir",e).addClass("sorting-"+e);k=d(q(m,k));a.children("tbody").remove();a.append("<tbody />").append(k);a.trigger("aftertablesort",{column:f,direction:e});a.css("display")},10))})})};d.fn.stupidtable.dir={ASC:"asc",DESC:"desc"};d.fn.stupidtable.default_sort_fns={"int":function(b,a){return parseInt(b,10)-parseInt(a,10)},"float":function(b,a){return parseFloat(b)-parseFloat(a)},string:function(b,a){return b<a?-1: b>a?1:0},"string-ins":function(b,a){b=b.toLowerCase();a=a.toLowerCase();return b<a?-1:b>a?1:0}}})(jQuery);
|
data/lib/wunderbar/version.rb
CHANGED
data/lib/wunderbar/websocket.rb
CHANGED
data/lib/wunderbar.rb
CHANGED
data/wunderbar.gemspec
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "wunderbar"
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.19.0"
|
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 = "2013-12-
|
9
|
+
s.date = "2013-12-07"
|
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
|
-
s.files = ["wunderbar.gemspec", "README.md", "COPYING", "lib/wunderbar", "lib/wunderbar/asset.rb", "lib/wunderbar/script.rb", "lib/wunderbar/environment.rb", "lib/wunderbar/
|
12
|
+
s.files = ["wunderbar.gemspec", "README.md", "COPYING", "lib/wunderbar", "lib/wunderbar/asset.rb", "lib/wunderbar/script.rb", "lib/wunderbar/environment.rb", "lib/wunderbar/installation.rb", "lib/wunderbar/websocket.rb", "lib/wunderbar/opal.rb", "lib/wunderbar/coffeescript.rb", "lib/wunderbar/jquery.rb", "lib/wunderbar/sinatra.rb", "lib/wunderbar/node.rb", "lib/wunderbar/vendor", "lib/wunderbar/vendor/angular.min.js", "lib/wunderbar/vendor/angular-route.min.js", "lib/wunderbar/vendor/polymer-v0.0.20131003.min.js", "lib/wunderbar/vendor/Markdown.Converter.js", "lib/wunderbar/vendor/jquery-1.10.2.min.js", "lib/wunderbar/vendor/stupidtable.min.js", "lib/wunderbar/vendor/angular-resource.min.js", "lib/wunderbar/angularjs.rb", "lib/wunderbar/pagedown.rb", "lib/wunderbar/angularjs", "lib/wunderbar/angularjs/route.rb", "lib/wunderbar/angularjs/resource.rb", "lib/wunderbar/logger.rb", "lib/wunderbar/job-control.rb", "lib/wunderbar/rack.rb", "lib/wunderbar/opal", "lib/wunderbar/opal/browser.rb", "lib/wunderbar/opal/jquery.rb", "lib/wunderbar/polymer.rb", "lib/wunderbar/cgi-methods.rb", "lib/wunderbar/jquery", "lib/wunderbar/jquery/stupidtable.rb", "lib/wunderbar/cssproxy.rb", "lib/wunderbar/version.rb", "lib/wunderbar/coderay.rb", "lib/wunderbar/html-methods.rb", "lib/wunderbar/rails.rb", "lib/wunderbar/builder.rb", "lib/wunderbar/markdown.rb", "lib/wunderbar/server.rb", "lib/wunderbar.rb"]
|
13
13
|
s.homepage = "http://github.com/rubys/wunderbar"
|
14
14
|
s.licenses = ["MIT"]
|
15
15
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wunderbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
|
-
requirement: &
|
16
|
+
requirement: &11053300 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11053300
|
25
25
|
description: ! " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML,
|
26
26
|
Unicode\n (utf-8), consistently indented, readable applications. This includes\n
|
27
27
|
\ output that conforms to the Polyglot specification and the emerging\n results
|
@@ -37,36 +37,40 @@ files:
|
|
37
37
|
- lib/wunderbar/asset.rb
|
38
38
|
- lib/wunderbar/script.rb
|
39
39
|
- lib/wunderbar/environment.rb
|
40
|
-
- lib/wunderbar/angular.min.js
|
41
|
-
- lib/wunderbar/angular-route.min.js
|
42
40
|
- lib/wunderbar/installation.rb
|
43
41
|
- lib/wunderbar/websocket.rb
|
44
42
|
- lib/wunderbar/opal.rb
|
45
|
-
- lib/wunderbar/angular-route.rb
|
46
43
|
- lib/wunderbar/coffeescript.rb
|
47
44
|
- lib/wunderbar/jquery.rb
|
48
45
|
- lib/wunderbar/sinatra.rb
|
49
46
|
- lib/wunderbar/node.rb
|
50
|
-
- lib/wunderbar/
|
51
|
-
- lib/wunderbar/
|
47
|
+
- lib/wunderbar/vendor/angular.min.js
|
48
|
+
- lib/wunderbar/vendor/angular-route.min.js
|
49
|
+
- lib/wunderbar/vendor/polymer-v0.0.20131003.min.js
|
50
|
+
- lib/wunderbar/vendor/Markdown.Converter.js
|
51
|
+
- lib/wunderbar/vendor/jquery-1.10.2.min.js
|
52
|
+
- lib/wunderbar/vendor/stupidtable.min.js
|
53
|
+
- lib/wunderbar/vendor/angular-resource.min.js
|
52
54
|
- lib/wunderbar/angularjs.rb
|
55
|
+
- lib/wunderbar/pagedown.rb
|
56
|
+
- lib/wunderbar/angularjs/route.rb
|
57
|
+
- lib/wunderbar/angularjs/resource.rb
|
53
58
|
- lib/wunderbar/logger.rb
|
54
59
|
- lib/wunderbar/job-control.rb
|
55
60
|
- lib/wunderbar/rack.rb
|
61
|
+
- lib/wunderbar/opal/browser.rb
|
62
|
+
- lib/wunderbar/opal/jquery.rb
|
56
63
|
- lib/wunderbar/polymer.rb
|
57
64
|
- lib/wunderbar/cgi-methods.rb
|
65
|
+
- lib/wunderbar/jquery/stupidtable.rb
|
58
66
|
- lib/wunderbar/cssproxy.rb
|
59
67
|
- lib/wunderbar/version.rb
|
60
68
|
- lib/wunderbar/coderay.rb
|
61
|
-
- lib/wunderbar/jquery-1.10.2.min.js
|
62
69
|
- lib/wunderbar/html-methods.rb
|
63
70
|
- lib/wunderbar/rails.rb
|
64
|
-
- lib/wunderbar/opal-browser.rb
|
65
|
-
- lib/wunderbar/angular-resource.rb
|
66
71
|
- lib/wunderbar/builder.rb
|
67
72
|
- lib/wunderbar/markdown.rb
|
68
73
|
- lib/wunderbar/server.rb
|
69
|
-
- lib/wunderbar/angular-resource.min.js
|
70
74
|
- lib/wunderbar.rb
|
71
75
|
homepage: http://github.com/rubys/wunderbar
|
72
76
|
licenses:
|