async-debug 0.1.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/debug/application.rb +21 -0
- data/lib/async/debug/reactor_view.rb +7 -24
- data/lib/async/debug/version.rb +3 -20
- data/lib/async/debug.rb +15 -71
- data/license.md +21 -0
- data/readme.md +27 -0
- data.tar.gz.sig +0 -0
- metadata +45 -182
- metadata.gz.sig +0 -0
- data/pages/_heading.xnode +0 -2
- data/pages/_page.xnode +0 -42
- data/pages/controller.rb +0 -19
- data/pages/errors/exception.xnode +0 -5
- data/pages/errors/file-not-found.xnode +0 -5
- data/pages/index.xnode +0 -3
- data/pages/links.yaml +0 -4
- data/public/_components/@socketry/live/live.js +0 -157
- data/public/_components/@socketry/live/live.min.js +0 -1
- data/public/_components/jquery/jquery.js +0 -10872
- data/public/_components/jquery/jquery.min.js +0 -2
- data/public/_components/jquery/jquery.min.map +0 -1
- data/public/_components/jquery/jquery.slim.js +0 -8777
- data/public/_components/jquery/jquery.slim.min.js +0 -2
- data/public/_components/jquery/jquery.slim.min.map +0 -1
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css +0 -12
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css +0 -5
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css +0 -8
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.bash-script.css +0 -4
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.bash.css +0 -2
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.clang.css +0 -6
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.css.css +0 -14
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.diff.css +0 -16
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.html.css +0 -5
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.ocaml.css +0 -3
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.protobuf.css +0 -2
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.python.css +0 -6
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css +0 -2
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css +0 -35
- data/public/_components/jquery-syntax/base/jquery.syntax.core.css +0 -58
- data/public/_components/jquery-syntax/base/jquery.syntax.editor.css +0 -6
- data/public/_components/jquery-syntax/base/theme.js +0 -1
- data/public/_components/jquery-syntax/bright/jquery.syntax.core.css +0 -27
- data/public/_components/jquery-syntax/bright/theme.js +0 -1
- data/public/_components/jquery-syntax/jquery.syntax.brush.apache.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.applescript.js +0 -5
- data/public/_components/jquery-syntax/jquery.syntax.brush.assembly.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.bash-script.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.bash.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.basic.js +0 -5
- data/public/_components/jquery-syntax/jquery.syntax.brush.clang.js +0 -5
- data/public/_components/jquery-syntax/jquery.syntax.brush.csharp.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.css.js +0 -5
- data/public/_components/jquery-syntax/jquery.syntax.brush.diff.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.go.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.haskell.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.html.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.io.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.java.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.javascript.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.kai.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.lisp.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.lua.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.nginx.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.ocaml.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.ooc.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.pascal.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.perl5.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.php-script.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.php.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.plain.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.protobuf.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.python.js +0 -5
- data/public/_components/jquery-syntax/jquery.syntax.brush.ruby.js +0 -5
- data/public/_components/jquery-syntax/jquery.syntax.brush.scala.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.sql.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.super-collider.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.swift.js +0 -3
- data/public/_components/jquery-syntax/jquery.syntax.brush.trenni.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.brush.xml.js +0 -4
- data/public/_components/jquery-syntax/jquery.syntax.brush.yaml.js +0 -2
- data/public/_components/jquery-syntax/jquery.syntax.cache.js +0 -7
- data/public/_components/jquery-syntax/jquery.syntax.core.js +0 -34
- data/public/_components/jquery-syntax/jquery.syntax.editor.js +0 -11
- data/public/_components/jquery-syntax/jquery.syntax.js +0 -8
- data/public/_components/jquery-syntax/jquery.syntax.min.js +0 -13
- data/public/_components/jquery-syntax/paper/jquery.syntax.core.css +0 -31
- data/public/_components/jquery-syntax/paper/theme.js +0 -1
- data/public/_components/morphdom/morphdom-esm.js +0 -755
- data/public/_components/morphdom/morphdom-factory.js +0 -691
- data/public/_components/morphdom/morphdom-umd.js +0 -763
- data/public/_components/morphdom/morphdom-umd.min.js +0 -1
- data/public/_components/morphdom/morphdom.js +0 -757
- data/public/_static/icon.png +0 -0
- data/public/_static/links.js +0 -21
- /data/public/_static/{site.css → index.css} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b858de7bf77e5007766eb58b7055ffeea9903e11d828fa68408716ab50f4384
|
4
|
+
data.tar.gz: 2644ee870b34309c5a84f2b98cd0db4300ab18c98f55d9c77dcd9d4d798622ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72acc5ffb80085738e3b4a461cfb735de0b16be656fbf7b0d9e3974fe8258264c7da1094f86a57e8ec4a99a29dc77ee235dc6b4313688883075e72b82063c0fd
|
7
|
+
data.tar.gz: 39b59405bd64fdc847393b964fbf553bdadc410a869ad82edde8b8557039673da433f75f5da087b9dc86d9a59332206e45201506e4d02987e45f772b133482fd
|
checksums.yaml.gz.sig
ADDED
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2021-2024, by Samuel Williams.
|
5
|
+
|
6
|
+
require 'lively/application'
|
7
|
+
require_relative 'reactor_view'
|
8
|
+
|
9
|
+
module Async
|
10
|
+
module Debug
|
11
|
+
class Application < Lively::Application
|
12
|
+
def self.resolver
|
13
|
+
Live::Resolver.allow(ReactorView)
|
14
|
+
end
|
15
|
+
|
16
|
+
def body(...)
|
17
|
+
ReactorView.new(...)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -1,35 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
# of this software and associated documentation files (the "Software"), to deal
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
10
|
-
# furnished to do so, subject to the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included in
|
13
|
-
# all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
# THE SOFTWARE.
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2021-2024, by Samuel Williams.
|
22
5
|
|
23
6
|
require 'live'
|
24
7
|
|
25
8
|
module Async
|
26
9
|
module Debug
|
27
10
|
class ReactorView < Live::View
|
28
|
-
def initialize(
|
11
|
+
def initialize(...)
|
29
12
|
super
|
30
13
|
|
31
14
|
@update = nil
|
32
|
-
@
|
15
|
+
@root = Async::Task.current.root
|
33
16
|
end
|
34
17
|
|
35
18
|
def bind(page)
|
@@ -38,7 +21,7 @@ module Async
|
|
38
21
|
@update = Async do |task|
|
39
22
|
while true
|
40
23
|
task.sleep(1.0/10.0)
|
41
|
-
self.
|
24
|
+
self.update!
|
42
25
|
end
|
43
26
|
end
|
44
27
|
end
|
@@ -50,10 +33,10 @@ module Async
|
|
50
33
|
end
|
51
34
|
|
52
35
|
def handle(event, details)
|
53
|
-
|
36
|
+
update!
|
54
37
|
end
|
55
38
|
|
56
|
-
def render_node(builder, node = @
|
39
|
+
def render_node(builder, node = @root)
|
57
40
|
klass = []
|
58
41
|
title = []
|
59
42
|
|
data/lib/async/debug/version.rb
CHANGED
@@ -1,27 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
# of this software and associated documentation files (the "Software"), to deal
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
10
|
-
# furnished to do so, subject to the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included in
|
13
|
-
# all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
# THE SOFTWARE.
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2021-2024, by Samuel Williams.
|
22
5
|
|
23
6
|
module Async
|
24
7
|
module Debug
|
25
|
-
VERSION = "0.
|
8
|
+
VERSION = "0.3.0"
|
26
9
|
end
|
27
10
|
end
|
data/lib/async/debug.rb
CHANGED
@@ -1,90 +1,34 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
# of this software and associated documentation files (the "Software"), to deal
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
10
|
-
# furnished to do so, subject to the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included in
|
13
|
-
# all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
# THE SOFTWARE.
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2021-2024, by Samuel Williams.
|
22
5
|
|
23
6
|
require_relative "debug/version"
|
7
|
+
require_relative "debug/application"
|
24
8
|
|
25
|
-
require '
|
26
|
-
require '
|
27
|
-
require '
|
28
|
-
require 'utopia/setup'
|
9
|
+
require 'lively/assets'
|
10
|
+
require 'async/http'
|
11
|
+
require 'protocol/http/middleware/builder'
|
29
12
|
|
30
13
|
module Async
|
31
14
|
module Debug
|
32
15
|
# Start the debugger.
|
33
16
|
#
|
34
|
-
# @parameter endpoint [Async::IO::Endpoint] The endpoint to bind to. Defaults to <
|
17
|
+
# @parameter endpoint [Async::IO::Endpoint] The endpoint to bind to. Defaults to <http://localhost:9090>.
|
35
18
|
def self.serve(endpoint: nil)
|
36
|
-
endpoint ||=
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
19
|
+
endpoint ||= Async::HTTP::Endpoint.parse("http://localhost:9090")
|
20
|
+
|
21
|
+
middleware = ::Protocol::HTTP::Middleware.build do |builder|
|
22
|
+
builder.use Lively::Assets, root: File.expand_path("../../public", __dir__)
|
23
|
+
|
24
|
+
builder.use Lively::Assets
|
25
|
+
builder.use Debug::Application
|
26
|
+
end
|
41
27
|
|
42
28
|
Async(transient: true, annotation: self) do
|
43
29
|
Console.logger.info(self, "Live debugger binding to #{endpoint}...")
|
44
30
|
Async::HTTP::Server.new(middleware, endpoint).run
|
45
31
|
end
|
46
32
|
end
|
47
|
-
|
48
|
-
# The root directory of the web application files.
|
49
|
-
SITE_ROOT = File.expand_path("../..", __dir__)
|
50
|
-
|
51
|
-
# The root directory for the utopia middleware.
|
52
|
-
PAGES_ROOT = File.expand_path("pages", SITE_ROOT)
|
53
|
-
|
54
|
-
# The root directory for static assets.
|
55
|
-
PUBLIC_ROOT = File.expand_path("public", SITE_ROOT)
|
56
|
-
|
57
|
-
# Appends a project application to the rack builder.
|
58
|
-
#
|
59
|
-
# @parameter builder [Rack::Builder]
|
60
|
-
# @parameter root [String] The file-system root path of the project/gem.
|
61
|
-
# @parameter locales [Array(String)] an array of locales to support, e.g. `['en', 'ja']`.
|
62
|
-
def self.call(builder, root = Dir.pwd, locales: nil, utopia: Utopia.setup)
|
63
|
-
# We want to propate exceptions up when running tests:
|
64
|
-
builder.use Rack::ShowExceptions
|
65
|
-
|
66
|
-
builder.use Utopia::Static, root: PUBLIC_ROOT
|
67
|
-
|
68
|
-
builder.use Utopia::Redirection::Rewrite, {
|
69
|
-
'/' => '/index'
|
70
|
-
}
|
71
|
-
|
72
|
-
builder.use Utopia::Redirection::DirectoryIndex
|
73
|
-
|
74
|
-
builder.use Utopia::Redirection::Errors, {
|
75
|
-
404 => '/errors/file-not-found'
|
76
|
-
}
|
77
|
-
|
78
|
-
if locales
|
79
|
-
builder.use Utopia::Localization,
|
80
|
-
default_locale: locales.first,
|
81
|
-
locales: locales
|
82
|
-
end
|
83
|
-
|
84
|
-
builder.use Utopia::Controller, root: PAGES_ROOT
|
85
|
-
builder.use Utopia::Content, root: PAGES_ROOT
|
86
|
-
|
87
|
-
builder.run lambda { |env| [404, {}, []] }
|
88
|
-
end
|
89
33
|
end
|
90
34
|
end
|
data/license.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# MIT License
|
2
|
+
|
3
|
+
Copyright, 2021-2024, by Samuel Williams.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/readme.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Async::Debug
|
2
|
+
|
3
|
+
A web-based debugger for asynchronous applications.
|
4
|
+
|
5
|
+
[![Development Status](https://github.com/socketry/async-debug/workflows/Test/badge.svg)](https://github.com/socketry/async-debug/actions?workflow=Test)
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
Please see the [project documentation](https://socketry.github.io/async-debug/).
|
10
|
+
|
11
|
+
## Contributing
|
12
|
+
|
13
|
+
We welcome contributions to this project.
|
14
|
+
|
15
|
+
1. Fork it.
|
16
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
17
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
18
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
19
|
+
5. Create new Pull Request.
|
20
|
+
|
21
|
+
### Developer Certificate of Origin
|
22
|
+
|
23
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
24
|
+
|
25
|
+
### Community Guidelines
|
26
|
+
|
27
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,127 +1,72 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIE2DCCA0CgAwIBAgIBATANBgkqhkiG9w0BAQsFADBhMRgwFgYDVQQDDA9zYW11
|
14
|
+
ZWwud2lsbGlhbXMxHTAbBgoJkiaJk/IsZAEZFg1vcmlvbnRyYW5zZmVyMRIwEAYK
|
15
|
+
CZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJuejAeFw0yMjA4MDYwNDUz
|
16
|
+
MjRaFw0zMjA4MDMwNDUzMjRaMGExGDAWBgNVBAMMD3NhbXVlbC53aWxsaWFtczEd
|
17
|
+
MBsGCgmSJomT8ixkARkWDW9yaW9udHJhbnNmZXIxEjAQBgoJkiaJk/IsZAEZFgJj
|
18
|
+
bzESMBAGCgmSJomT8ixkARkWAm56MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIB
|
19
|
+
igKCAYEAomvSopQXQ24+9DBB6I6jxRI2auu3VVb4nOjmmHq7XWM4u3HL+pni63X2
|
20
|
+
9qZdoq9xt7H+RPbwL28LDpDNflYQXoOhoVhQ37Pjn9YDjl8/4/9xa9+NUpl9XDIW
|
21
|
+
sGkaOY0eqsQm1pEWkHJr3zn/fxoKPZPfaJOglovdxf7dgsHz67Xgd/ka+Wo1YqoE
|
22
|
+
e5AUKRwUuvaUaumAKgPH+4E4oiLXI4T1Ff5Q7xxv6yXvHuYtlMHhYfgNn8iiW8WN
|
23
|
+
XibYXPNP7NtieSQqwR/xM6IRSoyXKuS+ZNGDPUUGk8RoiV/xvVN4LrVm9upSc0ss
|
24
|
+
RZ6qwOQmXCo/lLcDUxJAgG95cPw//sI00tZan75VgsGzSWAOdjQpFM0l4dxvKwHn
|
25
|
+
tUeT3ZsAgt0JnGqNm2Bkz81kG4A2hSyFZTFA8vZGhp+hz+8Q573tAR89y9YJBdYM
|
26
|
+
zp0FM4zwMNEUwgfRzv1tEVVUEXmoFCyhzonUUw4nE4CFu/sE3ffhjKcXcY//qiSW
|
27
|
+
xm4erY3XAgMBAAGjgZowgZcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
28
|
+
BBYEFO9t7XWuFf2SKLmuijgqR4sGDlRsMC4GA1UdEQQnMCWBI3NhbXVlbC53aWxs
|
29
|
+
aWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MC4GA1UdEgQnMCWBI3NhbXVlbC53aWxs
|
30
|
+
aWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MA0GCSqGSIb3DQEBCwUAA4IBgQB5sxkE
|
31
|
+
cBsSYwK6fYpM+hA5B5yZY2+L0Z+27jF1pWGgbhPH8/FjjBLVn+VFok3CDpRqwXCl
|
32
|
+
xCO40JEkKdznNy2avOMra6PFiQyOE74kCtv7P+Fdc+FhgqI5lMon6tt9rNeXmnW/
|
33
|
+
c1NaMRdxy999hmRGzUSFjozcCwxpy/LwabxtdXwXgSay4mQ32EDjqR1TixS1+smp
|
34
|
+
8C/NCWgpIfzpHGJsjvmH2wAfKtTTqB9CVKLCWEnCHyCaRVuKkrKjqhYCdmMBqCws
|
35
|
+
JkxfQWC+jBVeG9ZtPhQgZpfhvh+6hMhraUYRQ6XGyvBqEUe+yo6DKIT3MtGE2+CP
|
36
|
+
eX9i9ZWBydWb8/rvmwmX2kkcBbX0hZS1rcR593hGc61JR6lvkGYQ2MYskBveyaxt
|
37
|
+
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
|
+
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
|
+
-----END CERTIFICATE-----
|
40
|
+
date: 2024-07-14 00:00:00.000000000 Z
|
12
41
|
dependencies:
|
13
42
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: falcon
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: live
|
43
|
+
name: async-http
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
46
|
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
48
|
+
version: '0.69'
|
48
49
|
type: :runtime
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
55
|
+
version: '0.69'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: bake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: covered
|
57
|
+
name: lively
|
99
58
|
requirement: !ruby/object:Gem::Requirement
|
100
59
|
requirements:
|
101
60
|
- - "~>"
|
102
61
|
- !ruby/object:Gem::Version
|
103
62
|
version: '0.10'
|
104
|
-
type: :
|
63
|
+
type: :runtime
|
105
64
|
prerelease: false
|
106
65
|
version_requirements: !ruby/object:Gem::Requirement
|
107
66
|
requirements:
|
108
67
|
- - "~>"
|
109
68
|
- !ruby/object:Gem::Version
|
110
69
|
version: '0.10'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rspec
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '3.6'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '3.6'
|
125
70
|
description:
|
126
71
|
email:
|
127
72
|
executables: []
|
@@ -129,99 +74,17 @@ extensions: []
|
|
129
74
|
extra_rdoc_files: []
|
130
75
|
files:
|
131
76
|
- lib/async/debug.rb
|
77
|
+
- lib/async/debug/application.rb
|
132
78
|
- lib/async/debug/reactor_view.rb
|
133
79
|
- lib/async/debug/version.rb
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
- pages/errors/exception.xnode
|
138
|
-
- pages/errors/file-not-found.xnode
|
139
|
-
- pages/index.xnode
|
140
|
-
- pages/links.yaml
|
141
|
-
- public/_components/@socketry/live/live.js
|
142
|
-
- public/_components/@socketry/live/live.min.js
|
143
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css
|
144
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css
|
145
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css
|
146
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.bash-script.css
|
147
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.bash.css
|
148
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.clang.css
|
149
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.css.css
|
150
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.diff.css
|
151
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.html.css
|
152
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.ocaml.css
|
153
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.protobuf.css
|
154
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.python.css
|
155
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css
|
156
|
-
- public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css
|
157
|
-
- public/_components/jquery-syntax/base/jquery.syntax.core.css
|
158
|
-
- public/_components/jquery-syntax/base/jquery.syntax.editor.css
|
159
|
-
- public/_components/jquery-syntax/base/theme.js
|
160
|
-
- public/_components/jquery-syntax/bright/jquery.syntax.core.css
|
161
|
-
- public/_components/jquery-syntax/bright/theme.js
|
162
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.apache.js
|
163
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.applescript.js
|
164
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.assembly.js
|
165
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.bash-script.js
|
166
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.bash.js
|
167
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.basic.js
|
168
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.clang.js
|
169
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.csharp.js
|
170
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.css.js
|
171
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.diff.js
|
172
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.go.js
|
173
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.haskell.js
|
174
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.html.js
|
175
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.io.js
|
176
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.java.js
|
177
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.javascript.js
|
178
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.kai.js
|
179
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.lisp.js
|
180
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.lua.js
|
181
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.nginx.js
|
182
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.ocaml.js
|
183
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.ooc.js
|
184
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.pascal.js
|
185
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.perl5.js
|
186
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.php-script.js
|
187
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.php.js
|
188
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.plain.js
|
189
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.protobuf.js
|
190
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.python.js
|
191
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.ruby.js
|
192
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.scala.js
|
193
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js
|
194
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.sql.js
|
195
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.super-collider.js
|
196
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.swift.js
|
197
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.trenni.js
|
198
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.xml.js
|
199
|
-
- public/_components/jquery-syntax/jquery.syntax.brush.yaml.js
|
200
|
-
- public/_components/jquery-syntax/jquery.syntax.cache.js
|
201
|
-
- public/_components/jquery-syntax/jquery.syntax.core.js
|
202
|
-
- public/_components/jquery-syntax/jquery.syntax.editor.js
|
203
|
-
- public/_components/jquery-syntax/jquery.syntax.js
|
204
|
-
- public/_components/jquery-syntax/jquery.syntax.min.js
|
205
|
-
- public/_components/jquery-syntax/paper/jquery.syntax.core.css
|
206
|
-
- public/_components/jquery-syntax/paper/theme.js
|
207
|
-
- public/_components/jquery/jquery.js
|
208
|
-
- public/_components/jquery/jquery.min.js
|
209
|
-
- public/_components/jquery/jquery.min.map
|
210
|
-
- public/_components/jquery/jquery.slim.js
|
211
|
-
- public/_components/jquery/jquery.slim.min.js
|
212
|
-
- public/_components/jquery/jquery.slim.min.map
|
213
|
-
- public/_components/morphdom/morphdom-esm.js
|
214
|
-
- public/_components/morphdom/morphdom-factory.js
|
215
|
-
- public/_components/morphdom/morphdom-umd.js
|
216
|
-
- public/_components/morphdom/morphdom-umd.min.js
|
217
|
-
- public/_components/morphdom/morphdom.js
|
218
|
-
- public/_static/icon.png
|
219
|
-
- public/_static/links.js
|
220
|
-
- public/_static/site.css
|
80
|
+
- license.md
|
81
|
+
- public/_static/index.css
|
82
|
+
- readme.md
|
221
83
|
homepage: https://github.com/socketry/async-debug
|
222
84
|
licenses:
|
223
85
|
- MIT
|
224
|
-
metadata:
|
86
|
+
metadata:
|
87
|
+
source_code_uri: https://github.com/socketry/async-debug.git
|
225
88
|
post_install_message:
|
226
89
|
rdoc_options: []
|
227
90
|
require_paths:
|
@@ -230,14 +93,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
230
93
|
requirements:
|
231
94
|
- - ">="
|
232
95
|
- !ruby/object:Gem::Version
|
233
|
-
version:
|
96
|
+
version: '3.1'
|
234
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
98
|
requirements:
|
236
99
|
- - ">="
|
237
100
|
- !ruby/object:Gem::Version
|
238
101
|
version: '0'
|
239
102
|
requirements: []
|
240
|
-
rubygems_version: 3.
|
103
|
+
rubygems_version: 3.5.11
|
241
104
|
signing_key:
|
242
105
|
specification_version: 4
|
243
106
|
summary: Live debugging for Async.
|
metadata.gz.sig
ADDED
Binary file
|
data/pages/_heading.xnode
DELETED
data/pages/_page.xnode
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<?r response.cache! ?>
|
5
|
-
|
6
|
-
<?r if title = self[:title] ?>
|
7
|
-
<title>#{title.gsub(/<.*?>/, "")}</title>
|
8
|
-
<?r else ?>
|
9
|
-
<title>Async Debug</title>
|
10
|
-
<?r end ?>
|
11
|
-
|
12
|
-
<meta charset="UTF-8" />
|
13
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
14
|
-
|
15
|
-
<link rel="icon" type="image/png" href="/_static/icon.png" />
|
16
|
-
<link rel="stylesheet" href="/_static/site.css" type="text/css" media="screen" />
|
17
|
-
|
18
|
-
<script src="/_components/jquery/jquery.min.js"></script>
|
19
|
-
<script src="/_components/jquery-syntax/jquery.syntax.min.js"></script>
|
20
|
-
|
21
|
-
<script src="/_static/links.js"></script>
|
22
|
-
|
23
|
-
<script src="/_components/morphdom/morphdom-umd.js"></script>
|
24
|
-
<script src="/_components/@socketry/live/live.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript">
|
27
|
-
//<![CDATA[
|
28
|
-
jQuery(function($) {
|
29
|
-
$.syntax();
|
30
|
-
});
|
31
|
-
//]]>
|
32
|
-
</script>
|
33
|
-
</head>
|
34
|
-
|
35
|
-
<body>
|
36
|
-
<content:header />
|
37
|
-
|
38
|
-
<main>
|
39
|
-
<utopia:content/>
|
40
|
-
</main>
|
41
|
-
</body>
|
42
|
-
</html>
|
data/pages/controller.rb
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'async/websocket/adapters/rack'
|
3
|
-
require_relative '../lib/async/debug/reactor_view'
|
4
|
-
|
5
|
-
prepend Actions
|
6
|
-
|
7
|
-
RESOLVER = Live::Resolver.allow(Async::Debug::ReactorView)
|
8
|
-
|
9
|
-
on 'live' do |request|
|
10
|
-
adapter = Async::WebSocket::Adapters::Rack.open(request.env) do |connection|
|
11
|
-
Live::Page.new(RESOLVER).run(connection)
|
12
|
-
end
|
13
|
-
|
14
|
-
respond?(adapter) or fail!
|
15
|
-
end
|
16
|
-
|
17
|
-
on 'index' do
|
18
|
-
@tag = Async::Debug::ReactorView.new('reactor-view')
|
19
|
-
end
|
data/pages/index.xnode
DELETED
data/pages/links.yaml
DELETED