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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d17ae0d6369f3e82807b9b615e4edbcdc08becdce66fd89d887cd8c9d76fcbe
4
- data.tar.gz: 15cdee28894b83991cff326c4d8767f02675cf53076cb2083a55e801c021ba64
3
+ metadata.gz: 2859de3ef7692019216073787395867b4356a3dfe0d2b5395a4f18afc5e91590
4
+ data.tar.gz: 9448117bf6dad8d63534b8fb4fa61604b3097e17ebba4874664847a97a90e22d
5
5
  SHA512:
6
- metadata.gz: 6d37ee3f4af28871c5dbf365719b9fdbd466b5f5737c66e45f98571db5814ad7338fb7795cc233102ce4c5c01205c3170bdfd5dcee20463d802e86a1f6a90a5f
7
- data.tar.gz: 542251f0c20adf417045ea262da40811ce07e5c17e97a455da56705960e5ed22b2e9b06e2c154cd2b7c7eff30cf52ad86d1bdc44cb17538a5935d17c63734d77
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.15.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.187.0)
12
- aws-sdk-core (3.59.0)
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.0)
18
- aws-sdk-core (~> 3, >= 3.58.0)
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)
@@ -30,7 +30,8 @@ module Webload
30
30
  end
31
31
 
32
32
  next if method.nil?
33
- next if $options.ignore && uri.match(/#{$options.ignore}/)
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)
@@ -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.ignore = v
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|
@@ -1,5 +1,5 @@
1
1
  module Webload
2
2
  module Client
3
- VERSION = "0.15.0"
3
+ VERSION = "0.16.0"
4
4
  end
5
5
  end
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.15.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-07-10 00:00:00.000000000 Z
11
+ date: 2019-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler