tshield 0.11.3.0 → 0.11.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tshield/controllers/requests.rb +2 -2
- data/lib/tshield/request.rb +3 -2
- data/lib/tshield/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afd27837ea8b2aca8d06eea8726227d469761c386747df55befa5e0f27b01063
|
4
|
+
data.tar.gz: 5cf7e45011c49c97d27cdb71ad44c806aac90d3d7fd33c95163599293cf47c92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c029918be75df5ad240b64f96bf96538ec2f8625c13c8129622ed97ffc9d767dd7d32c719327c17d42e6aab159451dbe4100f59b0963f9ae304eadf3ad061c38
|
7
|
+
data.tar.gz: 56bb5d05bf3fce5d0b1cd18dbf814a45eb9335e5458f9d2df501fa7fce101ab3bb92507343150403b33dd598d26366e5a824a95c28bb0dc902628a9b5af313ef
|
@@ -84,8 +84,8 @@ module TShield
|
|
84
84
|
end
|
85
85
|
|
86
86
|
logger.info(
|
87
|
-
"original=#{api_response.original} method=#{method} path=#{path}"\
|
88
|
-
"content-type=#{request_content_type}"\
|
87
|
+
"original=#{api_response.original} method=#{method} path=#{path} "\
|
88
|
+
"content-type=#{request_content_type} "\
|
89
89
|
"session=#{session_name}"
|
90
90
|
)
|
91
91
|
|
data/lib/tshield/request.rb
CHANGED
@@ -20,10 +20,11 @@ module TShield
|
|
20
20
|
|
21
21
|
def session_destiny(request_path)
|
22
22
|
session = current_session
|
23
|
-
return unless session
|
23
|
+
return request_path unless session
|
24
24
|
|
25
25
|
request_path = File.join(request_path, session[:name])
|
26
26
|
Dir.mkdir(request_path) unless File.exist?(request_path)
|
27
|
+
request_path
|
27
28
|
end
|
28
29
|
|
29
30
|
def content_destiny
|
@@ -38,7 +39,7 @@ module TShield
|
|
38
39
|
request_path = File.join('requests')
|
39
40
|
Dir.mkdir(request_path) unless File.exist?(request_path)
|
40
41
|
|
41
|
-
session_destiny(request_path)
|
42
|
+
request_path = session_destiny(request_path)
|
42
43
|
|
43
44
|
name_path = File.join(request_path, name)
|
44
45
|
Dir.mkdir(name_path) unless File.exist?(name_path)
|
data/lib/tshield/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tshield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Rubin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-09-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: byebug
|