little_sniffer 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 82602fd9f0307822fe635ce7d08e1c74958099be1a0a9502300487369ae2e8aa
4
+ data.tar.gz: 298de648aa253edb97a1b4f949ce78fa614028901c37c364c04d456a0842492f
5
+ SHA512:
6
+ metadata.gz: cda69983acb023f8e9ec8c21ce04f4045f27054bd5e19b74125d1922cb6c5d0f3c399a2560c6cf4035e2f1107fb35d140063ca993732d5e57fd66a0eaea3e0c9
7
+ data.tar.gz: 66f4157f339fafda49b864163869248b013f357035510dc3393bfd53b9c98df39d41c2ff7d4f4b2dbce1db657274e99c64387d2ce9bba56301a16ef47f5bbb19
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: aderyabin
7
+
8
+ ---
9
+
10
+ ## What did you do?
11
+
12
+ ## What did you expect to happen?
13
+
14
+ ## What actually happened?
15
+
16
+ ## Additional context
17
+
18
+ ## Environment
19
+
20
+ **Ruby Version:**
21
+
22
+ **Framework Version (Rails, whatever):**
23
+
24
+ **Sniffer Version:**
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: aderyabin
7
+
8
+ ---
9
+
10
+ ## Is your feature request related to a problem? Please describe.
11
+
12
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13
+
14
+ ## Describe the solution you'd like
15
+
16
+ A clear and concise description of what you want to happen.
17
+
18
+ ## Describe alternatives you've considered
19
+
20
+ A clear and concise description of any alternative solutions or features you've considered.
21
+
22
+ ## Additional context
23
+
24
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,23 @@
1
+ <!--
2
+ First of all, thanks for contributing!
3
+
4
+ If it's a typo fix or minor documentation update feel free to skip the rest of this template!
5
+ -->
6
+
7
+ ## What is the purpose of this pull request?
8
+
9
+ <!--
10
+ If it's a bug fix, then link it to the issue, for example:
11
+
12
+ Fixes #xxx
13
+ -->
14
+
15
+ ## What changes did you make? (overview)
16
+
17
+ ## Is there anything you'd like reviewers to focus on?
18
+
19
+ ## Checklist
20
+
21
+ - [ ] I've added tests for this change
22
+ - [ ] I've added a Changelog entry
23
+ - [ ] I've updated a documentation
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+ .ruby-version
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,62 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5
3
+ # Include gemspec and Rakefile
4
+ Include:
5
+ - "lib/**/*.rb"
6
+ - "lib/**/*.rake"
7
+ - "spec/**/*.rb"
8
+ Exclude:
9
+ - "bin/**/*"
10
+ - "Gemfile"
11
+ - "Rakefile"
12
+ - "*.gemspec"
13
+ DisplayCopNames: true
14
+ StyleGuideCopsOnly: false
15
+
16
+ Naming/AccessorMethodName:
17
+ Enabled: false
18
+
19
+ Style/PercentLiteralDelimiters:
20
+ Enabled: false
21
+
22
+ Style/TrivialAccessors:
23
+ Enabled: false
24
+
25
+ Style/Documentation:
26
+ Exclude:
27
+ - "spec/**/*.rb"
28
+
29
+ Style/StringLiterals:
30
+ Enabled: false
31
+
32
+ Style/BlockDelimiters:
33
+ Exclude:
34
+ - "spec/**/*.rb"
35
+
36
+ Style/DoubleNegation:
37
+ Enabled: false
38
+
39
+ Layout/SpaceInsideStringInterpolation:
40
+ EnforcedStyle: no_space
41
+
42
+ Lint/AmbiguousRegexpLiteral:
43
+ Enabled: false
44
+
45
+ Lint/AmbiguousBlockAssociation:
46
+ Enabled: false
47
+
48
+ Metrics/MethodLength:
49
+ Exclude:
50
+ - "spec/**/*.rb"
51
+
52
+ Layout/LineLength:
53
+ Max: 120
54
+ Exclude:
55
+ - "spec/**/*.rb"
56
+
57
+ Metrics/BlockLength:
58
+ Exclude:
59
+ - "spec/**/*.rb"
60
+
61
+ Security/YAMLLoad:
62
+ Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## 0.1.0 (March 16, 2021) ##
2
+
3
+ * Initial version
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at deriabin@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in sniffer.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Andrey Deryabin
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.
data/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # Little Sniffer
2
+ It's like [Sniffer](https://github.com/aderyabin/sniffer), but not global.
3
+
4
+ LittleSniffer aims to help:
5
+
6
+ * Watch for needed http requests (request groups) and passing their raw data to provided handler. It doesn't store data!
7
+
8
+ Sniffer supports only [Net::HTTP](http://ruby-doc.org/stdlib-2.4.2/libdoc/net/http/rdoc/Net/HTTP.html) for now, however PR's are welcomed
9
+
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'little_sniffer'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install little_sniffer
26
+
27
+ ## Usage
28
+
29
+ Here's some simple examples to get you started:
30
+
31
+ ```ruby
32
+ require 'http'
33
+ require 'little_sniffer'
34
+
35
+ class YourHandler
36
+ def handle(data)
37
+ pp data
38
+ end
39
+ end
40
+
41
+ handler = YourHandler.new
42
+
43
+ LittleSniffer.new(handler) do
44
+ HTTP.get('http://example.com/?lang=ruby&author=matz')
45
+ end
46
+
47
+ # => {:request=>
48
+ # {:host=>"example.com",
49
+ # :query=>"/?lang=ruby&author=matz",
50
+ # :port=>80,
51
+ # :headers=>{"Accept-Encoding"=>"gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "Connection"=>"close"},
52
+ # :body=>"",
53
+ # :method=>:get},
54
+ # :response=>
55
+ # {:status=>200,
56
+ # :headers=>
57
+ # {"Content-Encoding"=>"gzip",
58
+ # "Cache-Control"=>"max-age=604800",
59
+ # "Content-Type"=>"text/html",
60
+ # "Date"=>"Thu, 26 Oct 2017 13:47:00 GMT",
61
+ # "Etag"=>"\"359670651+gzip\"",
62
+ # "Expires"=>"Thu, 02 Nov 2017 13:47:00 GMT",
63
+ # "Last-Modified"=>"Fri, 09 Aug 2013 23:54:35 GMT",
64
+ # "Server"=>"ECS (lga/1372)",
65
+ # "Vary"=>"Accept-Encoding",
66
+ # "X-Cache"=>"HIT",
67
+ # "Content-Length"=>"606",
68
+ # "Connection"=>"close"},
69
+ # :body=> "OK",
70
+ # :timing=>0.23753299983218312}}
71
+ ```
72
+
73
+ ## Development
74
+
75
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
76
+
77
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
78
+
79
+ ## Contributing
80
+
81
+ Bug reports and pull requests are welcome on GitHub at https://github.com/HolyWalley/sniffer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
82
+
83
+ ## License
84
+
85
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
86
+
87
+ ## Code of Conduct
88
+
89
+ Everyone interacting in the Sniffer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/HolyWalley/sniffer/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+ require "rubocop/rake_task"
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ RuboCop::RakeTask.new
7
+
8
+ task default: [:rubocop, :spec]
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "sniffer"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "little_sniffer/version"
4
+ require_relative "little_sniffer/adapters/net_http_adapter"
5
+
6
+ # LittleSniffer allows to log http request locally
7
+ class LittleSniffer
8
+ UnsupportedAdapterError = Class.new(StandardError)
9
+ HandlerDoesNotMatchTheInterfaceError = Class.new(StandardError)
10
+
11
+ ADAPTERS_MAP = {
12
+ net_http: Adapters::NetHttpAdapter
13
+ }.freeze
14
+
15
+ def initialize(handler, adapter = :net_http, &block)
16
+ adapter = validate_adapter(adapter)
17
+ validate_handler(handler)
18
+
19
+ adapter.new(handler).sniff(&block)
20
+ end
21
+
22
+ private
23
+
24
+ def validate_handler(handler)
25
+ return if handler.respond_to?(:handle)
26
+
27
+ raise HandlerDoesNotMatchTheInterfaceError
28
+ end
29
+
30
+ def validate_adapter(adapter)
31
+ adapter = ADAPTERS_MAP[adapter]
32
+
33
+ return adapter if adapter
34
+
35
+ error_message = "maybe you have misspelled it. Appropriate types are: #{ADAPTERS_MAP.keys.join(', ')}"
36
+ raise UnsupportedAdapterError, error_message
37
+ end
38
+ end
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "net/http"
4
+ require "benchmark"
5
+
6
+ class LittleSniffer
7
+ module Adapters
8
+ class NetHttpAdapter
9
+ def initialize(handler)
10
+ @handler = handler
11
+ end
12
+
13
+ def sniff
14
+ Net::HTTP.define_method(:request_with_sniffer, build_request_with_sniffer(@handler))
15
+ Net::HTTP.alias_method(:request_without_sniffer, :request)
16
+ Net::HTTP.alias_method(:request, :request_with_sniffer)
17
+
18
+ yield
19
+ ensure
20
+ Net::HTTP.alias_method(:request, :request_without_sniffer)
21
+ Net::HTTP.remove_method(:request_with_sniffer)
22
+ Net::HTTP.remove_method(:request_without_sniffer)
23
+ end
24
+
25
+ private
26
+
27
+ # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
28
+ def build_request_with_sniffer(handler)
29
+ lambda do |req, body = nil, &block|
30
+ data = {
31
+ request: {
32
+ host: @address,
33
+ method: req.method,
34
+ query: req.path,
35
+ port: @port,
36
+ headers: req.each_header.collect.to_h,
37
+ body: req.body.to_s
38
+ }
39
+ }
40
+
41
+ bm = Benchmark.realtime do
42
+ @response = request_without_sniffer(req, body, &block)
43
+ end
44
+
45
+ data[:response] = {
46
+ status: @response.code.to_i,
47
+ headers: @response.each_header.collect.to_h,
48
+ body: @response.body.to_s,
49
+ timing: bm
50
+ }
51
+
52
+ handler.handle(data)
53
+
54
+ @response
55
+ end
56
+ end
57
+ # rubocop:enable Metrics/AbcSize, Metrics/MethodLength
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ class LittleSniffer
4
+ VERSION = "0.1.1"
5
+ end
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "little_sniffer/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "little_sniffer"
8
+ spec.version = LittleSniffer::VERSION
9
+ spec.authors = ["Yakau Kranou"]
10
+ spec.email = ["yasha.krasnov@gmail.com"]
11
+
12
+ spec.summary = %q{Analyze HTTP Requests}
13
+ spec.description = %q{Analyze HTTP Requests}
14
+ spec.homepage = "http://github.com/HolyWalley/little_sniffer"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 2"
23
+ spec.add_development_dependency "rake", ">= 12.3.3"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
25
+ spec.add_development_dependency "rubocop"
26
+ spec.add_development_dependency "pry-byebug"
27
+ spec.add_development_dependency "sinatra", "~> 2.0"
28
+ spec.add_development_dependency "puma", ">= 3.10.0"
29
+ end
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: little_sniffer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Yakau Kranou
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-03-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 12.3.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 12.3.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-byebug
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: sinatra
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: puma
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 3.10.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 3.10.0
111
+ description: Analyze HTTP Requests
112
+ email:
113
+ - yasha.krasnov@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
119
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
120
+ - ".github/PULL_REQUEST_TEMPLATE.md"
121
+ - ".gitignore"
122
+ - ".rspec"
123
+ - ".rubocop.yml"
124
+ - CHANGELOG.md
125
+ - CODE_OF_CONDUCT.md
126
+ - Gemfile
127
+ - LICENSE.txt
128
+ - README.md
129
+ - Rakefile
130
+ - bin/console
131
+ - bin/setup
132
+ - lib/little_sniffer.rb
133
+ - lib/little_sniffer/adapters/net_http_adapter.rb
134
+ - lib/little_sniffer/version.rb
135
+ - little_sniffer.gemspec
136
+ homepage: http://github.com/HolyWalley/little_sniffer
137
+ licenses:
138
+ - MIT
139
+ metadata: {}
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ requirements: []
155
+ rubygems_version: 3.0.8
156
+ signing_key:
157
+ specification_version: 4
158
+ summary: Analyze HTTP Requests
159
+ test_files: []