mikeplayer 1.0.7 → 1.0.8

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
  SHA256:
3
- metadata.gz: 4629aa37d245f2c061c144700a0d23aba06a851085baed86b54a8514c7919146
4
- data.tar.gz: 1554111b1ae2568d736a248f9310d79ec6198c4f1cb0d672814f287a463d7ddb
3
+ metadata.gz: 98d73ca7a4c48fc9468996b9aa27ca592d544c8a2637161295625acd6fd849b2
4
+ data.tar.gz: 44288a081ec5d6f8e3090613b220fe63828ff239f69209a77f951edc680c8776
5
5
  SHA512:
6
- metadata.gz: cbaec3a72786231a7c327259539a1aef222b1a8e548e9254ac09ac5a3c65c2a6b39d992f9590450ee382e8f521c6e61031a8b798617517a867f4eebbf7411356
7
- data.tar.gz: 3bd515e08a89b88cf3e52c21f547d2b056a5472b9ef6db95da378ff7c1b612e79cbbd824623e067d18ee7db218627d67a8244c6db60f1f5c34f0bf06752f2303
6
+ metadata.gz: bc0bea67f1ba47fcfe6f63bf7008981ac69ff4247d21e413444bbc641d02a1d245737cfba1f495f9b049562ac409e55deba85bd1a8b87d51f77f8f64eeb81708
7
+ data.tar.gz: 0ced60fdb31a438d80597f0bb7c4118f8662db0133fd235ea318a4ad591393e2bc85e9b8093a973dc7c5ed522874e74d1a883fb176287eac85ac3f6c44154213
@@ -1,3 +1,3 @@
1
1
  module MikePlayer
2
- VERSION = '1.0.7'.freeze
2
+ VERSION = '1.0.8'.freeze
3
3
  end
data/mikeplayer.gemspec CHANGED
@@ -3,15 +3,15 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'mikeplayer/version'
5
5
 
6
- Gem::Specification.new do |gem|
7
- gem.name = 'mikeplayer'
8
- gem.version = MikePlayer::VERSION
9
- gem.authors = ['Mike Crockett']
10
- gem.email = ['rubygems@mmcrockett.com']
11
- gem.summary = 'Wraps Sox\'s `play` command, allowing playslists, find, random and time limit.'
12
- gem.executables << 'MikePlayer.rb'
13
- gem.description = <<-EOF.gsub(/^\s+/, '')
14
- #{gem.summary}
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'mikeplayer'
8
+ spec.version = MikePlayer::VERSION
9
+ spec.authors = ['Mike Crockett']
10
+ spec.email = ['rubygems@mmcrockett.com']
11
+ spec.summary = 'Wraps Sox\'s `play` command, allowing playslists, find, random and time limit.'
12
+ spec.executables << 'MikePlayer.rb'
13
+ spec.description = <<-EOF.gsub(/^\s+/, '')
14
+ #{spec.summary}
15
15
 
16
16
  Once a song is playing you can:
17
17
  'x' to previous
@@ -20,17 +20,20 @@ Gem::Specification.new do |gem|
20
20
  'q' to quit
21
21
  't' n to set a timer that will pause the music after n minutes
22
22
  EOF
23
- gem.homepage = 'https://github.com/mmcrockett/mikeplayer'
23
+ spec.homepage = 'https://github.com/mmcrockett/mikeplayer'
24
24
 
25
- gem.files = `git ls-files`.split($/)
26
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
27
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
28
- gem.require_paths = ['lib']
29
- gem.licenses = ['MIT']
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match?(%r{^(test|spec|features|helpers|)/}) || f.match?(%r{^(\.[[:alnum:]]+)}) || f.match?(/console/)
27
+ end
30
28
 
31
- gem.add_dependency 'json', '~> 2.5'
32
- gem.add_dependency 'ruby-mp3info', '~> 0.8'
33
- gem.add_dependency 'minitest', '~> 5'
34
- gem.add_development_dependency 'rake', '~> 12'
35
- gem.add_development_dependency 'byebug', '~> 11'
29
+ spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
30
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
31
+ spec.require_paths = ['lib']
32
+ spec.licenses = ['MIT']
33
+
34
+ spec.add_dependency 'json', '~> 2.5'
35
+ spec.add_dependency 'ruby-mp3info', '~> 0.8'
36
+ spec.add_dependency 'minitest', '~> 5'
37
+ spec.add_development_dependency 'rake', '~> 12'
38
+ spec.add_development_dependency 'byebug', '~> 11'
36
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mikeplayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Crockett
@@ -92,17 +92,14 @@ email:
92
92
  - rubygems@mmcrockett.com
