debugbar 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/debugbar/assets_controller.rb +1 -1
  3. data/build.sh +7 -0
  4. data/debugbar.gemspec +6 -1
  5. data/lib/debugbar/engine.rb +0 -8
  6. data/lib/debugbar/version.rb +1 -1
  7. data/lib/debugbar.rb +0 -7
  8. metadata +2 -54
  9. data/client/.gitignore +0 -25
  10. data/client/README.md +0 -0
  11. data/client/dist/.vite/manifest.json +0 -14
  12. data/client/dist/assets/debugbar-u5mP-5-z.js +0 -34
  13. data/client/dist/assets/ruby-logo-kn_8RniZ.svg +0 -946
  14. data/client/index.html +0 -78
  15. data/client/package-lock.json +0 -2393
  16. data/client/package.json +0 -32
  17. data/client/postcss.config.js +0 -6
  18. data/client/src/App.vue +0 -17
  19. data/client/src/AppDemo.vue +0 -29
  20. data/client/src/AppDev.vue +0 -20
  21. data/client/src/Debugbar.vue +0 -276
  22. data/client/src/assets/rails-logo.svg +0 -1
  23. data/client/src/assets/ruby-logo.svg +0 -946
  24. data/client/src/components/TabButton.vue +0 -32
  25. data/client/src/components/panels/CachePanel.vue +0 -41
  26. data/client/src/components/panels/JobsPanel.vue +0 -52
  27. data/client/src/components/panels/JsonPanel.vue +0 -15
  28. data/client/src/components/panels/LogsPanel.vue +0 -43
  29. data/client/src/components/panels/MessagesPanel.vue +0 -25
  30. data/client/src/components/panels/ModelsPanel.vue +0 -37
  31. data/client/src/components/panels/Panel.vue +0 -7
  32. data/client/src/components/panels/RequestPanel.vue +0 -98
  33. data/client/src/components/queries/QueriesPanel.vue +0 -17
  34. data/client/src/components/queries/QueryItem.vue +0 -65
  35. data/client/src/components/ui/Foldable.vue +0 -39
  36. data/client/src/components/ui/KeyValueTable.vue +0 -16
  37. data/client/src/components/ui/Row.vue +0 -14
  38. data/client/src/components/ui/logo-ruby.vue +0 -547
  39. data/client/src/demo.ts +0 -17
  40. data/client/src/dev.ts +0 -20
  41. data/client/src/main.ts +0 -17
  42. data/client/src/models/Config.ts +0 -27
  43. data/client/src/models/Request.ts +0 -183
  44. data/client/src/stores/RequestsStore.ts +0 -36
  45. data/client/src/stores/configStore.ts +0 -8
  46. data/client/src/style.css +0 -23
  47. data/client/src/types.d.ts +0 -9
  48. data/client/src/vite-env.d.ts +0 -1
  49. data/client/tailwind.config.js +0 -16
  50. data/client/tsconfig.json +0 -29
  51. data/client/tsconfig.node.json +0 -10
  52. data/client/vite.config.ts +0 -44
  53. data/fixtures/requests/1706607114--demo_post_list.json +0 -499
  54. data/fixtures/requests/1706607120--api_jobs.json +0 -176
  55. data/fixtures/requests/1706607123--api_jobs.json +0 -119
  56. data/fixtures/requests/1706607133--demo_slow_page.json +0 -130
  57. data/fixtures/requests/1706607136--demo_post.json +0 -164
  58. data/fixtures/requests/1706607136--demo_random_post.json +0 -106
  59. data/fixtures/requests/1706607141--api_errors.json +0 -73
  60. data/package-lock.json +0 -50
  61. data/package.json +0 -5
