boombox 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9a4bf4a033094f12b7b5a9b7acff4d2f8a463da0
4
+ data.tar.gz: d9fd131fb0193401c73b5dad1923ac8f20dbcb78
5
+ SHA512:
6
+ metadata.gz: 03ce4e207b9e8dd518ec19052a2e80101663dd4f70f239e935eedd001c8a95be06ba8750ffc0ce08396b5171f1e63d4196788b68d8c369d05655b73596dcc8b1
7
+ data.tar.gz: 5e5d673c0607b0d33971e9c8a6220627679c4f8afac3c5614ed6fe50c05204413fb7e856a28370a86c259b8bff8876f5aafd3cccf2c57ae9f6d9d0190005b650
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ before_install: gem install bundler -v 1.15.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Gem dependencies are specified in the boombox.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to http://unlicense.org/
data/README.md ADDED
@@ -0,0 +1 @@
1
+ Work in progress
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ task :default => [:test]
2
+
3
+ require 'rake/testtask'
4
+ Rake::TestTask.new do |i|
5
+ i.test_files = FileList['test/unit/lib/lucio/*_test.rb',
6
+ 'test/integration/smoke_tests/*_test.rb']
7
+ #i.verbose = true
8
+ end
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/boombox.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+
3
+ lib = File.expand_path("../lib", __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "boombox/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "boombox"
9
+ spec.version = Boombox::VERSION
10
+ spec.authors = ["Rob Hesketh"]
11
+ spec.email = ["contact@robhesketh.com"]
12
+
13
+ spec.summary = "An incredibly tiny Shoutcast server that can be embedded into Ruby applications."
14
+ spec.homepage = "http://github.com/RHesketh/boombox"
15
+ spec.license = "Unlicense"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "minitest", "~> 5.0"
26
+ spec.add_development_dependency "minitest-spec", "~> 0.0.2"
27
+ end
@@ -0,0 +1,45 @@
1
+ # Boombox
2
+ [![Gem Version](https://badge.fury.io/rb/lucio-mp3.svg)](https://badge.fury.io/rb/lucio-mp3) [![Test Coverage](https://codeclimate.com/github/RHesketh/cinch-uno/badges/coverage.svg)](https://codeclimate.com/github/RHesketh/lucio-mp3/coverage) [![License Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/UNLICENSE)
3
+
4
+ An incredibly tiny Shoutcast server that can be embedded into Ruby applications. It has been designed with an emphasis on keeping listeners in synch with each other, so as to maximise the shared experience.
5
+
6
+ ## Installation
7
+ First install the gem by running:
8
+
9
+ ```
10
+ [sudo] gem install boombox
11
+ ```
12
+
13
+ or, even better, by adding it to your `Gemfile`:
14
+ ```
15
+ gem 'boombox' ~> "0.0.1"
16
+ ```
17
+
18
+ Now use it in your code:
19
+
20
+ ```ruby
21
+ require "boombox"
22
+
23
+ server = Boombox.new(7777) # Use port 7777
24
+ server.start # Start the server
25
+ server.play("path_to_mp3_file.mp3") # Play an MP3 file to all listeners
26
+ server.play("mp3_file_folder/", loop: true) # Play all MP3 files in a folder, looping continuously
27
+ server.play("mp3_file_folder/", shuffle: true) # Play all MP3 files in a folder in a random order
28
+ ```
29
+
30
+ ## Documentation
31
+ Project documentation can be found [here](#).
32
+
33
+ ## Tests
34
+ The plugin has unit and integration tests. To run them:
35
+ `rake test`
36
+
37
+ You may need to `bundle install` first.
38
+
39
+ ## Contributing
40
+
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/RHesketh/boombox. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
42
+
43
+ ## License
44
+
45
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,5 @@
1
+ module Lucio
2
+ class MP3Player
3
+ # test
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Boombox
2
+ VERSION = "0.0.2"
3
+ end
data/lib/boombox.rb ADDED
@@ -0,0 +1 @@
1
+ require_relative 'boombox/mp3_player'
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: boombox
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Rob Hesketh
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest-spec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.2
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.2
55
+ description:
56
+ email:
57
+ - contact@robhesketh.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".travis.yml"
64
+ - Gemfile
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - bin/setup
69
+ - boombox.gemspec
70
+ - docs/wip/README.md
71
+ - lib/boombox.rb
72
+ - lib/boombox/mp3_player.rb
73
+ - lib/boombox/version.rb
74
+ homepage: http://github.com/RHesketh/boombox
75
+ licenses:
76
+ - Unlicense
77
+ metadata: {}
78
+ post_install_message:
79
+ rdoc_options: []
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ requirements: []
93
+ rubyforge_project:
94
+ rubygems_version: 2.6.8
95
+ signing_key:
96
+ specification_version: 4
97
+ summary: An incredibly tiny Shoutcast server that can be embedded into Ruby applications.
98
+ test_files: []