mockspotify 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mockspotify.rb +0 -2
- data/lib/mockspotify/version.rb +5 -0
- data/mockspotify.gemspec +1 -1
- data/src/libmockspotify.h +4 -4
- data/src/link.c +1 -4
- data/src/session.c +1 -4
- metadata +4 -3
data/lib/mockspotify.rb
CHANGED
data/mockspotify.gemspec
CHANGED
data/src/libmockspotify.h
CHANGED
@@ -93,10 +93,10 @@ struct sp_track {
|
|
93
93
|
|
94
94
|
struct sp_user {
|
95
95
|
bool loaded;
|
96
|
-
char
|
97
|
-
char
|
98
|
-
char
|
99
|
-
char
|
96
|
+
char canonical_name[1024];
|
97
|
+
char display_name[1024];
|
98
|
+
char full_name[1024];
|
99
|
+
char picture[1024];
|
100
100
|
sp_relation_type relation;
|
101
101
|
};
|
102
102
|
|
data/src/link.c
CHANGED
@@ -70,8 +70,5 @@ sp_link_type(sp_link *link)
|
|
70
70
|
sp_user *
|
71
71
|
sp_link_as_user(sp_link *link)
|
72
72
|
{
|
73
|
-
|
74
|
-
strncpy(username, link->data, 1024);
|
75
|
-
sp_user *user = mocksp_user_create(username, NULL, NULL, NULL, SP_RELATION_TYPE_UNKNOWN, 1);
|
76
|
-
return user;
|
73
|
+
return mocksp_user_create(link->data, "", "", "", SP_RELATION_TYPE_UNKNOWN, 1);
|
77
74
|
}
|
data/src/session.c
CHANGED
@@ -66,8 +66,5 @@ sp_session_logout(sp_session *session)
|
|
66
66
|
sp_user *
|
67
67
|
sp_session_user(sp_session *session)
|
68
68
|
{
|
69
|
-
|
70
|
-
strncpy(username, session->username, 1024);
|
71
|
-
sp_user *user = mocksp_user_create(username, NULL, NULL, NULL, SP_RELATION_TYPE_NONE, 1);
|
72
|
-
return user;
|
69
|
+
return mocksp_user_create(session->username, "", "", "", SP_RELATION_TYPE_NONE, 1);
|
73
70
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mockspotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-07-20 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spotify
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153096540 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153096540
|
25
25
|
description:
|
26
26
|
email: kim@burgestrand.se
|
27
27
|
executables: []
|
@@ -37,6 +37,7 @@ files:
|
|
37
37
|
- autogen.sh
|
38
38
|
- configure.ac
|
39
39
|
- lib/mockspotify.rb
|
40
|
+
- lib/mockspotify/version.rb
|
40
41
|
- mockspotify.gemspec
|
41
42
|
- src/Makefile.am
|
42
43
|
- src/album.c
|