eyeloupe 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +15 -6
- data/lib/eyeloupe/processors/in_request.rb +1 -1
- data/lib/eyeloupe/version.rb +1 -1
- data/lib/eyeloupe.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7094456114ea58b40fb510872bbcf8fc980bcc3140b172ff453e12126b0b7fec
|
4
|
+
data.tar.gz: fc95215a4ed95e7ad5afadce42d809c2cf216b29ca977c16085fc1a1e5d83707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9544ddcf4d4e553ab4419c29b0e5108ba19df99f653807c1ce13c80db4b98afbd4fc0a178f2ae49efafb81418c2df2a49b8d09a623bc219afb7d89bedd540e55
|
7
|
+
data.tar.gz: b368ac6289aad17ea863b7b348940050db7dab36c0e50179375c64ede9feb059af5208cdb789b770ae038bc79d616f04477cb3e584c954ac7ba4addf7fba07ca
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[![Gem Version][gem-version]][gem-url]
|
2
|
+
|
1
3
|
[![Contributors][contributors-shield]][contributors-url]
|
2
4
|
[![Forks][forks-shield]][forks-url]
|
3
5
|
[![Stargazers][stars-shield]][stars-url]
|
@@ -23,7 +25,7 @@
|
|
23
25
|
|
24
26
|
[![Eyeloupe screenshot][eyeloupe-screen]](https://github.com/alxlion/eyeloupe)
|
25
27
|
|
26
|
-
Eyeloupe is the elegant Rails debug assistant. It helps you to debug your Rails application by providing a simple and elegant interface to view your incoming and outgoing requests
|
28
|
+
Eyeloupe is the elegant Rails debug assistant. It helps you to debug your Rails application by providing a simple and elegant interface to view your incoming and outgoing requests (and a lot more to come).
|
27
29
|
|
28
30
|
## Installation
|
29
31
|
Add this line to your application's Gemfile:
|
@@ -47,13 +49,18 @@ And run the migrations:
|
|
47
49
|
$ rails db:migrate
|
48
50
|
```
|
49
51
|
|
52
|
+
To access Eyeloupe dashboard you need to add the following route to your `config/routes.rb` file:
|
53
|
+
```ruby
|
54
|
+
mount Eyeloupe::Engine => "/eyeloupe"
|
55
|
+
```
|
56
|
+
|
50
57
|
## Configuration
|
51
58
|
|
52
59
|
This is an example of the configuration you can add to your `initializers/eyeloupe.rb` file:
|
53
60
|
|
54
61
|
```ruby
|
55
62
|
Eyeloupe.configure do |config|
|
56
|
-
config.excluded_paths = %w[assets favicon.ico
|
63
|
+
config.excluded_paths = %w[assets favicon.ico service-worker.js manifest.json]
|
57
64
|
config.capture = true
|
58
65
|
end
|
59
66
|
```
|
@@ -63,7 +70,7 @@ end
|
|
63
70
|
|
64
71
|
## Usage
|
65
72
|
|
66
|
-
Eyeloupe is exclusively developed for Rails framework.
|
73
|
+
Eyeloupe is exclusively developed for the Rails framework.
|
67
74
|
|
68
75
|
You can use it in your development environment to debug your application but it's not recommended to use it in production.
|
69
76
|
|
@@ -84,7 +91,7 @@ Eyeloupe is not a performance-oriented tool, the request time is the same you ca
|
|
84
91
|
|
85
92
|
### Is this the Laravel Telescope for Rails ?
|
86
93
|
|
87
|
-
Yes, Eyeloupe is inspired by Laravel Telescope.
|
94
|
+
Yes, Eyeloupe is inspired by Laravel Telescope. A lot of people coming from Laravel are missing Telescope or looking for something similar, so Eyeloupe is here to fill this gap.
|
88
95
|
|
89
96
|
## Roadmap
|
90
97
|
|
@@ -92,7 +99,7 @@ Yes, Eyeloupe is inspired by Laravel Telescope. Lot of people coming from Larave
|
|
92
99
|
- [ ] Custom links to the menu - To access all of your debug tool in one place (Sidekiq web, Mailhog, etc.)
|
93
100
|
|
94
101
|
## Contributing
|
95
|
-
Contributions are what
|
102
|
+
Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
96
103
|
|
97
104
|
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
|
98
105
|
Don't forget to give the project a star! Thanks again!
|
@@ -126,4 +133,6 @@ Project Link: [https://github.com/alxlion/eyeloupe](https://github.com/alxlion/e
|
|
126
133
|
[issues-url]: https://github.com/alxlion/eyeloupe/issues
|
127
134
|
[license-shield]: https://img.shields.io/github/license/alxlion/eyeloupe.svg?style=for-the-badge
|
128
135
|
[license-url]: https://github.com/alxlion/eyeloupe/blob/master/MIT-LICENSE.txt
|
129
|
-
[eyeloupe-screen]: /doc/img/screen.png
|
136
|
+
[eyeloupe-screen]: /doc/img/screen.png
|
137
|
+
[gem-version]: https://badge.fury.io/rb/eyeloupe.svg
|
138
|
+
[gem-url]: https://rubygems.org/gems/eyeloupe
|
@@ -109,7 +109,7 @@ module Eyeloupe
|
|
109
109
|
"HTML content"
|
110
110
|
elsif @response.is_a?(ActionDispatch::Response)
|
111
111
|
@response.body
|
112
|
-
elsif @response.is_a?(Rack::BodyProxy)
|
112
|
+
elsif @response.is_a?(Rack::BodyProxy) && @response.respond_to?(:first)
|
113
113
|
@response.first
|
114
114
|
else
|
115
115
|
@response
|
data/lib/eyeloupe/version.rb
CHANGED
data/lib/eyeloupe.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyeloupe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandre Lion
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets-rails
|
@@ -108,7 +108,8 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.1'
|
111
|
-
description:
|
111
|
+
description: Eyeloupe is debug assistant for Rails. It provides a simple and elegant
|
112
|
+
way to debug your Rails application.
|
112
113
|
email:
|
113
114
|
- dev@alexandrelion.com
|
114
115
|
executables: []
|