webload-client 0.9.0 → 0.10.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: f2fb946270bdb6410f229beffab742e95ffc3118e504c18c9d5d0cb9751344cd
4
- data.tar.gz: f30dd511dd20ca2ac1152d8d3532e47eb120db171dbeb231073ba41385ffe60d
3
+ metadata.gz: 3c45154157ee615c8e05903f0a0d5d955f22e1b8872da7cc980a9d27e60f081a
4
+ data.tar.gz: 623517749ac47af473bb7de347045443da8a5df965c8fb305df58500491a0b09
5
5
  SHA512:
6
- metadata.gz: d7f534aa101ad72c60b8afed1cd4dceb5f6331558e69b54205ef7b4987a8fbcd78b21d684cd090aef9363a720a8613b58e9035f991aa4e4da0c95ebbb5721ffc
7
- data.tar.gz: bc11e00fc0b8823d4773de0e4de1770b312b35ab550f2ab5c6720f1a4ba40b457d932e5749b906fddb5582d1435528eaa8ef44ee17be084a49bbc0f113a6f1db
6
+ metadata.gz: 9ced85396f3dd5240e6b8bb93ddb812f49c2763fb52a433c67dd2106ae068c5fbdd649fc575ce2f689c4971df8c08918aae220c5790fcecede6b2fd2899e9394
7
+ data.tar.gz: 948187b181ea8f07d4784802d0f7ff1a17b0a37806a97071bfc7b829f3322f94b9436ab31d2042c50231c90c6bae39354a9353ccfe8f5e1d4d1c3a52c3e23511
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webload-client (0.9.0)
4
+ webload-client (0.10.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.1)
11
- aws-partitions (1.142.0)
11
+ aws-partitions (1.143.0)
12
12
  aws-sdk-core (3.46.2)
13
13
  aws-eventstream (~> 1.0)
14
14
  aws-partitions (~> 1.0)
@@ -29,8 +29,8 @@ module Webload
29
29
  options.batch = v.to_i
30
30
  end
31
31
 
32
- opts.on("-i", "--ignore IGNORE", "a CSV list of patterns to ignore") do |v|
33
- options.ignore = v.split(',')
32
+ opts.on("-i", "--ignore PATTERN", "a RUBY PATTERN to ignore") do |v|
33
+ options.ignore = v
34
34
  end
35
35
 
36
36
  opts.separator ""
@@ -1,5 +1,5 @@
1
1
  module Webload
2
2
  module Client
3
- VERSION = "0.9.0"
3
+ VERSION = "0.10.0"
4
4
  end
5
5
  end
@@ -27,7 +27,7 @@ module Webload
27
27
  next if match.nil?
28
28
 
29
29
  uri = match.captures.first
30
- next if $options.ignore.inject(false) {|v, p| v = true if uri.include?(p);v}
30
+ next if $options.ignore && uri.match(/#{$options.ignore}/)
31
31
 
32
32
  if interval > rate
33
33
  time = Time.now
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.9.0
4
+ version: 0.10.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-03-06 00:00:00.000000000 Z
11
+ date: 2019-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler