ritsudo 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee2a6abdb855e2cdce4490dd6f35fcf71960388b4612e5ebb95508966567c2e5
4
- data.tar.gz: b0cc172d1ebf2642a2ec1489f9906d8a0d4e2d204f1504579fb8a61ebad13bf9
3
+ metadata.gz: 69c4b08bb23d817ff9f5951cc51f7038044c11f454c554c47cd326ac82bf5402
4
+ data.tar.gz: ad41cbd8b8cf99b4762839c8073dc6ea7604b14a5ce4cff56c6b7371cc7d1e67
5
5
  SHA512:
6
- metadata.gz: 366102b22ebca7f46296a93fb343d9c03cdd7299c22088bc7b0a764b7b6f8ec32545e64d0b445865b065fa5451fe35790074f39ff3e4e4cf62cdb3821ba157a3
7
- data.tar.gz: 43a5a6a3efa8981bbdebdf5fda142beb82f19a45e2e46cf14c1b1c4490ae58e2652610e530ea600f328f367df9277d1e415f95b47dd7884da2cd10632cce6d76
6
+ metadata.gz: 16ed9da2166d19f228e1098a6ec0397d872e71c7e802aec00c1549fcd796ed8c3d77011a5f054e9f52d46e1e2dc5d3f8e822bb71822546da5ff88b485fd10e09
7
+ data.tar.gz: eda1e32bf47452462aa094fb03152a2379b701399e831f0b3fbb339b7213ef01aaccd686cc9507b3e5b247c7d20a2aa1dd1a63f8d8b41ff48e2ad79fc5fff097
data/README.md CHANGED
@@ -73,7 +73,7 @@ ritsudo -a https://example.com/page -m "example.com" -C "hoge=fuga"
73
73
 
74
74
  #### Problem
75
75
  Headless chrome doesn't support to set cookies before access.
76
- So, Ritsudo access root path(e.g https://example.com") before benchmark.
76
+ So, Ritsudo accesses root path(e.g https://example.com) before each benchmark.
77
77
 
78
78
  ## License
79
79
 
@@ -54,7 +54,6 @@ module Ritsudo
54
54
  manage.add_cookie(cookie.merge(domain: URI.parse(url).host))
55
55
  end
56
56
  end
57
- puts @driver.manage.logs.get('performance').inspect
58
57
  @driver.get(url)
59
58
  end
60
59
 
@@ -26,7 +26,7 @@ module Ritsudo
26
26
  def url
27
27
  if _url = sent_message&.url
28
28
  url = URI.parse(_url)
29
- "#{url.scheme}//#{url.host}#{url.path}"
29
+ url.to_s.sub(url.query.to_s, '')
30
30
  else
31
31
  nil
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Ritsudo
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ritsudo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - shingo morita