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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97285007a9cef5cece7c2b4a871321d34444e935c7e5a9497001b590452d0055
4
- data.tar.gz: df36573a7686e81f08ac1c6d40de0b6038aff679762958385310ab68eaa59c3c
3
+ metadata.gz: afd27837ea8b2aca8d06eea8726227d469761c386747df55befa5e0f27b01063
4
+ data.tar.gz: 5cf7e45011c49c97d27cdb71ad44c806aac90d3d7fd33c95163599293cf47c92
5
5
  SHA512:
6
- metadata.gz: ce850d423ec93a4811a7a350d5e416ec6973bea37d8c3b5eb17ac9e64144897fe5dec40da878e07b3b021066698d54df170dc708cbc4a7da85aca430e5515f70
7
- data.tar.gz: ac1b5b86edd0b6303a589fecad734ae40d49533ee7f37099da5ffb05cd2863d97fbb6c07bdc958b52b4ae53708f57bd1cec5f21a52869dba73188d073d176baf
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
 
@@ -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)
@@ -5,7 +5,7 @@ module TShield
5
5
  class Version
6
6
  MAJOR = 0
7
7
  MINOR = 11
8
- PATCH = 3
8
+ PATCH = 4
9
9
  PRE = 0
10
10
 
11
11
  class << self
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.3.0
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-08-30 00:00:00.000000000 Z
12
+ date: 2019-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: byebug