kanbantastic 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/.gitignore +3 -0
  2. data/.rvmrc +1 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +42 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.rdoc +0 -0
  7. data/Rakefile +9 -0
  8. data/kanbantastic.gemspec +35 -0
  9. data/lib/kanbantastic.rb +8 -0
  10. data/lib/kanbantastic/base.rb +140 -0
  11. data/lib/kanbantastic/column.rb +45 -0
  12. data/lib/kanbantastic/config.rb +15 -0
  13. data/lib/kanbantastic/task.rb +130 -0
  14. data/lib/kanbantastic/user.rb +15 -0
  15. data/lib/kanbantastic/version.rb +3 -0
  16. data/spec/cassettes/base/get.yml +166 -0
  17. data/spec/cassettes/base/post.yml +164 -0
  18. data/spec/cassettes/base/put.yml +154 -0
  19. data/spec/cassettes/base/rectify_time.yml +30 -0
  20. data/spec/cassettes/cassette2.yml +63 -0
  21. data/spec/cassettes/cassette3.yml +63 -0
  22. data/spec/cassettes/cassette6.yml +123 -0
  23. data/spec/cassettes/task/all.yml +123 -0
  24. data/spec/cassettes/task/archive1.yml +557 -0
  25. data/spec/cassettes/task/archive2.yml +371 -0
  26. data/spec/cassettes/task/archived1.yml +185 -0
  27. data/spec/cassettes/task/archived2.yml +619 -0
  28. data/spec/cassettes/task/create.yml +123 -0
  29. data/spec/cassettes/task/find.yml +125 -0
  30. data/spec/cassettes/task/move_to_first_column.yml +722 -0
  31. data/spec/cassettes/task/move_to_last_column.yml +846 -0
  32. data/spec/cassettes/task/move_to_next_column.yml +350 -0
  33. data/spec/cassettes/task/move_to_previous_column.yml +412 -0
  34. data/spec/cassettes/task/move_to_second_column.yml +722 -0
  35. data/spec/cassettes/task/owner.yml +185 -0
  36. data/spec/cassettes/task/update.yml +185 -0
  37. data/spec/cassettes/task/update_column_id.yml +247 -0
  38. data/spec/cassettes/workspaces_with_projects.yml +34 -0
  39. data/spec/kanbantastic/base_spec.rb +179 -0
  40. data/spec/kanbantastic/column_spec.rb +83 -0
  41. data/spec/kanbantastic/config_spec.rb +12 -0
  42. data/spec/kanbantastic/kanbanery_spec.rb +16 -0
  43. data/spec/kanbantastic/task_spec.rb +380 -0
  44. data/spec/spec_helper.rb +22 -0
  45. metadata +194 -0
