tagcrumbs 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Manifest.txt +79 -56
- data/README.rdoc +9 -1
- data/Rakefile +2 -1
- data/TODO.txt +0 -7
- data/config/website.yml +2 -0
- data/examples/filter_new.rb +7 -3
- data/examples/placemark_new_suggestions.rb +4 -2
- data/examples/request_authorization.rb +1 -1
- data/examples/tagcrumbs_find.rb +3 -3
- data/examples/user.rb +1 -1
- data/lib/console.rb +14 -0
- data/lib/tagcrumbs.rb +41 -14
- data/lib/tagcrumbs/cli.rb +1 -1
- data/lib/tagcrumbs/config_store.rb +3 -3
- data/lib/tagcrumbs/core_extensions.rb +19 -0
- data/lib/tagcrumbs/parsers/json_parser.rb +7 -3
- data/lib/tagcrumbs/proxy.rb +6 -3
- data/lib/tagcrumbs/requestor.rb +22 -5
- data/lib/tagcrumbs/resources/{array.rb → collection.rb} +8 -7
- data/lib/tagcrumbs/resources/models/access_token.rb +8 -0
- data/lib/tagcrumbs/resources/models/accessors.rb +17 -3
- data/lib/tagcrumbs/resources/models/activity.rb +1 -0
- data/lib/tagcrumbs/resources/models/application.rb +9 -0
- data/lib/tagcrumbs/resources/models/comment.rb +2 -0
- data/lib/tagcrumbs/resources/models/email_recommendation.rb +17 -0
- data/lib/tagcrumbs/resources/models/favorite.rb +2 -1
- data/lib/tagcrumbs/resources/models/filter.rb +2 -2
- data/lib/tagcrumbs/resources/models/flag.rb +3 -0
- data/lib/tagcrumbs/resources/models/model.rb +8 -7
- data/lib/tagcrumbs/resources/models/paragraph.rb +8 -0
- data/lib/tagcrumbs/resources/models/picture.rb +4 -4
- data/lib/tagcrumbs/resources/models/place.rb +3 -3
- data/lib/tagcrumbs/resources/models/placemark.rb +3 -2
- data/lib/tagcrumbs/resources/models/profile.rb +0 -1
- data/lib/tagcrumbs/resources/models/profile_link.rb +1 -1
- data/lib/tagcrumbs/resources/models/root.rb +3 -3
- data/lib/tagcrumbs/resources/models/settings.rb +2 -1
- data/lib/tagcrumbs/resources/models/tagcrumb.rb +4 -12
- data/lib/tagcrumbs/resources/models/user.rb +27 -6
- data/lib/tagcrumbs/resources/models/user_recommendation.rb +1 -1
- data/lib/tagcrumbs/resources/resource.rb +4 -4
- data/script/console +8 -3
- data/spec/fixtures_external/README.rdoc +15 -0
- data/spec/fixtures_external/json/access_token.json +11 -0
- data/spec/{fixtures → fixtures_external/json}/activity.json +32 -25
- data/spec/{fixtures → fixtures_external/json}/address.json +22 -25
- data/spec/fixtures_external/json/application.json +13 -0
- data/spec/{fixtures → fixtures_external/json}/city.json +2 -11
- data/spec/{fixtures → fixtures_external/json}/comment.json +51 -44
- data/spec/{fixtures → fixtures_external/json}/country.json +1 -4
- data/spec/fixtures_external/json/email_recommendation.json +286 -0
- data/spec/{fixtures → fixtures_external/json}/fanship.json +30 -30
- data/spec/{fixtures → fixtures_external/json}/favorite.json +45 -47
- data/spec/{fixtures → fixtures_external/json}/filter.json +30 -42
- data/spec/{fixtures → fixtures_external/json}/friendship.json +30 -30
- data/spec/fixtures_external/json/geoname.json +18 -0
- data/spec/{fixtures → fixtures_external/json}/link.json +41 -44
- data/spec/{fixtures → fixtures_external/json}/location.json +21 -31
- data/spec/fixtures_external/json/paragraph.json +12 -0
- data/spec/fixtures_external/json/picture.json +129 -0
- data/spec/fixtures_external/json/picture_upload.json +9 -0
- data/spec/{fixtures → fixtures_external/json}/placemark.json +136 -142
- data/spec/fixtures_external/json/placemarks.json +851 -0
- data/spec/{fixtures → fixtures_external/json}/profile.json +65 -94
- data/spec/fixtures_external/json/profile_link.json +123 -0
- data/spec/{fixtures → fixtures_external/json}/root.json +17 -21
- data/spec/{fixtures → fixtures_external/json}/settings.json +26 -19
- data/spec/{fixtures → fixtures_external/json}/state.json +2 -8
- data/spec/{fixtures → fixtures_external/json}/subscription.json +41 -44
- data/spec/fixtures_external/json/suggestions.json +302 -0
- data/spec/{fixtures → fixtures_external/json}/tag.json +0 -0
- data/spec/{fixtures → fixtures_external/json}/user.json +44 -20
- data/spec/{fixtures → fixtures_external/json}/user_recommendation.json +52 -55
- data/spec/fixtures_external/json/validation_errors.json +6 -0
- data/spec/fixtures_external/kml/network_link.kml +24 -0
- data/spec/fixtures_external/kml/tagcrumbs.kml +64 -0
- data/spec/fixtures_external/rdf/placemark.rdf +56 -0
- data/spec/fixtures_external/rss/tagcrumbs.rss +24 -0
- data/spec/fixtures_external/xml/access_token.xml +5 -0
- data/spec/fixtures_external/xml/activity.xml +62 -0
- data/spec/fixtures_external/xml/address.xml +51 -0
- data/spec/fixtures_external/xml/application.xml +5 -0
- data/spec/fixtures_external/xml/city.xml +27 -0
- data/spec/fixtures_external/xml/comment.xml +81 -0
- data/spec/fixtures_external/xml/country.xml +10 -0
- data/spec/fixtures_external/xml/email_recommendation.xml +78 -0
- data/spec/fixtures_external/xml/fanship.xml +49 -0
- data/spec/fixtures_external/xml/favorite.xml +97 -0
- data/spec/fixtures_external/xml/filter.xml +68 -0
- data/spec/fixtures_external/xml/friendship.xml +49 -0
- data/spec/fixtures_external/xml/geoname.xml +6 -0
- data/spec/fixtures_external/xml/link.xml +78 -0
- data/spec/fixtures_external/xml/location.xml +58 -0
- data/spec/fixtures_external/xml/paragraph.xml +8 -0
- data/spec/fixtures_external/xml/picture.xml +36 -0
- data/spec/fixtures_external/xml/picture_upload.xml +153 -0
- data/spec/fixtures_external/xml/placemark.xml +54 -0
- data/spec/fixtures_external/xml/placemarks.xml +336 -0
- data/spec/fixtures_external/xml/profile.xml +77 -0
- data/spec/fixtures_external/xml/profile_link.xml +34 -0
- data/spec/fixtures_external/xml/root.xml +12 -0
- data/spec/fixtures_external/xml/settings.xml +42 -0
- data/spec/fixtures_external/xml/state.xml +19 -0
- data/spec/fixtures_external/xml/subscription.xml +76 -0
- data/spec/fixtures_external/xml/suggestions.xml +106 -0
- data/spec/{fixtures → fixtures_external/xml}/tag.xml +2 -2
- data/spec/fixtures_external/xml/user.xml +37 -0
- data/spec/fixtures_external/xml/user_recommendation.xml +94 -0
- data/spec/fixtures_external/xml/validation_errors.xml +5 -0
- data/spec/spec_helper.rb +12 -2
- data/spec/tagcrumbs/requestor_spec.rb +2 -2
- data/spec/tagcrumbs/resources/array_spec.rb +38 -38
- data/spec/tagcrumbs/resources/models/access_token_spec.rb +16 -0
- data/spec/tagcrumbs/resources/models/accessors_spec.rb +2 -2
- data/spec/tagcrumbs/resources/models/activity_spec.rb +5 -1
- data/spec/tagcrumbs/resources/models/address_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/application_spec.rb +17 -0
- data/spec/tagcrumbs/resources/models/city_spec.rb +2 -5
- data/spec/tagcrumbs/resources/models/comment_spec.rb +8 -2
- data/spec/tagcrumbs/resources/models/country_spec.rb +2 -4
- data/spec/tagcrumbs/resources/models/email_recommendation_spec.rb +31 -0
- data/spec/tagcrumbs/resources/models/fanship_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/favorite_spec.rb +5 -1
- data/spec/tagcrumbs/resources/models/filter_spec.rb +3 -4
- data/spec/tagcrumbs/resources/models/friendship_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/geoname_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/link_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/location_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/model_spec.rb +20 -3
- data/spec/tagcrumbs/resources/models/paragraph_spec.rb +21 -0
- data/spec/tagcrumbs/resources/models/picture_spec.rb +13 -21
- data/spec/tagcrumbs/resources/models/place_spec.rb +3 -3
- data/spec/tagcrumbs/resources/models/placemark_spec.rb +11 -9
- data/spec/tagcrumbs/resources/models/profile_link_spec.rb +6 -12
- data/spec/tagcrumbs/resources/models/profile_spec.rb +5 -12
- data/spec/tagcrumbs/resources/models/root_spec.rb +15 -19
- data/spec/tagcrumbs/resources/models/settings_spec.rb +3 -1
- data/spec/tagcrumbs/resources/models/state_spec.rb +2 -5
- data/spec/tagcrumbs/resources/models/subscription_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/suggestions_spec.rb +7 -7
- data/spec/tagcrumbs/resources/models/tag_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/tagcrumb_spec.rb +3 -11
- data/spec/tagcrumbs/resources/models/user_recommendation_spec.rb +1 -1
- data/spec/tagcrumbs/resources/models/user_spec.rb +35 -27
- data/spec/tagcrumbs/resources/resource_spec.rb +3 -3
- data/spec/tagcrumbs_spec.rb +7 -7
- data/tagcrumbs.gemspec +2 -2
- metadata +82 -58
- data/examples/tagcrumbs_search.rb +0 -7
- data/lib/tagcrumbs/validations.rb +0 -301
- data/spec/fixtures/activity.xml +0 -66
- data/spec/fixtures/address.xml +0 -58
- data/spec/fixtures/city.xml +0 -34
- data/spec/fixtures/comment.xml +0 -87
- data/spec/fixtures/country.xml +0 -13
- data/spec/fixtures/fanship.xml +0 -54
- data/spec/fixtures/favorite.xml +0 -109
- data/spec/fixtures/filter.xml +0 -80
- data/spec/fixtures/friendship.xml +0 -54
- data/spec/fixtures/geoname.json +0 -18
- data/spec/fixtures/geoname.xml +0 -6
- data/spec/fixtures/link.xml +0 -88
- data/spec/fixtures/location.xml +0 -71
- data/spec/fixtures/picture.json +0 -154
- data/spec/fixtures/picture.xml +0 -49
- data/spec/fixtures/placemark.xml +0 -58
- data/spec/fixtures/placemarks.json +0 -887
- data/spec/fixtures/placemarks.xml +0 -348
- data/spec/fixtures/profile.xml +0 -100
- data/spec/fixtures/profile_link.json +0 -156
- data/spec/fixtures/profile_link.xml +0 -49
- data/spec/fixtures/root.xml +0 -14
- data/spec/fixtures/settings.xml +0 -45
- data/spec/fixtures/state.xml +0 -23
- data/spec/fixtures/subscription.xml +0 -86
- data/spec/fixtures/suggestions.json +0 -1877
- data/spec/fixtures/suggestions.xml +0 -724
- data/spec/fixtures/user.xml +0 -31
- data/spec/fixtures/user_recommendation.xml +0 -106
- data/spec/fixtures/validation_errors.json +0 -5
- data/spec/fixtures/validation_errors.xml +0 -5
- data/spec/tagcrumbs/validations_spec.rb +0 -27
@@ -1,54 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<friendship type="Friendship" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.tagcrumbs.com/sascha/friends/peter.xml">
|
3
|
-
<created_at type="timestamp">2009-04-02T16:31:45+02:00</created_at>
|
4
|
-
<updated_at type="timestamp">2009-04-02T16:31:45+02:00</updated_at>
|
5
|
-
<user type="User" xlink:href="http://www.tagcrumbs.com/sascha.xml">
|
6
|
-
<username>sascha</username>
|
7
|
-
<created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
|
8
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml"/>
|
9
|
-
|
10
|
-
<settings type="Settings" xlink:href="http://www.tagcrumbs.com/sascha/settings.xml"/>
|
11
|
-
<location type="Location" xlink:href="http://www.tagcrumbs.com/location.xml"/>
|
12
|
-
<suggestions type="Suggestions" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.xml"/>
|
13
|
-
<filters type="array" xlink:href="http://www.tagcrumbs.com/sascha/filters.xml"/>
|
14
|
-
<links type="array" xlink:href="http://www.tagcrumbs.com/sascha/links.xml"/>
|
15
|
-
<comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/comments.xml"/>
|
16
|
-
<flags type="array" xlink:href="http://www.tagcrumbs.com/sascha/flags.xml"/>
|
17
|
-
<recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations.xml"/>
|
18
|
-
<received_recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations/received.xml"/>
|
19
|
-
|
20
|
-
<subscriptions type="array" xlink:href="http://www.tagcrumbs.com/sascha/subscriptions.xml"/>
|
21
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
|
22
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
|
23
|
-
<tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml"/>
|
24
|
-
<placemarks type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks.xml"/>
|
25
|
-
<favorites type="array" xlink:href="http://www.tagcrumbs.com/sascha/favorites.xml"/>
|
26
|
-
<activities type="array" xlink:href="http://www.tagcrumbs.com/sascha/activities.xml"/>
|
27
|
-
<tags type="array" xlink:href="http://www.tagcrumbs.com/sascha/tags.xml"/>
|
28
|
-
<places type="array" xlink:href="http://www.tagcrumbs.com/sascha/places.xml"/>
|
29
|
-
|
30
|
-
<friendships type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends.xml"/>
|
31
|
-
<fanships type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans.xml"/>
|
32
|
-
<tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends/tagcrumbs.xml"/>
|
33
|
-
<tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans/tagcrumbs.xml"/>
|
34
|
-
</user>
|
35
|
-
<friend type="User" xlink:href="http://www.tagcrumbs.com/peter.xml">
|
36
|
-
<username>peter</username>
|
37
|
-
<created_at type="timestamp">2008-06-13T11:45:22+02:00</created_at>
|
38
|
-
|
39
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/peter/profile.xml"/>
|
40
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/peter/profile/picture.xml"/>
|
41
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/peter/profile/links.xml"/>
|
42
|
-
<tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/peter/tagcrumbs.xml"/>
|
43
|
-
<placemarks type="array" xlink:href="http://www.tagcrumbs.com/peter/placemarks.xml"/>
|
44
|
-
<favorites type="array" xlink:href="http://www.tagcrumbs.com/peter/favorites.xml"/>
|
45
|
-
<activities type="array" xlink:href="http://www.tagcrumbs.com/peter/activities.xml"/>
|
46
|
-
<tags type="array" xlink:href="http://www.tagcrumbs.com/peter/tags.xml"/>
|
47
|
-
<places type="array" xlink:href="http://www.tagcrumbs.com/peter/places.xml"/>
|
48
|
-
|
49
|
-
<friendships type="array" xlink:href="http://www.tagcrumbs.com/peter/friends.xml"/>
|
50
|
-
<fanships type="array" xlink:href="http://www.tagcrumbs.com/peter/fans.xml"/>
|
51
|
-
<tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/peter/friends/tagcrumbs.xml"/>
|
52
|
-
<tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/peter/fans/tagcrumbs.xml"/>
|
53
|
-
</friend>
|
54
|
-
</friendship>
|
data/spec/fixtures/geoname.json
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"geoname": {
|
3
|
-
"geonameid": {
|
4
|
-
"@type": "integer",
|
5
|
-
"$": 2921044
|
6
|
-
},
|
7
|
-
"@xlink:href": "http://www.geonames.org/2921044",
|
8
|
-
"longitude": {
|
9
|
-
"@type": "float",
|
10
|
-
"$": 10.5
|
11
|
-
},
|
12
|
-
"@type": "Geoname",
|
13
|
-
"latitude": {
|
14
|
-
"@type": "float",
|
15
|
-
"$": 51.5
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
data/spec/fixtures/geoname.xml
DELETED
data/spec/fixtures/link.xml
DELETED
@@ -1,88 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<link type="Link" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.tagcrumbs.com/sascha/links/1000104.xml">
|
3
|
-
<link_type></link_type>
|
4
|
-
<url>http://www.test.de</url>
|
5
|
-
<title>test.de</title>
|
6
|
-
<created_at type="timestamp">2008-11-25T15:10:37+01:00</created_at>
|
7
|
-
<updated_at type="timestamp">2009-06-09T16:42:05+02:00</updated_at>
|
8
|
-
<tagcrumb type="Placemark" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name.xml">
|
9
|
-
<name>PLACEMARK NAME</name>
|
10
|
-
|
11
|
-
<notes>PLACEMARK NOTES</notes>
|
12
|
-
<tag_list>tag1, tag2</tag_list>
|
13
|
-
<latitude type="float">13.0</latitude>
|
14
|
-
<longitude type="float">12.0</longitude>
|
15
|
-
<permalink>placemark-name</permalink>
|
16
|
-
<favorites_count type="integer">0</favorites_count>
|
17
|
-
<short_url>http://www.tagcrumbs.com/p/YjM3ZjU</short_url>
|
18
|
-
|
19
|
-
<created_at type="timestamp">2008-11-25T15:10:35+01:00</created_at>
|
20
|
-
<updated_at type="timestamp">2009-02-20T07:53:22+01:00</updated_at>
|
21
|
-
<private type="boolean">true</private>
|
22
|
-
<address type="Address" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/address.xml"/>
|
23
|
-
<links type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/links.xml"/>
|
24
|
-
<recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/recommendations.xml"/>
|
25
|
-
<comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/comments.xml"/>
|
26
|
-
|
27
|
-
<user type="User" xlink:href="http://www.tagcrumbs.com/sascha.xml">
|
28
|
-
<username>sascha</username>
|
29
|
-
<created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
|
30
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml"/>
|
31
|
-
<settings type="Settings" xlink:href="http://www.tagcrumbs.com/sascha/settings.xml"/>
|
32
|
-
<location type="Location" xlink:href="http://www.tagcrumbs.com/location.xml"/>
|
33
|
-
<suggestions type="Suggestions" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.xml"/>
|
34
|
-
<filters type="array" xlink:href="http://www.tagcrumbs.com/sascha/filters.xml"/>
|
35
|
-
|
36
|
-
<links type="array" xlink:href="http://www.tagcrumbs.com/sascha/links.xml"/>
|
37
|
-
<comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/comments.xml"/>
|
38
|
-
<flags type="array" xlink:href="http://www.tagcrumbs.com/sascha/flags.xml"/>
|
39
|
-
<recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations.xml"/>
|
40
|
-
<received_recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations/received.xml"/>
|
41
|
-
<subscriptions type="array" xlink:href="http://www.tagcrumbs.com/sascha/subscriptions.xml"/>
|
42
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
|
43
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
|
44
|
-
<tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml"/>
|
45
|
-
|
46
|
-
<placemarks type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks.xml"/>
|
47
|
-
<favorites type="array" xlink:href="http://www.tagcrumbs.com/sascha/favorites.xml"/>
|
48
|
-
<activities type="array" xlink:href="http://www.tagcrumbs.com/sascha/activities.xml"/>
|
49
|
-
<tags type="array" xlink:href="http://www.tagcrumbs.com/sascha/tags.xml"/>
|
50
|
-
<places type="array" xlink:href="http://www.tagcrumbs.com/sascha/places.xml"/>
|
51
|
-
<friendships type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends.xml"/>
|
52
|
-
<fanships type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans.xml"/>
|
53
|
-
<tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends/tagcrumbs.xml"/>
|
54
|
-
<tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans/tagcrumbs.xml"/>
|
55
|
-
|
56
|
-
</user>
|
57
|
-
</tagcrumb>
|
58
|
-
<user type="User" xlink:href="http://www.tagcrumbs.com/sascha.xml">
|
59
|
-
<username>sascha</username>
|
60
|
-
<created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
|
61
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml"/>
|
62
|
-
<settings type="Settings" xlink:href="http://www.tagcrumbs.com/sascha/settings.xml"/>
|
63
|
-
<location type="Location" xlink:href="http://www.tagcrumbs.com/location.xml"/>
|
64
|
-
|
65
|
-
<suggestions type="Suggestions" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.xml"/>
|
66
|
-
<filters type="array" xlink:href="http://www.tagcrumbs.com/sascha/filters.xml"/>
|
67
|
-
<links type="array" xlink:href="http://www.tagcrumbs.com/sascha/links.xml"/>
|
68
|
-
<comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/comments.xml"/>
|
69
|
-
<flags type="array" xlink:href="http://www.tagcrumbs.com/sascha/flags.xml"/>
|
70
|
-
<recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations.xml"/>
|
71
|
-
<received_recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations/received.xml"/>
|
72
|
-
<subscriptions type="array" xlink:href="http://www.tagcrumbs.com/sascha/subscriptions.xml"/>
|
73
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
|
74
|
-
|
75
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
|
76
|
-
<tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml"/>
|
77
|
-
<placemarks type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks.xml"/>
|
78
|
-
<favorites type="array" xlink:href="http://www.tagcrumbs.com/sascha/favorites.xml"/>
|
79
|
-
<activities type="array" xlink:href="http://www.tagcrumbs.com/sascha/activities.xml"/>
|
80
|
-
<tags type="array" xlink:href="http://www.tagcrumbs.com/sascha/tags.xml"/>
|
81
|
-
<places type="array" xlink:href="http://www.tagcrumbs.com/sascha/places.xml"/>
|
82
|
-
<friendships type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends.xml"/>
|
83
|
-
<fanships type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans.xml"/>
|
84
|
-
|
85
|
-
<tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends/tagcrumbs.xml"/>
|
86
|
-
<tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans/tagcrumbs.xml"/>
|
87
|
-
</user>
|
88
|
-
</link>
|
data/spec/fixtures/location.xml
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<location type="Location" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.tagcrumbs.com/location.xml">
|
3
|
-
<latitude type="float">48.1344468066674</latitude>
|
4
|
-
<longitude type="float">11.5754914283752</longitude>
|
5
|
-
<city type="City" xlink:href="http://www.tagcrumbs.com/places/germany/states/freistaat-bayern/cities/munich.xml">
|
6
|
-
<name>München</name>
|
7
|
-
|
8
|
-
<permalink>munich</permalink>
|
9
|
-
<geoname type="Geoname" xlink:href="http://www.geonames.org/2867714">
|
10
|
-
<geonameid type="integer">2867714</geonameid>
|
11
|
-
<latitude type="float">48.1376831438553</latitude>
|
12
|
-
|
13
|
-
<longitude type="float">11.5743541717529</longitude>
|
14
|
-
</geoname>
|
15
|
-
<state type="State" xlink:href="http://www.tagcrumbs.com/places/germany/states/freistaat-bayern.xml">
|
16
|
-
<name>Bayern</name>
|
17
|
-
|
18
|
-
<permalink>freistaat-bayern</permalink>
|
19
|
-
<geoname type="Geoname" xlink:href="http://www.geonames.org/2951839">
|
20
|
-
<geonameid type="integer">2951839</geonameid>
|
21
|
-
<latitude type="float">49.0</latitude>
|
22
|
-
|
23
|
-
<longitude type="float">11.5</longitude>
|
24
|
-
</geoname>
|
25
|
-
<country type="Country" xlink:href="http://www.tagcrumbs.com/places/germany.xml">
|
26
|
-
<name>Deutschland</name>
|
27
|
-
|
28
|
-
<permalink>germany</permalink>
|
29
|
-
<geoname type="Geoname" xlink:href="http://www.geonames.org/2921044">
|
30
|
-
<geonameid type="integer">2921044</geonameid>
|
31
|
-
<latitude type="float">51.5</latitude>
|
32
|
-
<longitude type="float">10.5</longitude>
|
33
|
-
|
34
|
-
</geoname>
|
35
|
-
<states type="array" xlink:href="http://www.tagcrumbs.com/places/germany/states.xml"/>
|
36
|
-
</country>
|
37
|
-
<cities type="array" xlink:href="http://www.tagcrumbs.com/places/germany/states/freistaat-bayern/cities.xml"/>
|
38
|
-
</state>
|
39
|
-
</city>
|
40
|
-
<user type="User" xlink:href="http://www.tagcrumbs.com/sascha.xml">
|
41
|
-
<username>sascha</username>
|
42
|
-
|
43
|
-
<created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
|
44
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml"/>
|
45
|
-
<settings type="Settings" xlink:href="http://www.tagcrumbs.com/sascha/settings.xml"/>
|
46
|
-
<location type="Location" xlink:href="http://www.tagcrumbs.com/location.xml"/>
|
47
|
-
<suggestions type="Suggestions" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.xml"/>
|
48
|
-
<filters type="array" xlink:href="http://www.tagcrumbs.com/sascha/filters.xml"/>
|
49
|
-
<links type="array" xlink:href="http://www.tagcrumbs.com/sascha/links.xml"/>
|
50
|
-
<comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/comments.xml"/>
|
51
|
-
|
52
|
-
<flags type="array" xlink:href="http://www.tagcrumbs.com/sascha/flags.xml"/>
|
53
|
-
<recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations.xml"/>
|
54
|
-
<received_recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations/received.xml"/>
|
55
|
-
<subscriptions type="array" xlink:href="http://www.tagcrumbs.com/sascha/subscriptions.xml"/>
|
56
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
|
57
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
|
58
|
-
<tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml"/>
|
59
|
-
<placemarks type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks.xml"/>
|
60
|
-
<favorites type="array" xlink:href="http://www.tagcrumbs.com/sascha/favorites.xml"/>
|
61
|
-
|
62
|
-
<activities type="array" xlink:href="http://www.tagcrumbs.com/sascha/activities.xml"/>
|
63
|
-
<tags type="array" xlink:href="http://www.tagcrumbs.com/sascha/tags.xml"/>
|
64
|
-
<places type="array" xlink:href="http://www.tagcrumbs.com/sascha/places.xml"/>
|
65
|
-
<friendships type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends.xml"/>
|
66
|
-
<fanships type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans.xml"/>
|
67
|
-
<tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends/tagcrumbs.xml"/>
|
68
|
-
<tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans/tagcrumbs.xml"/>
|
69
|
-
</user>
|
70
|
-
</location>
|
71
|
-
|
data/spec/fixtures/picture.json
DELETED
@@ -1,154 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"picture": {
|
3
|
-
"profile": {
|
4
|
-
"about": {
|
5
|
-
"$": "ABOUT"
|
6
|
-
},
|
7
|
-
"city": {
|
8
|
-
"@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities/stuttgart.json",
|
9
|
-
"@type": "City"
|
10
|
-
},
|
11
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
|
12
|
-
"picture": {
|
13
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
|
14
|
-
"@type": "Picture"
|
15
|
-
},
|
16
|
-
"created_at": {
|
17
|
-
"@type": "timestamp",
|
18
|
-
"$": "2008-06-12T09:34:55+02:00"
|
19
|
-
},
|
20
|
-
"user": {
|
21
|
-
"tagcrumbs_fans": {
|
22
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
|
23
|
-
"@type": "array"
|
24
|
-
},
|
25
|
-
"tags": {
|
26
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
|
27
|
-
"@type": "array"
|
28
|
-
},
|
29
|
-
"activities": {
|
30
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
|
31
|
-
"@type": "array"
|
32
|
-
},
|
33
|
-
"tagcrumbs": {
|
34
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
|
35
|
-
"@type": "array"
|
36
|
-
},
|
37
|
-
"subscriptions": {
|
38
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
|
39
|
-
"@type": "array"
|
40
|
-
},
|
41
|
-
"profile": {
|
42
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
|
43
|
-
"@type": "Profile"
|
44
|
-
},
|
45
|
-
"username": {
|
46
|
-
"$": "sascha"
|
47
|
-
},
|
48
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha.json",
|
49
|
-
"places": {
|
50
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
|
51
|
-
"@type": "array"
|
52
|
-
},
|
53
|
-
"picture": {
|
54
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
|
55
|
-
"@type": "Picture"
|
56
|
-
},
|
57
|
-
"comments": {
|
58
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
|
59
|
-
"@type": "array"
|
60
|
-
},
|
61
|
-
"fanships": {
|
62
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
|
63
|
-
"@type": "array"
|
64
|
-
},
|
65
|
-
"favorites": {
|
66
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
|
67
|
-
"@type": "array"
|
68
|
-
},
|
69
|
-
"settings": {
|
70
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
|
71
|
-
"@type": "Settings"
|
72
|
-
},
|
73
|
-
"created_at": {
|
74
|
-
"@type": "timestamp",
|
75
|
-
"$": "2008-06-12T09:34:00+02:00"
|
76
|
-
},
|
77
|
-
"placemarks": {
|
78
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
|
79
|
-
"@type": "array"
|
80
|
-
},
|
81
|
-
"@type": "User",
|
82
|
-
"profile_links": {
|
83
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
|
84
|
-
"@type": "array"
|
85
|
-
},
|
86
|
-
"links": {
|
87
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
|
88
|
-
"@type": "array"
|
89
|
-
},
|
90
|
-
"suggestions": {
|
91
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
|
92
|
-
"@type": "Suggestions"
|
93
|
-
},
|
94
|
-
"location": {
|
95
|
-
"@xlink:href": "http://www.tagcrumbs.com/location.json",
|
96
|
-
"@type": "Location"
|
97
|
-
},
|
98
|
-
"flags": {
|
99
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
|
100
|
-
"@type": "array"
|
101
|
-
},
|
102
|
-
"filters": {
|
103
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
|
104
|
-
"@type": "array"
|
105
|
-
},
|
106
|
-
"tagcrumbs_friends": {
|
107
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
|
108
|
-
"@type": "array"
|
109
|
-
},
|
110
|
-
"received_recommendations": {
|
111
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
|
112
|
-
"@type": "array"
|
113
|
-
},
|
114
|
-
"recommendations": {
|
115
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
|
116
|
-
"@type": "array"
|
117
|
-
},
|
118
|
-
"friendships": {
|
119
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
|
120
|
-
"@type": "array"
|
121
|
-
}
|
122
|
-
},
|
123
|
-
"description": {
|
124
|
-
"$": "DESCRIPTION"
|
125
|
-
},
|
126
|
-
"@type": "Profile",
|
127
|
-
"profile_links": {
|
128
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
|
129
|
-
"@type": "array"
|
130
|
-
},
|
131
|
-
"updated_at": {
|
132
|
-
"@type": "timestamp",
|
133
|
-
"$": "2009-06-05T14:16:55+02:00"
|
134
|
-
},
|
135
|
-
"fullname": {
|
136
|
-
"$": "FULLNAME"
|
137
|
-
}
|
138
|
-
},
|
139
|
-
"@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
|
140
|
-
"small_thumbnail_url": {
|
141
|
-
"$": "SMALL THUMBNAIL URL"
|
142
|
-
},
|
143
|
-
"url": {
|
144
|
-
"$": "URL"
|
145
|
-
},
|
146
|
-
"@type": "Picture",
|
147
|
-
"medium_thumbnail_url": {
|
148
|
-
"$": "MEDIUM THUMBNAIL URL"
|
149
|
-
},
|
150
|
-
"content_type": {
|
151
|
-
"$": "image/jpeg"
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
data/spec/fixtures/picture.xml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<picture type="Picture" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml">
|
3
|
-
<url>URL</url>
|
4
|
-
<small_thumbnail_url>SMALL THUMBNAIL URL</small_thumbnail_url>
|
5
|
-
<medium_thumbnail_url>MEDIUM THUMBNAIL URL</medium_thumbnail_url>
|
6
|
-
<content_type>image/jpeg</content_type>
|
7
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml">
|
8
|
-
<fullname>FULLNAME</fullname>
|
9
|
-
|
10
|
-
<about>ABOUT</about>
|
11
|
-
<description>DESCRIPTION</description>
|
12
|
-
<created_at type="timestamp">2008-06-12T09:34:55+02:00</created_at>
|
13
|
-
<updated_at type="timestamp">2009-06-05T14:16:55+02:00</updated_at>
|
14
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
|
15
|
-
<city type="City" xlink:href="http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities/stuttgart.xml"/>
|
16
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
|
17
|
-
|
18
|
-
<user type="User" xlink:href="http://www.tagcrumbs.com/sascha.xml">
|
19
|
-
<username>sascha</username>
|
20
|
-
<created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
|
21
|
-
<profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml"/>
|
22
|
-
<settings type="Settings" xlink:href="http://www.tagcrumbs.com/sascha/settings.xml"/>
|
23
|
-
<location type="Location" xlink:href="http://www.tagcrumbs.com/location.xml"/>
|
24
|
-
<suggestions type="Suggestions" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.xml"/>
|
25
|
-
<filters type="array" xlink:href="http://www.tagcrumbs.com/sascha/filters.xml"/>
|
26
|
-
|
27
|
-
<links type="array" xlink:href="http://www.tagcrumbs.com/sascha/links.xml"/>
|
28
|
-
<comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/comments.xml"/>
|
29
|
-
<flags type="array" xlink:href="http://www.tagcrumbs.com/sascha/flags.xml"/>
|
30
|
-
<recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations.xml"/>
|
31
|
-
<received_recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations/received.xml"/>
|
32
|
-
<subscriptions type="array" xlink:href="http://www.tagcrumbs.com/sascha/subscriptions.xml"/>
|
33
|
-
<picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
|
34
|
-
<profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
|
35
|
-
<tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml"/>
|
36
|
-
|
37
|
-
<placemarks type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks.xml"/>
|
38
|
-
<favorites type="array" xlink:href="http://www.tagcrumbs.com/sascha/favorites.xml"/>
|
39
|
-
<activities type="array" xlink:href="http://www.tagcrumbs.com/sascha/activities.xml"/>
|
40
|
-
<tags type="array" xlink:href="http://www.tagcrumbs.com/sascha/tags.xml"/>
|
41
|
-
<places type="array" xlink:href="http://www.tagcrumbs.com/sascha/places.xml"/>
|
42
|
-
<friendships type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends.xml"/>
|
43
|
-
<fanships type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans.xml"/>
|
44
|
-
<tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends/tagcrumbs.xml"/>
|
45
|
-
<tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans/tagcrumbs.xml"/>
|
46
|
-
|
47
|
-
</user>
|
48
|
-
</profile>
|
49
|
-
</picture>
|