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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94f16b17fec96e12f411499dcb48b9f1c4010442
4
- data.tar.gz: 1834917837b202793efae5a757b4aab8e9191117
3
+ metadata.gz: 54cba441a9b88af37ef443bd77314ec3d8023eb1
4
+ data.tar.gz: 046e7f427833f81dcadfea38f94a4c0effe86b93
5
5
  SHA512:
6
- metadata.gz: b7ed5daab94c166f4afc81467558fb054eefc145b837369ca93b4a22d9af8a55a5e7dbc540e62044c0a0419fbe71121e31b301c4efeb2d4004a7c3232db1f14b
7
- data.tar.gz: b36bd5e5a33eb81cb6b9a4313ae653990a0810a97ad61533cdc22347eee8c6fb9aafe0791751d63bf0d833c904459362e04fea30b7268bcd90c14f3b345bb65e
6
+ metadata.gz: 240ef3c4913f95161022d65024ae351b73b6d45b72682d590d0908021d264bb60c6b626bae98c46acbfaecd8639065c5a65c126a2b308130b29e8496a047950e
7
+ data.tar.gz: 77a9f2b3116a57b3ab19b2826598697c7c8c1130aea2276483ff820496232cc5d6f81b2536048a58ce1a6cb40552abcbaebc448e3c507a7f1f97dfc0701c389c
@@ -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,
@@ -1,3 +1,3 @@
1
1
  module MinaNotify
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina_notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer