webload-client 0.15.0 → 0.16.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 +4 -4
- data/Gemfile.lock +5 -5
- data/lib/webload/client.rb +2 -1
- data/lib/webload/client/cli.rb +6 -2
- data/lib/webload/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2859de3ef7692019216073787395867b4356a3dfe0d2b5395a4f18afc5e91590
|
|
4
|
+
data.tar.gz: 9448117bf6dad8d63534b8fb4fa61604b3097e17ebba4874664847a97a90e22d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 433bcc542b085c019cf974dabfd06c39b517a469ee636376c7383d66c5e7d0f7743bead29977751aa3eda3c68b6e675b000d209a36beb7fa20fb1239ac5b286a
|
|
7
|
+
data.tar.gz: caf38c3eaa3400b6256b5a9e2b5ff022d0d16650cf4f8ee05ef762dbe968e221cf2ce8a41365471c36c7b137c6f2d0f7d4e6a4ae84e527aeb8c349f6aa9907cf
|
data/Gemfile.lock
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
webload-client (0.
|
|
4
|
+
webload-client (0.16.0)
|
|
5
5
|
aws-sdk-sqs
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
aws-eventstream (1.0.3)
|
|
11
|
-
aws-partitions (1.
|
|
12
|
-
aws-sdk-core (3.
|
|
11
|
+
aws-partitions (1.196.0)
|
|
12
|
+
aws-sdk-core (3.62.0)
|
|
13
13
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
|
14
14
|
aws-partitions (~> 1.0)
|
|
15
15
|
aws-sigv4 (~> 1.1)
|
|
16
16
|
jmespath (~> 1.0)
|
|
17
|
-
aws-sdk-sqs (1.
|
|
18
|
-
aws-sdk-core (~> 3, >= 3.
|
|
17
|
+
aws-sdk-sqs (1.20.0)
|
|
18
|
+
aws-sdk-core (~> 3, >= 3.61.1)
|
|
19
19
|
aws-sigv4 (~> 1.1)
|
|
20
20
|
aws-sigv4 (1.1.0)
|
|
21
21
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
data/lib/webload/client.rb
CHANGED
|
@@ -30,7 +30,8 @@ module Webload
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
next if method.nil?
|
|
33
|
-
next if $options.
|
|
33
|
+
next if $options.uri_ignore && uri.match(/#{$options.uri_ignore}/)
|
|
34
|
+
next if $options.methods_ignore && method.match(/#{$options.methods_ignore}/)
|
|
34
35
|
|
|
35
36
|
# rate is 60 / requests per minute divided by
|
|
36
37
|
# interval is the difference between Time.now - time (Time.now at some time)
|
data/lib/webload/client/cli.rb
CHANGED
|
@@ -29,8 +29,12 @@ module Webload
|
|
|
29
29
|
options.batch = v.to_i
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
opts.on("-i", "--ignore PATTERN", "a RUBY PATTERN to ignore") do |v|
|
|
33
|
-
options.
|
|
32
|
+
opts.on("-i", "--uri-ignore PATTERN", "a RUBY PATTERN to ignore") do |v|
|
|
33
|
+
options.uri_ignore = v
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
opts.on("-k", "--method-ignore PATTERN", "a RUBY PATTERN to ignore") do |v|
|
|
37
|
+
options.methods_ignore = v
|
|
34
38
|
end
|
|
35
39
|
|
|
36
40
|
opts.on("-m", "--multiply-by NUM", "Multiply the number of requests by a factor of") do |v|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webload-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Breinlinger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|