lavin 0.5.0 → 0.5.1

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: f992df4f0b4f330811a5c440e4f2cc0f2d514c6adc93520851b5a3f37c1807d0
4
- data.tar.gz: 1ab740ad5a07113568023f7a46e2d36a722422ad4c3ea75dbcd7974dd79db570
3
+ metadata.gz: 3b1e0e80acfcdbe71bd807a96a8397c01a1b18e092d5f10600fbbf1b51030f13
4
+ data.tar.gz: 7959c4847da09a1b30bb695253a9abf6ae5f9ccca859a5ef7e0d43acc0d38520
5
5
  SHA512:
6
- metadata.gz: '07319fe5d1f1cdfbd5cd86519ce6b273f773397ff11707cef85bda11c65a1b77a27fc5a739c7c1aa3c61f20726103a08d9d45afd0d1d811849c30820717d0d1b'
7
- data.tar.gz: 3049f57b36562110c1bc09ffe0a7bfe7648cb8134c9cff73f9d74c6e66590749177158999d2c4f7f41cd0d8ad7e712d90410a05b56dc36222d878ab3a8879f0e
6
+ metadata.gz: 299488137dddfe998d46bcec56b3d179dc5cab2ff83dca94b39563ae7dd56f9de8ceff3459905879e148067f09969aaf217e8f8724d6c1e4f3ac0fbb6d44061a
7
+ data.tar.gz: 34ac5085b952aabe3ed22bce2eb11a8497c3999be3d29494bd9a206e85dd98a17ac2be02e459645a68dc03e6734d2b775e76cbf4b2bada8a9e245cef117cfda5
checksums.yaml.gz.sig CHANGED
Binary file
data/bin/lavin CHANGED
@@ -8,7 +8,7 @@ module Lavin
8
8
  class Script
9
9
  def self.run(*files, web_ui: true)
10
10
  exit_with_usage(msg: "No file or directory given") if files.empty?
11
- files.keep_if { |file| File.exists? file }
11
+ files.keep_if { |file| File.exist? file }
12
12
  new(*files, web_ui:).run
13
13
  end
14
14
 
@@ -31,7 +31,7 @@ module Lavin
31
31
 
32
32
  def run
33
33
  files.each do |file|
34
- if Dir.exists? file
34
+ if Dir.exist? file
35
35
  $LOAD_PATH << file unless $LOAD_PATH.include? file
36
36
  Dir.children(file).each { |file| require file }
37
37
  else
data/lib/lavin/client.rb CHANGED
@@ -81,8 +81,8 @@ module Lavin
81
81
  end
82
82
 
83
83
  def save_cookie(headers)
84
- cookie = headers['Set-Cookie'] || headers['SET-COOKIE'] || headers['set-cookie']
85
- self.cookie = cookie if cookie
84
+ cookies = Array(headers['Set-Cookie'] || headers['SET-COOKIE'] || headers['set-cookie'])
85
+ self.cookie = cookies.join('; ') unless cookies.empty?
86
86
  end
87
87
  end
88
88
  end
data/lib/lavin/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lavin
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lavin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sammy Henningsson
@@ -10,26 +10,28 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDVjCCAj6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAqMSgwJgYDVQQDDB9zYW1t
14
- eS5oZW5uaW5nc3Nvbi9EQz1oZXkvREM9Y29tMB4XDTIyMDEzMTIwNTQxMloXDTI0
15
- MDEzMTIwNTQxMlowKjEoMCYGA1UEAwwfc2FtbXkuaGVubmluZ3Nzb24vREM9aGV5
16
- L0RDPWNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK+SDC1mfyhu
17
- cJ6Va21rIHUGscEtQrdvyBqxFG1s2TgPMAv4RbqwdJVPa7kjtbCzslADlUE1oru2
18
- C+rcJsMtVGX02ukMIPHT1OjTyy0/EMqLqSy3WeRI8APyDSxCVbe+h5BMf3zZnYfd
19
- dR6AeG7ln09T1P/tX+9lTMc+I+DW1fUlQgY48C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2022-11-04 00:00:00.000000000 Z
34
+ date: 2024-08-24 00:00:00.000000000 Z
33
35
  dependencies:
34
36
  - !ruby/object:Gem::Dependency
35
37
  name: async
@@ -103,7 +105,7 @@ dependencies:
103
105
  version: '1.16'
104
106
  description:
105
107
  email:
106
- - sammy.henningsson@hemnet.se
108
+ - sammy.henningsson@hey.com
107
109
  executables:
108
110
  - lavin
109
111
  extensions: []
@@ -155,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
157
  - !ruby/object:Gem::Version
156
158
  version: '0'
157
159
  requirements: []
158
- rubygems_version: 3.3.7
160
+ rubygems_version: 3.5.11
159
161
  signing_key:
160
162
  specification_version: 4
161
163
  summary: A framework for loadtesting sites.
metadata.gz.sig CHANGED
Binary file