poptart 0.0.6 → 0.0.7

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.
@@ -1068,42 +1068,41 @@ http_interactions:
1068
1068
  Content-Type:
1069
1069
  - application/json; charset=utf-8
1070
1070
  Etag:
1071
- - '"a8f199bc6caa5fff3d3449c465eabfea"'
1071
+ - '"f8643c8d38f3e576797fed94dfd3fc15"'
1072
1072
  Cache-Control:
1073
1073
  - max-age=0, private, must-revalidate
1074
1074
  X-Request-Id:
1075
- - 7eeafa78-636e-4805-ad42-b5991318b0f9
1075
+ - fe1f3ee8-dee9-4b31-8ed9-a8c7551ea00d
1076
1076
  X-Runtime:
1077
- - '0.006511'
1077
+ - '0.006452'
1078
1078
  Server:
1079
1079
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
1080
1080
  Date:
1081
- - Sat, 20 Sep 2014 14:14:34 GMT
1081
+ - Sun, 21 Sep 2014 20:28:02 GMT
1082
1082
  Content-Length:
1083
- - '272'
1083
+ - '260'
1084
1084
  Connection:
1085
1085
  - Keep-Alive
1086
1086
  body:
1087
1087
  encoding: UTF-8
1088
1088
  string: |-
1089
1089
  {
1090
- "id": 12,
1091
- "service_user_id": "3aa49be2db36a85fe4c6b19e6345c8379836716ee035c972e748c7c71195864c",
1090
+ "service_user_id": "f1ea49729c79e973903b1de97b4f80e28d0bd9260782c96bdc3628f53a132c7d",
1092
1091
  "_links": {
1093
1092
  "self": {
1094
- "href": "http://localhost:3000/api/users/12"
1093
+ "href": "http://localhost:3000/api/users/87"
1095
1094
  }
1096
1095
  },
1097
- "token": "2965f424f516ad23160aecf4bb6c9131c31439a129a976981237b1b0fbd8754b"
1096
+ "token": "e35c7c4e976117deb3662d5e6ead4a399d66340ac62a75e4b30542424b3019f8"
1098
1097
  }
1099
1098
  http_version:
1100
- recorded_at: Sat, 20 Sep 2014 14:14:34 GMT
1099
+ recorded_at: Sun, 21 Sep 2014 20:28:02 GMT
1101
1100
  - request:
1102
1101
  method: post
1103
1102
  uri: http://localhost:3000/api/surveys/?random=true
1104
1103
  body:
1105
1104
  encoding: UTF-8
1106
- string: '{"survey":{"user_id":12}}'
1105
+ string: '{"survey":{"service_user_id":"f1ea49729c79e973903b1de97b4f80e28d0bd9260782c96bdc3628f53a132c7d"}}'
1107
1106
  headers:
1108
1107
  User-Agent:
1109
1108
  - Faraday v0.9.0
@@ -1131,44 +1130,44 @@ http_interactions:
1131
1130
  Content-Type:
1132
1131
  - application/json; charset=utf-8
1133
1132
  Etag:
1134
- - '"8d698a52db0f4c5b310716c034a655e3"'
1133
+ - '"75a51a8eaba89802259be1673587b088"'
1135
1134
  Cache-Control:
1136
1135
  - max-age=0, private, must-revalidate
1137
1136
  X-Request-Id:
1138
- - 48bcc608-571e-488e-85af-ec24f2f6d832
1137
+ - 31f67021-f535-4798-995e-17fa183f3b56
1139
1138
  X-Runtime:
1140
- - '0.039988'
1139
+ - '0.038826'
1141
1140
  Server:
1142
1141
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
1143
1142
  Date:
1144
- - Sat, 20 Sep 2014 14:14:34 GMT
1143
+ - Sun, 21 Sep 2014 20:28:02 GMT
1145
1144
  Content-Length:
1146
- - '4487'
1145
+ - '3682'
1147
1146
  Connection:
1148
1147
  - Keep-Alive
1149
1148
  body:
1150
1149
  encoding: UTF-8
1151
1150
  string: |-
