formhub_ruby 0.0.8.3 → 0.0.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ed4e0a8cf574e5c2e42734bdd57e80f5a03573e
4
- data.tar.gz: f20ae7fbe33be969f8921618a29bb3b27cc2526c
3
+ metadata.gz: 822e9009b83fc8ee5397db2228e38c260d33eef9
4
+ data.tar.gz: 951b49a237141c5c565a1089237a291de02d4054
5
5
  SHA512:
6
- metadata.gz: 2c513a4b05aa9ee692517b77577f88b8169399a9249543f8fce9dd4ccfd08601e34693340707533d6cb7415e1bf772092e7d23def05850922feae826627134f7
7
- data.tar.gz: 73e6cb24035a9d3a534f8437b5e78dd68194907c4511607e3d9922b4ce17d58db117761cc24e5b7a7221dca01cd96bb0c8e25c0de1377b33e55df7029699beba
6
+ metadata.gz: e3eecf6f0896faa6bf99cc1de432b9599c00f87a2c945050025729338672ccea50a54b1ce14d610318050b3adaf49541357bbf4fe4e13b8868a4a8d528c5bc18
7
+ data.tar.gz: 9140c1de9a92f0cff19e6493044019880e5889acc9fe48ab7d7260e5d9f0673602f12b2bc6fc127a3f44b77526a40d6c41718505c88d199f33bb4a0f6ada59e8
@@ -41,11 +41,12 @@ module FormhubRuby
41
41
  uri = URI(custom_uri)
42
42
  req = Net::HTTP::Get.new(uri)
43
43
  req.basic_auth @username, @password
44
- response = Net::HTTP.start(uri.hostname, uri.port) do |http|
45
- http.request(req)
46
- end
47
-
48
44
  begin
45
+ response = Net::HTTP.start(uri.hostname, uri.port) do |http|
46
+ http.request(req)
47
+ end
48
+
49
+
49
50
  returned_data = JSON.parse(response.body)
50
51
  @data = if @cast_integers
51
52
  returned_data.map do |row|
@@ -1,3 +1,3 @@
1
1
  module FormhubRuby
2
- VERSION = '0.0.8.3'
2
+ VERSION = '0.0.8.4'
3
3
  end
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:16:40 GMT
24
+ - Mon, 16 Jun 2014 13:01:19 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -56,5 +56,5 @@ http_interactions:
56
56
  \"_id\": 3318651, \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\":
57
57
  \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"}]"
58
58
  http_version:
59
- recorded_at: Thu, 12 Jun 2014 12:16:10 GMT
59
+ recorded_at: Mon, 16 Jun 2014 12:59:52 GMT
60
60
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:16:04 GMT
24
+ - Mon, 16 Jun 2014 13:01:18 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -56,5 +56,5 @@ http_interactions:
56
56
  \"_id\": 3318651, \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\":
57
57
  \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"}]"
58
58
  http_version:
59
- recorded_at: Thu, 12 Jun 2014 12:15:35 GMT
59
+ recorded_at: Mon, 16 Jun 2014 12:59:50 GMT
60
60
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:17:39 GMT
24
+ - Mon, 16 Jun 2014 13:01:21 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -48,5 +48,5 @@ http_interactions:
48
48
  encoding: UTF-8
49
49
  string: "[{\"count\": 4}]"
50
50
  http_version:
51
- recorded_at: Thu, 12 Jun 2014 12:17:10 GMT
51
+ recorded_at: Mon, 16 Jun 2014 12:59:54 GMT
52
52
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:17:00 GMT
24
+ - Mon, 16 Jun 2014 13:01:21 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Vary:
38
38
  - Accept-Language, Cookie
39
39
  Etag:
40
- - "\"0d06d7f4e0deb690eab5d9ed82e6a990\""
40
+ - "\"cca3b5eba43f81971965707f51c4882b\""
41
41
  Access-Control-Allow-Origin:
42
42
  - "*"
43
43
  Access-Control-Allow-Methods:
@@ -46,15 +46,15 @@ http_interactions:
46
46
  - max-age=31536000
47
47
  body:
48
48
  encoding: UTF-8
