hallon-fifo 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -20,14 +20,13 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- Initialize a Hallon player with the FIFO driver. Pass a `&block` as the second argument to set the FIFO queue's path and customize the audio format, if you want:
23
+ Initialize a Hallon player with the FIFO driver. Pass a `&block` as the second argument to set the FIFO queue's path (or accept the default `hallon-fifo.pcm`):
24
24
 
25
25
  ```ruby
26
26
  # After loading Hallon and creating a session...
27
27
 
28
28
  player = Hallon::Player.new Hallon::FIFO, Proc.new do
29
- @driver.output = "hallon-fifo.pcm"
30
- @driver.format = {:rate => 44100, :channels => 2, :type => :int16}
29
+ @driver.output = "cat-music.pcm"
31
30
  end
32
31
  ```
33
32
 
data/hallon-fifo.gemspec CHANGED
@@ -18,4 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
19
19
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
20
20
  gem.require_paths = ["lib"]
21
+
22
+ gem.add_runtime_dependency "mkfifo"
21
23
  end
@@ -1,3 +1,5 @@
1
+ require "mkfifo"
2
+
1
3
  module Hallon
2
4
  class Fifo
3
5
 
@@ -1,5 +1,5 @@
1
1
  module Hallon
2
- module Fifo
3
- VERSION = "0.0.1"
2
+ class Fifo
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hallon-fifo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-31 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2013-04-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: mkfifo
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
14
30
  description: An audio driver for Hallon, a ruby client for the official Spotify API.
15
31
  Streams audio into a raw PCM-formatted FIFO queue, ideal for input into other applications.
16
32
  email:
@@ -53,4 +69,3 @@ signing_key:
53
69
  specification_version: 3
54
70
  summary: Stream Spotify through Hallon to a FIFO queue.
55
71
  test_files: []
56
- has_rdoc: