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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e06a4a726ae9d277d8c455a9091a5720999d955e
4
- data.tar.gz: 86b4fde365fbc5b5d4b9a57325920dee13749b71
3
+ metadata.gz: 4cab261aa05f0990a3de05329aeec72eb0691ef8
4
+ data.tar.gz: a7895b811c9fa739c1af8490300cce7b2948cb44
5
5
  SHA512:
6
- metadata.gz: e83a4b54c544587f3b7390f22ac1fc690d0e9ae19884454792ec56ee48ccf82357751bf2371c920e20e755f91db57a7140a216435476e4f1c686501e06d8c34d
7
- data.tar.gz: 58bd856484abb32f1a18e4112b5519e1373d6de0a6c012e92a6bde957d7afdc60b9521412a6be620780e1e0f41cdfad4cd5eb196d5c0437e9e9bc4952dead89f
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.6
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: