mina_notify 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mina_notify.rb +2 -1
- data/lib/mina_notify/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54cba441a9b88af37ef443bd77314ec3d8023eb1
|
4
|
+
data.tar.gz: 046e7f427833f81dcadfea38f94a4c0effe86b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 240ef3c4913f95161022d65024ae351b73b6d45b72682d590d0908021d264bb60c6b626bae98c46acbfaecd8639065c5a65c126a2b308130b29e8496a047950e
|
7
|
+
data.tar.gz: 77a9f2b3116a57b3ab19b2826598697c7c8c1130aea2276483ff820496232cc5d6f81b2536048a58ce1a6cb40552abcbaebc448e3c507a7f1f97dfc0701c389c
|
data/lib/mina_notify.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require "mina_notify/version"
|
2
2
|
require 'mina'
|
3
|
+
require 'json'
|
3
4
|
require 'faraday'
|
4
5
|
|
5
6
|
module MinaNotify
|
@@ -8,7 +9,7 @@ module MinaNotify
|
|
8
9
|
def trigger_event(mina_self, event_name)
|
9
10
|
begin
|
10
11
|
mina = {
|
11
|
-
operator: `whoami
|
12
|
+
operator: `whoami`.gsub("\n",''),
|
12
13
|
domain: mina_self.domain,
|
13
14
|
task_name: event_name,
|
14
15
|
code_src: mina_self.repository,
|
data/lib/mina_notify/version.rb
CHANGED