kashi 0.1.2 → 0.1.3
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 +5 -5
- data/README.md +1 -0
- data/lib/kashi/dsl/test.rb +5 -1
- data/lib/kashi/output_test.erb +3 -0
- data/lib/kashi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c12a17183a9262372e6697611c9f706a829c28a85b59e9a77aea1cadc0a78ac4
|
|
4
|
+
data.tar.gz: fd9f8007fa7f6eab43e021ebe3ccb84bc8f3b2f89cc8de4a71bbd086f19ca713
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a1d4b9cec488dfba86e6002690fea1b3dd5bb75cce05fc1a52e3e5c0fae8cafbef4ce0560e8f11acf6339c831ad83588e448f9968113b83b5c2845e3b020863
|
|
7
|
+
data.tar.gz: 7abcfde7a82c2c7ecb07e4df914e9947cb507aa58072d181e62db41ae985453230733105afe84e427615149d2d7f3376542d06a0a16b7cb414384b08b281c30c
|
data/README.md
CHANGED
data/lib/kashi/dsl/test.rb
CHANGED
|
@@ -154,10 +154,10 @@ module Kashi
|
|
|
154
154
|
@result.node_locations = ['']
|
|
155
155
|
@result.status_codes = []
|
|
156
156
|
@result.virus = ''
|
|
157
|
+
@result.final_endpoint = ''
|
|
157
158
|
|
|
158
159
|
# not used
|
|
159
160
|
@result.post_raw = ''
|
|
160
|
-
@result.final_endpoint = ''
|
|
161
161
|
|
|
162
162
|
instance_eval(&block)
|
|
163
163
|
end
|
|
@@ -290,6 +290,10 @@ module Kashi
|
|
|
290
290
|
def follow_redirect(follow_redirect)
|
|
291
291
|
@result.follow_redirect = follow_redirect
|
|
292
292
|
end
|
|
293
|
+
|
|
294
|
+
def final_endpoint(endpoint)
|
|
295
|
+
@result.final_endpoint = endpoint
|
|
296
|
+
end
|
|
293
297
|
end
|
|
294
298
|
end
|
|
295
299
|
end
|
data/lib/kashi/output_test.erb
CHANGED
|
@@ -57,6 +57,9 @@ cake do
|
|
|
57
57
|
use_jar <%= test['UseJar'].inspect %>
|
|
58
58
|
<%- end -%>
|
|
59
59
|
follow_redirect <%= test['FollowRedirect'] ? 1 : 0 %>
|
|
60
|
+
<%- if test['FinalEndpoint'] -%>
|
|
61
|
+
final_endpoint <%= test['FinalEndpoint'].inspect %>
|
|
62
|
+
<%- end -%>
|
|
60
63
|
custom_header(
|
|
61
64
|
<%= (test['CustomHeader'] == '' ? '' : JSON.parse(test['CustomHeader'])).inspect %>
|
|
62
65
|
)
|
data/lib/kashi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kashi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- wata
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: statuscake
|
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
158
158
|
version: '0'
|
|
159
159
|
requirements: []
|
|
160
160
|
rubyforge_project:
|
|
161
|
-
rubygems_version: 2.
|
|
161
|
+
rubygems_version: 2.7.6
|
|
162
162
|
signing_key:
|
|
163
163
|
specification_version: 4
|
|
164
164
|
summary: Codenize StatusCake
|