49
- string: "[{\"meta/instanceID\": \"uuid:269e2328-5997-43c1-aeb1-6edec8f914af\",
50
- \"age\": \"15\", \"name\": \"napol\\u00e9on\", \"_submission_time\": \"2014-05-29T13:55:58\",
51
- \"start_time\": \"2014-05-29T14:55:42.000+01:00\", \"_uuid\": \"269e2328-5997-43c1-aeb1-6edec8f914af\",
49
+ string: "[{\"meta/instanceID\": \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
50
+ \"age\": \"23\", \"name\": \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\",
51
+ \"start_time\": \"2014-05-15T17:27:57.000+01:00\", \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
52
52
  \"_bamboo_dataset_id\": \"\", \"_tags\": [], \"_attachments\": [], \"imei\":
53
53
  \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_geolocation\": [null, null], \"end_time\":
54
- \"2014-05-29T14:56:05.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
54
+ \"2014-05-15T17:28:18.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
55
55
  \"survey\", \"phonenumber\": \"no phonenumber property in enketo\", \"_status\":
56
- \"submitted_via_web\", \"_id\": 3413156, \"pizza_fan\": \"no\", \"today\":
57
- \"2014-05-29\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
56
+ \"submitted_via_web\", \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\":
57
+ \"2014-05-15\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
58
58
  http_version:
59
- recorded_at: Thu, 12 Jun 2014 12:16:30 GMT
59
+ recorded_at: Mon, 16 Jun 2014 12:59:53 GMT
60
60
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:16:51 GMT
24
+ - Mon, 16 Jun 2014 13:01:20 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Vary:
38
38
  - Accept-Language, Cookie
39
39
  Etag:
40
- - "\"a56d09c1a1d5fbee7e2709a146630dea\""
40
+ - "\"67a0fb685bdd2a2787065d9f7106bd55\""
41
41
  Access-Control-Allow-Origin:
42
42
  - "*"
43
43
  Access-Control-Allow-Methods:
@@ -46,25 +46,16 @@ http_interactions:
46
46
  - max-age=31536000
47
47
  body:
48
48
  encoding: UTF-8
