pingpongpairing 0.1.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b6ed3262fe01c29969379a1622829e6276b6f83
4
- data.tar.gz: d598208c109af19b0cbb702bcf151c9c52d3423c
3
+ metadata.gz: 75e03bf843f7de605db8ffb0c3c874a694a1d1a4
4
+ data.tar.gz: 0e475552f4c66bcb47491908850da670229b1be1
5
5
  SHA512:
6
- metadata.gz: 7334d7fcd86d1c3a09ba46504b1ac58228c8fe5d81af6d9da2e7d00aacdd102d1df7267dbace875dc47e9866849bfdc6d961e18dad8c8b6688608661e6b3b290
7
- data.tar.gz: 29ffae013f2fcb4adf6caf1611020f15889dab978373fbec233b2754ced2365a888d69c7fbc4fe2bda0a7f5f54f8ca3898c7674ff4b0c1b63a23b7c7ecf5ed49
6
+ metadata.gz: ab7d3d86f99480203bd681b9b9d032356a70047338d12571a740f7aa8fdbe1fc0e0327a1d064460f73d67f4eda661b91c2bcee4e01a59acdf62bb52edc534994
7
+ data.tar.gz: 1aa616d5ddce8a5bb56a2096fc2453092dad66cf4e0148ada2b019ab412de67752e75aaa68aa72f1b60851320be07bbcacaca0c38bafc3c08c76140d823e6e71
data/exe/parallel CHANGED
@@ -1,6 +1,6 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
2
 
3
- for cmd in "$@"; do {
3
+ `for cmd in "$@"; do {
4
4
  echo "Process \"$cmd\" started";
5
5
  $cmd & pid=$!
6
6
  PID_LIST+=" $pid";
@@ -13,4 +13,4 @@ echo "Parallel processes have started";
13
13
  wait $PID_LIST
14
14
 
15
15
  echo
16
- echo "All processes have completed";
16
+ echo "All processes have completed";`
data/exe/pingpong CHANGED
@@ -1,3 +1,4 @@
1
1
  #!/bin/bash
2
- my_dir=`dirname $0`
2
+ `my_dir=`dirname $0`
3
3
  $my_dir/parallel "ngrok http 5000" "webhook" "bundle exec guard start -i"
4
+ `
@@ -1,3 +1,3 @@
1
1
  module Pingpongpairing
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pingpongpairing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampson Crowley
@@ -219,7 +219,6 @@ files:
219
219
  - bin/thor
220
220
  - bin/tilt
221
221
  - bin/webhook
222
- - events.txt
223
222
  - exe/parallel
224
223
  - exe/pingpong
225
224
  - exe/sendevent
data/events.txt DELETED
@@ -1 +0,0 @@
1
- {"file"=>"test.txt", "data"=>"require 'sinatra'\nrequire 'json'\nset :port, 5000\n\npost '/event' do\n status 204 #successful request with no body content\n\n request.body.rewind\n p request_payload = JSON.parse(request.body.read)\n\n #append the payload to a file\n File.open(\"events.txt\", \"a\") do |f|\n f.puts(request_payload)\n end\nend\n\n"}