whos_in 0.0.2 → 0.0.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: 542eaa441423e3b0d7f1031c35c0b701eb99584c
4
- data.tar.gz: 2e04bd35a06d4d67ea05577cca26c9fe67385353
3
+ metadata.gz: 5850a04e52d5bf1b4579cdac434c9bae84bd0d9b
4
+ data.tar.gz: 2ee6f40844886e456b81f0ae3688814e165bd5b2
5
5
  SHA512:
6
- metadata.gz: 690810da244e08cdad710bf3dedfa919ee841345933ec0fb883404ec833384b8af5b58d1d1862c658ccc98e0a8d8b6d8ca4555f27076f86440671d68b0ee2eaf
7
- data.tar.gz: cfeaccf62030a6d448653b729ffe3c31eabb2c6165fab35afe5f5be26523de46861768f32ed839246729c1f3dd5a99516dccf51bbe8757f3d70ca5e49934280e
6
+ metadata.gz: a67e68d87eeee3445e6a5d51ffd6686bf1e655b2dbc021fe08c04df84e50e640336cce2caad02108ac4e64926e130964402dcba79ef750ee61d7b8b9e925db41
7
+ data.tar.gz: a6acc2ff15f9f5778602acd0af7a48e3a8d103ead428ac0b10474070f671087962660b045fb6b5d3254461e3e74c760b5e76cec83ff17bc4d24a9927a3b6d249
@@ -1,4 +1,6 @@
1
- #!/usr/bin/env bash
1
+ #!/bin/bash
2
+
3
+ `
2
4
 
3
5
  APP_USERNAME="foo"
4
6
  APP_PASSWORD="bar"
@@ -29,4 +31,6 @@ if [ ${#macs[@]} -eq 0 ]; then
29
31
  echo "{'error': 'Nobody here'}"
30
32
  else
31
33
  update_offline_since
32
- fi
34
+ fi
35
+
36
+ `
@@ -1,3 +1,3 @@
1
1
  module WhosIn
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/whos_in.rb CHANGED
@@ -53,7 +53,7 @@ module WhosIn
53
53
  puts "Scanning local network and posting to #{@heroku_url}"
54
54
  puts "Press Ctrl+C to interrupt"
55
55
  # puts `pwd`
56
- `pwd` +`bin/local_scanner.sh #{@heroku_url}`
56
+ `local_scanner #{@heroku_url}`
57
57
  end
58
58
 
59
59
  def self.run_script
data/whos_in_gem.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = ["whos_in"]
17
+ spec.executables = ["whos_in", "local_scanner"]
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whos_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Patel
@@ -72,6 +72,7 @@ email:
72
72
  - jamie@notespublication.com
73
73
  executables:
74
74
  - whos_in
75
+ - local_scanner
75
76
  extensions: []
76
77
  extra_rdoc_files: []
77
78
  files:
@@ -81,7 +82,7 @@ files:
81
82
  - README.md
82
83
  - Rakefile
83
84
  - bin/every-5-seconds.sh
84
- - bin/local_scanner.sh
85
+ - bin/local_scanner
85
86
  - bin/whos_in
86
87
  - lib/whos_in.rb
87
88
  - lib/whos_in/version.rb