49
- string: "[{\"meta/instanceID\": \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
50
- \"age\": \"23\", \"name\": \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\",
51
- \"start_time\": \"2014-05-15T17:27:57.000+01:00\", \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
52
- \"_bamboo_dataset_id\": \"\", \"_tags\": [], \"_attachments\": [], \"imei\":
53
- \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_geolocation\": [null, null], \"end_time\":
54
- \"2014-05-15T17:28:18.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
55
- \"survey\", \"phonenumber\": \"no phonenumber property in enketo\", \"_status\":
56
- \"submitted_via_web\", \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\":
57
- \"2014-05-15\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"_bamboo_dataset_id\":
58
- \"\", \"_tags\": [], \"pizza_type\": \"chitown\", \"phonenumber\": \"no phonenumber
59
- property in enketo\", \"_xform_id_string\": \"survey\", \"meta/instanceID\":
60
- \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\", \"pizza_fan\": \"yes\", \"favorite_toppings\":
61
- \"pepperoni sausauge\", \"_attachments\": [], \"_status\": \"submitted_via_web\",
62
- \"today\": \"2014-05-29\", \"start_time\": \"2014-05-29T14:53:31.000+01:00\",
63
- \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
64
- \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\", \"name\": \"Robert\",
65
- \"_submission_time\": \"2014-05-29T13:55:41\", \"age\": \"100\", \"_geolocation\":
66
- [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\", \"gender\":
67
- \"male\", \"_id\": 3413155}, {\"meta/instanceID\": \"uuid:d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\",
49
+ string: "[{\"_bamboo_dataset_id\": \"\", \"_tags\": [], \"pizza_type\": \"chitown\",
50
+ \"phonenumber\": \"no phonenumber property in enketo\", \"_xform_id_string\":
51
+ \"survey\", \"meta/instanceID\": \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
52
+ \"pizza_fan\": \"yes\", \"favorite_toppings\": \"pepperoni sausauge\", \"_attachments\":
53
+ [], \"_status\": \"submitted_via_web\", \"today\": \"2014-05-29\", \"start_time\":
54
+ \"2014-05-29T14:53:31.000+01:00\", \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
55
+ \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
56
+ \"name\": \"Robert\", \"_submission_time\": \"2014-05-29T13:55:41\", \"age\":
57
+ \"100\", \"_geolocation\": [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\",
58
+ \"gender\": \"male\", \"_id\": 3413155}, {\"meta/instanceID\": \"uuid:d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\",
68
59
  \"name\": \"georges\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
69
60
  \"_submission_time\": \"2014-05-15T16:29:00\", \"age\": \"18\", \"_uuid\":
70
61
  \"d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\", \"_bamboo_dataset_id\": \"\", \"_tags\":
@@ -72,7 +63,16 @@ http_interactions:
72
63
  \"_xform_id_string\": \"survey\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
73
64
  \"phonenumber\": \"no phonenumber property in enketo\", \"_status\": \"submitted_via_web\",
74
65
  \"_id\": 3318651, \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\":
75
- \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"}]"
66
+ \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"},
67
+ {\"_geolocation\": [null, null], \"meta/instanceID\": \"uuid:b99e7723-e2bb-4629-a03b-1a37f87f4ceb\",
68
+ \"name\": \"napol\\u00e9on\", \"_submission_time\": \"2014-05-29T13:55:58\",
69
+ \"gender\": \"male\", \"start_time\": \"2014-05-29T14:55:42.000+01:00\", \"_uuid\":
70
+ \"b99e7723-e2bb-4629-a03b-1a37f87f4ceb\", \"_bamboo_dataset_id\": \"\", \"_tags\":
71
+ [], \"_attachments\": [], \"age\": \"15\", \"phonenumber\": \"no phonenumber
72
+ property in enketo\", \"end_time\": \"2014-06-13T10:45:21.000+01:00\", \"_xform_id_string\":
73
+ \"survey\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_status\":
74
+ \"submitted_via_web\", \"_id\": 3413156, \"meta/deprecatedID\": \"uuid:269e2328-5997-43c1-aeb1-6edec8f914af\",
75
+ \"pizza_fan\": \"no\", \"today\": \"2014-05-29\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
76
76
  http_version:
77
- recorded_at: Thu, 12 Jun 2014 12:16:22 GMT
77
+ recorded_at: Mon, 16 Jun 2014 12:59:52 GMT
78
78
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:17:25 GMT
24
+ - Mon, 16 Jun 2014 13:01:21 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Vary:
38
38
  - Accept-Language, Cookie
39
39
  Etag:
40
- - "\"cca3b5eba43f81971965707f51c4882b\""
40
+ - "\"5ba0dc24cd1fd0c6eb6cc3c59fc6f645\""
41
41
  Access-Control-Allow-Origin:
42
42
  - "*"
43
43
  Access-Control-Allow-Methods:
@@ -46,15 +46,16 @@ http_interactions:
46
46
  - max-age=31536000
47
47
  body:
48
48
  encoding: UTF-8
49
- string: "[{\"meta/instanceID\": \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
50
- \"age\": \"23\", \"name\": \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\",
51
- \"start_time\": \"2014-05-15T17:27:57.000+01:00\", \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
52
- \"_bamboo_dataset_id\": \"\", \"_tags\": [], \"_attachments\": [], \"imei\":
53
- \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_geolocation\": [null, null], \"end_time\":
54
- \"2014-05-15T17:28:18.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
55
- \"survey\", \"phonenumber\": \"no phonenumber property in enketo\", \"_status\":
56
- \"submitted_via_web\", \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\":
57
- \"2014-05-15\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
49
+ string: "[{\"_bamboo_dataset_id\": \"\", \"_tags\": [], \"pizza_type\": \"chitown\",
50
+ \"phonenumber\": \"no phonenumber property in enketo\", \"_xform_id_string\":
51
+ \"survey\", \"meta/instanceID\": \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
52
+ \"pizza_fan\": \"yes\", \"favorite_toppings\": \"pepperoni sausauge\", \"_attachments\":
53
+ [], \"_status\": \"submitted_via_web\", \"today\": \"2014-05-29\", \"start_time\":
54
+ \"2014-05-29T14:53:31.000+01:00\", \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
55
+ \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
56
+ \"name\": \"Robert\", \"_submission_time\": \"2014-05-29T13:55:41\", \"age\":
57
+ \"100\", \"_geolocation\": [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\",
58
+ \"gender\": \"male\", \"_id\": 3413155}]"
58
59
  http_version:
59
- recorded_at: Thu, 12 Jun 2014 12:16:56 GMT
60
+ recorded_at: Mon, 16 Jun 2014 12:59:53 GMT
60
61
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:17:51 GMT
24
+ - Mon, 16 Jun 2014 13:01:23 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Vary:
38
38
  - Accept-Language, Cookie
39
39
  Etag:
40
- - "\"be4dbf299020d3a4ac8c3915eb607f29\""
40
+ - "\"e0a1cd3b3b92babaeae0f95867a7a777\""
41
41
  Access-Control-Allow-Origin:
42
42
  - "*"
43
43
  Access-Control-Allow-Methods:
@@ -46,10 +46,10 @@ http_interactions:
46
46
  - max-age=31536000
47
47
  body:
48
48
  encoding: UTF-8
49
- string: "[{\"age\": \"15\", \"_id\": 3413156, \"name\": \"napol\\u00e9on\"},
50
- {\"age\": \"23\", \"_id\": 3318647, \"name\": \"loic\"}, {\"age\": \"100\",
51
- \"_id\": 3413155, \"name\": \"Robert\"}, {\"age\": \"18\", \"_id\": 3318651,
52
- \"name\": \"georges\"}]"
49
+ string: "[{\"age\": \"23\", \"_id\": 3318647, \"name\": \"loic\"}, {\"age\":
50
+ \"100\", \"_id\": 3413155, \"name\": \"Robert\"}, {\"age\": \"18\", \"_id\":
51
+ 3318651, \"name\": \"georges\"}, {\"age\": \"15\", \"_id\": 3413156, \"name\":
52
+ \"napol\\u00e9on\"}]"
53
53
  http_version:
54
- recorded_at: Thu, 12 Jun 2014 12:17:21 GMT
54
+ recorded_at: Mon, 16 Jun 2014 12:59:55 GMT
55
55
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:17:47 GMT
24
+ - Mon, 16 Jun 2014 13:01:22 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Vary:
38
38
  - Accept-Language, Cookie
39
39
  Etag:
40
- - "\"b9052a99235c49d7488fc7fb869069ce\""
40
+ - "\"dd267f079f7d9d790875fb44529e6cb4\""
41
41
  Access-Control-Allow-Origin:
42
42
  - "*"
43
43
  Access-Control-Allow-Methods:
@@ -46,42 +46,43 @@ http_interactions:
46
46
  - max-age=31536000
47
47
  body:
48
48
  encoding: UTF-8
49
- string: "[{\"meta/instanceID\": \"uuid:269e2328-5997-43c1-aeb1-6edec8f914af\",
50
- \"age\": \"15\", \"name\": \"napol\\u00e9on\", \"_submission_time\": \"2014-05-29T13:55:58\",
51
- \"start_time\": \"2014-05-29T14:55:42.000+01:00\", \"_uuid\": \"269e2328-5997-43c1-aeb1-6edec8f914af\",
49
+ string: "[{\"_geolocation\": [null, null], \"meta/instanceID\": \"uuid:b99e7723-e2bb-4629-a03b-1a37f87f4ceb\",
50
+ \"name\": \"napol\\u00e9on\", \"_submission_time\": \"2014-05-29T13:55:58\",
51
+ \"gender\": \"male\", \"start_time\": \"2014-05-29T14:55:42.000+01:00\", \"_uuid\":
52
+ \"b99e7723-e2bb-4629-a03b-1a37f87f4ceb\", \"_bamboo_dataset_id\": \"\", \"_tags\":
53
+ [], \"_attachments\": [], \"age\": \"15\", \"phonenumber\": \"no phonenumber
54
+ property in enketo\", \"end_time\": \"2014-06-13T10:45:21.000+01:00\", \"_xform_id_string\":
55
+ \"survey\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_status\":
56
+ \"submitted_via_web\", \"_id\": 3413156, \"meta/deprecatedID\": \"uuid:269e2328-5997-43c1-aeb1-6edec8f914af\",
57
+ \"pizza_fan\": \"no\", \"today\": \"2014-05-29\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"},
58
+ {\"meta/instanceID\": \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\", \"age\":
59
+ \"23\", \"name\": \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\",
60
+ \"start_time\": \"2014-05-15T17:27:57.000+01:00\", \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
52
61
  \"_bamboo_dataset_id\": \"\", \"_tags\": [], \"_attachments\": [], \"imei\":
53
62
  \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_geolocation\": [null, null], \"end_time\":
54
- \"2014-05-29T14:56:05.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
63
+ \"2014-05-15T17:28:18.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
55
64
  \"survey\", \"phonenumber\": \"no phonenumber property in enketo\", \"_status\":
56
- \"submitted_via_web\", \"_id\": 3413156, \"pizza_fan\": \"no\", \"today\":
57
- \"2014-05-29\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"meta/instanceID\":
58
- \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\", \"age\": \"23\", \"name\":
59
- \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\", \"start_time\": \"2014-05-15T17:27:57.000+01:00\",
60
- \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\", \"_bamboo_dataset_id\":
61
- \"\", \"_tags\": [], \"_attachments\": [], \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
62
- \"_geolocation\": [null, null], \"end_time\": \"2014-05-15T17:28:18.000+01:00\",
63
- \"gender\": \"female\", \"_xform_id_string\": \"survey\", \"phonenumber\":
64
- \"no phonenumber property in enketo\", \"_status\": \"submitted_via_web\",
65
- \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\": \"2014-05-15\", \"formhub/uuid\":
66
- \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"meta/instanceID\": \"uuid:d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\",
67
- \"name\": \"georges\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
68
- \"_submission_time\": \"2014-05-15T16:29:00\", \"age\": \"18\", \"_uuid\":
69
- \"d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\", \"_bamboo_dataset_id\": \"\", \"_tags\":
70
- [], \"_attachments\": [], \"_geolocation\": [null, null], \"end_time\": \"2014-06-10T12:24:34.000+01:00\",
71
- \"_xform_id_string\": \"survey\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
72
- \"phonenumber\": \"no phonenumber property in enketo\", \"_status\": \"submitted_via_web\",
73
- \"_id\": 3318651, \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\":
74
- \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"},
75
- {\"_bamboo_dataset_id\": \"\", \"_tags\": [], \"pizza_type\": \"chitown\",
76
- \"phonenumber\": \"no phonenumber property in enketo\", \"_xform_id_string\":
77
- \"survey\", \"meta/instanceID\": \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
78
- \"pizza_fan\": \"yes\", \"favorite_toppings\": \"pepperoni sausauge\", \"_attachments\":
79
- [], \"_status\": \"submitted_via_web\", \"today\": \"2014-05-29\", \"start_time\":
80
- \"2014-05-29T14:53:31.000+01:00\", \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
81
- \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
82
- \"name\": \"Robert\", \"_submission_time\": \"2014-05-29T13:55:41\", \"age\":
83
- \"100\", \"_geolocation\": [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\",
84
- \"gender\": \"male\", \"_id\": 3413155}]"
65
+ \"submitted_via_web\", \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\":
66
+ \"2014-05-15\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"meta/instanceID\":
67
+ \"uuid:d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\", \"name\": \"georges\", \"formhub/uuid\":
68
+ \"1bfb7222748a4ee98106ea7d7a9c72cf\", \"_submission_time\": \"2014-05-15T16:29:00\",
69
+ \"age\": \"18\", \"_uuid\": \"d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\", \"_bamboo_dataset_id\":
70
+ \"\", \"_tags\": [], \"_attachments\": [], \"_geolocation\": [null, null],
71
+ \"end_time\": \"2014-06-10T12:24:34.000+01:00\", \"_xform_id_string\": \"survey\",
72
+ \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"phonenumber\": \"no phonenumber
73
+ property in enketo\", \"_status\": \"submitted_via_web\", \"_id\": 3318651,
74
+ \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\": \"2014-05-15\",
75
+ \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"}, {\"_bamboo_dataset_id\":
76
+ \"\", \"_tags\": [], \"pizza_type\": \"chitown\", \"phonenumber\": \"no phonenumber
77
+ property in enketo\", \"_xform_id_string\": \"survey\", \"meta/instanceID\":
78
+ \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\", \"pizza_fan\": \"yes\", \"favorite_toppings\":
79
+ \"pepperoni sausauge\", \"_attachments\": [], \"_status\": \"submitted_via_web\",
80
+ \"today\": \"2014-05-29\", \"start_time\": \"2014-05-29T14:53:31.000+01:00\",
81
+ \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
82
+ \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\", \"name\": \"Robert\",
83
+ \"_submission_time\": \"2014-05-29T13:55:41\", \"age\": \"100\", \"_geolocation\":
84
+ [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\", \"gender\":
85
+ \"male\", \"_id\": 3413155}]"
85
86
  http_version:
86
- recorded_at: Thu, 12 Jun 2014 12:17:18 GMT
87
+ recorded_at: Mon, 16 Jun 2014 12:59:55 GMT
87
88
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Thu, 12 Jun 2014 12:16:17 GMT
24
+ - Mon, 16 Jun 2014 13:01:19 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Vary:
38
38
  - Accept-Language, Cookie
39
39
  Etag:
40
- - "\"6008f8fc8f44f724d04791fa10719cc9\""
40
+ - "\"bc88df6f2e4682a4931acdb79bebb2be\""
41
41
  Access-Control-Allow-Origin:
42
42
  - "*"
43
43
  Access-Control-Allow-Methods:
@@ -46,33 +46,25 @@ http_interactions:
46
46
  - max-age=31536000
47
47
  body:
48
48
  encoding: UTF-8
49
- string: "[{\"meta/instanceID\": \"uuid:269e2328-5997-43c1-aeb1-6edec8f914af\",
50
- \"age\": \"15\", \"name\": \"napol\\u00e9on\", \"_submission_time\": \"2014-05-29T13:55:58\",
51
- \"start_time\": \"2014-05-29T14:55:42.000+01:00\", \"_uuid\": \"269e2328-5997-43c1-aeb1-6edec8f914af\",
49
+ string: "[{\"meta/instanceID\": \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
50
+ \"age\": \"23\", \"name\": \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\",
51
+ \"start_time\": \"2014-05-15T17:27:57.000+01:00\", \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
52
52
  \"_bamboo_dataset_id\": \"\", \"_tags\": [], \"_attachments\": [], \"imei\":
53
53
  \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_geolocation\": [null, null], \"end_time\":
54
- \"2014-05-29T14:56:05.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
54
+ \"2014-05-15T17:28:18.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
55
55
  \"survey\", \"phonenumber\": \"no phonenumber property in enketo\", \"_status\":
56
- \"submitted_via_web\", \"_id\": 3413156, \"pizza_fan\": \"no\", \"today\":
57
- \"2014-05-29\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"meta/instanceID\":
58
- \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\", \"age\": \"23\", \"name\":
59
- \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\", \"start_time\": \"2014-05-15T17:27:57.000+01:00\",
60
- \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\", \"_bamboo_dataset_id\":
61
- \"\", \"_tags\": [], \"_attachments\": [], \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
62
- \"_geolocation\": [null, null], \"end_time\": \"2014-05-15T17:28:18.000+01:00\",
63
- \"gender\": \"female\", \"_xform_id_string\": \"survey\", \"phonenumber\":
64
- \"no phonenumber property in enketo\", \"_status\": \"submitted_via_web\",
65
- \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\": \"2014-05-15\", \"formhub/uuid\":
66
- \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"_bamboo_dataset_id\": \"\", \"_tags\":
67
- [], \"pizza_type\": \"chitown\", \"phonenumber\": \"no phonenumber property
68
- in enketo\", \"_xform_id_string\": \"survey\", \"meta/instanceID\": \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
69
- \"pizza_fan\": \"yes\", \"favorite_toppings\": \"pepperoni sausauge\", \"_attachments\":
70
- [], \"_status\": \"submitted_via_web\", \"today\": \"2014-05-29\", \"start_time\":
71
- \"2014-05-29T14:53:31.000+01:00\", \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\",
72
- \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
73
- \"name\": \"Robert\", \"_submission_time\": \"2014-05-29T13:55:41\", \"age\":
74
- \"100\", \"_geolocation\": [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\",
75
- \"gender\": \"male\", \"_id\": 3413155}, {\"meta/instanceID\": \"uuid:d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\",
56
+ \"submitted_via_web\", \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\":
57
+ \"2014-05-15\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}, {\"_bamboo_dataset_id\":
58
+ \"\", \"_tags\": [], \"pizza_type\": \"chitown\", \"phonenumber\": \"no phonenumber
59
+ property in enketo\", \"_xform_id_string\": \"survey\", \"meta/instanceID\":
60
+ \"uuid:d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\", \"pizza_fan\": \"yes\", \"favorite_toppings\":
61
+ \"pepperoni sausauge\", \"_attachments\": [], \"_status\": \"submitted_via_web\",
62
+ \"today\": \"2014-05-29\", \"start_time\": \"2014-05-29T14:53:31.000+01:00\",
63
+ \"_uuid\": \"d85cf54e-ecf9-4b0a-b9dd-600f3dd69460\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
64
+ \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\", \"name\": \"Robert\",
65
+ \"_submission_time\": \"2014-05-29T13:55:41\", \"age\": \"100\", \"_geolocation\":
66
+ [null, null], \"end_time\": \"2014-05-29T14:53:58.000+01:00\", \"gender\":
67
+ \"male\", \"_id\": 3413155}, {\"meta/instanceID\": \"uuid:d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\",
76
68
  \"name\": \"georges\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\",
77
69
  \"_submission_time\": \"2014-05-15T16:29:00\", \"age\": \"18\", \"_uuid\":
78
70
  \"d7ea1e0f-c3b6-4e1b-9f5d-8ebb88c03e94\", \"_bamboo_dataset_id\": \"\", \"_tags\":
@@ -80,7 +72,16 @@ http_interactions:
80
72
  \"_xform_id_string\": \"survey\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\",
81
73
  \"phonenumber\": \"no phonenumber property in enketo\", \"_status\": \"submitted_via_web\",
82
74
  \"_id\": 3318651, \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\":
83
- \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"}]"
75
+ \"2014-05-15\", \"meta/deprecatedID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\"},
76
+ {\"_geolocation\": [null, null], \"meta/instanceID\": \"uuid:b99e7723-e2bb-4629-a03b-1a37f87f4ceb\",
77
+ \"name\": \"napol\\u00e9on\", \"_submission_time\": \"2014-05-29T13:55:58\",
78
+ \"gender\": \"male\", \"start_time\": \"2014-05-29T14:55:42.000+01:00\", \"_uuid\":
79
+ \"b99e7723-e2bb-4629-a03b-1a37f87f4ceb\", \"_bamboo_dataset_id\": \"\", \"_tags\":
80
+ [], \"_attachments\": [], \"age\": \"15\", \"phonenumber\": \"no phonenumber
81
+ property in enketo\", \"end_time\": \"2014-06-13T10:45:21.000+01:00\", \"_xform_id_string\":
82
+ \"survey\", \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_status\":
83
+ \"submitted_via_web\", \"_id\": 3413156, \"meta/deprecatedID\": \"uuid:269e2328-5997-43c1-aeb1-6edec8f914af\",
84
+ \"pizza_fan\": \"no\", \"today\": \"2014-05-29\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
84
85
  http_version:
85
- recorded_at: Thu, 12 Jun 2014 12:15:47 GMT
86
+ recorded_at: Mon, 16 Jun 2014 12:59:51 GMT
86
87
  recorded_with: VCR 2.9.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formhub_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.3
4
+ version: 0.0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loïc Seigland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-12 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable