board-client 0.99.0 → 0.99.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/board-client.gemspec +1 -1
- data/lib/board/client.rb +3 -2
- data/lib/board/client/request.rb +2 -1
- data/lib/board/client/version.rb +1 -1
- data/spec/cassettes/user_does_exist.yml +12 -12
- data/spec/cassettes/user_does_not_exist.yml +15 -15
- data/spec/cassettes/user_email_does_not_exist.yml +17 -319
- data/spec/cassettes/user_exists_with_email.yml +14 -12
- data/spec/cassettes/user_exists_with_id.yml +14 -12
- data/spec/cassettes/user_id_does_not_exist.yml +13 -329
- data/spec/cassettes/user_missing_attributes.yml +13 -13
- data/spec/integration/users/find_spec.rb +9 -27
- metadata +8 -12
- data/spec/cassettes/user_email_md5_does_not_exist.yml +0 -334
- data/spec/cassettes/user_exists_with_email_md5.yml +0 -30
@@ -1,30 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: http://localhost:3000/api/v1/users
|
6
|
-
body: user_credentials=Bdrc3t1LaiWtygbJ4jD6&email_md5=3e67fa7c8045d085e66a51deee26cbc4
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- application/x-www-form-urlencoded
|
10
|
-
response: !ruby/struct:VCR::Response
|
11
|
-
status: !ruby/struct:VCR::ResponseStatus
|
12
|
-
code: 200
|
13
|
-
message: OK
|
14
|
-
headers:
|
15
|
-
x-ua-compatible:
|
16
|
-
- IE=Edge
|
17
|
-
etag:
|
18
|
-
- "\"d301dd5240a5d567aee9288914c0a879\""
|
19
|
-
content-type:
|
20
|
-
- application/json; charset=utf-8
|
21
|
-
date:
|
22
|
-
- Mon, 29 Aug 2011 18:19:09 GMT
|
23
|
-
x-runtime:
|
24
|
-
- "0.770470"
|
25
|
-
cache-control:
|
26
|
-
- max-age=0, private, must-revalidate
|
27
|
-
transfer-encoding:
|
28
|
-
- chunked
|
29
|
-
body: "{\"unsubscribed_at\":null,\"single_access_token\":\"Bdrc3t1LaiWtygbJ4jD6\",\"last_request_at\":\"2011-08-29T18:19:10Z\",\"hidden_at\":null,\"created_at\":\"2011-08-29T18:18:18Z\",\"agreement_acknowledged_at\":null,\"searchable\":false,\"crypted_password\":\"0c2e2255b213959ab77da74dd2a427681990dafefb999048f4fcc5246fd8655216b5ea8dec50d36f47560562d341c0b2fd5df84a1b951be5d9d75fffb07e4974\",\"updated_at\":\"2011-08-29T18:19:10Z\",\"secret_id\":\"8997cf28a075ac67ac4372eda8fefc39\",\"perishable_token\":\"amvA9462LymZ0BKNkyGY\",\"agreement_initials\":null,\"id\":1,\"email_md5\":\"3e67fa7c8045d085e66a51deee26cbc4\",\"current_login_ip\":null,\"password_salt\":\"BUuHfUgauBblH5J5aghi\",\"email_invalid_at\":null,\"current_login_at\":null,\"primary_role_id\":3,\"phone\":null,\"persistence_token\":\"ea6022d6e567f73727b2e80a0cae54b97c21031ee8232fa91622553f537ef765a47a8262fc1f1fb3ee15ed7b7d464a745bf93b09ae9bd1832404fa9acd222a5c\",\"login_count\":0,\"last_name\":\"McStafforson\",\"last_login_ip\":null,\"last_login_at\":null,\"first_name\":\"Staff\",\"email\":\"staff@recruitmilitary.com\",\"confirmed_at\":\"2011-08-29T18:18:18Z\"}"
|
30
|
-
http_version: "1.1"
|