@@ -0,0 +1,185 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/users.json
6
+ body:
7
+ headers:
8
+ x-kanbanery-apitoken:
9
+ - secret
10
+ response: !ruby/struct:VCR::Response
11
+ status: !ruby/struct:VCR::ResponseStatus
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ server:
16
+ - nginx/0.8.53
17
+ date:
18
+ - <%= Time.now.utc %>
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ status:
24
+ - 200 OK
25
+ etag:
26
+ - "\"138b53eb58c2e2ee3a1e1c35558e63fb\""
27
+ cache-control:
28
+ - max-age=0, private, must-revalidate
29
+ x-ua-compatible:
30
+ - IE=Edge,chrome=1
31
+ x-runtime:
32
+ - "0.208359"
33
+ body: "[{\"id\":1966,\"email\":\"hugh.hofmeister@ennova.com.au\",\"first_name\":\"Hugh\",\"last_name\":\"Hofmeister\",\"gravatar_url\":\"https://secure.gravatar.com/avatar/408219f64c23f8ad9085e57fe5fc95e9\",\"_obsolete\":false,\"type\":\"User\"},{\"id\":2607,\"email\":\"jagdeep.singh@ennova.com.au\",\"first_name\":null,\"last_name\":null,\"gravatar_url\":\"https://secure.gravatar.com/avatar/ed2612877ca2f78b8000f38ce4419208\",\"_obsolete\":false,\"type\":\"User\"},{\"id\":2608,\"email\":\"cbf4.downer@envisionapp.com\",\"first_name\":null,\"last_name\":null,\"gravatar_url\":\"https://secure.gravatar.com/avatar/b7b1b1092cbedab00859f1643a6ca719\",\"_obsolete\":false,\"type\":\"User\"},{\"id\":2862,\"email\":\"rostyk.kudlak@gmail.com\",\"first_name\":null,\"last_name\":null,\"gravatar_url\":\"https://secure.gravatar.com/avatar/e165ef848465058fae37de8070844021\",\"_obsolete\":false,\"type\":\"User\"}]"
34
+ http_version: "1.1"
35
+ - !ruby/struct:VCR::HTTPInteraction
36
+ request: !ruby/struct:VCR::Request
37
+ method: :head
38
+ uri: https://kanbanery.com:443/api/v1/test.json
39
+ body:
40
+ headers:
41
+ x-kanbanery-apitoken:
42
+ - secret
43
+ response: !ruby/struct:VCR::Response
44
+ status: !ruby/struct:VCR::ResponseStatus
45
+ code: 404
46
+ message: Not Found
47
+ headers:
48
+ server:
49
+ - nginx/0.8.53
50
+ date:
51
+ - <%= Time.now.utc %>
52
+ content-type:
53
+ - text/html; charset=utf-8
54
+ status:
55
+ - 404 Not Found
56
+ cache-control:
57
+ - no-cache
58
+ x-ua-compatible:
59
+ - IE=Edge,chrome=1
60
+ x-runtime:
61
+ - "0.006124"
62
+ body:
63
+ http_version: "1.1"
64
+ - !ruby/struct:VCR::HTTPInteraction
65
+ request: !ruby/struct:VCR::Request
66
+ method: :post
67
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/tasks.json
68
+ body: task[title]=Test%20Task&task[task_type_name]=Work%20Package&task[owner_id]=1966
69
+ headers:
70
+ x-kanbanery-apitoken:
71
+ - secret
72
+ response: !ruby/struct:VCR::Response
73
+ status: !ruby/struct:VCR::ResponseStatus
74
+ code: 201
75
+ message: Created
76
+ headers:
77
+ server:
78
+ - nginx/0.8.53
79
+ date:
80
+ - <%= Time.now.utc %>
81
+ content-type:
82
+ - application/json; charset=utf-8
83
+ transfer-encoding:
84
+ - chunked
85
+ status:
86
+ - 201 Created
87
+ cache-control:
88
+ - no-cache
89
+ x-ua-compatible:
90
+ - IE=Edge,chrome=1
91
+ x-runtime:
92
+ - "0.601216"
93
+ body: "{\"id\":38718,\"created_at\":\"2011-03-10T19:10:09+00:00\",\"updated_at\":\"2011-03-10T19:10:09+00:00\",\"title\":\"Test Task\",\"description\":null,\"task_type_id\":15592,\"estimate_id\":null,\"column_id\":15090,\"creator_id\":2608,\"owner_id\":1966,\"position\":94,\"priority\":null,\"ready_to_pull\":false,\"moved_at\":null,\"deadline\":null,\"blocked\":false,\"type\":\"Task\"}"
94
+ http_version: "1.1"
95
+ - !ruby/struct:VCR::HTTPInteraction
96
+ request: !ruby/struct:VCR::Request
97
+ method: :head
98
+ uri: https://kanbanery.com:443/api/v1/test.json
99
+ body:
100
+ headers:
101
+ x-kanbanery-apitoken:
102
+ - secret
103
+ response: !ruby/struct:VCR::Response
104
+ status: !ruby/struct:VCR::ResponseStatus
105
+ code: 404
106
+ message: Not Found
107
+ headers:
108
+ server:
109
+ - nginx/0.8.53
110
+ date:
111
+ - <%= Time.now.utc %>
112
+ content-type:
113
+ - text/html; charset=utf-8
114
+ status:
115
+ - 404 Not Found
116
+ cache-control:
117
+ - no-cache
118
+ x-ua-compatible:
119
+ - IE=Edge,chrome=1
120
+ x-runtime:
121
+ - "0.006582"
122
+ body:
123
+ http_version: "1.1"
124
+ - !ruby/struct:VCR::HTTPInteraction
125
+ request: !ruby/struct:VCR::Request
126
+ method: :get
127
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/users.json
128
+ body:
129
+ headers:
130
+ x-kanbanery-apitoken:
131
+ - secret
132
+ response: !ruby/struct:VCR::Response
133
+ status: !ruby/struct:VCR::ResponseStatus
134
+ code: 200
135
+ message: OK
136
+ headers:
137
+ server:
138
+ - nginx/0.8.53
139
+ date:
140
+ - <%= Time.now.utc %>
141
+ content-type:
142
+ - application/json; charset=utf-8
143
+ transfer-encoding:
144
+ - chunked
145
+ status:
146
+ - 200 OK
147
+ etag:
148
+ - "\"138b53eb58c2e2ee3a1e1c35558e63fb\""
149
+ cache-control:
150
+ - max-age=0, private, must-revalidate
151
+ x-ua-compatible:
152
+ - IE=Edge,chrome=1
153
+ x-runtime:
154
+ - "0.236472"
155
+ body: "[{\"id\":1966,\"email\":\"hugh.hofmeister@ennova.com.au\",\"first_name\":\"Hugh\",\"last_name\":\"Hofmeister\",\"gravatar_url\":\"https://secure.gravatar.com/avatar/408219f64c23f8ad9085e57fe5fc95e9\",\"_obsolete\":false,\"type\":\"User\"},{\"id\":2607,\"email\":\"jagdeep.singh@ennova.com.au\",\"first_name\":null,\"last_name\":null,\"gravatar_url\":\"https://secure.gravatar.com/avatar/ed2612877ca2f78b8000f38ce4419208\",\"_obsolete\":false,\"type\":\"User\"},{\"id\":2608,\"email\":\"cbf4.downer@envisionapp.com\",\"first_name\":null,\"last_name\":null,\"gravatar_url\":\"https://secure.gravatar.com/avatar/b7b1b1092cbedab00859f1643a6ca719\",\"_obsolete\":false,\"type\":\"User\"},{\"id\":2862,\"email\":\"rostyk.kudlak@gmail.com\",\"first_name\":null,\"last_name\":null,\"gravatar_url\":\"https://secure.gravatar.com/avatar/e165ef848465058fae37de8070844021\",\"_obsolete\":false,\"type\":\"User\"}]"
156
+ http_version: "1.1"
157
+ - !ruby/struct:VCR::HTTPInteraction
158
+ request: !ruby/struct:VCR::Request
159
+ method: :head
160
+ uri: https://kanbanery.com:443/api/v1/test.json
161
+ body:
162
+ headers:
163
+ x-kanbanery-apitoken:
164
+ - secret
165
+ response: !ruby/struct:VCR::Response
166
+ status: !ruby/struct:VCR::ResponseStatus
167
+ code: 404
168
+ message: Not Found
169
+ headers:
170
+ server:
171
+ - nginx/0.8.53
172
+ date:
173
+ - <%= Time.now.utc %>
174
+ content-type:
175
+ - text/html; charset=utf-8
176
+ status:
177
+ - 404 Not Found
178
+ cache-control:
179
+ - no-cache
180
+ x-ua-compatible:
181
+ - IE=Edge,chrome=1
182
+ x-runtime:
183
+ - "0.006811"
184
+ body:
185
+ http_version: "1.1"
@@ -0,0 +1,185 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/tasks.json
6
+ body: task[title]=Test%20Task&task[task_type_name]=Work%20Package
7
+ headers:
8
+ x-kanbanery-apitoken:
9
+ - secret
10
+ response: !ruby/struct:VCR::Response
11
+ status: !ruby/struct:VCR::ResponseStatus
12
+ code: 201
13
+ message: Created
14
+ headers:
15
+ server:
16
+ - nginx/0.8.53
17
+ date:
18
+ - <%= Time.now.utc %>
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ status:
24
+ - 201 Created
25
+ cache-control:
26
+ - no-cache
27
+ x-ua-compatible:
28
+ - IE=Edge,chrome=1
29
+ x-runtime:
30
+ - "0.375618"
31
+ body: "{\"id\":38708,\"created_at\":\"2011-03-10T19:02:20+00:00\",\"updated_at\":\"2011-03-10T19:02:20+00:00\",\"title\":\"Test Task\",\"description\":null,\"task_type_id\":15592,\"estimate_id\":null,\"column_id\":15090,\"creator_id\":2608,\"owner_id\":null,\"position\":89,\"priority\":null,\"ready_to_pull\":false,\"moved_at\":null,\"deadline\":null,\"blocked\":false,\"type\":\"Task\"}"
32
+ http_version: "1.1"
33
+ - !ruby/struct:VCR::HTTPInteraction
34
+ request: !ruby/struct:VCR::Request
35
+ method: :head
36
+ uri: https://kanbanery.com:443/api/v1/test.json
37
+ body:
38
+ headers:
39
+ x-kanbanery-apitoken:
40
+ - secret
41
+ response: !ruby/struct:VCR::Response
42
+ status: !ruby/struct:VCR::ResponseStatus
43
+ code: 404
44
+ message: Not Found
45
+ headers:
46
+ server:
47
+ - nginx/0.8.53
48
+ date:
49
+ - <%= Time.now.utc %>
50
+ content-type:
51
+ - text/html; charset=utf-8
52
+ status:
53
+ - 404 Not Found
54
+ cache-control:
55
+ - no-cache
56
+ x-ua-compatible:
57
+ - IE=Edge,chrome=1
58
+ x-runtime:
59
+ - "0.007011"
60
+ body:
61
+ http_version: "1.1"
62
+ - !ruby/struct:VCR::HTTPInteraction
63
+ request: !ruby/struct:VCR::Request
64
+ method: :put
65
+ uri: https://envision.kanbanery.com:443/api/v1/tasks/38708.json
66
+ body: task[title]=New%20title&task[owner_id]=
67
+ headers:
68
+ x-kanbanery-apitoken:
69
+ - secret
70
+ response: !ruby/struct:VCR::Response
71
+ status: !ruby/struct:VCR::ResponseStatus
72
+ code: 200
73
+ message: OK
74
+ headers:
75
+ server:
76
+ - nginx/0.8.53
77
+ date:
78
+ - <%= Time.now.utc %>
79
+ content-type:
80
+ - application/json; charset=utf-8
81
+ transfer-encoding:
82
+ - chunked
83
+ status:
84
+ - 200 OK
85
+ etag:
86
+ - "\"321869e3cf77e30d485edca7b8a0ef7c\""
87
+ cache-control:
88
+ - max-age=0, private, must-revalidate
89
+ x-ua-compatible:
90
+ - IE=Edge,chrome=1
91
+ x-runtime:
92
+ - "0.179493"
93
+ body: "{\"id\":38708,\"created_at\":\"2011-03-10T19:02:20+00:00\",\"updated_at\":\"2011-03-10T19:02:29+00:00\",\"title\":\"New title\",\"description\":null,\"task_type_id\":15592,\"estimate_id\":null,\"column_id\":15090,\"creator_id\":2608,\"owner_id\":null,\"position\":89,\"priority\":0,\"ready_to_pull\":false,\"moved_at\":null,\"deadline\":null,\"blocked\":false,\"type\":\"Task\"}"
94
+ http_version: "1.1"
95
+ - !ruby/struct:VCR::HTTPInteraction
96
+ request: !ruby/struct:VCR::Request
97
+ method: :head
98
+ uri: https://kanbanery.com:443/api/v1/test.json
99
+ body:
100
+ headers:
101
+ x-kanbanery-apitoken:
102
+ - secret
103
+ response: !ruby/struct:VCR::Response
104
+ status: !ruby/struct:VCR::ResponseStatus
105
+ code: 404
106
+ message: Not Found
107
+ headers:
108
+ server:
109
+ - nginx/0.8.53
110
+ date:
111
+ - <%= Time.now.utc %>
112
+ content-type:
113
+ - text/html; charset=utf-8
114
+ status:
115
+ - 404 Not Found
116
+ cache-control:
117
+ - no-cache
118
+ x-ua-compatible:
119
+ - IE=Edge,chrome=1
120
+ x-runtime:
121
+ - "0.006719"
122
+ body:
123
+ http_version: "1.1"
124
+ - !ruby/struct:VCR::HTTPInteraction
125
+ request: !ruby/struct:VCR::Request
126
+ method: :get
127
+ uri: https://envision.kanbanery.com:443/api/v1/tasks/38708.json
128
+ body:
129
+ headers:
130
+ x-kanbanery-apitoken:
131
+ - secret
132
+ response: !ruby/struct:VCR::Response
133
+ status: !ruby/struct:VCR::ResponseStatus
134
+ code: 200
135
+ message: OK
136
+ headers:
137
+ server:
138
+ - nginx/0.8.53
139
+ date:
140
+ - <%= Time.now.utc %>
141
+ content-type:
142
+ - application/json; charset=utf-8
143
+ transfer-encoding:
144
+ - chunked
145
+ status:
146
+ - 200 OK
147
+ etag:
148
+ - "\"321869e3cf77e30d485edca7b8a0ef7c\""
149
+ cache-control:
150
+ - max-age=0, private, must-revalidate
151
+ x-ua-compatible:
152
+ - IE=Edge,chrome=1
153
+ x-runtime:
154
+ - "0.044225"
155
+ body: "{\"id\":38708,\"created_at\":\"2011-03-10T19:02:20+00:00\",\"updated_at\":\"2011-03-10T19:02:29+00:00\",\"title\":\"New title\",\"description\":null,\"task_type_id\":15592,\"estimate_id\":null,\"column_id\":15090,\"creator_id\":2608,\"owner_id\":null,\"position\":89,\"priority\":0,\"ready_to_pull\":false,\"moved_at\":null,\"deadline\":null,\"blocked\":false,\"type\":\"Task\"}"
156
+ http_version: "1.1"
157
+ - !ruby/struct:VCR::HTTPInteraction
158
+ request: !ruby/struct:VCR::Request
159
+ method: :head
160
+ uri: https://kanbanery.com:443/api/v1/test.json
161
+ body:
162
+ headers:
163
+ x-kanbanery-apitoken:
164
+ - secret
165
+ response: !ruby/struct:VCR::Response
166
+ status: !ruby/struct:VCR::ResponseStatus
167
+ code: 404
168
+ message: Not Found
169
+ headers:
170
+ server:
171
+ - nginx/0.8.53
172
+ date:
173
+ - <%= Time.now.utc %>
174
+ content-type:
175
+ - text/html; charset=utf-8
176
+ status:
177
+ - 404 Not Found
178
+ cache-control:
179
+ - no-cache
180
+ x-ua-compatible:
181
+ - IE=Edge,chrome=1
182
+ x-runtime:
183
+ - "0.006471"
184
+ body:
185
+ http_version: "1.1"
@@ -0,0 +1,247 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/tasks.json
6
+ body: task[title]=Test%20Task%20123&task[task_type_name]=Work%20Package
7
+ headers:
8
+ x-kanbanery-apitoken:
9
+ - secret
10
+ response: !ruby/struct:VCR::Response
11
+ status: !ruby/struct:VCR::ResponseStatus
12
+ code: 201
13
+ message: Created
14
+ headers:
15
+ server:
16
+ - nginx/0.8.53
17
+ date:
18
+ - <%= Time.now.utc %>
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ transfer-encoding:
22
+ - chunked
23
+ status:
24
+ - 201 Created
25
+ cache-control:
26
+ - no-cache
27
+ x-ua-compatible:
28
+ - IE=Edge,chrome=1
29
+ x-runtime:
30
+ - "0.290539"
31
+ body: "{\"id\":38723,\"created_at\":\"2011-03-10T19:12:34+00:00\",\"updated_at\":\"2011-03-10T19:12:34+00:00\",\"title\":\"Test Task 123\",\"description\":null,\"task_type_id\":15592,\"estimate_id\":null,\"column_id\":15090,\"creator_id\":2608,\"owner_id\":null,\"position\":98,\"priority\":null,\"ready_to_pull\":false,\"moved_at\":null,\"deadline\":null,\"blocked\":false,\"type\":\"Task\"}"
32
+ http_version: "1.1"
33
+ - !ruby/struct:VCR::HTTPInteraction
34
+ request: !ruby/struct:VCR::Request
35
+ method: :head
36
+ uri: https://kanbanery.com:443/api/v1/test.json
37
+ body:
38
+ headers:
39
+ x-kanbanery-apitoken:
40
+ - secret
41
+ response: !ruby/struct:VCR::Response
42
+ status: !ruby/struct:VCR::ResponseStatus
43
+ code: 404
44
+ message: Not Found
45
+ headers:
46
+ server:
47
+ - nginx/0.8.53
48
+ date:
49
+ - <%= Time.now.utc %>
50
+ content-type:
51
+ - text/html; charset=utf-8
52
+ status:
53
+ - 404 Not Found
54
+ cache-control:
55
+ - no-cache
56
+ x-ua-compatible:
57
+ - IE=Edge,chrome=1
58
+ x-runtime:
59
+ - "0.005299"
60
+ body:
61
+ http_version: "1.1"
62
+ - !ruby/struct:VCR::HTTPInteraction
63
+ request: !ruby/struct:VCR::Request
64
+ method: :get
65
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/columns.json
66
+ body:
67
+ headers:
68
+ x-kanbanery-apitoken:
69
+ - secret
70
+ response: !ruby/struct:VCR::Response
71
+ status: !ruby/struct:VCR::ResponseStatus
72
+ code: 200
73
+ message: OK
74
+ headers:
75
+ server:
76
+ - nginx/0.8.53
77
+ date:
78
+ - <%= Time.now.utc %>
79
+ content-type:
80
+ - application/json; charset=utf-8
81
+ transfer-encoding:
82
+ - chunked
83
+ status:
84
+ - 200 OK
85
+ etag:
86
+ - "\"d1121ce95abe358a3d246bd6bd39d641\""
87
+ cache-control:
88
+ - max-age=0, private, must-revalidate
89
+ x-ua-compatible:
90
+ - IE=Edge,chrome=1
91
+ x-runtime:
92
+ - "0.053162"
93
+ body: "[{\"id\":15090,\"created_at\":\"2011-01-18T23:54:09+00:00\",\"updated_at\":\"2011-01-18T23:58:04+00:00\",\"type\":\"Column\",\"project_id\":2817,\"name\":\"Ready\",\"capacity\":null,\"fixed\":true,\"position\":1},{\"id\":15092,\"created_at\":\"2011-01-18T23:57:54+00:00\",\"updated_at\":\"2011-01-18T23:57:54+00:00\",\"type\":\"Column\",\"project_id\":2817,\"name\":\"WIP\",\"capacity\":null,\"fixed\":false,\"position\":2},{\"id\":15091,\"created_at\":\"2011-01-18T23:54:09+00:00\",\"updated_at\":\"2011-01-18T23:54:09+00:00\",\"type\":\"Column\",\"project_id\":2817,\"name\":\"Done\",\"capacity\":null,\"fixed\":true,\"position\":3}]"
94
+ http_version: "1.1"
95
+ - !ruby/struct:VCR::HTTPInteraction
96
+ request: !ruby/struct:VCR::Request
97
+ method: :head
98
+ uri: https://kanbanery.com:443/api/v1/test.json
99
+ body:
100
+ headers:
101
+ x-kanbanery-apitoken:
102
+ - secret
103
+ response: !ruby/struct:VCR::Response
104
+ status: !ruby/struct:VCR::ResponseStatus
105
+ code: 404
106
+ message: Not Found
107
+ headers:
108
+ server:
109
+ - nginx/0.8.53
110
+ date:
111
+ - <%= Time.now.utc %>
112
+ content-type:
113
+ - text/html; charset=utf-8
114
+ status:
115
+ - 404 Not Found
116
+ cache-control:
117
+ - no-cache
118
+ x-ua-compatible:
119
+ - IE=Edge,chrome=1
120
+ x-runtime:
121
+ - "0.006188"
122
+ body:
123
+ http_version: "1.1"
124
+ - !ruby/struct:VCR::HTTPInteraction
125
+ request: !ruby/struct:VCR::Request
126
+ method: :put
127
+ uri: https://envision.kanbanery.com:443/api/v1/tasks/38723.json
128
+ body: task[column_id]=15091&task[position]=&task[owner_id]=
129
+ headers:
130
+ x-kanbanery-apitoken:
131
+ - secret
132
+ response: !ruby/struct:VCR::Response
133
+ status: !ruby/struct:VCR::ResponseStatus
134
+ code: 200
135
+ message: OK
136
+ headers:
137
+ server:
138
+ - nginx/0.8.53
139
+ date:
140
+ - <%= Time.now.utc %>
141
+ content-type:
142
+ - application/json; charset=utf-8
143
+ transfer-encoding:
144
+ - chunked
145
+ status:
146
+ - 200 OK
147
+ etag:
148
+ - "\"034928014bc89bd93eef833009e384bd\""
149
+ cache-control:
150
+ - max-age=0, private, must-revalidate
151
+ x-ua-compatible:
152
+ - IE=Edge,chrome=1
153
+ x-runtime:
154
+ - "0.627106"
155
+ body: "{\"id\":38723,\"created_at\":\"2011-03-10T19:12:34+00:00\",\"updated_at\":\"2011-03-10T19:12:48+00:00\",\"title\":\"Test Task 123\",\"description\":null,\"task_type_id\":15592,\"estimate_id\":null,\"column_id\":15091,\"creator_id\":2608,\"owner_id\":2608,\"position\":29,\"priority\":0,\"ready_to_pull\":false,\"moved_at\":\"2011-03-10T19:12:48+00:00\",\"deadline\":null,\"blocked\":false,\"type\":\"Task\"}"
156
+ http_version: "1.1"
157
+ - !ruby/struct:VCR::HTTPInteraction
158
+ request: !ruby/struct:VCR::Request
159
+ method: :head
160
+ uri: https://kanbanery.com:443/api/v1/test.json
161
+ body:
162
+ headers:
163
+ x-kanbanery-apitoken:
164
+ - secret
165
+ response: !ruby/struct:VCR::Response
166
+ status: !ruby/struct:VCR::ResponseStatus
167
+ code: 404
168
+ message: Not Found
169
+ headers:
170
+ server:
171
+ - nginx/0.8.53
172
+ date:
173
+ - <%= Time.now.utc %>
174
+ content-type:
175
+ - text/html; charset=utf-8
176
+ status:
177
+ - 404 Not Found
178
+ cache-control:
179
+ - no-cache
180
+ x-ua-compatible:
181
+ - IE=Edge,chrome=1
182
+ x-runtime:
183
+ - "0.006407"
184
+ body:
185
+ http_version: "1.1"
186
+ - !ruby/struct:VCR::HTTPInteraction
187
+ request: !ruby/struct:VCR::Request
188
+ method: :get
189
+ uri: https://envision.kanbanery.com:443/api/v1/projects/2817/columns.json
190
+ body:
191
+ headers:
192
+ x-kanbanery-apitoken:
193
+ - secret
194
+ response: !ruby/struct:VCR::Response
195
+ status: !ruby/struct:VCR::ResponseStatus
196
+ code: 200
197
+ message: OK
198
+ headers:
199
+ server:
200
+ - nginx/0.8.53
201
+ date:
202
+ - <%= Time.now.utc %>
203
+ content-type:
204
+ - application/json; charset=utf-8
205
+ transfer-encoding:
206
+ - chunked
207
+ status:
208
+ - 200 OK
209
+ etag:
210
+ - "\"d1121ce95abe358a3d246bd6bd39d641\""
211
+ cache-control:
212
+ - max-age=0, private, must-revalidate
213
+ x-ua-compatible:
214
+ - IE=Edge,chrome=1
215
+ x-runtime:
216
+ - "0.045674"
217
+ body: "[{\"id\":15090,\"created_at\":\"2011-01-18T23:54:09+00:00\",\"updated_at\":\"2011-01-18T23:58:04+00:00\",\"type\":\"Column\",\"project_id\":2817,\"name\":\"Ready\",\"capacity\":null,\"fixed\":true,\"position\":1},{\"id\":15092,\"created_at\":\"2011-01-18T23:57:54+00:00\",\"updated_at\":\"2011-01-18T23:57:54+00:00\",\"type\":\"Column\",\"project_id\":2817,\"name\":\"WIP\",\"capacity\":null,\"fixed\":false,\"position\":2},{\"id\":15091,\"created_at\":\"2011-01-18T23:54:09+00:00\",\"updated_at\":\"2011-01-18T23:54:09+00:00\",\"type\":\"Column\",\"project_id\":2817,\"name\":\"Done\",\"capacity\":null,\"fixed\":true,\"position\":3}]"
218
+ http_version: "1.1"
219
+ - !ruby/struct:VCR::HTTPInteraction
220
+ request: !ruby/struct:VCR::Request
221
+ method: :head
222
+ uri: https://kanbanery.com:443/api/v1/test.json
223
+ body:
224
+ headers:
225
+ x-kanbanery-apitoken:
226
+ - secret
227
+ response: !ruby/struct:VCR::Response
228
+ status: !ruby/struct:VCR::ResponseStatus
229
+ code: 404
230
+ message: Not Found
231
+ headers:
232
+ server:
233
+ - nginx/0.8.53
234
+ date:
235
+ - <%= Time.now.utc %>
236
+ content-type:
237
+ - text/html; charset=utf-8
238
+ status:
239
+ - 404 Not Found
240
+ cache-control:
241
+ - no-cache
242
+ x-ua-compatible:
243
+ - IE=Edge,chrome=1
244
+ x-runtime:
245
+ - "0.005255"
246
+ body:
247
+ http_version: "1.1"