wunderbar 0.18.3 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/README.md +6 -0
  2. data/lib/wunderbar/{angular-resource.rb → angularjs/resource.rb} +1 -1
  3. data/lib/wunderbar/{angular-route.rb → angularjs/route.rb} +1 -1
  4. data/lib/wunderbar/angularjs.rb +1 -1
  5. data/lib/wunderbar/asset.rb +17 -6
  6. data/lib/wunderbar/builder.rb +8 -11
  7. data/lib/wunderbar/cgi-methods.rb +4 -5
  8. data/lib/wunderbar/cssproxy.rb +4 -0
  9. data/lib/wunderbar/html-methods.rb +9 -5
  10. data/lib/wunderbar/job-control.rb +2 -0
  11. data/lib/wunderbar/jquery/stupidtable.rb +5 -0
  12. data/lib/wunderbar/jquery.rb +2 -1
  13. data/lib/wunderbar/markdown.rb +1 -0
  14. data/lib/wunderbar/node.rb +34 -12
  15. data/lib/wunderbar/{opal-browser.rb → opal/browser.rb} +0 -0
  16. data/lib/wunderbar/{opal-jquery.rb → opal/jquery.rb} +0 -0
  17. data/lib/wunderbar/pagedown.rb +5 -0
  18. data/lib/wunderbar/polymer.rb +1 -1
  19. data/lib/wunderbar/script.rb +16 -3
  20. data/lib/wunderbar/sinatra.rb +7 -2
  21. data/lib/wunderbar/vendor/Markdown.Converter.js +1412 -0
  22. data/lib/wunderbar/{angular-resource.min.js → vendor/angular-resource.min.js} +0 -0
  23. data/lib/wunderbar/{angular-route.min.js → vendor/angular-route.min.js} +0 -0
  24. data/lib/wunderbar/{angular.min.js → vendor/angular.min.js} +0 -0
  25. data/lib/wunderbar/{jquery-1.10.2.min.js → vendor/jquery-1.10.2.min.js} +0 -0
  26. data/lib/wunderbar/{polymer-v0.0.20131003.min.js → vendor/polymer-v0.0.20131003.min.js} +0 -0
  27. data/lib/wunderbar/vendor/stupidtable.min.js +1 -0
  28. data/lib/wunderbar/version.rb +2 -2
  29. data/lib/wunderbar/websocket.rb +1 -1
  30. data/lib/wunderbar.rb +0 -1
  31. data/wunderbar.gemspec +3 -3
  32. metadata +17 -13
@@ -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);
@@ -1,8 +1,8 @@
1
1
  module Wunderbar
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 18
5
- TINY = 3
4
+ MINOR = 19
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/ruby
2
- require 'rubygems'
2
+ require 'wunderbar/job-control'
3
3
  require 'open3'
4
4
  require 'socket'
5
5
 
data/lib/wunderbar.rb CHANGED
@@ -8,7 +8,6 @@ require 'wunderbar/cgi-methods'
8
8
  require 'wunderbar/cssproxy'
9
9
  require 'wunderbar/html-methods'
10
10
  require 'wunderbar/installation'
11
- require 'wunderbar/job-control'
12
11
  require 'wunderbar/logger'
13
12
  require 'wunderbar/node'
14
13
  require 'wunderbar/server'
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.18.3"
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-01"
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/angular.min.js", "lib/wunderbar/angular-route.min.js", "lib/wunderbar/installation.rb", "lib/wunderbar/websocket.rb", "lib/wunderbar/opal.rb", "lib/wunderbar/angular-route.rb", "lib/wunderbar/coffeescript.rb", "lib/wunderbar/jquery.rb", "lib/wunderbar/sinatra.rb", "lib/wunderbar/node.rb", "lib/wunderbar/polymer-v0.0.20131003.min.js", "lib/wunderbar/opal-jquery.rb", "lib/wunderbar/angularjs.rb", "lib/wunderbar/logger.rb", "lib/wunderbar/job-control.rb", "lib/wunderbar/rack.rb", "lib/wunderbar/polymer.rb", "lib/wunderbar/cgi-methods.rb", "lib/wunderbar/cssproxy.rb", "lib/wunderbar/version.rb", "lib/wunderbar/coderay.rb", "lib/wunderbar/jquery-1.10.2.min.js", "lib/wunderbar/html-methods.rb", "lib/wunderbar/rails.rb", "lib/wunderbar/opal-browser.rb", "lib/wunderbar/angular-resource.rb", "lib/wunderbar/builder.rb", "lib/wunderbar/markdown.rb", "lib/wunderbar/server.rb", "lib/wunderbar/angular-resource.min.js", "lib/wunderbar.rb"]
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.18.3
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-01 00:00:00.000000000 Z
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: &11779760 !ruby/object:Gem::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: *11779760
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/polymer-v0.0.20131003.min.js
51
- - lib/wunderbar/opal-jquery.rb
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: