yeahboi 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yeahboi.rb +0 -8
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f01c3245e4fbbf7a5508b58623128c669a670339
4
- data.tar.gz: 7e78462ca1b031b2bd12ee3866cd2d3e5071a48a
3
+ metadata.gz: ee11b67d900baa48912d25ce5c6f7aea0217d3ff
4
+ data.tar.gz: ef0f960c900e1e564d9e56d08efa79194bf92f3f
5
5
  SHA512:
6
- metadata.gz: 7a38ff9203548e83a4ea82e1000c1a9d019a2c0838bad761ac61f3eb88647f90eecbfad29b1f8ba56cacf306c51f3912d57e9c78e9ca3dbf970bbc70e7ca1881
7
- data.tar.gz: f199b4cc4be2a3f63c55bedca2faa7b4f66a1f33f47aa0940274867001132d73d412dfb160a8484e76f6a87e507653a0f0a17c2567ac29036847b4d61df0252d
6
+ metadata.gz: 4322833ae5d64f669820dea305babdb67b7c079937ee3cb6fad22e993c4f7d3652e22e372b90162bcb94423d4e221aaaee8acea837a79d9e31e7e103b77c5c40
7
+ data.tar.gz: 08f561d8786e0dce40b90cf0f82aa260a1c432e33b44fe30202d9af5c3fc066f700dd8526a15c35359784bdc0840f1ef5a581626fd838f3cb838488bc95b38a3
@@ -1,12 +1,7 @@
1
1
  module Yeahboi
2
2
  def self.short #2 secs of 'yeah boy'
3
- # spawn executes a command and returns it's process ID
4
- # The parent process should use Process.wait to collect the termination status
5
- # of its child or use Process.detach to register disinterest in their status;
6
- # otherwise, the operating system may accumulate zombie processes.
7
3
  play_short = spawn("afplay -t 2 #{Yeahboi.file_path}")
8
4
  text = spawn('printf "YEAH BOI"; while true; do printf "I"; sleep 0.1; done')
9
- # could also be text = spawn('printf "YEAH BOI"; while sleep 0.1; do printf "I"; done')
10
5
 
11
6
  Process.wait(play_short)
12
7
  Process.kill('TERM', text)
@@ -23,9 +18,6 @@ module Yeahboi
23
18
  end
24
19
 
25
20
  def self.file_path #returns absolute path of audiofile
26
- #http://stackoverflow.com/questions/4474918/file-expand-path-gemfile-file-how-does-this-work-where-is-the-fil#4479926
27
21
  File.expand_path('../../audio/longestyeahboyever.wav', __FILE__)
28
22
  end
29
23
  end
30
-
31
- # play_long = spawn("afplay #{Yeahboi.file_path}")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeahboi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patty SantaCruz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-17 00:00:00.000000000 Z
11
+ date: 2016-12-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: patty.stacruz@gmail.com
@@ -22,7 +22,7 @@ files:
22
22
  - bin/yeahboi
23
23
  - bin/yeahboilong
24
24
  - lib/yeahboi.rb
25
- homepage: http://github.com/pattysc
25
+ homepage: http://github.com/pattysc/yeahboi
26
26
  licenses: []
27
27
  metadata: {}
28
28
  post_install_message: