webload-client 0.13.0 → 0.14.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: d4230895ba9cdcdd37b93df267eef8a370dae26dc9db6c2544e598efffd56190
4
- data.tar.gz: 0dbb4ab016509506bc1a6210afd6dbd79e4cf62d89cfe3676a0133beee628822
3
+ metadata.gz: daa6735828dfdcd39c35ccb9c7892335c7357d0c8b496865e38343315a31c073
4
+ data.tar.gz: 97cff8ed4430a50dfa7ca971f89a764d2d196aceba1fb4f9c2e61d62116c8538
5
5
  SHA512:
6
- metadata.gz: 2808a6e2ffc1a624d985ea840f8ae713f5952ec1091f33aeb5ff657fc8a276fff38c60a1a327dfd0033b1e059533bb0af153c7d211860002c15760e599f6e0f3
7
- data.tar.gz: a5a037d273115b4686fd654ee864dd095c4ff95024999da784f27d9ff0b82b1a49ffad1753b4ea4281d384a17ac52673b2008c44187148460b2a231b43ce20d3
6
+ metadata.gz: 13b3478f56001b2cd34e42ace6008d0e9258506fa9f52297a065b8d8b568362143296a5faabf2d101563a616233a3f9053f87f9cc7996871e5839445cb693e12
7
+ data.tar.gz: e59e79b6a79b17f1ccf58f2ea0c7aceb71941527850db7c9ba1c1974362f56885784fb7892ed6737b66dba5c93129b0e69fac1ec2fbfabd77348936d45cf51b1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webload-client (0.13.0)
4
+ webload-client (0.14.0)
5
5
  aws-sdk-sqs
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  module Webload
2
2
  module Client
3
- VERSION = "0.13.0"
3
+ VERSION = "0.14.0"
4
4
  end
5
5
  end
@@ -23,7 +23,11 @@ module Webload
23
23
  now = Time.now
24
24
  interval = now - time
25
25
 
26
- method, uri, post_data = line.match(/(GET|POST) (.*?) HTTP.* ("\{*.*\}*")/).captures
26
+ if match = line.match(/(GET|POST) (.*?) HTTP.* ("\{*.*\}*")/)
27
+ method, uri, post_data = match.captures
28
+ else
29
+ next
30
+ end
27
31
 
28
32
  next if method.nil?
29
33
  next if $options.ignore && uri.match(/#{$options.ignore}/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webload-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger