inspect_request 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/Gemfile.lock +1 -1
- data/README.md +5 -3
- data/lib/inspect_request/version.rb +3 -0
- data/lib/{umbrella.rb → inspect_request.rb} +5 -1
- data/umbrella.gemspec +1 -1
- metadata +3 -3
- data/lib/umbrella/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b47b554290fe5fcbad88bb503676d086ed8908e
|
4
|
+
data.tar.gz: cb258de71c477edf2f502553a5b2d94653790f4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f01ced3e1393be34bf609447af3de6f09fc7474e2107bc394ca1e110ad511dfc2348158d5ce7ef86977e57b883a525170055f630c05d30a3b3331f0653788f1
|
7
|
+
data.tar.gz: 9e909b5f1969e5f7d8ec98503bc66b995e800b335d3db678a740e42e8f40ffcc3b54bfb2019edb4f29e74e2cd3e9da69519b452f7a6f016a6371cf5c297e3cdb
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
#
|
1
|
+
# InspectRequest
|
2
2
|
|
3
|
-
|
3
|
+
This library will provide you with a proxy (Ritm) which make it possible to inspect network going thru it.
|
4
|
+
It similar to what mockserver provide, but much simpler (less feature as well).
|
5
|
+
Under the verification function, you have a copy of the request. And you can inspect it however you want. In the end, you just need to return true/false.
|
4
6
|
|
5
|
-
|
7
|
+
Default port is 7777. You cannot change it yet.
|
6
8
|
|
7
9
|
## Installation
|
8
10
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'inspect_request/version'
|
2
2
|
require 'ritm'
|
3
3
|
|
4
4
|
module InspectRequest
|
@@ -31,6 +31,10 @@ module InspectRequest
|
|
31
31
|
res
|
32
32
|
end
|
33
33
|
|
34
|
+
def configure(&block)
|
35
|
+
InspectRequest.session.configure block
|
36
|
+
end
|
37
|
+
|
34
38
|
private
|
35
39
|
|
36
40
|
def track_result(result)
|
data/umbrella.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inspect_request
|
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
|
- Akhmad Fathonih
|
@@ -103,8 +103,8 @@ files:
|
|
103
103
|
- Rakefile
|
104
104
|
- bin/console
|
105
105
|
- bin/setup
|
106
|
-
- lib/
|
107
|
-
- lib/
|
106
|
+
- lib/inspect_request.rb
|
107
|
+
- lib/inspect_request/version.rb
|
108
108
|
- umbrella.gemspec
|
109
109
|
homepage: http://google.com
|
110
110
|
licenses:
|
data/lib/umbrella/version.rb
DELETED