1152
1151
  {
1153
- "id": 12,
1154
- "user_id": 12,
1152
+ "id": 87,
1153
+ "service_user_id": "f1ea49729c79e973903b1de97b4f80e28d0bd9260782c96bdc3628f53a132c7d",
1155
1154
  "_links": {
1156
1155
  "self": {
1157
- "href": "http://localhost:3000/api/surveys/12"
1156
+ "href": "http://localhost:3000/api/surveys/87"
1158
1157
  },
1159
1158
  "survey_questions": {
1160
1159
  "post": {
1161
- "href": "/api/surveys/12/survey_questions"
1160
+ "href": "/api/surveys/87/survey_questions"
1162
1161
  },
1163
1162
  "put": {
1164
- "href": "/api/surveys/12/survey_questions"
1163
+ "href": "/api/surveys/87/survey_questions"
1165
1164
  }
1166
1165
  }
1167
1166
  },
1168
1167
  "completed": false,
1169
1168
  "survey_questions": [
1170
1169
  {
1171
- "id": 30,
1170
+ "id": 275,
1172
1171
  "text": "How do you feel right now?",
1173
1172
  "type": "range",
1174
1173
  "responses": [
@@ -1179,21 +1178,21 @@ http_interactions:
1179
1178
  "freeform": false,
1180
1179
  "_links": {
1181
1180
  "self": {
1182
- "href": "/api/surveys/12/survey_questions/30"
1181
+ "href": "/api/surveys/87/survey_questions/275"
1183
1182
  },
1184
1183
  "post": {
1185
- "href": "http://localhost:3000/api/surveys/12/survey_questions"
1184
+ "href": "http://localhost:3000/api/surveys/87/survey_questions"
1186
1185
  },
1187
1186
  "put": {
1188
- "href": "/api/surveys/12/survey_questions/30"
1187
+ "href": "/api/surveys/87/survey_questions/275"
1189
1188
  },
1190
1189
  "survey": {
1191
- "href": "/api/surveys/12"
1190
+ "href": "/api/surveys/87"
1192
1191
  }
1193
1192
  }
1194
1193
  },
1195
1194
  {
1196
- "id": 31,
1195
+ "id": 276,
1197
1196
  "text": "Where are you?",
1198
1197
  "type": "multiple",
1199
1198
  "responses": [
@@ -1206,149 +1205,105 @@ http_interactions:
1206
1205
  "freeform": true,
1207
1206
  "_links": {
1208
1207
  "self": {
1209
- "href": "/api/surveys/12/survey_questions/31"
1208
+ "href": "/api/surveys/87/survey_questions/276"
1210
1209
  },
1211
1210
  "post": {
1212
- "href": "http://localhost:3000/api/surveys/12/survey_questions"
1211
+ "href": "http://localhost:3000/api/surveys/87/survey_questions"
1213
1212
  },
1214
1213
  "put": {
1215
- "href": "/api/surveys/12/survey_questions/31"
1214
+ "href": "/api/surveys/87/survey_questions/276"
1216
1215
  },
1217
1216
  "survey": {
1218
- "href": "/api/surveys/12"
1217
+ "href": "/api/surveys/87"
1219
1218
  }
1220
1219
  }
1221
1220
  },
1222
1221
  {
1223
- "id": 32,
1224
- "text": "Who are you talking or interacting with?",
1222
+ "id": 277,
1223
+ "text": "On average, how many hours do you work each week?",
1225
1224
  "type": "multiple",
1226
1225
  "responses": [
1227
- "Spouse/partner/significant other",
1228
- "Children",
1229
- "Parents",
1230
- "Other relatives",
1231
- "Friends",
1232
- "Acquaintances",
1233
- "Strangers",
1234
- "Co-workers",
1235
- "Customers/students",
1236
- "Boss",
1237
- "No one"
1238
- ],
1239
- "answer": null,
1240
- "freeform": true,
1241
- "_links": {
1242
- "self": {
1243
- "href": "/api/surveys/12/survey_questions/32"
1244
- },
1245
- "post": {
1246
- "href": "http://localhost:3000/api/surveys/12/survey_questions"
1247
- },
1248
- "put": {
1249
- "href": "/api/surveys/12/survey_questions/32"
1250
- },
1251
- "survey": {
1252
- "href": "/api/surveys/12"
1253
- }
1254
- }
1255
- },
1256
- {
1257
- "id": 33,
1258
- "text": "How many people are you talking or interacting with?",
1259
- "type": "multiple",
1260
- "responses": [
1261
- "0",
1262
- "1",
1263
- "2",
1264
- "3",
1265
- "4",
1266
- "5",
1267
- "6",
1268
- "7",
1269
- "8",
1270
- "9",
1271
- "10",
1272
- "More than 10"
1226
+ "Less than 5",
1227
+ "5-10",
1228
+ "10-20",
1229
+ "20-30",
1230
+ "30-40",
1231
+ "40-50",
1232
+ "50-60",
1233
+ "60-70",
1234
+ "More than 70"
1273
1235
  ],
1274
1236
  "answer": null,
1275
1237
  "freeform": false,
1276
1238
  "_links": {
1277
1239
  "self": {
1278
- "href": "/api/surveys/12/survey_questions/33"
1240
+ "href": "/api/surveys/87/survey_questions/277"
1279
1241
  },
1280
1242
  "post": {
1281
- "href": "http://localhost:3000/api/surveys/12/survey_questions"
1243
+ "href": "http://localhost:3000/api/surveys/87/survey_questions"
1282
1244
  },
1283
1245
  "put": {
1284
- "href": "/api/surveys/12/survey_questions/33"
1246
+ "href": "/api/surveys/87/survey_questions/277"
1285
1247
  },
1286
1248
  "survey": {
1287
- "href": "/api/surveys/12"
1249
+ "href": "/api/surveys/87"
1288
1250
  }
1289
1251
  }
1290
1252
  },
1291
1253
  {
1292
- "id": 34,
1293
- "text": "Imagine you were given $10 to divide between yourself and a stranger to whom you would remain anonymous. How much would you give to the stranger?",
1254
+ "id": 278,
1255
+ "text": "Are you judging or evaluating what you are doing right now (i.e. at the moment just before you were notified?)",
1294
1256
  "type": "multiple",
1295
1257
  "responses": [
1296
- "0",
1297
- "1",
1298
- "2",
1299
- "3",
1300
- "4",
1301
- "5",
1302
- "6",
1303
- "7",
1304
- "8",
1305
- "9",
1306
- "10"
1258
+ "f",
1259
+ "Yes - Negatively",
1260
+ "Yes - Neutrally",
1261
+ "Yes - Positively"
1307
1262
  ],
1308
1263
  "answer": null,
1309
1264
  "freeform": false,
1310
1265
  "_links": {
1311
1266
  "self": {
1312
- "href": "/api/surveys/12/survey_questions/34"
1267
+ "href": "/api/surveys/87/survey_questions/278"
1313
1268
  },
1314
1269
  "post": {
1315
- "href": "http://localhost:3000/api/surveys/12/survey_questions"
1270
+ "href": "http://localhost:3000/api/surveys/87/survey_questions"
1316
1271
  },
1317
1272
  "put": {
1318
- "href": "/api/surveys/12/survey_questions/34"
1273
+ "href": "/api/surveys/87/survey_questions/278"
1319
1274
  },
1320
1275
  "survey": {
1321
- "href": "/api/surveys/12"
1276
+ "href": "/api/surveys/87"
1322
1277
  }
1323
1278
  }
1324
1279
  },
1325
1280
  {
1326
- "id": 35,
1327
- "text": "To what extent do you feel accepted by the person/people you are interacting with?",
1328
- "type": "range",
1281
+ "id": 279,
1282
+ "text": "If you could, and it had no negative consequences, would you jump forward in time 24 hours?",
1283
+ "type": "boolean",
1329
1284
  "responses": [
1330
- "0",
1331
- "10"
1285
+ "t",
1286
+ "f"
1332
1287
  ],
1333
1288
  "answer": null,
1334
1289
  "freeform": false,
1335
1290
  "_links": {
1336
1291
  "self": {
1337
- "href": "/api/surveys/12/survey_questions/35"
1292
+ "href": "/api/surveys/87/survey_questions/279"
1338
1293
  },
1339
1294
  "post": {
1340
- "href": "http://localhost:3000/api/surveys/12/survey_questions"
1295
+ "href": "http://localhost:3000/api/surveys/87/survey_questions"
1341
1296
  },
1342
1297
  "put": {
1343
- "href": "/api/surveys/12/survey_questions/35"
1298
+ "href": "/api/surveys/87/survey_questions/279"
1344
1299
  },
1345
1300
  "survey": {
1346
- "href": "/api/surveys/12"
1301
+ "href": "/api/surveys/87"
1347
1302
  }
1348
1303
  }
1349
1304
  }
1350
1305
  ]
1351
1306
  }
1352
1307
  http_version:
1353
- recorded_at: Sat, 20 Sep 2014 14:14:34 GMT
1308
+ recorded_at: Sun, 21 Sep 2014 20:28:02 GMT
1354
1309
  recorded_with: VCR 2.6.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poptart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austen Ito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-20 00:00:00.000000000 Z
11
+ date: 2014-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport