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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bin/lavin +2 -2
- data/lib/lavin/client.rb +2 -2
- data/lib/lavin/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +24 -22
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b1e0e80acfcdbe71bd807a96a8397c01a1b18e092d5f10600fbbf1b51030f13
|
4
|
+
data.tar.gz: 7959c4847da09a1b30bb695253a9abf6ae5f9ccca859a5ef7e0d43acc0d38520
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
-
|
85
|
-
self.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
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.
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQsFADBGMRowGAYDVQQDDBFzYW1t
|
14
|
+
eS5oZW5uaW5nc3NvbjETMBEGCgmSJomT8ixkARkWA2hleTETMBEGCgmSJomT8ixk
|
15
|
+
ARkWA2NvbTAeFw0yNDA4MjQyMDEzMDFaFw0yNTA4MjQyMDEzMDFaMEYxGjAYBgNV
|
16
|
+
BAMMEXNhbW15Lmhlbm5pbmdzc29uMRMwEQYKCZImiZPyLGQBGRYDaGV5MRMwEQYK
|
17
|
+
CZImiZPyLGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
|
18
|
+
r5IML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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@
|
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.
|
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
|