@@ -1,106 +0,0 @@
1
- {
2
- "id": "05237876-ee86-4ffd-95de-deff834a2e35",
3
- "meta": {
4
- "controller": "DemoController",
5
- "action": "random_post",
6
- "params": {
7
- "controller": "demo",
8
- "action": "random_post"
9
- },
10
- "format": "html",
11
- "method": "GET",
12
- "path": "/random",
13
- "status": 302,
14
- "view_runtime": null,
15
- "db_runtime": 13.151000021025538,
16
- "duration": 16.539000034332275,
17
- "cpu_time": 3.4336249999999993,
18
- "idle_time": 13.105375034332276,
19
- "allocations": 1573
20
- },
21
- "request": {
22
- "method": "GET",
23
- "path": "/random",
24
- "format": "html",
25
- "params": {
26
- "controller": "demo",
27
- "action": "random_post"
28
- },
29
- "headers": {
30
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
31
- "Accept-Encoding": "gzip, deflate, br",
32
- "Accept-Language": "fr,en;q=0.9",
33
- "Connection": "keep-alive",
34
- "Cookie": "_demo_app_session=BQrfrqwaDxQLlcrCZCSwiiJrCVN6pWaGEmTUMl5s%2BWP2xDdT5GgSbZ1GjUxNevxh9zy%2FCWIXiCSkpd1bAMAEefyD7BUi4cgt%2BQ4xclmmUfebk8Hnl1sw0fhO0uGUk%2BsR6rZdEHZf%2FOQcUtzhuvk%2BNO4JdOoqLPqD6Z9A%2FuvUroWg3NHedrkYIx5yESdgdL7vYseAorT%2B2BtUH%2BRCftEXrEWRWdWyBHDgAanAcwu96zfwLBURN9h%2FAUBPn8wtvCc%2BoZPQXJlDGXSVEUxLd%2FiZ4INeR707T7HyCw%3D%3D--xI%2FllNiOtCHGENRn--%2Bh1H%2FRmTDAzWYcvTavhbTQ%3D%3D",
35
- "Dnt": "1",
36
- "Host": "127.0.0.1:3000",
37
- "Referer": "http://127.0.0.1:3000/slow-page",
38
- "Sec-Ch-Ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"",
39
- "Sec-Ch-Ua-Mobile": "?0",
40
- "Sec-Ch-Ua-Platform": "\"macOS\"",
41
- "Sec-Fetch-Dest": "document",
42
- "Sec-Fetch-Mode": "navigate",
43
- "Sec-Fetch-Site": "same-origin",
44
- "Sec-Fetch-User": "?1",
45
- "Upgrade-Insecure-Requests": "1",
46
- "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
47
- "Version": "HTTP/1.1"
48
- }
49
- },
50
- "response": {
51
- "status": 302,
52
- "headers": {
53
- "X-Frame-Options": "SAMEORIGIN",
54
- "X-Xss-Protection": "0",
55
- "X-Content-Type-Options": "nosniff",
56
- "X-Permitted-Cross-Domain-Policies": "none",
57
- "Referrer-Policy": "strict-origin-when-cross-origin",
58
- "Location": "http://127.0.0.1:3000/post/930",
59
- "Content-Type": "text/html; charset=utf-8",
60
- "Cache-Control": "no-cache"
61
- },
62
- "body": ""
63
- },
64
- "models": {
65
- "Post": 1
66
- },
67
- "queries": [
68
- {
69
- "id": "a49beead96b5a5e5ec7b",
70
- "title": "Post Load (13.2ms)",
71
- "name": "Post Load",
72
- "sql": "SELECT `posts`.* FROM `posts` ORDER BY RAND() LIMIT 1 ",
73
- "cached": false,
74
- "async": false,
75
- "duration": 13.2,
76
- "lock_wait": null,
77
- "binds": null,
78
- "source": [
79
- "/Users/julien.bourdeau/Personal/rails/demo_app/app/controllers/demo_controller.rb:20",
80
- " `random_post'"
81
- ]
82
- }
83
- ],
84
- "jobs": [
85
-
86
- ],
87
- "messages": [
88
- {
89
- "msg": "before_action",
90
- "extra": [
91
- {
92
- "params": {
93
- "controller": "demo",
94
- "action": "random_post"
95
- }
96
- }
97
- ]
98
- }
99
- ],
100
- "cache": [
101
-
102
- ],
103
- "logs": [
104
-
105
- ]
106
- }
@@ -1,73 +0,0 @@
1
- {
2
- "id": "c38fed3f-4600-4ab4-96b2-1f03510db13a",
3
- "meta": {
4
- "controller": "ApiController",
5
- "action": "errors",
6
- "params": {
7
- "code": "500",
8
- "controller": "api",
9
- "action": "errors"
10
- },
11
- "format": "*/*",
12
- "method": "GET",
13
- "path": "/api/errors?code=500",
14
- "status": 500,
15
- "view_runtime": null,
16
- "db_runtime": 0.0,
17
- "exception": [
18
- "RuntimeError",
19
- "This is a test error"
20
- ],
21
- "exception_object": "This is a test error",
22
- "duration": 1.061000108718872,
23
- "cpu_time": 0.649708000000004,
24
- "idle_time": 0.4112921087188681,
25
- "allocations": 551
26
- },
27
- "request": {
28
- "method": "GET",
29
- "path": "/api/errors",
30
- "format": "*/*",
31
- "params": {
32
- "code": "500",
33
- "controller": "api",
34
- "action": "errors"
35
- },
36
- "headers": {
37
- "Accept": "*/*",
38
- "Accept-Encoding": "gzip, deflate, br",
39
- "Accept-Language": "fr,en;q=0.9",
40
- "Connection": "keep-alive",
41
- "Cookie": "_demo_app_session=TXrvUIFrjCCzEF5STOJH4y3LxjezAtOH0LvuLn8ubvx5%2F7Ki2y%2FGB5zO%2Bb%2BWPhvEeyJXbGRn5WtG2EQUK7cfWlXDQ69Pl35stBJZD2RfAFgzJeVYiqNnRttqmN6caQzfqKMJoGlGL%2B%2BUdlJPWFw7r24FZ960BsHrem6dXmf%2Fc3ulZUMwAq13%2BvRavwYOEvBv%2BzfdMUEuwXXDL0rArzZpmbrPYWevNasPSTrZXcyn4pY9qV1d%2BVINEYhiDTgaHv%2BveYMf5jXTjoVDA3lUDBMYPHU5EMMmce24hw%3D%3D--y7dDFZ0aVSPS0S2f--til504PhC6CQcoMmYKj2YQ%3D%3D",
42
- "Dnt": "1",
43
- "Host": "127.0.0.1:3000",
44
- "Referer": "http://127.0.0.1:3000/post/930",
45
- "Sec-Ch-Ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"",
46
- "Sec-Ch-Ua-Mobile": "?0",
47
- "Sec-Ch-Ua-Platform": "\"macOS\"",
48
- "Sec-Fetch-Dest": "empty",
49
- "Sec-Fetch-Mode": "cors",
50
- "Sec-Fetch-Site": "same-origin",
51
- "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
52
- "Version": "HTTP/1.1"
53
- }
54
- },
55
- "response": null,
56
- "models": {
57
- },
58
- "queries": [
59
-
60
- ],
61
- "jobs": [
62
-
63
- ],
64
- "messages": [
65
-
66
- ],
67
- "cache": [
68
-
69
- ],
70
- "logs": [
71
-
72
- ]
73
- }
data/package-lock.json DELETED
@@ -1,50 +0,0 @@
1
- {
2
- "name": "debugbar_rb",
3
- "lockfileVersion": 3,
4
- "requires": true,
5
- "packages": {
6
- "": {
7
- "dependencies": {
8
- "prettier": "^3.1.0",
9
- "vue-shadow-dom": "^4.2.0"
10
- },
11
- "devDependencies": {
12
- "@types/node": "^20.10.4"
13
- }
14
- },
15
- "node_modules/@types/node": {
16
- "version": "20.10.4",
17
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz",
18
- "integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==",
19
- "dev": true,
20
- "dependencies": {
21
- "undici-types": "~5.26.4"
22
- }
23
- },
24
- "node_modules/prettier": {
25
- "version": "3.1.0",
26
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
27
- "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
28
- "bin": {
29
- "prettier": "bin/prettier.cjs"
30
- },
31
- "engines": {
32
- "node": ">=14"
33
- },
34
- "funding": {
35
- "url": "https://github.com/prettier/prettier?sponsor=1"
36
- }
37
- },
38
- "node_modules/undici-types": {
39
- "version": "5.26.5",
40
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
41
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
42
- "dev": true
43
- },
44
- "node_modules/vue-shadow-dom": {
45
- "version": "4.2.0",
46
- "resolved": "https://registry.npmjs.org/vue-shadow-dom/-/vue-shadow-dom-4.2.0.tgz",
47
- "integrity": "sha512-lguI064rT2HT/dxqSmXtz860KOvCq+W3nU1jMqroTmX3K1H46q22BMR4emh/Ld3ozy35XJKOaNGcr6mkJ/t/yg=="
48
- }
49
- }
50
- }
data/package.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "dependencies": {
3
- "prettier": "^3.1.0"
4
- }
5
- }