93
93
  executables:
94
94
  - MikePlayer.rb
95
- - console
96
95
  extensions: []
97
96
  extra_rdoc_files: []
98
97
  files:
99
- - ".gitignore"
100
98
  - Gemfile
101
99
  - LICENSE
102
100
  - README.md
103
101
  - Rakefile
104
102
  - bin/MikePlayer.rb
105
- - bin/console
106
103
  - lib/mikeplayer.rb
107
104
  - lib/mikeplayer/display.rb
108
105
  - lib/mikeplayer/executable.rb
@@ -112,9 +109,6 @@ files:
112
109
  - lib/mikeplayer/song.rb
113
110
  - lib/mikeplayer/version.rb
114
111
  - mikeplayer.gemspec
115
- - test/mikeplayer/settings_test.rb
116
- - test/mikeplayer_test.rb
117
- - test/test_helper.rb
118
112
  homepage: https://github.com/mmcrockett/mikeplayer
119
113
  licenses:
120
114
  - MIT
@@ -138,7 +132,4 @@ rubygems_version: 3.1.2
138
132
  signing_key:
139
133
  specification_version: 4
140
134
  summary: Wraps Sox's `play` command, allowing playslists, find, random and time limit.
141
- test_files:
142
- - test/mikeplayer/settings_test.rb
143
- - test/mikeplayer_test.rb
144
- - test/test_helper.rb
135
+ test_files: []
data/.gitignore DELETED
@@ -1,51 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- *.rbc
4
- /.config
5
- /coverage/
6
- /InstalledFiles
7
- /pkg/
8
- /spec/reports/
9
- /spec/examples.txt
10
- /test/tmp/
11
- /test/version_tmp/
12
- /tmp/
13
-
14
- # Used by dotenv library to load environment variables.
15
- # .env
16
-
17
- ## Specific to RubyMotion:
18
- .dat*
19
- .repl_history
20
- build/
21
- *.bridgesupport
22
- build-iPhoneOS/
23
- build-iPhoneSimulator/
24
-
25
- ## Specific to RubyMotion (use of CocoaPods):
26
- #
27
- # We recommend against adding the Pods directory to your .gitignore. However
28
- # you should judge for yourself, the pros and cons are mentioned at:
29
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
30
- #
31
- # vendor/Pods/
32
-
33
- ## Documentation cache and generated files:
34
- /.yardoc/
35
- /_yardoc/
36
- /doc/
37
- /rdoc/
38
-
39
- ## Environment normalization:
40
- /.bundle/
41
- /vendor/bundle
42
- /lib/bundler/man/
43
-
44
- # for a library or gem, you might want to ignore these files since the code is
45
- # intended to run in multiple environments; otherwise, check them in:
46
- # Gemfile.lock
47
- # .ruby-version
48
- # .ruby-gemset
49
-
50
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
51
- .rvmrc
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'json'
5
- require 'mikeplayer'
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require 'irb'
15
- IRB.start
@@ -1,17 +0,0 @@
1
- require 'test_helper'
2
-
3
- class SettingsTest < Minitest::Test
4
- describe 'settings' do
5
- let(:home) { File.join('', 'tmp') }
6
- let(:sdir) { File.join(home, MikePlayer::Settings::SETTINGS_DIRECTORY) }
7
-
8
- before do
9
- Dir.delete(sdir) if Dir.exist?(sdir)
10
- end
11
-
12
- it 'creates a settings directory' do
13
- MikePlayer::Settings.new(home: home)
14
- assert(Dir.exist?(sdir))
15
- end
16
- end
17
- end
@@ -1,9 +0,0 @@
1
- require 'test_helper'
2
-
3
- class MikePlayerTest < Minitest::Test
4
- describe 'mikeplayer' do
5
- it 'has a version' do
6
- assert(MikePlayer::VERSION)
7
- end
8
- end
9
- end
data/test/test_helper.rb DELETED
@@ -1,5 +0,0 @@
1
- $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
2
- require 'mikeplayer'
3
-
4
- require 'minitest/autorun'
5
- require 'byebug'