anyplayer 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,10 @@ require "test_helper"
2
2
  require "ruby-mpd"
3
3
  require "anyplayer/players/mpd"
4
4
 
5
- class MpdTest < MiniTest::Unit::TestCase
6
- include FlexMock::TestCase
7
-
5
+ class MpdTest < Minitest::Test
8
6
  def setup
9
7
  @mpd_instance_mock = flexmock("mpd")
10
- flexmock(MPD, "MPD", :new => @mpd_instance_mock)
8
+ flexmock(MPD, "MPD", new: @mpd_instance_mock)
11
9
  end
12
10
 
13
11
  def test_uses_ruby_mpd_gem
@@ -1,6 +1,6 @@
1
1
  require "test_helper"
2
2
 
3
- class AnyplayerTest < MiniTest::Unit::TestCase
3
+ class AnyplayerTest < Minitest::Test
4
4
  def test_player
5
5
  selector = Selector.new
6
6
  player = selector.player
@@ -19,7 +19,7 @@ class AnyplayerTest < MiniTest::Unit::TestCase
19
19
  selector = Selector.new
20
20
  selector.verbose = true
21
21
 
22
- assert_output nil, "Loaded noplayer\nNoplayer launched?\n" do
22
+ assert_output nil, "noplayer:\n loaded\n launched\n" do
23
23
  selector.player
24
24
  end
25
25
  end
@@ -1,6 +1,5 @@
1
- require "minitest/unit"
2
1
  require "minitest/autorun"
3
- require "flexmock/test_unit"
2
+ require "flexmock/minitest"
4
3
  require "anyplayer"
5
4
 
6
5
  require "anyplayer/players/noplayer"
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyplayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sunny Ripert
@@ -10,54 +9,62 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-12-18 00:00:00.000000000 Z
12
+ date: 2020-10-08 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: ruby-mpd
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ~>
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
20
  version: 0.3.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ~>
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
27
  version: 0.3.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: minitest
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: flexmock
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
61
68
  - !ruby/object:Gem::Version
62
69
  version: '0'
63
70
  description: Play/pause/skip songs in iTunes Mac, iTunes Windows, Spotify Mac, Rdio
@@ -67,17 +74,22 @@ email:
67
74
  - gordon@gordondiggs.com
68
75
  executables:
69
76
  - anyplayer
77
+ - rake
70
78
  extensions: []
71
79
  extra_rdoc_files: []
72
80
  files:
73
- - .gitignore
74
- - .travis.yml
81
+ - ".gitignore"
82
+ - ".ruby-version"
83
+ - ".travis.yml"
84
+ - CHANGELOG.md
85
+ - CONTRIBUTING.md
75
86
  - Gemfile
76
- - Gemfile.lock
87
+ - MIT-LICENSE
77
88
  - README.md
78
89
  - Rakefile
79
90
  - anyplayer.gemspec
80
91
  - bin/anyplayer
92
+ - bin/rake
81
93
  - lib/anyplayer.rb
82
94
  - lib/anyplayer/command_line.rb
83
95
  - lib/anyplayer/player.rb
@@ -93,36 +105,37 @@ files:
93
105
  - lib/anyplayer/selector.rb
94
106
  - lib/anyplayer/version.rb
95
107
  - test/anyplayer_test.rb
108
+ - test/command_line_test.rb
96
109
  - test/player_test.rb
97
110
  - test/players/mpd_test.rb
98
111
  - test/selector_test.rb
99
112
  - test/test_helper.rb
100
113
  homepage: http://github.com/sunny/anyplayer
101
- licenses: []
114
+ licenses:
115
+ - MIT
116
+ metadata: {}
102
117
  post_install_message:
103
118
  rdoc_options: []
104
119
  require_paths:
105
120
  - lib
106
121
  required_ruby_version: !ruby/object:Gem::Requirement
107
- none: false
108
122
  requirements:
109
- - - ! '>='
123
+ - - ">="
110
124
  - !ruby/object:Gem::Version
111
125
  version: '0'
112
126
  required_rubygems_version: !ruby/object:Gem::Requirement
113
- none: false
114
127
  requirements:
115
- - - ! '>='
128
+ - - ">="
116
129
  - !ruby/object:Gem::Version
117
130
  version: '0'
118
131
  requirements: []
119
- rubyforge_project:
120
- rubygems_version: 1.8.23
132
+ rubygems_version: 3.1.2
121
133
  signing_key:
122
- specification_version: 3
134
+ specification_version: 4
123
135
  summary: Interact with the running music player
124
136
  test_files:
125
137
  - test/anyplayer_test.rb
138
+ - test/command_line_test.rb
126
139
  - test/player_test.rb
127
140
  - test/players/mpd_test.rb
128
141
  - test/selector_test.rb
@@ -1,22 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- anyplayer (1.1.1)
5
- ruby-mpd (~> 0.3.0)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- flexmock (0.9.0)
11
- minitest (4.1.0)
12
- rake (0.9.2.2)
13
- ruby-mpd (0.3.0)
14
-
15
- PLATFORMS
16
- ruby
17
-
18
- DEPENDENCIES
19
- anyplayer!
20
- flexmock
21
- minitest
22
- rake