ksconnect 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ksconnect/api/plugin/domain.rb +3 -3
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cab261aa05f0990a3de05329aeec72eb0691ef8
|
4
|
+
data.tar.gz: a7895b811c9fa739c1af8490300cce7b2948cb44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cdd9f54792165cc5bb43242cb2ae5cd8aaf4974ea3d3a2cb95691246e1122b34babdb63bb3a8bc3f33e0224223cd47a6efc1f2da3ab39bd62d1a1981040ebe2
|
7
|
+
data.tar.gz: e1b15c8b7b087230e47b51f5906bb94aa01962364837a431c682bb5c53b1e56ebb5ffaf9a932209e2b315c84193b77795f2ddb808e26e10538272c2d32470b04
|
@@ -30,15 +30,15 @@ class KSConnect
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def notify(data)
|
33
|
-
redis.lpush("ks:notifications_push", data.merge({ domain_name: @name, plugin_name: @plugin_name }))
|
33
|
+
redis.lpush("ks:notifications_push", data.merge({ domain_name: @name, plugin_name: @plugin_name }).to_json)
|
34
34
|
end
|
35
35
|
|
36
36
|
def add_issue(issue_type, data)
|
37
|
-
redis.lpush("ks:issues_push", data.merge({ domain_name: @name, plugin_name: @plugin_name, issue_type: issue_type, request_type: 'add' }))
|
37
|
+
redis.lpush("ks:issues_push", data.merge({ domain_name: @name, plugin_name: @plugin_name, issue_type: issue_type, request_type: 'add' }).to_json)
|
38
38
|
end
|
39
39
|
|
40
40
|
def clear_issue(issue_type)
|
41
|
-
redis.lpush("ks:issues_push", { domain_name: @name, plugin_name: @plugin_name, issue_type: issue_type, request_type: 'remove' })
|
41
|
+
redis.lpush("ks:issues_push", { domain_name: @name, plugin_name: @plugin_name, issue_type: issue_type, request_type: 'remove' }.to_json)
|
42
42
|
end
|
43
43
|
|
44
44
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ksconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Poon
|
@@ -95,3 +95,4 @@ signing_key:
|
|
95
95
|
specification_version: 4
|
96
96
|
summary: Connection API for Kloudsec
|
97
97
|
test_files: []
|
98
|
+
has_rdoc:
|