ritsudo 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69c4b08bb23d817ff9f5951cc51f7038044c11f454c554c47cd326ac82bf5402
4
- data.tar.gz: ad41cbd8b8cf99b4762839c8073dc6ea7604b14a5ce4cff56c6b7371cc7d1e67
3
+ metadata.gz: 89f6b3348dfd799aa0fc14980192e45eb0d22e67f3667e7a26bc2a6a4a6b8d48
4
+ data.tar.gz: 0120a045a3b2843aa4b3a46f87bff9728d07b6d0d290c820149905b6be2c8fed
5
5
  SHA512:
6
- metadata.gz: 16ed9da2166d19f228e1098a6ec0397d872e71c7e802aec00c1549fcd796ed8c3d77011a5f054e9f52d46e1e2dc5d3f8e822bb71822546da5ff88b485fd10e09
7
- data.tar.gz: eda1e32bf47452462aa094fb03152a2379b701399e831f0b3fbb339b7213ef01aaccd686cc9507b3e5b247c7d20a2aa1dd1a63f8d8b41ff48e2ad79fc5fff097
6
+ metadata.gz: '090b109e08b6709f250d1eeb4afdeab064669194348d3bfdbaaf4fd62004fad9c43553b9e96a8c66855c7424e29e1eb16212c62eefb8f566297948fb390558a7'
7
+ data.tar.gz: 6fa5f9c3edfef86966fba07a58c0e5c13a517bc01d9a39f4ec2c513b300460572dbd461bd11d35f6869b6cb4d22b91d0b544f92d078039348794e717a505d5c4
@@ -1,23 +1,9 @@
1
1
  module Ritsudo
2
2
  module Result
3
3
  class Documents < Base
4
- def add(request)
5
- @completed[request.url] << request.time
6
- end
7
-
8
- def report
9
- table_data = []
10
- puts "[Document]"
11
- @completed.each do |url, complete|
12
- table_data << {
13
- url: url[0..100],
14
- avg: (complete.sum(0.0) / complete.length).round(2),
15
- max: complete.max.round(2),
16
- min: complete.min.round(2),
17
- count: complete.size
18
- }
19
- end
20
- Formatador.display_table(table_data, [:url, :avg, :max, :min, :count])
4
+ include Ritsudo::Result::Uncompletable
5
+ def name
6
+ "Document"
21
7
  end
22
8
  end
23
9
  end
@@ -1,3 +1,3 @@
1
1
  module Ritsudo
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ritsudo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - shingo morita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2019-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver