debugbar 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/debugbar/assets_controller.rb +1 -1
- data/build.sh +7 -0
- data/debugbar.gemspec +6 -1
- data/lib/debugbar/engine.rb +0 -8
- data/lib/debugbar/version.rb +1 -1
- data/lib/debugbar.rb +0 -7
- metadata +2 -54
- data/client/.gitignore +0 -25
- data/client/README.md +0 -0
- data/client/dist/.vite/manifest.json +0 -14
- data/client/dist/assets/debugbar-u5mP-5-z.js +0 -34
- data/client/dist/assets/ruby-logo-kn_8RniZ.svg +0 -946
- data/client/index.html +0 -78
- data/client/package-lock.json +0 -2393
- data/client/package.json +0 -32
- data/client/postcss.config.js +0 -6
- data/client/src/App.vue +0 -17
- data/client/src/AppDemo.vue +0 -29
- data/client/src/AppDev.vue +0 -20
- data/client/src/Debugbar.vue +0 -276
- data/client/src/assets/rails-logo.svg +0 -1
- data/client/src/assets/ruby-logo.svg +0 -946
- data/client/src/components/TabButton.vue +0 -32
- data/client/src/components/panels/CachePanel.vue +0 -41
- data/client/src/components/panels/JobsPanel.vue +0 -52
- data/client/src/components/panels/JsonPanel.vue +0 -15
- data/client/src/components/panels/LogsPanel.vue +0 -43
- data/client/src/components/panels/MessagesPanel.vue +0 -25
- data/client/src/components/panels/ModelsPanel.vue +0 -37
- data/client/src/components/panels/Panel.vue +0 -7
- data/client/src/components/panels/RequestPanel.vue +0 -98
- data/client/src/components/queries/QueriesPanel.vue +0 -17
- data/client/src/components/queries/QueryItem.vue +0 -65
- data/client/src/components/ui/Foldable.vue +0 -39
- data/client/src/components/ui/KeyValueTable.vue +0 -16
- data/client/src/components/ui/Row.vue +0 -14
- data/client/src/components/ui/logo-ruby.vue +0 -547
- data/client/src/demo.ts +0 -17
- data/client/src/dev.ts +0 -20
- data/client/src/main.ts +0 -17
- data/client/src/models/Config.ts +0 -27
- data/client/src/models/Request.ts +0 -183
- data/client/src/stores/RequestsStore.ts +0 -36
- data/client/src/stores/configStore.ts +0 -8
- data/client/src/style.css +0 -23
- data/client/src/types.d.ts +0 -9
- data/client/src/vite-env.d.ts +0 -1
- data/client/tailwind.config.js +0 -16
- data/client/tsconfig.json +0 -29
- data/client/tsconfig.node.json +0 -10
- data/client/vite.config.ts +0 -44
- data/fixtures/requests/1706607114--demo_post_list.json +0 -499
- data/fixtures/requests/1706607120--api_jobs.json +0 -176
- data/fixtures/requests/1706607123--api_jobs.json +0 -119
- data/fixtures/requests/1706607133--demo_slow_page.json +0 -130
- data/fixtures/requests/1706607136--demo_post.json +0 -164
- data/fixtures/requests/1706607136--demo_random_post.json +0 -106
- data/fixtures/requests/1706607141--api_errors.json +0 -73
- data/package-lock.json +0 -50
- data/package.json +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5380fa3760a1309aacd1404c077e3e6c78ed94d21bde373eb0f96f90da96abe6
|
4
|
+
data.tar.gz: 7e9f86653a25e202c9ebf4c64b8d74f5816aaadbee1f2e2d75b46423fa17a8dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08f084f414d3520d4f7f287b3ffcde2a1a322b7bc04492bcf80ca0087b7fe1a853db6dac041bafceaa352944d8c09ed8d12ecf47bfa30cbc03643f29e2573179'
|
7
|
+
data.tar.gz: 2836203deb352f9d344d8784423b801d6ca6ff26e7e48adaec4ea58b142434999ef145f32207de68ba80cf499dba137e8f41d507d97bb9f025d84084a205ac65
|
data/build.sh
ADDED
data/debugbar.gemspec
CHANGED
@@ -20,10 +20,15 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
files_to_remove = %w[
|
24
|
+
bin/ test/ spec/ features/ fixtures/
|
25
|
+
client/
|
26
|
+
.git .circleci appveyor Gemfile package.json package-lock.json
|
27
|
+
]
|
23
28
|
spec.files = Dir.chdir(__dir__) do
|
24
29
|
`git ls-files -z`.split("\x0").reject do |f|
|
25
30
|
(File.expand_path(f) == __FILE__) ||
|
26
|
-
f.start_with?(
|
31
|
+
f.start_with?(*files_to_remove)
|
27
32
|
end
|
28
33
|
end
|
29
34
|
spec.bindir = "exe"
|
data/lib/debugbar/engine.rb
CHANGED
@@ -34,14 +34,6 @@ module Debugbar
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
-
initializer 'debugbar.assets' do
|
38
|
-
dist = File.join(Gem.loaded_specs['debugbar'].full_gem_path, 'client', 'dist')
|
39
|
-
manifest_file = File.join(dist, '.vite', 'manifest.json')
|
40
|
-
manifest = JSON.parse(File.read(manifest_file))
|
41
|
-
|
42
|
-
Debugbar.js_file = File.join(dist, manifest['src/main.ts']['file'])
|
43
|
-
end
|
44
|
-
|
45
37
|
initializer 'debugbar.inject_middlewares' do |app|
|
46
38
|
next unless Debugbar.config.enabled?
|
47
39
|
app.middleware.insert_after ActionDispatch::RequestId, Debugbar::TrackCurrentRequest
|
data/lib/debugbar/version.rb
CHANGED
data/lib/debugbar.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debugbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Bourdeau
|
@@ -55,59 +55,9 @@ files:
|
|
55
55
|
- app/controllers/debugbar/assets_controller.rb
|
56
56
|
- app/helpers/debugbar/tag_helpers.rb
|
57
57
|
- app/models/debugbar/application_record.rb
|
58
|
-
-
|
59
|
-
- client/README.md
|
60
|
-
- client/dist/.vite/manifest.json
|
61
|
-
- client/dist/assets/debugbar-u5mP-5-z.js
|
62
|
-
- client/dist/assets/ruby-logo-kn_8RniZ.svg
|
63
|
-
- client/index.html
|
64
|
-
- client/package-lock.json
|
65
|
-
- client/package.json
|
66
|
-
- client/postcss.config.js
|
67
|
-
- client/src/App.vue
|
68
|
-
- client/src/AppDemo.vue
|
69
|
-
- client/src/AppDev.vue
|
70
|
-
- client/src/Debugbar.vue
|
71
|
-
- client/src/assets/rails-logo.svg
|
72
|
-
- client/src/assets/ruby-logo.svg
|
73
|
-
- client/src/components/TabButton.vue
|
74
|
-
- client/src/components/panels/CachePanel.vue
|
75
|
-
- client/src/components/panels/JobsPanel.vue
|
76
|
-
- client/src/components/panels/JsonPanel.vue
|
77
|
-
- client/src/components/panels/LogsPanel.vue
|
78
|
-
- client/src/components/panels/MessagesPanel.vue
|
79
|
-
- client/src/components/panels/ModelsPanel.vue
|
80
|
-
- client/src/components/panels/Panel.vue
|
81
|
-
- client/src/components/panels/RequestPanel.vue
|
82
|
-
- client/src/components/queries/QueriesPanel.vue
|
83
|
-
- client/src/components/queries/QueryItem.vue
|
84
|
-
- client/src/components/ui/Foldable.vue
|
85
|
-
- client/src/components/ui/KeyValueTable.vue
|
86
|
-
- client/src/components/ui/Row.vue
|
87
|
-
- client/src/components/ui/logo-ruby.vue
|
88
|
-
- client/src/demo.ts
|
89
|
-
- client/src/dev.ts
|
90
|
-
- client/src/main.ts
|
91
|
-
- client/src/models/Config.ts
|
92
|
-
- client/src/models/Request.ts
|
93
|
-
- client/src/stores/RequestsStore.ts
|
94
|
-
- client/src/stores/configStore.ts
|
95
|
-
- client/src/style.css
|
96
|
-
- client/src/types.d.ts
|
97
|
-
- client/src/vite-env.d.ts
|
98
|
-
- client/tailwind.config.js
|
99
|
-
- client/tsconfig.json
|
100
|
-
- client/tsconfig.node.json
|
101
|
-
- client/vite.config.ts
|
58
|
+
- build.sh
|
102
59
|
- config/routes.rb
|
103
60
|
- debugbar.gemspec
|
104
|
-
- fixtures/requests/1706607114--demo_post_list.json
|
105
|
-
- fixtures/requests/1706607120--api_jobs.json
|
106
|
-
- fixtures/requests/1706607123--api_jobs.json
|
107
|
-
- fixtures/requests/1706607133--demo_slow_page.json
|
108
|
-
- fixtures/requests/1706607136--demo_post.json
|
109
|
-
- fixtures/requests/1706607136--demo_random_post.json
|
110
|
-
- fixtures/requests/1706607141--api_errors.json
|
111
61
|
- lib/debugbar.rb
|
112
62
|
- lib/debugbar/buffers/memory_buffer.rb
|
113
63
|
- lib/debugbar/buffers/null_buffer.rb
|
@@ -123,8 +73,6 @@ files:
|
|
123
73
|
- lib/debugbar/subscribers/active_record.rb
|
124
74
|
- lib/debugbar/subscribers/active_support.rb
|
125
75
|
- lib/debugbar/version.rb
|
126
|
-
- package-lock.json
|
127
|
-
- package.json
|
128
76
|
- sig/debugbar.rbs
|
129
77
|
homepage: https://debugbar.dev
|
130
78
|
licenses:
|
data/client/.gitignore
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Logs
|
2
|
-
logs
|
3
|
-
*.log
|
4
|
-
npm-debug.log*
|
5
|
-
yarn-debug.log*
|
6
|
-
yarn-error.log*
|
7
|
-
pnpm-debug.log*
|
8
|
-
lerna-debug.log*
|
9
|
-
|
10
|
-
node_modules
|
11
|
-
#dist
|
12
|
-
dist-demo
|
13
|
-
dist-ssr
|
14
|
-
*.local
|
15
|
-
|
16
|
-
# Editor directories and files
|
17
|
-
.vscode/*
|
18
|
-
!.vscode/extensions.json
|
19
|
-
.idea
|
20
|
-
.DS_Store
|
21
|
-
*.suo
|
22
|
-
*.ntvs*
|
23
|
-
*.njsproj
|
24
|
-
*.sln
|
25
|
-
*.sw?
|
data/client/README.md
DELETED
File without changes
|
@@ -1,14 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"src/assets/ruby-logo.svg": {
|
3
|
-
"file": "assets/ruby-logo-kn_8RniZ.svg",
|
4
|
-
"src": "src/assets/ruby-logo.svg"
|
5
|
-
},
|
6
|
-
"src/main.ts": {
|
7
|
-
"assets": [
|
8
|
-
"assets/ruby-logo-kn_8RniZ.svg"
|
9
|
-
],
|
10
|
-
"file": "assets/debugbar-u5mP-5-z.js",
|
11
|
-
"isEntry": true,
|
12
|
-
"src": "src/main.ts"
|
13
|
-
}
|
14
|
-
}
|