simplewoo 0.0.1
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.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/simplewoo/authentication.rb +35 -0
- data/lib/simplewoo/client/entity.rb +32 -0
- data/lib/simplewoo/client/match.rb +20 -0
- data/lib/simplewoo/client/personality.rb +31 -0
- data/lib/simplewoo/client/root.rb +10 -0
- data/lib/simplewoo/client/slider.rb +32 -0
- data/lib/simplewoo/client/tag.rb +32 -0
- data/lib/simplewoo/client/user.rb +87 -0
- data/lib/simplewoo/client.rb +33 -0
- data/lib/simplewoo/configuration.rb +34 -0
- data/lib/simplewoo/connection.rb +69 -0
- data/lib/simplewoo/error.rb +47 -0
- data/lib/simplewoo/request.rb +54 -0
- data/lib/simplewoo/version.rb +3 -0
- data/lib/simplewoo.rb +14 -0
- data/simplewoo.gemspec +37 -0
- data/spec/simplewoo/client/entity_spec.rb +34 -0
- data/spec/simplewoo/client/match_spec.rb +29 -0
- data/spec/simplewoo/client/personality_spec.rb +40 -0
- data/spec/simplewoo/client/root_spec.rb +53 -0
- data/spec/simplewoo/client/slider_spec.rb +37 -0
- data/spec/simplewoo/client/tag_spec.rb +35 -0
- data/spec/simplewoo/client/user_spec.rb +111 -0
- data/spec/simplewoo/error_spec.rb +61 -0
- data/spec/spec_helper.rb +36 -0
- data/spec/support/mocks/bad_app_secret.json +1 -0
- data/spec/support/mocks/empty.json +3 -0
- data/spec/support/mocks/entities.json +1554 -0
- data/spec/support/mocks/entity.json +77 -0
- data/spec/support/mocks/match_results.json +96 -0
- data/spec/support/mocks/me.json +20 -0
- data/spec/support/mocks/root.json +10 -0
- data/spec/support/mocks/slider.json +44 -0
- data/spec/support/mocks/sliders.json +23 -0
- data/spec/support/mocks/tag.json +20 -0
- data/spec/support/mocks/updated_user.json +19 -0
- data/spec/support/mocks/user.json +19 -0
- metadata +312 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
{
|
2
|
+
"name": "Bartender",
|
3
|
+
"image": {
|
4
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/252a54492423eabe16c1.jpg",
|
5
|
+
"_640x640": {
|
6
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_640x640_252a54492423eabe16c1.jpg"
|
7
|
+
},
|
8
|
+
"_506x540": {
|
9
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_506x540_252a54492423eabe16c1.jpg"
|
10
|
+
},
|
11
|
+
"_480x208": {
|
12
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_480x208_252a54492423eabe16c1.jpg"
|
13
|
+
},
|
14
|
+
"_320x320": {
|
15
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_320x320_252a54492423eabe16c1.jpg"
|
16
|
+
},
|
17
|
+
"_306x540": {
|
18
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_306x540_252a54492423eabe16c1.jpg"
|
19
|
+
},
|
20
|
+
"_300x300": {
|
21
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_300x300_252a54492423eabe16c1.jpg"
|
22
|
+
},
|
23
|
+
"_260x260": {
|
24
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_260x260_252a54492423eabe16c1.jpg"
|
25
|
+
},
|
26
|
+
"_253x270": {
|
27
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_253x270_252a54492423eabe16c1.jpg"
|
28
|
+
},
|
29
|
+
"_240x104": {
|
30
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_240x104_252a54492423eabe16c1.jpg"
|
31
|
+
},
|
32
|
+
"_166x166": {
|
33
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_166x166_252a54492423eabe16c1.jpg"
|
34
|
+
},
|
35
|
+
"_150x150": {
|
36
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_150x150_252a54492423eabe16c1.jpg"
|
37
|
+
},
|
38
|
+
"_120x120": {
|
39
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_120x120_252a54492423eabe16c1.jpg"
|
40
|
+
},
|
41
|
+
"_90x90": {
|
42
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_90x90_252a54492423eabe16c1.jpg"
|
43
|
+
},
|
44
|
+
"_83x83": {
|
45
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_83x83_252a54492423eabe16c1.jpg"
|
46
|
+
},
|
47
|
+
"_60x60": {
|
48
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_60x60_252a54492423eabe16c1.jpg"
|
49
|
+
},
|
50
|
+
"_45x45": {
|
51
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_45x45_252a54492423eabe16c1.jpg"
|
52
|
+
},
|
53
|
+
"_30x30": {
|
54
|
+
"url": "https://core-production.s3.amazonaws.com/images/entity/12914/_30x30_252a54492423eabe16c1.jpg"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"uuid": "769aa210-3e73-0130-73dd-12313d00cdfe",
|
58
|
+
"latitude": null,
|
59
|
+
"longitude": null,
|
60
|
+
"updated_at": "2013-01-31T17:10:31Z",
|
61
|
+
"_links": {
|
62
|
+
"self": {
|
63
|
+
"href": "https://core.woofound.com/sliders/2/entities/12914"
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"blend": "TMV",
|
67
|
+
"green": "false",
|
68
|
+
"active": "true",
|
69
|
+
"bright": "true",
|
70
|
+
"min_edu": "High School Diploma",
|
71
|
+
"colleges": "[{\"name\":\"New York Bartending School\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/new_york_bartending_school.jpg\",\"_70x70... Wine Institute\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/mixology_wine_institute.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_mixology_wine_institute.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_mixology_wine_institute.jpg\"},\"website\":\"http://mixologywine.com/\",\"twitter\":null,\"facebook\":\"https://www.facebook.com/MixologyWine?fref=ts\",\"linkedin\":null},{\"name\":\"Bartenders Professional Training Institute, Inc.\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/bartenders_professional_training_institute,_inc.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_bartenders_professional_training_institute,_inc.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_bartenders_professional_training_institute,_inc.jpg\"},\"website\":\"http://www.bartenderprotraining.com/\",\"twitter\":null,\"facebook\":\"https://www.facebook.com/bartendny\",\"linkedin\":null},{\"name\":\"Atlanta Bartending School\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/atlanta_bartending_school.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_atlanta_bartending_school.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_atlanta_bartending_school.jpg\"},\"website\":\"http://atlantabartendingschool.com/\",\"twitter\":null,\"facebook\":\"https://www.facebook.com/pages/Atlanta-Bartending-School/286974817093?fref=ts\",\"linkedin\":null},{\"name\":\"University of Mixology\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/university_of_mixology.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_university_of_mixology.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_university_of_mixology.jpg\"},\"website\":\"http://universityofmixology.com/\",\"twitter\":null,\"facebook\":\"https://www.facebook.com/pages/University-of-Mixology/117994357388\",\"linkedin\":null}}]",
|
72
|
+
"onet_link": "http://www.onetonline.org/link/summary/35-3011.00",
|
73
|
+
"avg_salary": "$10,000-20,000",
|
74
|
+
"businesses": "[{\"name\":\"Bar Agricole\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/bar_agricole.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_bar_agricole.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_bar_agricole.jpg\"},\"website\":\"http://www.baragricole.com/\",\"twitter\":\"@baragricole\",\"facebook\":\"https://www.facebook.com/pages/Bar-Agricole/286956729303\",\"linkedin\":\"http://www.linkedin.com/company/1079854?trk=tyah\"},{\"name\":\"Cure\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/cure.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_cure.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_cure.jpg\"},\"website\":\"http://www.curenola.com/\",\"twitter\":\"@curenola\",\"facebook\":\"https://www.facebook.com/curenola\",\"linkedin\":null},{\"name\":\"Drink\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/drink.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_drink.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_drink.jpg\"},\"website\":\"http://www.drinkfortpoint.com/\",\"twitter\":\"@drinkboston\",\"facebook\":\"https://www.facebook.com/DrinkFortPoint\",\"linkedin\":null},{\"name\":\"Holeman & Finch Public House\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/holeman__finch_public_house.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_holeman__finch_public_house.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_holeman__finch_public_house.jpg\"},\"website\":\"http://www.holeman-finch.com/\",\"twitter\":\"@chefhopkins\",\"facebook\":\"https://www.facebook.com/Holeman.Finch\",\"linkedin\":null},{\"name\":\"Rattle N Hum\",\"image\":{\"original\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/rattle_n_hum.jpg\",\"_70x70\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_70x70_rattle_n_hum.jpg\",\"_50x50\":\"https://s3.amazonaws.com/core-staging/images/static/top_cb/_50x50_rattle_n_hum.jpg\"},\"website\":\"http://www.rattlenhumbarnyc.com/\",\"twitter\":\"@rattlenhumbarny\",\"facebook\":\"https://www.facebook.com/pages/Rattle-N-Hum/122918434430242\",\"linkedin\":\"http://www.linkedin.com/company/1132918?trk=tyah\"}]",
|
75
|
+
"description": "Mix and serve drinks to patrons, directly or through waitstaff.",
|
76
|
+
"growth_rate": "0-9%"
|
77
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
{
|
2
|
+
"_links": {
|
3
|
+
"self": {
|
4
|
+
"href": "https://core.woofound.com/sliders/2/results"
|
5
|
+
}
|
6
|
+
},
|
7
|
+
"_embedded": {
|
8
|
+
"entities": [],
|
9
|
+
"personalities": [
|
10
|
+
{
|
11
|
+
"id": 178650,
|
12
|
+
"percentage": 0.1,
|
13
|
+
"name": "Naturalist",
|
14
|
+
"description": "Naturalists are orderly, functional, efficient, constructive and solid. They excel at working as one with the natural environment. Your Naturalist needs to be a pro in any environment.",
|
15
|
+
"image": {
|
16
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
17
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
18
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
19
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"id": 178651,
|
24
|
+
"percentage": 0.1,
|
25
|
+
"name": "Action-Taker",
|
26
|
+
"description": "Action-Takers use manual and physical skills, working with technology or machinery to complete tasks. They are handy, practical, systematic, applied, and down-to-earth. Your Action-Taker is a stud in the workplace and is a lock to get the job done.",
|
27
|
+
"image": {
|
28
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
29
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
30
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
31
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"id": 178652,
|
36
|
+
"percentage": 0.1,
|
37
|
+
"name": "Planner",
|
38
|
+
"description": "Planners are the detail people. Planners create systems to follow, and enjoy working with data, detail, words and numbers. Your planner is the ultimate office professional. This person is a sterling pro at having everything in perfect working order.",
|
39
|
+
"image": {
|
40
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
41
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
42
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
43
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"id": 178653,
|
48
|
+
"percentage": 0.1,
|
49
|
+
"name": "Visionary",
|
50
|
+
"description": "Visionaries are pioneers. They are often in positions of power in business and the public eye and excel at taking charge and gaining the confidence of others. This is the person you trust to take control. Who is the co-Captain of your ship?",
|
51
|
+
"image": {
|
52
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
53
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
54
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
55
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"id": 178654,
|
60
|
+
"percentage": 0.1,
|
61
|
+
"name": "Mentor",
|
62
|
+
"description": "Mentors are people-oriented. Mentors are patient and compassionate and work best in a group or on a team toward a common goal. This person is the support hub of your team.",
|
63
|
+
"image": {
|
64
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
65
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
66
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
67
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
68
|
+
}
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"id": 178655,
|
72
|
+
"percentage": 0.1,
|
73
|
+
"name": "Inventor",
|
74
|
+
"description": "Inventors are creative. They take a contemporary, out of the box approach to work and life. This person excels when they are lost in their work, completely engrossed in a project.",
|
75
|
+
"image": {
|
76
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
77
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
78
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
79
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
80
|
+
}
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"id": 178656,
|
84
|
+
"percentage": 0.1,
|
85
|
+
"name": "Analyzer",
|
86
|
+
"description": "Analyzers are inquisitive. They have a keen eye and an experimental nature. Analyzers use these capacities to figure out problems and search for the facts, often in a lab environment. Your Analyzer is your best explorer and detective.",
|
87
|
+
"image": {
|
88
|
+
"88x88": "https://s3.amazonaws.com/woofound/images/static/default/_88x88_default.png",
|
89
|
+
"176x176": "https://s3.amazonaws.com/woofound/images/static/default/_176x176_default.png",
|
90
|
+
"275x275": "https://s3.amazonaws.com/woofound/images/static/default/_275x275_default.png",
|
91
|
+
"550x550": "https://s3.amazonaws.com/woofound/images/static/default/_550x550_default.png"
|
92
|
+
}
|
93
|
+
}
|
94
|
+
]
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"email" : "jasonexample@example.com",
|
3
|
+
"first_name" : "Jason",
|
4
|
+
"last_name" : "Truluck",
|
5
|
+
"bio" : "",
|
6
|
+
"image" :{
|
7
|
+
"url" : "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
8
|
+
},
|
9
|
+
"badge" :{
|
10
|
+
"url" : "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
11
|
+
},
|
12
|
+
"_links" : {
|
13
|
+
"self" :{
|
14
|
+
"href" : "https://core.woofound.com/users/me"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"birthday" : "2000-01-04",
|
18
|
+
"uuid" : "123456",
|
19
|
+
"access_token" : "acce$$token"
|
20
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
{
|
3
|
+
"name": "Compass",
|
4
|
+
"image": {
|
5
|
+
"url": "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
6
|
+
},
|
7
|
+
"remaining": 84,
|
8
|
+
"completed": 0,
|
9
|
+
"_links": {
|
10
|
+
"self": {
|
11
|
+
"href": "https://core.woofound.com/sliders/2"
|
12
|
+
},
|
13
|
+
"http://woofound.com/rels/slider-reset": {
|
14
|
+
"href": "https://core.woofound.com/sliders/2/reset"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"_embedded": {
|
18
|
+
"tags": [
|
19
|
+
{
|
20
|
+
"name": "Going Camping",
|
21
|
+
"image": {
|
22
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/1091/16fe91b4a70f9572f2f4.jpg",
|
23
|
+
"_640x640": {
|
24
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/1091/_640x640_16fe91b4a70f9572f2f4.jpg"
|
25
|
+
},
|
26
|
+
"_320x320": {
|
27
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/1091/_320x320_16fe91b4a70f9572f2f4.jpg"
|
28
|
+
},
|
29
|
+
"_640x816": {
|
30
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/1091/_640x816_16fe91b4a70f9572f2f4.jpg"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"_links": {
|
34
|
+
"self": {
|
35
|
+
"href": "https://core.woofound.com/tags/1091"
|
36
|
+
},
|
37
|
+
"http://woofound.com/rels/tag-add": {
|
38
|
+
"href": "https://core.woofound.com/sliders/2/tags/1091"
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
]
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"_embedded": {
|
3
|
+
"sliders": [
|
4
|
+
{
|
5
|
+
"name": "Compass",
|
6
|
+
"image": {
|
7
|
+
"url": "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
8
|
+
},
|
9
|
+
"entity_pages": 30,
|
10
|
+
"_links": {
|
11
|
+
"self": {
|
12
|
+
"href": "https://core.woofound.com/sliders/2"
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
]
|
17
|
+
},
|
18
|
+
"_links": {
|
19
|
+
"self": {
|
20
|
+
"href": "http://core.woofound.com/sliders"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "Going Camping",
|
3
|
+
"image": {
|
4
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/2/2299831e510175a6d688.jpg",
|
5
|
+
"_640x640": {
|
6
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/2/_640x640_2299831e510175a6d688.jpg"
|
7
|
+
},
|
8
|
+
"_320x320": {
|
9
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/2/_320x320_2299831e510175a6d688.jpg"
|
10
|
+
},
|
11
|
+
"_640x816": {
|
12
|
+
"url": "https://core-production.s3.amazonaws.com/images/tag/2/_640x816_2299831e510175a6d688.jpg"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"_links": {
|
16
|
+
"self": {
|
17
|
+
"href": "https://core.woofound.com/tags/2"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"email": "tom@example.com",
|
3
|
+
"first_name": "Jason",
|
4
|
+
"last_name": "Truluck",
|
5
|
+
"bio": "Some Awesome bio\r\n",
|
6
|
+
"image": {
|
7
|
+
"url": "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
8
|
+
},
|
9
|
+
"badge": {
|
10
|
+
"url": "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
11
|
+
},
|
12
|
+
"_links": {
|
13
|
+
"http://woofound.com/rels/me": {
|
14
|
+
"href": "https://core.woofound.com/users/me"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"birthday": "1988-01-01",
|
18
|
+
"uuid": "75936ec0-2246-0131-74f5-12313d00cdfe"
|
19
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"email": "jason123456@example.com",
|
3
|
+
"first_name": "Jason",
|
4
|
+
"last_name": "Truluck",
|
5
|
+
"bio": "Some Awesome bio\r\n",
|
6
|
+
"image": {
|
7
|
+
"url": "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
8
|
+
},
|
9
|
+
"badge": {
|
10
|
+
"url": "https://s3.amazonaws.com/woofound/images/static/default/default.png"
|
11
|
+
},
|
12
|
+
"_links": {
|
13
|
+
"http://woofound.com/rels/me": {
|
14
|
+
"href": "https://core.woofound.com/users/me"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"birthday": "1988-01-01",
|
18
|
+
"uuid": "75936ec0-2246-0131-74f5-12313d00cdfe"
|
19
|
+
}
|
metadata
ADDED
@@ -0,0 +1,312 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simplewoo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jason Truluck
|
8
|
+
- Carson Wright
|
9
|
+
- Tom Prats
|
10
|
+
- Sam Boyd
|
11
|
+
- Chris Preisinger
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain: []
|
15
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: faraday
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.8.0
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 0.8.0
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: faraday_middleware
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.9.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.9.0
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: hashie
|
47
|
+
requirement: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ~>
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 2.0.0
|
52
|
+
type: :runtime
|
53
|
+
prerelease: false
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 2.0.0
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: multi_json
|
61
|
+
requirement: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.8.0
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.8.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: bundler
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.3'
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '1.3'
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: rake
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 10.1.0
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 10.1.0
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rspec
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ~>
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 2.14.0
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ~>
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 2.14.0
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: pry
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: binding_of_caller
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: webmock
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 1.13.0
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ~>
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 1.13.0
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: simplecov
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ~>
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: 0.7.0
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ~>
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 0.7.0
|
171
|
+
- !ruby/object:Gem::Dependency
|
172
|
+
name: coveralls
|
173
|
+
requirement: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ~>
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: 0.7.0
|
178
|
+
type: :development
|
179
|
+
prerelease: false
|
180
|
+
version_requirements: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ~>
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: 0.7.0
|
185
|
+
- !ruby/object:Gem::Dependency
|
186
|
+
name: yard
|
187
|
+
requirement: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ~>
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: 0.8.0.0
|
192
|
+
type: :development
|
193
|
+
prerelease: false
|
194
|
+
version_requirements: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ~>
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 0.8.0.0
|
199
|
+
- !ruby/object:Gem::Dependency
|
200
|
+
name: redcarpet
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ~>
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 3.0.0
|
206
|
+
type: :development
|
207
|
+
prerelease: false
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - ~>
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 3.0.0
|
213
|
+
description: Woofound Client Gem
|
214
|
+
email:
|
215
|
+
- jason.truluck@gmail.com
|
216
|
+
- carsonnwright@gmail.com
|
217
|
+
- tom@tomprats.com
|
218
|
+
- sam@woofound.com
|
219
|
+
- chris@woofound.com
|
220
|
+
executables: []
|
221
|
+
extensions: []
|
222
|
+
extra_rdoc_files: []
|
223
|
+
files:
|
224
|
+
- .gitignore
|
225
|
+
- Gemfile
|
226
|
+
- LICENSE.txt
|
227
|
+
- README.md
|
228
|
+
- Rakefile
|
229
|
+
- lib/simplewoo.rb
|
230
|
+
- lib/simplewoo/authentication.rb
|
231
|
+
- lib/simplewoo/client.rb
|
232
|
+
- lib/simplewoo/client/entity.rb
|
233
|
+
- lib/simplewoo/client/match.rb
|
234
|
+
- lib/simplewoo/client/personality.rb
|
235
|
+
- lib/simplewoo/client/root.rb
|
236
|
+
- lib/simplewoo/client/slider.rb
|
237
|
+
- lib/simplewoo/client/tag.rb
|
238
|
+
- lib/simplewoo/client/user.rb
|
239
|
+
- lib/simplewoo/configuration.rb
|
240
|
+
- lib/simplewoo/connection.rb
|
241
|
+
- lib/simplewoo/error.rb
|
242
|
+
- lib/simplewoo/request.rb
|
243
|
+
- lib/simplewoo/version.rb
|
244
|
+
- simplewoo.gemspec
|
245
|
+
- spec/simplewoo/client/entity_spec.rb
|
246
|
+
- spec/simplewoo/client/match_spec.rb
|
247
|
+
- spec/simplewoo/client/personality_spec.rb
|
248
|
+
- spec/simplewoo/client/root_spec.rb
|
249
|
+
- spec/simplewoo/client/slider_spec.rb
|
250
|
+
- spec/simplewoo/client/tag_spec.rb
|
251
|
+
- spec/simplewoo/client/user_spec.rb
|
252
|
+
- spec/simplewoo/error_spec.rb
|
253
|
+
- spec/spec_helper.rb
|
254
|
+
- spec/support/mocks/bad_app_secret.json
|
255
|
+
- spec/support/mocks/empty.json
|
256
|
+
- spec/support/mocks/entities.json
|
257
|
+
- spec/support/mocks/entity.json
|
258
|
+
- spec/support/mocks/match_results.json
|
259
|
+
- spec/support/mocks/me.json
|
260
|
+
- spec/support/mocks/root.json
|
261
|
+
- spec/support/mocks/slider.json
|
262
|
+
- spec/support/mocks/sliders.json
|
263
|
+
- spec/support/mocks/tag.json
|
264
|
+
- spec/support/mocks/updated_user.json
|
265
|
+
- spec/support/mocks/user.json
|
266
|
+
homepage: ''
|
267
|
+
licenses:
|
268
|
+
- MIT
|
269
|
+
metadata: {}
|
270
|
+
post_install_message:
|
271
|
+
rdoc_options: []
|
272
|
+
require_paths:
|
273
|
+
- lib
|
274
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - '>='
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
+
requirements:
|
281
|
+
- - '>='
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: '0'
|
284
|
+
requirements: []
|
285
|
+
rubyforge_project:
|
286
|
+
rubygems_version: 2.1.10
|
287
|
+
signing_key:
|
288
|
+
specification_version: 4
|
289
|
+
summary: Woofound Client Gem
|
290
|
+
test_files:
|
291
|
+
- spec/simplewoo/client/entity_spec.rb
|
292
|
+
- spec/simplewoo/client/match_spec.rb
|
293
|
+
- spec/simplewoo/client/personality_spec.rb
|
294
|
+
- spec/simplewoo/client/root_spec.rb
|
295
|
+
- spec/simplewoo/client/slider_spec.rb
|
296
|
+
- spec/simplewoo/client/tag_spec.rb
|
297
|
+
- spec/simplewoo/client/user_spec.rb
|
298
|
+
- spec/simplewoo/error_spec.rb
|
299
|
+
- spec/spec_helper.rb
|
300
|
+
- spec/support/mocks/bad_app_secret.json
|
301
|
+
- spec/support/mocks/empty.json
|
302
|
+
- spec/support/mocks/entities.json
|
303
|
+
- spec/support/mocks/entity.json
|
304
|
+
- spec/support/mocks/match_results.json
|
305
|
+
- spec/support/mocks/me.json
|
306
|
+
- spec/support/mocks/root.json
|
307
|
+
- spec/support/mocks/slider.json
|
308
|
+
- spec/support/mocks/sliders.json
|
309
|
+
- spec/support/mocks/tag.json
|
310
|
+
- spec/support/mocks/updated_user.json
|
311
|
+
- spec/support/mocks/user.json
|
312
|
+
has_rdoc:
|