web_server_report 0.1.0

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: 0a40b70e707b5d38bb0fbc7d45a140980bbc5d9fa4de5b93655dac0eeffcd891
4
+ data.tar.gz: 54047b4cf881e6f162a0aa161ba52ef3e4fa2402cd61f02753563de540bd8698
5
+ SHA512:
6
+ metadata.gz: 465503d764ecec9aec534ad0d3c5e9ce46b0c7cee2d18784031343beb5cee06c8dddfdfa490286289ac6213e235e72cd821210a55a2feceb25378b0349e0299f
7
+ data.tar.gz: ca7d474c5b97b6f740943051f426c5128ed99c44f8972b247c88f0affb2bbd7900312515e7a76881bbc431ed1bcf6eb56e8e7880183b97f07bd88575aaa4f34b
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /log/*.log
10
+ .DS_Store
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.7
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-04-14
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at karinaklevzhits@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in web_server_report.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rubocop", "~> 1.7"
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # WebServerReport
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/web_server_report`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'web_server_report'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install web_server_report
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ The gem provide get most popular pages and counr of visits, all pages and visits.To use you need transfer file name with extension(.log), consists of page and ip address
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/web_server_report. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/web_server_report/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+ ## Code of Conduct
38
+
39
+ Everyone interacting in the WebServerReport project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/web_server_report/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rubocop/rake_task"
5
+
6
+ RuboCop::RakeTask.new
7
+
8
+ task default: :rubocop
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "web_server_report"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ 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,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ # calculate number of visits
4
+ class CalculateVisits
5
+ def initialize(data)
6
+ @data = data
7
+ end
8
+
9
+ def number_of_visits_pages
10
+ hash_pages = Hash.new(0)
11
+ @data.each do |page|
12
+ hash_pages[page[:page]] += 1
13
+ end
14
+ hash_pages.sort_by { |_key, value| -value }.uniq
15
+ end
16
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ # class DataParser
4
+ class DataParser
5
+ def initialize(file_name)
6
+ @data = File.readlines(file_name)
7
+ end
8
+
9
+ def parse_data
10
+ result = []
11
+ @data.each do |page|
12
+ temp = page.split(" ")
13
+ result << {
14
+ page: temp[0],
15
+ ip: temp[1]
16
+ }
17
+ end
18
+ result
19
+ end
20
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WebServerReport
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "web_server_report/version"
4
+ require_relative "web_server_report/report"
5
+ # module WebServerReport
6
+ module WebServerReport
7
+ # class for print report
8
+ class PrintReport
9
+ def initialize(file_name)
10
+ @file_name = file_name
11
+ end
12
+
13
+ def print_all_visits
14
+ p "All visits for each page"
15
+ p Report.new(@file_name).all_visits
16
+ end
17
+
18
+ def print_most_popular_pages
19
+ p "Most Popular pages"
20
+ p Report.new(@file_name).most_popular_pages
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/web_server_report/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "web_server_report"
7
+ spec.version = WebServerReport::VERSION
8
+ spec.authors = ["Karina"]
9
+ spec.email = ["karinaklevzhits@gmail.com"]
10
+
11
+ spec.summary = "Write a short summary, because RubyGems requires one."
12
+ spec.homepage = "https://github.com/KarinaKlevzhits/WebServerReport"
13
+ spec.required_ruby_version = ">= 2.7.0"
14
+
15
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ # if spec.respond_to?(:metadata)
18
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
19
+ # else
20
+ # raise "RubyGems 2.0 or newer is required to protect against" \
21
+ # "public gem pushes."
22
+ # end
23
+
24
+ spec.metadata["homepage_uri"] = "https://github.com/KarinaKlevzhits/WebServerReport"
25
+ spec.metadata["source_code_uri"] = "https://github.com/KarinaKlevzhits/WebServerReport"
26
+ spec.metadata["changelog_uri"] = "https://github.com/KarinaKlevzhits/WebServerReport"
27
+
28
+ # Specify which files should be added to the gem when it is released.
29
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
30
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
31
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
32
+ end
33
+ spec.bindir = "exe"
34
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
35
+ spec.require_paths = ["lib"]
36
+
37
+ # Uncomment to register a new dependency of your gem
38
+ # spec.add_dependency "example-gem", "~> 1.0"
39
+
40
+ # For more information and examples about making a new gem, checkout our
41
+ # guide at: https://bundler.io/guides/creating_gem.html
42
+ end
data/webserver.log ADDED
@@ -0,0 +1,500 @@
1
+ /help_page/1 126.318.035.038
2
+ /contact 184.123.665.067
3
+ /home 184.123.665.067
4
+ /about/2 444.701.448.104
5
+ /help_page/1 929.398.951.889
6
+ /index 444.701.448.104
7
+ /help_page/1 722.247.931.582
8
+ /about 061.945.150.735
9
+ /help_page/1 646.865.545.408
10
+ /home 235.313.352.950
11
+ /contact 184.123.665.067
12
+ /help_page/1 543.910.244.929
13
+ /home 316.433.849.805
14
+ /about/2 444.701.448.104
15
+ /contact 543.910.244.929
16
+ /about 126.318.035.038
17
+ /about/2 836.973.694.403
18
+ /index 316.433.849.805
19
+ /index 802.683.925.780
20
+ /help_page/1 929.398.951.889
21
+ /contact 555.576.836.194
22
+ /about/2 184.123.665.067
23
+ /home 444.701.448.104
24
+ /index 929.398.951.889
25
+ /about 235.313.352.950
26
+ /contact 200.017.277.774
27
+ /about 836.973.694.403
28
+ /contact 316.433.849.805
29
+ /help_page/1 929.398.951.889
30
+ /about/2 382.335.626.855
31
+ /home 336.284.013.698
32
+ /about 929.398.951.889
33
+ /help_page/1 836.973.694.403
34
+ /contact 836.973.694.403
35
+ /home 444.701.448.104
36
+ /about/2 543.910.244.929
37
+ /about 715.156.286.412
38
+ /contact 184.123.665.067
39
+ /home 444.701.448.104
40
+ /index 184.123.665.067
41
+ /about 336.284.013.698
42
+ /home 382.335.626.855
43
+ /home 802.683.925.780
44
+ /about 715.156.286.412
45
+ /about/2 555.576.836.194
46
+ /home 451.106.204.921
47
+ /about 722.247.931.582
48
+ /contact 158.577.775.616
49
+ /about 715.156.286.412
50
+ /about 897.280.786.156
51
+ /home 897.280.786.156
52
+ /home 715.156.286.412
53
+ /contact 158.577.775.616
54
+ /help_page/1 316.433.849.805
55
+ /home 836.973.694.403
56
+ /contact 836.973.694.403
57
+ /help_page/1 184.123.665.067
58
+ /home 555.576.836.194
59
+ /help_page/1 158.577.775.616
60
+ /index 158.577.775.616
61
+ /help_page/1 543.910.244.929
62
+ /about/2 802.683.925.780
63
+ /about/2 200.017.277.774
64
+ /about 016.464.657.359
65
+ /help_page/1 158.577.775.616
66
+ /about 061.945.150.735
67
+ /about 802.683.925.780
68
+ /about 543.910.244.929
69
+ /contact 016.464.657.359
70
+ /help_page/1 682.704.613.213
71
+ /about 543.910.244.929
72
+ /about/2 126.318.035.038
73
+ /about/2 451.106.204.921
74
+ /help_page/1 929.398.951.889
75
+ /contact 682.704.613.213
76
+ /help_page/1 217.511.476.080
77
+ /about/2 235.313.352.950
78
+ /contact 682.704.613.213
79
+ /about/2 555.576.836.194
80
+ /about 016.464.657.359
81
+ /index 897.280.786.156
82
+ /about/2 184.123.665.067
83
+ /index 555.576.836.194
84
+ /home 646.865.545.408
85
+ /home 217.511.476.080
86
+ /about 316.433.849.805
87
+ /about/2 200.017.277.774
88
+ /home 715.156.286.412
89
+ /index 200.017.277.774
90
+ /help_page/1 836.973.694.403
91
+ /about/2 836.973.694.403
92
+ /about/2 217.511.476.080
93
+ /index 158.577.775.616
94
+ /home 451.106.204.921
95
+ /contact 444.701.448.104
96
+ /index 722.247.931.582
97
+ /about 235.313.352.950
98
+ /home 235.313.352.950
99
+ /help_page/1 016.464.657.359
100
+ /contact 316.433.849.805
101
+ /about 836.973.694.403
102
+ /home 235.313.352.950
103
+ /help_page/1 451.106.204.921
104
+ /index 451.106.204.921
105
+ /about 836.973.694.403
106
+ /about 451.106.204.921
107
+ /about/2 382.335.626.855
108
+ /about/2 316.433.849.805
109
+ /about 016.464.657.359
110
+ /about 555.576.836.194
111
+ /about 336.284.013.698
112
+ /about/2 184.123.665.067
113
+ /contact 802.683.925.780
114
+ /index 158.577.775.616
115
+ /about/2 061.945.150.735
116
+ /contact 682.704.613.213
117
+ /home 682.704.613.213
118
+ /about/2 715.156.286.412
119
+ /help_page/1 897.280.786.156
120
+ /about 158.577.775.616
121
+ /help_page/1 722.247.931.582
122
+ /help_page/1 382.335.626.855
123
+ /contact 382.335.626.855
124
+ /index 451.106.204.921
125
+ /about 061.945.150.735
126
+ /about 126.318.035.038
127
+ /help_page/1 235.313.352.950
128
+ /about/2 543.910.244.929
129
+ /about 682.704.613.213
130
+ /help_page/1 217.511.476.080
131
+ /about/2 184.123.665.067
132
+ /index 451.106.204.921
133
+ /home 200.017.277.774
134
+ /about/2 646.865.545.408
135
+ /home 382.335.626.855
136
+ /help_page/1 897.280.786.156
137
+ /index 217.511.476.080
138
+ /contact 184.123.665.067
139
+ /about 061.945.150.735
140
+ /index 897.280.786.156
141
+ /about/2 316.433.849.805
142
+ /help_page/1 016.464.657.359
143
+ /about 715.156.286.412
144
+ /index 929.398.951.889
145
+ /home 444.701.448.104
146
+ /help_page/1 646.865.545.408
147
+ /contact 722.247.931.582
148
+ /index 451.106.204.921
149
+ /about 722.247.931.582
150
+ /help_page/1 184.123.665.067
151
+ /about/2 016.464.657.359
152
+ /about/2 200.017.277.774
153
+ /about/2 543.910.244.929
154
+ /help_page/1 444.701.448.104
155
+ /index 836.973.694.403
156
+ /contact 126.318.035.038
157
+ /about/2 444.701.448.104
158
+ /contact 336.284.013.698
159
+ /help_page/1 722.247.931.582
160
+ /contact 722.247.931.582
161
+ /home 061.945.150.735
162
+ /about/2 016.464.657.359
163
+ /contact 382.335.626.855
164
+ /contact 451.106.204.921
165
+ /home 543.910.244.929
166
+ /home 555.576.836.194
167
+ /contact 158.577.775.616
168
+ /home 722.247.931.582
169
+ /contact 158.577.775.616
170
+ /help_page/1 451.106.204.921
171
+ /index 451.106.204.921
172
+ /about/2 016.464.657.359
173
+ /home 016.464.657.359
174
+ /index 382.335.626.855
175
+ /home 897.280.786.156
176
+ /about 382.335.626.855
177
+ /help_page/1 316.433.849.805
178
+ /home 722.247.931.582
179
+ /about/2 316.433.849.805
180
+ /about/2 897.280.786.156
181
+ /about 336.284.013.698
182
+ /help_page/1 682.704.613.213
183
+ /about/2 682.704.613.213
184
+ /contact 158.577.775.616
185
+ /index 543.910.244.929
186
+ /home 316.433.849.805
187
+ /index 158.577.775.616
188
+ /index 444.701.448.104
189
+ /home 158.577.775.616
190
+ /about/2 555.576.836.194
191
+ /contact 382.335.626.855
192
+ /home 836.973.694.403
193
+ /index 126.318.035.038
194
+ /home 543.910.244.929
195
+ /contact 897.280.786.156
196
+ /help_page/1 646.865.545.408
197
+ /about 682.704.613.213
198
+ /contact 316.433.849.805
199
+ /home 451.106.204.921
200
+ /about/2 722.247.931.582
201
+ /about/2 897.280.786.156
202
+ /index 543.910.244.929
203
+ /index 722.247.931.582
204
+ /about 016.464.657.359
205
+ /help_page/1 126.318.035.038
206
+ /home 929.398.951.889
207
+ /home 382.335.626.855
208
+ /home 158.577.775.616
209
+ /help_page/1 451.106.204.921
210
+ /home 444.701.448.104
211
+ /index 929.398.951.889
212
+ /index 929.398.951.889
213
+ /home 444.701.448.104
214
+ /about 897.280.786.156
215
+ /about/2 897.280.786.156
216
+ /contact 184.123.665.067
217
+ /help_page/1 802.683.925.780
218
+ /index 126.318.035.038
219
+ /about 722.247.931.582
220
+ /index 451.106.204.921
221
+ /contact 555.576.836.194
222
+ /about/2 158.577.775.616
223
+ /help_page/1 316.433.849.805
224
+ /contact 802.683.925.780
225
+ /help_page/1 646.865.545.408
226
+ /contact 217.511.476.080
227
+ /index 897.280.786.156
228
+ /about/2 316.433.849.805
229
+ /about/2 016.464.657.359
230
+ /help_page/1 382.335.626.855
231
+ /home 555.576.836.194
232
+ /contact 158.577.775.616
233
+ /index 682.704.613.213
234
+ /contact 184.123.665.067
235
+ /contact 382.335.626.855
236
+ /contact 336.284.013.698
237
+ /about/2 715.156.286.412
238
+ /about 682.704.613.213
239
+ /home 336.284.013.698
240
+ /index 316.433.849.805
241
+ /index 382.335.626.855
242
+ /contact 722.247.931.582
243
+ /contact 184.123.665.067
244
+ /about 836.973.694.403
245
+ /contact 061.945.150.735
246
+ /about 897.280.786.156
247
+ /home 836.973.694.403
248
+ /index 126.318.035.038
249
+ /contact 543.910.244.929
250
+ /home 543.910.244.929
251
+ /contact 336.284.013.698
252
+ /contact 646.865.545.408
253
+ /contact 897.280.786.156
254
+ /about/2 061.945.150.735
255
+ /about 802.683.925.780
256
+ /contact 184.123.665.067
257
+ /home 235.313.352.950
258
+ /about/2 555.576.836.194
259
+ /index 444.701.448.104
260
+ /help_page/1 451.106.204.921
261
+ /contact 722.247.931.582
262
+ /help_page/1 336.284.013.698
263
+ /contact 722.247.931.582
264
+ /index 444.701.448.104
265
+ /about 061.945.150.735
266
+ /index 836.973.694.403
267
+ /about/2 235.313.352.950
268
+ /help_page/1 722.247.931.582
269
+ /about/2 184.123.665.067
270
+ /index 184.123.665.067
271
+ /help_page/1 715.156.286.412
272
+ /index 016.464.657.359
273
+ /about/2 646.865.545.408
274
+ /about 897.280.786.156
275
+ /about/2 061.945.150.735
276
+ /index 158.577.775.616
277
+ /contact 316.433.849.805
278
+ /index 158.577.775.616
279
+ /about 217.511.476.080
280
+ /about 158.577.775.616
281
+ /index 158.577.775.616
282
+ /help_page/1 555.576.836.194
283
+ /home 158.577.775.616
284
+ /about 722.247.931.582
285
+ /about/2 646.865.545.408
286
+ /about 184.123.665.067
287
+ /home 235.313.352.950
288
+ /home 836.973.694.403
289
+ /about 451.106.204.921
290
+ /about/2 184.123.665.067
291
+ /home 382.335.626.855
292
+ /contact 722.247.931.582
293
+ /contact 555.576.836.194
294
+ /about/2 555.576.836.194
295
+ /about/2 200.017.277.774
296
+ /help_page/1 158.577.775.616
297
+ /contact 316.433.849.805
298
+ /contact 722.247.931.582
299
+ /contact 451.106.204.921
300
+ /contact 235.313.352.950
301
+ /about 235.313.352.950
302
+ /about 836.973.694.403
303
+ /home 444.701.448.104
304
+ /contact 184.123.665.067
305
+ /about/2 200.017.277.774
306
+ /about 646.865.545.408
307
+ /about/2 836.973.694.403
308
+ /index 543.910.244.929
309
+ /index 722.247.931.582
310
+ /index 382.335.626.855
311
+ /about/2 382.335.626.855
312
+ /index 217.511.476.080
313
+ /about 682.704.613.213
314
+ /index 836.973.694.403
315
+ /home 682.704.613.213
316
+ /index 235.313.352.950
317
+ /about/2 061.945.150.735
318
+ /about 543.910.244.929
319
+ /contact 158.577.775.616
320
+ /about/2 200.017.277.774
321
+ /help_page/1 336.284.013.698
322
+ /home 200.017.277.774
323
+ /home 555.576.836.194
324
+ /home 722.247.931.582
325
+ /about/2 316.433.849.805
326
+ /index 184.123.665.067
327
+ /index 200.017.277.774
328
+ /about 126.318.035.038
329
+ /help_page/1 382.335.626.855
330
+ /about/2 646.865.545.408
331
+ /index 061.945.150.735
332
+ /about/2 217.511.476.080
333
+ /about 217.511.476.080
334
+ /contact 316.433.849.805
335
+ /index 722.247.931.582
336
+ /help_page/1 382.335.626.855
337
+ /help_page/1 235.313.352.950
338
+ /index 836.973.694.403
339
+ /home 802.683.925.780
340
+ /about/2 158.577.775.616
341
+ /about/2 836.973.694.403
342
+ /help_page/1 382.335.626.855
343
+ /contact 217.511.476.080
344
+ /home 235.313.352.950
345
+ /about 184.123.665.067
346
+ /home 158.577.775.616
347
+ /help_page/1 016.464.657.359
348
+ /index 336.284.013.698
349
+ /index 200.017.277.774
350
+ /contact 715.156.286.412
351
+ /about 451.106.204.921
352
+ /about/2 444.701.448.104
353
+ /about 682.704.613.213
354
+ /help_page/1 158.577.775.616
355
+ /contact 158.577.775.616
356
+ /index 897.280.786.156
357
+ /about/2 235.313.352.950
358
+ /index 451.106.204.921
359
+ /help_page/1 158.577.775.616
360
+ /contact 715.156.286.412
361
+ /contact 802.683.925.780
362
+ /contact 646.865.545.408
363
+ /about 543.910.244.929
364
+ /about/2 715.156.286.412
365
+ /index 200.017.277.774
366
+ /about/2 184.123.665.067
367
+ /index 646.865.545.408
368
+ /contact 451.106.204.921
369
+ /contact 929.398.951.889
370
+ /about/2 382.335.626.855
371
+ /help_page/1 682.704.613.213
372
+ /about/2 682.704.613.213
373
+ /help_page/1 836.973.694.403
374
+ /contact 836.973.694.403
375
+ /about 235.313.352.950
376
+ /about/2 722.247.931.582
377
+ /home 126.318.035.038
378
+ /contact 382.335.626.855
379
+ /contact 158.577.775.616
380
+ /contact 126.318.035.038
381
+ /index 016.464.657.359
382
+ /home 061.945.150.735
383
+ /contact 382.335.626.855
384
+ /help_page/1 802.683.925.780
385
+ /home 682.704.613.213
386
+ /about 016.464.657.359
387
+ /help_page/1 336.284.013.698
388
+ /about 543.910.244.929
389
+ /help_page/1 451.106.204.921
390
+ /index 897.280.786.156
391
+ /index 897.280.786.156
392
+ /help_page/1 802.683.925.780
393
+ /about/2 646.865.545.408
394
+ /index 836.973.694.403
395
+ /about/2 061.945.150.735
396
+ /index 061.945.150.735
397
+ /about/2 382.335.626.855
398
+ /help_page/1 682.704.613.213
399
+ /about/2 543.910.244.929
400
+ /index 016.464.657.359
401
+ /about/2 200.017.277.774
402
+ /about 451.106.204.921
403
+ /about 336.284.013.698
404
+ /contact 316.433.849.805
405
+ /contact 016.464.657.359
406
+ /contact 217.511.476.080
407
+ /help_page/1 336.284.013.698
408
+ /about 722.247.931.582
409
+ /about/2 336.284.013.698
410
+ /home 316.433.849.805
411
+ /home 316.433.849.805
412
+ /home 543.910.244.929
413
+ /contact 061.945.150.735
414
+ /about/2 200.017.277.774
415
+ /about 336.284.013.698
416
+ /home 016.464.657.359
417
+ /index 682.704.613.213
418
+ /contact 543.910.244.929
419
+ /about 451.106.204.921
420
+ /contact 200.017.277.774
421
+ /about/2 555.576.836.194
422
+ /index 444.701.448.104
423
+ /about 184.123.665.067
424
+ /contact 836.973.694.403
425
+ /about 316.433.849.805
426
+ /contact 382.335.626.855
427
+ /help_page/1 061.945.150.735
428
+ /home 316.433.849.805
429
+ /home 016.464.657.359
430
+ /help_page/1 316.433.849.805
431
+ /home 126.318.035.038
432
+ /contact 722.247.931.582
433
+ /help_page/1 158.577.775.616
434
+ /index 715.156.286.412
435
+ /about/2 184.123.665.067
436
+ /about/2 184.123.665.067
437
+ /help_page/1 802.683.925.780
438
+ /help_page/1 451.106.204.921
439
+ /index 451.106.204.921
440
+ /about/2 444.701.448.104
441
+ /about/2 543.910.244.929
442
+ /contact 235.313.352.950
443
+ /home 646.865.545.408
444
+ /home 382.335.626.855
445
+ /index 929.398.951.889
446
+ /index 715.156.286.412
447
+ /help_page/1 382.335.626.855
448
+ /index 444.701.448.104
449
+ /help_page/1 543.910.244.929
450
+ /home 802.683.925.780
451
+ /index 061.945.150.735
452
+ /help_page/1 126.318.035.038
453
+ /about/2 543.910.244.929
454
+ /contact 715.156.286.412
455
+ /contact 555.576.836.194
456
+ /about/2 217.511.476.080
457
+ /help_page/1 016.464.657.359
458
+ /about 722.247.931.582
459
+ /help_page/1 235.313.352.950
460
+ /help_page/1 555.576.836.194
461
+ /contact 646.865.545.408
462
+ /about 646.865.545.408
463
+ /index 200.017.277.774
464
+ /home 200.017.277.774
465
+ /home 646.865.545.408
466
+ /home 722.247.931.582
467
+ /about/2 016.464.657.359
468
+ /about 184.123.665.067
469
+ /about/2 722.247.931.582
470
+ /index 126.318.035.038
471
+ /about 722.247.931.582
472
+ /index 336.284.013.698
473
+ /about 682.704.613.213
474
+ /index 336.284.013.698
475
+ /index 444.701.448.104
476
+ /about/2 061.945.150.735
477
+ /help_page/1 336.284.013.698
478
+ /about 451.106.204.921
479
+ /help_page/1 646.865.545.408
480
+ /help_page/1 715.156.286.412
481
+ /help_page/1 126.318.035.038
482
+ /home 217.511.476.080
483
+ /help_page/1 543.910.244.929
484
+ /about 722.247.931.582
485
+ /about 336.284.013.698
486
+ /index 451.106.204.921
487
+ /contact 802.683.925.780
488
+ /help_page/1 802.683.925.780
489
+ /about 336.284.013.698
490
+ /contact 158.577.775.616
491
+ /contact 126.318.035.038
492
+ /about 802.683.925.780
493
+ /about/2 543.910.244.929
494
+ /help_page/1 200.017.277.774
495
+ /home 126.318.035.038
496
+ /about/2 184.123.665.067
497
+ /home 451.106.204.921
498
+ /home 200.017.277.774
499
+ /about/2 200.017.277.774
500
+ /about 543.910.244.929
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: web_server_report
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Karina
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ - karinaklevzhits@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - ".rubocop.yml"
22
+ - CHANGELOG.md
23
+ - CODE_OF_CONDUCT.md
24
+ - Gemfile
25
+ - README.md
26
+ - Rakefile
27
+ - bin/console
28
+ - bin/setup
29
+ - lib/web_server_report.rb
30
+ - lib/web_server_report/calculate_visits.rb
31
+ - lib/web_server_report/data_parser.rb
32
+ - lib/web_server_report/version.rb
33
+ - web_server_report.gemspec
34
+ - webserver.log
35
+ homepage: https://github.com/KarinaKlevzhits/WebServerReport
36
+ licenses: []
37
+ metadata:
38
+ homepage_uri: https://github.com/KarinaKlevzhits/WebServerReport
39
+ source_code_uri: https://github.com/KarinaKlevzhits/WebServerReport
40
+ changelog_uri: https://github.com/KarinaKlevzhits/WebServerReport
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 2.7.0
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ requirements: []
56
+ rubygems_version: 3.2.3
57
+ signing_key:
58
+ specification_version: 4
59
+ summary: Write a short summary, because RubyGems requires one.
60
+ test_files: []