spotify 11.0.2 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spotify.rb +123 -98
- data/lib/spotify/version.rb +1 -1
- data/spec/api.h +323 -71
- data/spec/spotify_spec.rb +1 -1
- metadata +47 -13
data/spec/spotify_spec.rb
CHANGED
@@ -191,7 +191,7 @@ describe "functions" do
|
|
191
191
|
return case type.to_cpp
|
192
192
|
when "const char*"
|
193
193
|
:utf8_string
|
194
|
-
when /\A(::)?(char|int|size_t|sp_session\*|byte)\*/
|
194
|
+
when /\A(::)?(char|int|size_t|bool|sp_scrobbling_state|sp_session\*|byte)\*/
|
195
195
|
return_type ? :pointer : :buffer_out
|
196
196
|
when /::(.+_cb)\*/
|
197
197
|
$1.to_sym
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 12.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -24,10 +24,18 @@ dependencies:
|
|
24
24
|
version: 1.0.11
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.0'
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.0.11
|
28
36
|
- !ruby/object:Gem::Dependency
|
29
37
|
name: rake
|
30
|
-
requirement:
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
31
39
|
none: false
|
32
40
|
requirements:
|
33
41
|
- - ! '>='
|
@@ -35,10 +43,15 @@ dependencies:
|
|
35
43
|
version: '0'
|
36
44
|
type: :development
|
37
45
|
prerelease: false
|
38
|
-
version_requirements:
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
48
|
+
requirements:
|
49
|
+
- - ! '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
39
52
|
- !ruby/object:Gem::Dependency
|
40
53
|
name: yard
|
41
|
-
requirement:
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
42
55
|
none: false
|
43
56
|
requirements:
|
44
57
|
- - ! '>='
|
@@ -46,10 +59,15 @@ dependencies:
|
|
46
59
|
version: '0'
|
47
60
|
type: :development
|
48
61
|
prerelease: false
|
49
|
-
version_requirements:
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
50
68
|
- !ruby/object:Gem::Dependency
|
51
69
|
name: rbgccxml
|
52
|
-
requirement:
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
53
71
|
none: false
|
54
72
|
requirements:
|
55
73
|
- - ! '>='
|
@@ -57,10 +75,15 @@ dependencies:
|
|
57
75
|
version: '0'
|
58
76
|
type: :development
|
59
77
|
prerelease: false
|
60
|
-
version_requirements:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
61
84
|
- !ruby/object:Gem::Dependency
|
62
85
|
name: minitest
|
63
|
-
requirement:
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
64
87
|
none: false
|
65
88
|
requirements:
|
66
89
|
- - ~>
|
@@ -68,7 +91,12 @@ dependencies:
|
|
68
91
|
version: '2.0'
|
69
92
|
type: :development
|
70
93
|
prerelease: false
|
71
|
-
version_requirements:
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '2.0'
|
72
100
|
description: ! " Spotify for Ruby is a primitive wrapper around libspotify using
|
73
101
|
Ruby FFI.\n If all you want is libspotify for Ruby, you should probably use at
|
74
102
|
Hallon\n instead: https://rubygems.org/gems/hallon\n"
|
@@ -104,15 +132,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
132
|
- - ! '>='
|
105
133
|
- !ruby/object:Gem::Version
|
106
134
|
version: '0'
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
hash: -2568604232289458321
|
107
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
139
|
none: false
|
109
140
|
requirements:
|
110
141
|
- - ! '>='
|
111
142
|
- !ruby/object:Gem::Version
|
112
143
|
version: '0'
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
hash: -2568604232289458321
|
113
147
|
requirements: []
|
114
148
|
rubyforge_project:
|
115
|
-
rubygems_version: 1.8.
|
149
|
+
rubygems_version: 1.8.24
|
116
150
|
signing_key:
|
117
151
|
specification_version: 3
|
118
152
|
summary: Bare-bones Ruby bindings for libspotify
|