mockspotify 0.1.3 → 0.1.4
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/.gitignore +1 -0
- data/lib/mockspotify.rb +1 -1
- data/lib/mockspotify/version.rb +1 -1
- data/test/mockspotify_spec.rb +2 -1
- metadata +51 -28
data/.gitignore
CHANGED
data/lib/mockspotify.rb
CHANGED
@@ -6,7 +6,7 @@ module Spotify
|
|
6
6
|
module Mock
|
7
7
|
# @return [String] path to the libmockspotify C extension binary.
|
8
8
|
def self.path
|
9
|
-
File.expand_path('../../src/libmockspotify.', __FILE__) <<
|
9
|
+
File.expand_path('../../src/libmockspotify.', __FILE__) << Config::MAKEFILE_CONFIG['DLEXT']
|
10
10
|
end
|
11
11
|
|
12
12
|
# Overridden to always ffi_lib the mock path.
|
data/lib/mockspotify/version.rb
CHANGED
data/test/mockspotify_spec.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'rubygems' unless defined?(Gem)
|
1
2
|
require 'mockspotify'
|
2
3
|
require 'minitest/autorun'
|
3
4
|
|
@@ -12,7 +13,7 @@ describe Spotify::Mock do
|
|
12
13
|
end
|
13
14
|
|
14
15
|
it "should have injected itself into Spotify's ancestor chain" do
|
15
|
-
Spotify.
|
16
|
+
(class << Spotify; self; end).ancestors.take(2).must_equal [Spotify::Mock, FFI::Library]
|
16
17
|
end
|
17
18
|
|
18
19
|
describe ".mock_artist" do
|
metadata
CHANGED
@@ -1,34 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mockspotify
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Kim Burgestrand
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-07-22 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: spotify
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
22
33
|
type: :runtime
|
23
|
-
|
24
|
-
version_requirements: *2152713800
|
34
|
+
version_requirements: *id001
|
25
35
|
description:
|
26
36
|
email: kim@burgestrand.se
|
27
37
|
executables: []
|
28
|
-
|
38
|
+
|
39
|
+
extensions:
|
29
40
|
- src/extconf.rb
|
30
41
|
extra_rdoc_files: []
|
31
|
-
|
42
|
+
|
43
|
+
files:
|
32
44
|
- .gitignore
|
33
45
|
- Gemfile
|
34
46
|
- Makefile.am
|
@@ -57,29 +69,40 @@ files:
|
|
57
69
|
- src/util.c
|
58
70
|
- src/util.h
|
59
71
|
- test/mockspotify_spec.rb
|
72
|
+
has_rdoc: true
|
60
73
|
homepage: https://github.com/Burgestrand/libmockspotify
|
61
74
|
licenses: []
|
75
|
+
|
62
76
|
post_install_message:
|
63
77
|
rdoc_options: []
|
64
|
-
|
78
|
+
|
79
|
+
require_paths:
|
65
80
|
- lib
|
66
81
|
- src
|
67
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
83
|
none: false
|
69
|
-
requirements:
|
70
|
-
- -
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
92
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: 3
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
version: "0"
|
79
100
|
requirements: []
|
101
|
+
|
80
102
|
rubyforge_project:
|
81
|
-
rubygems_version: 1.
|
103
|
+
rubygems_version: 1.6.2
|
82
104
|
signing_key:
|
83
105
|
specification_version: 3
|
84
106
|
summary: A mock of libspotify for use in development of language bindings
|
85
107
|
test_files: []
|
108
|
+
|