amiando 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. data/.travis.yml +6 -0
  2. data/Gemfile +1 -0
  3. data/README.md +11 -7
  4. data/lib/amiando.rb +4 -0
  5. data/lib/amiando/autorun.rb +24 -0
  6. data/lib/amiando/boolean.rb +4 -0
  7. data/lib/amiando/request.rb +13 -1
  8. data/lib/amiando/resource.rb +10 -5
  9. data/lib/amiando/result.rb +4 -8
  10. data/lib/amiando/version.rb +1 -1
  11. data/test/amiando/amiando_test.rb +11 -0
  12. data/test/amiando/event_test.rb +12 -11
  13. data/test/amiando/resource_test.rb +39 -11
  14. data/test/fixtures/ApiKey/{ded8694c21d2e1c0cec845f72ba452b5.yml → 1d8e3d55d45a77d6eb7796e5abb70281.yml} +18 -18
  15. data/test/fixtures/ApiKey/1f62195e173114773b3ec2613582ece9.yml +17 -17
  16. data/test/fixtures/ApiKey/{a948a98b153ab66978e37160f352bfbc.yml → 2bd8734a62569871c33d9b4d85b6a77e.yml} +18 -18
  17. data/test/fixtures/ApiKey/97d82801a10696aaf385bf5873034b60.yml +17 -17
  18. data/test/fixtures/Event/{67e55d2f91fa702eb8dc612cbfa661f9.yml → 0d29a0d4fe4acb5754dbbf35fea93978.yml} +19 -19
  19. data/test/fixtures/Event/{5d6016557d86e7b7ff83d07d1ef4bf44.yml → 0f81fe01f6d9137dabe648694e51108b.yml} +19 -19
  20. data/test/fixtures/Event/{50cb3d76b40032b0fa5731ce7d2ae2f6.yml → 293b18554ac33089826dcc199d55f66d.yml} +20 -20
  21. data/test/fixtures/Event/{ebab641e40ca57f8e0883d8ea003bd78.yml → 2d3625bced7e64be6a1f77391e53c92c.yml} +20 -20
  22. data/test/fixtures/Event/{813535fc6ee153c1a6d8e826f1fe04dc.yml → 3429e430b90972313131c5ec7b140bc5.yml} +20 -20
  23. data/test/fixtures/Event/548edbff1f623236bf25b782b4d54f00.yml +60 -0
  24. data/test/fixtures/Event/5839cf01abdb31ee25b467010b843a7e.yml +60 -0
  25. data/test/fixtures/Event/{eb341dbccefaad75aad439f10cc7d82d.yml → 782ed18e0254a0921f2bdc4ee531be15.yml} +20 -20
  26. data/test/fixtures/Event/{3b8ae154ad13c7152366b79c0d34b053.yml → 79874f1be286c23c9073abadd30bfb54.yml} +18 -18
  27. data/test/fixtures/Event/7cc1b7624fd157ace68f1228ac3dcdf0.yml +60 -0
  28. data/test/fixtures/Event/819153d5998556cd0e0a69843b82e180.yml +60 -0
  29. data/test/fixtures/Event/8aa7c9a23f8cfb78429186ed32506a85.yml +60 -0
  30. data/test/fixtures/Event/9c91cd6e67ca4c487277a231642c7348.yml +60 -0
  31. data/test/fixtures/Event/a43ca700b01ed360f3fd49053a372409.yml +60 -0
  32. data/test/fixtures/Event/b366ae5348b0369ae9ebe311d27d6e7a.yml +60 -0
  33. data/test/fixtures/{User/1e3ab0fb92b5b1992f35256b4be7497b.yml → Event/c0215f6e5cc7ce3f38bc8160073ff6e5.yml} +19 -19
  34. data/test/fixtures/Event/{3a90bf0a17eb1d647f1496d04640797a.yml → c56ad4fb06c53108a17395024b0c6591.yml} +20 -20
  35. data/test/fixtures/Event/{29a95cd545b2fba8121dce97a3c859e3.yml → cacbf55bdb4305ffc7bde245b549c802.yml} +17 -17
  36. data/test/fixtures/{ApiKey/76860dbafe66279f25f56cd66b3f6ba1.yml → Event/cd000efc19547014919f0e4beddef16d.yml} +18 -19
  37. data/test/fixtures/Event/{c88c85889575508f75deee325e16e49d.yml → e8c793aaa218772c909bca09ce1b15a3.yml} +19 -19
  38. data/test/fixtures/Event/e967b0a7dc4c142076ff86e244b3d7ec.yml +60 -0
  39. data/test/fixtures/Event/ea326235c2dfbc3fb0a58d40e63dec8a.yml +60 -0
  40. data/test/fixtures/Event/{ef17351e4bbc84eb776fe16dda31e1e4.yml → f23b74a91d5c997e3db3087a9ac5083c.yml} +20 -20
  41. data/test/fixtures/Event/f6749539762876faa27fe9d9d9138a75.yml +60 -0
  42. data/test/fixtures/Event/{a816e5664ff66b8e3d27b74435a0c123.yml → fbfab75b95d5c3df19152e70fbd9689c.yml} +20 -20
  43. data/test/fixtures/Global/505952258352958b3b59a3812372ed02.yml +17 -17
  44. data/test/fixtures/Global/{d41a6ca323b5db99b4e3c06e108c52cc.yml → 8d5740635c53798549a973a4f245613e.yml} +20 -20
  45. data/test/fixtures/PaymentType/{46a58274e28425eeab73c573ea2a3236.yml → 0096aebaa9c29a7bcb381d20697704c3.yml} +20 -20
  46. data/test/fixtures/PaymentType/{0e4e3995f9ecd10f11b50270c326f23b.yml → 3f67b8ff5994e0239fa2ed6e7dbfcec1.yml} +19 -19
  47. data/test/fixtures/PaymentType/{0ad10cb8031c0c8b2c2787ca5c390667.yml → 7c37125c353d970dbbbaaef54eaf3d90.yml} +20 -20
  48. data/test/fixtures/PaymentType/{cd61062dafdb2b4f2a08364482901e49.yml → 99cb9326dac40ba3263f9564d0c38fef.yml} +18 -18
  49. data/test/fixtures/PaymentType/fbfab75b95d5c3df19152e70fbd9689c.yml +60 -0
  50. data/test/fixtures/TicketCategory/{bee3d6eb4247fec0849d91fb2f768524.yml → 10f73790dceb968d141b099cd8890fc7.yml} +20 -20
  51. data/test/fixtures/TicketCategory/{a9b19dc83437d00ffc4603c04f78159f.yml → 1267a63177d0cdbdc9ce0698c746801a.yml} +19 -19
  52. data/test/fixtures/TicketCategory/{655e7a8089d67b8eeea1176398e4b289.yml → 1292d83aaf8b860c9674dc3deab14f76.yml} +20 -20
  53. data/test/fixtures/TicketCategory/68afc49b238888d5f21e2bda4112d3ec.yml +60 -0
  54. data/test/fixtures/TicketCategory/{e6076c26b1b75eec091c5b91c9f75ad9.yml → 9e4aeb649cc0d8ceeadd95ddf3691db5.yml} +18 -18
  55. data/test/fixtures/TicketCategory/{fe63648cf867613ec93b380e06257349.yml → af30e74612a9be4e082524a58f9fa12f.yml} +18 -18
  56. data/test/fixtures/TicketCategory/d93efc92d5d6638151f7b098b5f786e2.yml +60 -0
  57. data/test/fixtures/TicketCategory/fbfab75b95d5c3df19152e70fbd9689c.yml +60 -0
  58. data/test/fixtures/TicketShop/{03d35073550910e61201cf425b4ff73e.yml → 00f98e3db33c4179bfb87a14c662ae1a.yml} +18 -18
  59. data/test/fixtures/{Event/c5ad7e1d1c160d7d1132297892a9ec94.yml → TicketShop/95137c716c285b96acef0a0d9f4b55c2.yml} +20 -20
  60. data/test/fixtures/{Event/49877df5f8c251e3364a3560ab1ab46c.yml → TicketShop/98af95fbe3b6921d446c8ad57f476683.yml} +19 -19
  61. data/test/fixtures/TicketShop/{15c36c73e9f1d3255a61a559e3b98562.yml → dc18e2818f5b86f9e6609703d4165c80.yml} +20 -20
  62. data/test/fixtures/TicketShop/{ece5150c24e5000bf4eff8dcdb6311bb.yml → f8b2b6ca29914576989fa3c2fc21d516.yml} +20 -20
  63. data/test/fixtures/User/01fec3bc2a1e516b338622c402243255.yml +60 -0
  64. data/test/fixtures/User/{e51278f9f771be0c6c3ac0e4ee1b6459.yml → 05317b0072cb1096bfb6967b6ed8d3f6.yml} +18 -18
  65. data/test/fixtures/User/{0f635f4bb82fdc84af205efe76f43ae0.yml → 0d0a11e4a50e0c07c5a9ea57d82b0f73.yml} +20 -20
  66. data/test/fixtures/User/20151bd612c24a781cfda884ddea4648.yml +60 -0
  67. data/test/fixtures/User/{eb30a195ac7829d506954f472e9e6dea.yml → 2b96ad3dbac7864d8567eee7aef596f8.yml} +18 -18
  68. data/test/fixtures/User/5083f674a088c59d7f57e167d7a68846.yml +60 -0
  69. data/test/fixtures/User/60ce8f1f2c00efb20e63cac38a2c3733.yml +60 -0
  70. data/test/fixtures/User/{7d493f7758d9795ad522bc827cb51b77.yml → 6336fa05acc193628f86cced59cfb181.yml} +19 -19
  71. data/test/fixtures/User/6b47fa7d9877e42cf0efc331760a4297.yml +60 -0
  72. data/test/fixtures/User/72a03fe8088b0e860de88f5017ddad1a.yml +60 -0
  73. data/test/fixtures/User/939e0f42cf958e9be75705d71f9c5d46.yml +60 -0
  74. data/test/fixtures/User/b9227cff5e90a733e50df2a9110a3061.yml +60 -0
  75. data/test/fixtures/User/{6501a4db53a97afe6f7b9afeeb996888.yml → cf8a518069a9b3ad71e45ca607a3eb31.yml} +18 -18
  76. data/test/fixtures/User/d0d7823d8c1402e1959481c4a5fe7acf.yml +60 -0
  77. data/test/fixtures/User/{3bac6d29256056f2b9a1ea6fad26966d.yml → e0f7ab1b2afa0f1ea2be473bc3dd3838.yml} +19 -19
  78. data/test/fixtures/User/{6ad0dd77081f413e3df25d6a625d38cd.yml → ea31627d93c898465d0dbe44c86ca6ed.yml} +20 -20
  79. data/test/fixtures/User/{baa28f50439b903e423dbdf918fff20b.yml → efb3543620c2a1753972b79b1a747b00.yml} +18 -18
  80. data/test/support/factory.rb +1 -1
  81. data/test/test_helper.rb +10 -3
  82. metadata +134 -162
  83. data/test/fixtures/ApiKey/018fa0a2281ec9026bc122bc346366f6.yml +0 -60
  84. data/test/fixtures/ApiKey/a703d1fcec1576fa8cb4ca1c5f53f545.yml +0 -62
  85. data/test/fixtures/ApiKey/b7ecc9e79dd856dec661554cd00490ed.yml +0 -62
  86. data/test/fixtures/ApiKey/fa883db60c0390aa8948098d32497015.yml +0 -60
  87. data/test/fixtures/Event/361940ebc5f074b1d6d96c2dbeb573ab.yml +0 -60
  88. data/test/fixtures/Event/8eabb0f839e03cde5818397c7121e6b4.yml +0 -61
  89. data/test/fixtures/Event/96a5ccd0281a67a4bdb276516b77e756.yml +0 -62
  90. data/test/fixtures/Event/9e689bd5495dc898a710cba8e6d1d779.yml +0 -62
  91. data/test/fixtures/Event/d6a585196f1a2a94d22f22a2140d4c07.yml +0 -60
  92. data/test/fixtures/Event/e00eebd4faf194fe592fa6e7615909b8.yml +0 -60
  93. data/test/fixtures/Event/e753b6f404795c6635856ea43b0c7d35.yml +0 -60
  94. data/test/fixtures/PaymentType/49877df5f8c251e3364a3560ab1ab46c.yml +0 -60
  95. data/test/fixtures/PaymentType/c1ea7b9755738d0bdc9336955cd4fa52.yml +0 -62
  96. data/test/fixtures/PaymentType/fb24238618b16cb664a5277279e14ff0.yml +0 -62
  97. data/test/fixtures/TicketCategory/0412c9d453efd804e171c6ba57fd980a.yml +0 -66
  98. data/test/fixtures/TicketCategory/49877df5f8c251e3364a3560ab1ab46c.yml +0 -60
  99. data/test/fixtures/TicketCategory/4d3f8d9ff3fb728fc37aaa6e40355a00.yml +0 -62
  100. data/test/fixtures/TicketCategory/5d4fdfda01ed8193c6bbc5e089db5a4b.yml +0 -60
  101. data/test/fixtures/TicketCategory/c6f8563714904f006b28ac06312b107d.yml +0 -60
  102. data/test/fixtures/TicketCategory/ebfcf07be91b8cb6d05156713592abc9.yml +0 -60
  103. data/test/fixtures/TicketShop/0524d80dc6e3fad88d49adf71ffa2ab9.yml +0 -60
  104. data/test/fixtures/TicketShop/09729fb0d9f1490bec3acfa0e6742190.yml +0 -60
  105. data/test/fixtures/TicketShop/4605dd240202cd7510bfecaf474ac615.yml +0 -62
  106. data/test/fixtures/TicketShop/5c1f5488a196f44f2c18cc186816fd42.yml +0 -60
  107. data/test/fixtures/TicketShop/71f80402a72be32fdd34074d4426b765.yml +0 -62
  108. data/test/fixtures/TicketShop/bc24338e918c6edb07a55f4d580c5af3.yml +0 -60
  109. data/test/fixtures/TicketShop/d095062bf22d235f277c979b025e5cac.yml +0 -60
  110. data/test/fixtures/User/0b4a60c6c962b4b3af9ab21832cd76b2.yml +0 -60
  111. data/test/fixtures/User/1c2f2c8a5372e998f38b9d387107cee2.yml +0 -60
  112. data/test/fixtures/User/3ffaba64188557400a8678dbefd75990.yml +0 -60
  113. data/test/fixtures/User/5a26c7f9edf6d6027b19b57feda4a96f.yml +0 -60
  114. data/test/fixtures/User/5c17b4b5287f5d0ba390e25e99cf2270.yml +0 -49
  115. data/test/fixtures/User/89e6cb6ae39e29a154c99e0e33bb1b91.yml +0 -60
  116. data/test/fixtures/User/90a3bfe214f17305e356ad3f1a9c9ce7.yml +0 -60
  117. data/test/fixtures/User/92ad6537c8be5aab7cbd778d424f4944.yml +0 -60
  118. data/test/fixtures/User/9485b68940997e23e3721a413d4fbdd5.yml +0 -49
  119. data/test/fixtures/User/98348fe6fbecb7916faadd835916d94d.yml +0 -60
  120. data/test/fixtures/User/b63d7aa4703a3140b4d9884e9f302362.yml +0 -60
  121. data/test/fixtures/User/b8c3fd04d7bd0925c3ccd3a3978ab8e6.yml +0 -49
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Typhoeus::Response
2
- app_connect_time: 0.431582
2
+ app_connect_time: 5.3e-05
3
3
  body: "{\"authorized\":true,\"exists\":true,\"success\":true}"
4
4
  code: 200
5
- connect_time: 0.067495
5
+ connect_time: 5.3e-05
6
6
  curl_error_message: No error
7
7
  curl_return_code: 0
8
- effective_url: https://test.amiando.com/api/user/exists?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&username=jorgellop-exists-1%40example.com&version=1
8
+ effective_url: https://test.amiando.com/api/user/exists?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&username=jorgellop-exists-2%40example.com&version=1
9
9
  first_header_line: HTTP/1.1 200 OK
10
10
  headers: |
11
11
  HTTP/1.1 200 OK
12
- Date: Fri, 21 Oct 2011 15:00:28 GMT
12
+ Date: Tue, 25 Oct 2011 14:53:00 GMT
13
13
  Server: Apache/2.0.55 (Red Hat)
14
- Set-Cookie: JSESSIONID=8708E123994FAD07B35CF9C4B3619756.web01; Path=/; Secure
15
- Set-Cookie: JSESSIONID=8708E123994FAD07B35CF9C4B3619756.web01; Path=/
14
+ Set-Cookie: JSESSIONID=CAEECBCC9838ECD96FF6CA62A7EBE3EC.web01; Path=/; Secure
15
+ Set-Cookie: JSESSIONID=CAEECBCC9838ECD96FF6CA62A7EBE3EC.web01; Path=/
16
16
  accept-charset: utf-8
17
17
  P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
18
18
  Access-Control-Allow-Origin: *
19
19
  Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
20
- Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=R0tFS1Zaak0wNWxGWno1NjoxMzIwNDE5MDA1MzE1OjUwMTM4NjVhNjNiYmQ1MGI0MDUyZGM1ZmYzZjliYzhi; Expires=Wed, 19-Oct-2016 15:03:25 GMT; Path=/
20
+ Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=Ynd3MUE3V2tjbGZnUm1weDoxMzIwNzY0MTY5ODcxOmEyNmQ4MDA1YjUwYTQ2NGM3ZGVlZGEwN2QyN2YwYThl; Expires=Sun, 23-Oct-2016 14:56:09 GMT; Path=/
21
21
  Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
22
22
  Accept-Ranges: bytes
23
23
  Cache-Control: max-age=7200
24
- Expires: Fri, 21 Oct 2011 17:00:28 GMT
24
+ Expires: Tue, 25 Oct 2011 16:53:00 GMT
25
25
  Transfer-Encoding: chunked
26
26
  Content-Type: application/json;charset=UTF-8
27
27
 
@@ -33,28 +33,28 @@ headers_hash: !map:Typhoeus::NormalizedHeaderHash
33
33
  Transfer-Encoding: chunked
34
34
  Access-Control-Allow-Origin: "*"
35
35
  Content-Type: application/json;charset=UTF-8
36
- Date: Fri, 21 Oct 2011 15:00:28 GMT
36
+ Date: Tue, 25 Oct 2011 14:53:00 GMT
37
37
  Accept-Ranges: bytes
38
38
  Server: Apache/2.0.55 (Red Hat)
39
39
  Set-Cookie:
40
- - JSESSIONID=8708E123994FAD07B35CF9C4B3619756.web01; Path=/; Secure
41
- - JSESSIONID=8708E123994FAD07B35CF9C4B3619756.web01; Path=/
42
- - ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=R0tFS1Zaak0wNWxGWno1NjoxMzIwNDE5MDA1MzE1OjUwMTM4NjVhNjNiYmQ1MGI0MDUyZGM1ZmYzZjliYzhi; Expires=Wed, 19-Oct-2016 15:03:25 GMT; Path=/
43
- Expires: Fri, 21 Oct 2011 17:00:28 GMT
40
+ - JSESSIONID=CAEECBCC9838ECD96FF6CA62A7EBE3EC.web01; Path=/; Secure
41
+ - JSESSIONID=CAEECBCC9838ECD96FF6CA62A7EBE3EC.web01; Path=/
42
+ - ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=Ynd3MUE3V2tjbGZnUm1weDoxMzIwNzY0MTY5ODcxOmEyNmQ4MDA1YjUwYTQ2NGM3ZGVlZGEwN2QyN2YwYThl; Expires=Sun, 23-Oct-2016 14:56:09 GMT; Path=/
43
+ Expires: Tue, 25 Oct 2011 16:53:00 GMT
44
44
  Cache-Control: max-age=7200
45
45
  Accept-Charset: utf-8
46
46
  http_version:
47
47
  mock: false
48
- name_lookup_time: 0.002741
49
- pretransfer_time: 0.431584
48
+ name_lookup_time: 5.2e-05
49
+ pretransfer_time: 6.0e-05
50
50
  request: |-
51
51
  :method => :get,
52
- :url => https://test.amiando.com/api/user/exists?apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3&format=json&username=jorgellop-exists-1%40example.com&version=1,
53
- :params => {:version=>1, :format=>:json, :username=>"jorgellop-exists-1@example.com", :apikey=>"5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3"},
52
+ :url => https://test.amiando.com/api/user/exists?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&username=jorgellop-exists-2%40example.com&version=1,
53
+ :params => {:version=>1, :username=>"jorgellop-exists-2@example.com", :format=>:json, :apikey=>"EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0"},
54
54
  :headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
55
55
  requested_http_method:
56
56
  requested_url:
57
57
  start_time:
58
- start_transfer_time: 0.587887
58
+ start_transfer_time: 0.128061
59
59
  status_message: OK
60
- time: 0.587966
60
+ time: 0.128107
@@ -1,26 +1,26 @@
1
1
  --- !ruby/object:Typhoeus::Response
2
- app_connect_time: 0.532163
3
- body: "{\"id\":256142064,\"success\":true}"
2
+ app_connect_time: 4.6e-05
3
+ body: "{\"id\":256142422,\"success\":true}"
4
4
  code: 201
5
- connect_time: 0.155526
5
+ connect_time: 4.6e-05
6
6
  curl_error_message: No error
7
7
  curl_return_code: 0
8
- effective_url: https://test.amiando.com/api/user/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3
8
+ effective_url: https://test.amiando.com/api/user/create?version=1&apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json
9
9
  first_header_line: HTTP/1.1 201 Created
10
10
  headers: |
11
11
  HTTP/1.1 201 Created
12
- Date: Fri, 21 Oct 2011 14:53:52 GMT
12
+ Date: Tue, 25 Oct 2011 14:52:58 GMT
13
13
  Server: Apache/2.0.55 (Red Hat)
14
- Set-Cookie: JSESSIONID=D6504E9244F8E7313EE22F5EE6A5F851.web01; Path=/; Secure
15
- Set-Cookie: JSESSIONID=D6504E9244F8E7313EE22F5EE6A5F851.web01; Path=/
14
+ Set-Cookie: JSESSIONID=FA028071A1A6AB5DB11F8533792851AA.web01; Path=/; Secure
15
+ Set-Cookie: JSESSIONID=FA028071A1A6AB5DB11F8533792851AA.web01; Path=/
16
16
  accept-charset: utf-8
17
17
  P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
18
18
  Access-Control-Allow-Origin: *
19
19
  Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
20
- Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=TjNoeTM2eldXU2xZNzFtaToxMzIwNDE4NjA5NzE1OjQ5NTNiMjg5NzcxZGZkZTA1YzU1YmFmYzQ2NTM1OWUx; Expires=Wed, 19-Oct-2016 14:56:49 GMT; Path=/
20
+ Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=NTZSMVM3SmwzdjJHN01GMzoxMzIwNzY0MTY4MTIwOmYzOGU0ZjZmZTFhYmU4YWRkOTk2ZWIxM2VkYzQ3MDQ1; Expires=Sun, 23-Oct-2016 14:56:08 GMT; Path=/
21
21
  Accept-Ranges: bytes
22
22
  Cache-Control: max-age=7200
23
- Expires: Fri, 21 Oct 2011 16:53:52 GMT
23
+ Expires: Tue, 25 Oct 2011 16:52:58 GMT
24
24
  Vary: User-Agent
25
25
  Transfer-Encoding: chunked
26
26
  Content-Type: application/json;charset=UTF-8
@@ -33,28 +33,28 @@ headers_hash: !map:Typhoeus::NormalizedHeaderHash
33
33
  Transfer-Encoding: chunked
34
34
  Access-Control-Allow-Origin: "*"
35
35
  Content-Type: application/json;charset=UTF-8
36
- Date: Fri, 21 Oct 2011 14:53:52 GMT
36
+ Date: Tue, 25 Oct 2011 14:52:58 GMT
37
37
  Accept-Ranges: bytes
38
38
  Server: Apache/2.0.55 (Red Hat)
39
39
  Set-Cookie:
40
- - JSESSIONID=D6504E9244F8E7313EE22F5EE6A5F851.web01; Path=/; Secure
41
- - JSESSIONID=D6504E9244F8E7313EE22F5EE6A5F851.web01; Path=/
42
- - ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=TjNoeTM2eldXU2xZNzFtaToxMzIwNDE4NjA5NzE1OjQ5NTNiMjg5NzcxZGZkZTA1YzU1YmFmYzQ2NTM1OWUx; Expires=Wed, 19-Oct-2016 14:56:49 GMT; Path=/
43
- Expires: Fri, 21 Oct 2011 16:53:52 GMT
40
+ - JSESSIONID=FA028071A1A6AB5DB11F8533792851AA.web01; Path=/; Secure
41
+ - JSESSIONID=FA028071A1A6AB5DB11F8533792851AA.web01; Path=/
42
+ - ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=NTZSMVM3SmwzdjJHN01GMzoxMzIwNzY0MTY4MTIwOmYzOGU0ZjZmZTFhYmU4YWRkOTk2ZWIxM2VkYzQ3MDQ1; Expires=Sun, 23-Oct-2016 14:56:08 GMT; Path=/
43
+ Expires: Tue, 25 Oct 2011 16:52:58 GMT
44
44
  Cache-Control: max-age=7200
45
45
  Accept-Charset: utf-8
46
46
  http_version:
47
47
  mock: false
48
- name_lookup_time: 0.093936
49
- pretransfer_time: 0.532166
48
+ name_lookup_time: 4.5e-05
49
+ pretransfer_time: 5.1e-05
50
50
  request: |-
51
51
  :method => :post,
52
- :url => https://test.amiando.com/api/user/create?version=1&format=json&apikey=5Tgoob95gX5WqjF0FIjxoJHLNp7YEgAlLuXZdzMuYXaxZZaah3,
53
- :params => {:password=>"123456", :firstName=>"Jorge", :username=>"jorgellop-1@example.com", :lastName=>"Llop", :language=>"es"},
52
+ :url => https://test.amiando.com/api/user/create?version=1&apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json,
53
+ :params => {:firstName=>"Jorge", :language=>"es", :lastName=>"Llop", :password=>"123456", :username=>"jorgellop-2@example.com"},
54
54
  :headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
55
55
  requested_http_method:
56
56
  requested_url:
57
57
  start_time:
58
- start_transfer_time: 0.790445
58
+ start_transfer_time: 0.603333
59
59
  status_message: Created
60
- time: 0.793709
60
+ time: 0.603377
@@ -1,26 +1,26 @@
1
1
  --- !ruby/object:Typhoeus::Response
2
- app_connect_time: 0.612072
2
+ app_connect_time: 4.5e-05
3
3
  body: "{\"errors\":[\"com.amiando.api.rest.InvalidPassword\"],\"success\":false}"
4
4
  code: 400
5
- connect_time: 0.21591
5
+ connect_time: 4.5e-05
6
6
  curl_error_message: No error
7
7
  curl_return_code: 0
8
- effective_url: https://test.amiando.com/api/user/256142296/requestPermission?format=json&version=1&apikey=bPAE7zQAlKwCwKDB2IEhnUxVN5qTwVud5vsmjGT5uU00Mr3dOT
8
+ effective_url: https://test.amiando.com/api/user/256142428/requestPermission?version=1&apikey=W5HLNDtVNCjk8GKlabqvuiq2M7H3aRe7ahmz1rqRkVYANTEkoa&format=json
9
9
  first_header_line: HTTP/1.1 400 Bad Request
10
10
  headers: |
11
11
  HTTP/1.1 400 Bad Request
12
- Date: Mon, 24 Oct 2011 12:39:11 GMT
12
+ Date: Tue, 25 Oct 2011 14:53:02 GMT
13
13
  Server: Apache/2.0.55 (Red Hat)
14
- Set-Cookie: JSESSIONID=0A42CB886FA73DE2815DBF45FB6F2665.web01; Path=/; Secure
15
- Set-Cookie: JSESSIONID=0A42CB886FA73DE2815DBF45FB6F2665.web01; Path=/
14
+ Set-Cookie: JSESSIONID=92F1A369FDD43A06D5FC9ECED0C7C377.web01; Path=/; Secure
15
+ Set-Cookie: JSESSIONID=92F1A369FDD43A06D5FC9ECED0C7C377.web01; Path=/
16
16
  accept-charset: utf-8
17
17
  P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
18
18
  Access-Control-Allow-Origin: *
19
19
  Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
20
- Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=TGJ1N0xuN0Znc1JLQU5QNDoxMzIwNjY5NzM3ODM1OmZiZmViY2ZjMTc3MGY0MWZhODA5MGU3Njk0NmU1ZGIx; Expires=Sat, 22-Oct-2016 12:42:17 GMT; Path=/
20
+ Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=RnMwdGZjb093d3lId1A2cDoxMzIwNzY0MTcyMTMxOmRmMjU2NTI3YzZmNDhkZDdlNjdlNjQxMjE4OTE3ZjMw; Expires=Sun, 23-Oct-2016 14:56:12 GMT; Path=/
21
21
  Accept-Ranges: bytes
22
22
  Cache-Control: max-age=7200
23
- Expires: Mon, 24 Oct 2011 14:39:11 GMT
23
+ Expires: Tue, 25 Oct 2011 16:53:02 GMT
24
24
  Vary: User-Agent
25
25
  Connection: close
26
26
  Transfer-Encoding: chunked
@@ -34,29 +34,29 @@ headers_hash: !map:Typhoeus::NormalizedHeaderHash
34
34
  Transfer-Encoding: chunked
35
35
  Access-Control-Allow-Origin: "*"
36
36
  Content-Type: application/json;charset=UTF-8
37
- Date: Mon, 24 Oct 2011 12:39:11 GMT
37
+ Date: Tue, 25 Oct 2011 14:53:02 GMT
38
38
  Accept-Ranges: bytes
39
39
  Server: Apache/2.0.55 (Red Hat)
40
40
  Set-Cookie:
41
- - JSESSIONID=0A42CB886FA73DE2815DBF45FB6F2665.web01; Path=/; Secure
42
- - JSESSIONID=0A42CB886FA73DE2815DBF45FB6F2665.web01; Path=/
43
- - ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=TGJ1N0xuN0Znc1JLQU5QNDoxMzIwNjY5NzM3ODM1OmZiZmViY2ZjMTc3MGY0MWZhODA5MGU3Njk0NmU1ZGIx; Expires=Sat, 22-Oct-2016 12:42:17 GMT; Path=/
44
- Expires: Mon, 24 Oct 2011 14:39:11 GMT
41
+ - JSESSIONID=92F1A369FDD43A06D5FC9ECED0C7C377.web01; Path=/; Secure
42
+ - JSESSIONID=92F1A369FDD43A06D5FC9ECED0C7C377.web01; Path=/
43
+ - ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=RnMwdGZjb093d3lId1A2cDoxMzIwNzY0MTcyMTMxOmRmMjU2NTI3YzZmNDhkZDdlNjdlNjQxMjE4OTE3ZjMw; Expires=Sun, 23-Oct-2016 14:56:12 GMT; Path=/
44
+ Expires: Tue, 25 Oct 2011 16:53:02 GMT
45
45
  Cache-Control: max-age=7200
46
46
  Accept-Charset: utf-8
47
47
  Connection: close
48
48
  http_version:
49
49
  mock: false
50
- name_lookup_time: 0.081793
51
- pretransfer_time: 0.612075
50
+ name_lookup_time: 4.4e-05
51
+ pretransfer_time: 5.0e-05
52
52
  request: |-
53
53
  :method => :post,
54
- :url => https://test.amiando.com/api/user/256142296/requestPermission?format=json&version=1&apikey=bPAE7zQAlKwCwKDB2IEhnUxVN5qTwVud5vsmjGT5uU00Mr3dOT,
54
+ :url => https://test.amiando.com/api/user/256142428/requestPermission?version=1&apikey=W5HLNDtVNCjk8GKlabqvuiq2M7H3aRe7ahmz1rqRkVYANTEkoa&format=json,
55
55
  :params => {:password=>"wrong password"},
56
56
  :headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
57
57
  requested_http_method:
58
58
  requested_url:
59
59
  start_time:
60
- start_transfer_time: 0.77035
60
+ start_transfer_time: 0.15419
61
61
  status_message: Bad Request
62
- time: 0.773858
62
+ time: 0.154239
@@ -23,7 +23,7 @@ module Amiando
23
23
  :host_id => Amiando::TEST_USER.id,
24
24
  :title => 'Secret title',
25
25
  :country => 'es',
26
- :selected_date => Time.at(0)
26
+ :selected_date => Time.at(0).utc
27
27
  }.merge(options))
28
28
  when :ticket_category
29
29
  event = options.delete(:event) || Amiando::Factory.create(:event)
data/test/test_helper.rb CHANGED
@@ -3,19 +3,26 @@ require 'minitest/autorun'
3
3
  require 'minitest/spec'
4
4
  require 'webmock/minitest'
5
5
  require 'amiando'
6
+
6
7
  begin
7
8
  require 'ruby-debug'
8
- rescue LoadError
9
- end
9
+ rescue LoadError; end
10
+
11
+ begin
12
+ require 'minitest/reporters'
13
+ MiniTest::Unit.runner = MiniTest::SuiteRunner.new
14
+ MiniTest::Unit.runner.reporters << MiniTest::Reporters::SpecReporter.new
15
+ rescue LoadError; end
10
16
 
11
17
  require 'support/hydra_cache'
12
18
  require 'support/factory'
13
19
 
14
20
  Amiando.hydra.cache_setter &HydraCache.method(:setter)
15
21
  Amiando.hydra.cache_getter &HydraCache.method(:getter)
16
- HydraCache.revision = 1
22
+ HydraCache.revision = 2
17
23
 
18
24
  WebMock.allow_net_connect!
25
+ Amiando.verbose = true
19
26
 
20
27
  HydraCache.prefix = 'Global'
21
28
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amiando
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jorge Dias
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-10-25 00:00:00 +02:00
19
+ date: 2011-10-26 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -105,6 +105,7 @@ extra_rdoc_files: []
105
105
 
106
106
  files:
107
107
  - .gitignore
108
+ - .travis.yml
108
109
  - Gemfile
109
110
  - Guardfile
110
111
  - MIT-LICENSE.txt
@@ -113,6 +114,7 @@ files:
113
114
  - amiando.gemspec
114
115
  - lib/amiando.rb
115
116
  - lib/amiando/api_key.rb
117
+ - lib/amiando/autorun.rb
116
118
  - lib/amiando/boolean.rb
117
119
  - lib/amiando/event.rb
118
120
  - lib/amiando/payment_type.rb
@@ -133,87 +135,72 @@ files:
133
135
  - test/amiando/ticket_category_test.rb
134
136
  - test/amiando/ticket_shop_test.rb
135
137
  - test/amiando/user_test.rb
136
- - test/fixtures/ApiKey/018fa0a2281ec9026bc122bc346366f6.yml
138
+ - test/fixtures/ApiKey/1d8e3d55d45a77d6eb7796e5abb70281.yml
137
139
  - test/fixtures/ApiKey/1f62195e173114773b3ec2613582ece9.yml
138
- - test/fixtures/ApiKey/76860dbafe66279f25f56cd66b3f6ba1.yml
140
+ - test/fixtures/ApiKey/2bd8734a62569871c33d9b4d85b6a77e.yml
139
141
  - test/fixtures/ApiKey/97d82801a10696aaf385bf5873034b60.yml
140
- - test/fixtures/ApiKey/a703d1fcec1576fa8cb4ca1c5f53f545.yml
141
- - test/fixtures/ApiKey/a948a98b153ab66978e37160f352bfbc.yml
142
- - test/fixtures/ApiKey/b7ecc9e79dd856dec661554cd00490ed.yml
143
- - test/fixtures/ApiKey/ded8694c21d2e1c0cec845f72ba452b5.yml
144
- - test/fixtures/ApiKey/fa883db60c0390aa8948098d32497015.yml
145
- - test/fixtures/Event/29a95cd545b2fba8121dce97a3c859e3.yml
146
- - test/fixtures/Event/361940ebc5f074b1d6d96c2dbeb573ab.yml
147
- - test/fixtures/Event/3a90bf0a17eb1d647f1496d04640797a.yml
148
- - test/fixtures/Event/3b8ae154ad13c7152366b79c0d34b053.yml
149
- - test/fixtures/Event/49877df5f8c251e3364a3560ab1ab46c.yml
150
- - test/fixtures/Event/50cb3d76b40032b0fa5731ce7d2ae2f6.yml
151
- - test/fixtures/Event/5d6016557d86e7b7ff83d07d1ef4bf44.yml
152
- - test/fixtures/Event/67e55d2f91fa702eb8dc612cbfa661f9.yml
153
- - test/fixtures/Event/813535fc6ee153c1a6d8e826f1fe04dc.yml
154
- - test/fixtures/Event/8eabb0f839e03cde5818397c7121e6b4.yml
155
- - test/fixtures/Event/96a5ccd0281a67a4bdb276516b77e756.yml
156
- - test/fixtures/Event/9e689bd5495dc898a710cba8e6d1d779.yml
157
- - test/fixtures/Event/a816e5664ff66b8e3d27b74435a0c123.yml
158
- - test/fixtures/Event/c5ad7e1d1c160d7d1132297892a9ec94.yml
159
- - test/fixtures/Event/c88c85889575508f75deee325e16e49d.yml
160
- - test/fixtures/Event/d6a585196f1a2a94d22f22a2140d4c07.yml
161
- - test/fixtures/Event/e00eebd4faf194fe592fa6e7615909b8.yml
162
- - test/fixtures/Event/e753b6f404795c6635856ea43b0c7d35.yml
163
- - test/fixtures/Event/eb341dbccefaad75aad439f10cc7d82d.yml
164
- - test/fixtures/Event/ebab641e40ca57f8e0883d8ea003bd78.yml
165
- - test/fixtures/Event/ef17351e4bbc84eb776fe16dda31e1e4.yml
142
+ - test/fixtures/Event/0d29a0d4fe4acb5754dbbf35fea93978.yml
143
+ - test/fixtures/Event/0f81fe01f6d9137dabe648694e51108b.yml
144
+ - test/fixtures/Event/293b18554ac33089826dcc199d55f66d.yml
145
+ - test/fixtures/Event/2d3625bced7e64be6a1f77391e53c92c.yml
146
+ - test/fixtures/Event/3429e430b90972313131c5ec7b140bc5.yml
147
+ - test/fixtures/Event/548edbff1f623236bf25b782b4d54f00.yml
148
+ - test/fixtures/Event/5839cf01abdb31ee25b467010b843a7e.yml
149
+ - test/fixtures/Event/782ed18e0254a0921f2bdc4ee531be15.yml
150
+ - test/fixtures/Event/79874f1be286c23c9073abadd30bfb54.yml
151
+ - test/fixtures/Event/7cc1b7624fd157ace68f1228ac3dcdf0.yml
152
+ - test/fixtures/Event/819153d5998556cd0e0a69843b82e180.yml
153
+ - test/fixtures/Event/8aa7c9a23f8cfb78429186ed32506a85.yml
154
+ - test/fixtures/Event/9c91cd6e67ca4c487277a231642c7348.yml
155
+ - test/fixtures/Event/a43ca700b01ed360f3fd49053a372409.yml
156
+ - test/fixtures/Event/b366ae5348b0369ae9ebe311d27d6e7a.yml
157
+ - test/fixtures/Event/c0215f6e5cc7ce3f38bc8160073ff6e5.yml
158
+ - test/fixtures/Event/c56ad4fb06c53108a17395024b0c6591.yml
159
+ - test/fixtures/Event/cacbf55bdb4305ffc7bde245b549c802.yml
160
+ - test/fixtures/Event/cd000efc19547014919f0e4beddef16d.yml
161
+ - test/fixtures/Event/e8c793aaa218772c909bca09ce1b15a3.yml
162
+ - test/fixtures/Event/e967b0a7dc4c142076ff86e244b3d7ec.yml
163
+ - test/fixtures/Event/ea326235c2dfbc3fb0a58d40e63dec8a.yml
164
+ - test/fixtures/Event/f23b74a91d5c997e3db3087a9ac5083c.yml
165
+ - test/fixtures/Event/f6749539762876faa27fe9d9d9138a75.yml
166
+ - test/fixtures/Event/fbfab75b95d5c3df19152e70fbd9689c.yml
166
167
  - test/fixtures/Global/505952258352958b3b59a3812372ed02.yml
167
- - test/fixtures/Global/d41a6ca323b5db99b4e3c06e108c52cc.yml
168
- - test/fixtures/PaymentType/0ad10cb8031c0c8b2c2787ca5c390667.yml
169
- - test/fixtures/PaymentType/0e4e3995f9ecd10f11b50270c326f23b.yml
170
- - test/fixtures/PaymentType/46a58274e28425eeab73c573ea2a3236.yml
171
- - test/fixtures/PaymentType/49877df5f8c251e3364a3560ab1ab46c.yml
172
- - test/fixtures/PaymentType/c1ea7b9755738d0bdc9336955cd4fa52.yml
173
- - test/fixtures/PaymentType/cd61062dafdb2b4f2a08364482901e49.yml
174
- - test/fixtures/PaymentType/fb24238618b16cb664a5277279e14ff0.yml
175
- - test/fixtures/TicketCategory/0412c9d453efd804e171c6ba57fd980a.yml
176
- - test/fixtures/TicketCategory/49877df5f8c251e3364a3560ab1ab46c.yml
177
- - test/fixtures/TicketCategory/4d3f8d9ff3fb728fc37aaa6e40355a00.yml
178
- - test/fixtures/TicketCategory/5d4fdfda01ed8193c6bbc5e089db5a4b.yml
179
- - test/fixtures/TicketCategory/655e7a8089d67b8eeea1176398e4b289.yml
180
- - test/fixtures/TicketCategory/a9b19dc83437d00ffc4603c04f78159f.yml
181
- - test/fixtures/TicketCategory/bee3d6eb4247fec0849d91fb2f768524.yml
182
- - test/fixtures/TicketCategory/c6f8563714904f006b28ac06312b107d.yml
183
- - test/fixtures/TicketCategory/e6076c26b1b75eec091c5b91c9f75ad9.yml
184
- - test/fixtures/TicketCategory/ebfcf07be91b8cb6d05156713592abc9.yml
185
- - test/fixtures/TicketCategory/fe63648cf867613ec93b380e06257349.yml
186
- - test/fixtures/TicketShop/03d35073550910e61201cf425b4ff73e.yml
187
- - test/fixtures/TicketShop/0524d80dc6e3fad88d49adf71ffa2ab9.yml
188
- - test/fixtures/TicketShop/09729fb0d9f1490bec3acfa0e6742190.yml
189
- - test/fixtures/TicketShop/15c36c73e9f1d3255a61a559e3b98562.yml
190
- - test/fixtures/TicketShop/4605dd240202cd7510bfecaf474ac615.yml
191
- - test/fixtures/TicketShop/5c1f5488a196f44f2c18cc186816fd42.yml
192
- - test/fixtures/TicketShop/71f80402a72be32fdd34074d4426b765.yml
193
- - test/fixtures/TicketShop/bc24338e918c6edb07a55f4d580c5af3.yml
194
- - test/fixtures/TicketShop/d095062bf22d235f277c979b025e5cac.yml
195
- - test/fixtures/TicketShop/ece5150c24e5000bf4eff8dcdb6311bb.yml
196
- - test/fixtures/User/0b4a60c6c962b4b3af9ab21832cd76b2.yml
197
- - test/fixtures/User/0f635f4bb82fdc84af205efe76f43ae0.yml
198
- - test/fixtures/User/1c2f2c8a5372e998f38b9d387107cee2.yml
199
- - test/fixtures/User/1e3ab0fb92b5b1992f35256b4be7497b.yml
200
- - test/fixtures/User/3bac6d29256056f2b9a1ea6fad26966d.yml
201
- - test/fixtures/User/3ffaba64188557400a8678dbefd75990.yml
202
- - test/fixtures/User/5a26c7f9edf6d6027b19b57feda4a96f.yml
203
- - test/fixtures/User/5c17b4b5287f5d0ba390e25e99cf2270.yml
204
- - test/fixtures/User/6501a4db53a97afe6f7b9afeeb996888.yml
205
- - test/fixtures/User/6ad0dd77081f413e3df25d6a625d38cd.yml
206
- - test/fixtures/User/7d493f7758d9795ad522bc827cb51b77.yml
207
- - test/fixtures/User/89e6cb6ae39e29a154c99e0e33bb1b91.yml
208
- - test/fixtures/User/90a3bfe214f17305e356ad3f1a9c9ce7.yml
209
- - test/fixtures/User/92ad6537c8be5aab7cbd778d424f4944.yml
210
- - test/fixtures/User/9485b68940997e23e3721a413d4fbdd5.yml
211
- - test/fixtures/User/98348fe6fbecb7916faadd835916d94d.yml
212
- - test/fixtures/User/b63d7aa4703a3140b4d9884e9f302362.yml
213
- - test/fixtures/User/b8c3fd04d7bd0925c3ccd3a3978ab8e6.yml
214
- - test/fixtures/User/baa28f50439b903e423dbdf918fff20b.yml
215
- - test/fixtures/User/e51278f9f771be0c6c3ac0e4ee1b6459.yml
216
- - test/fixtures/User/eb30a195ac7829d506954f472e9e6dea.yml
168
+ - test/fixtures/Global/8d5740635c53798549a973a4f245613e.yml
169
+ - test/fixtures/PaymentType/0096aebaa9c29a7bcb381d20697704c3.yml
170
+ - test/fixtures/PaymentType/3f67b8ff5994e0239fa2ed6e7dbfcec1.yml
171
+ - test/fixtures/PaymentType/7c37125c353d970dbbbaaef54eaf3d90.yml
172
+ - test/fixtures/PaymentType/99cb9326dac40ba3263f9564d0c38fef.yml
173
+ - test/fixtures/PaymentType/fbfab75b95d5c3df19152e70fbd9689c.yml
174
+ - test/fixtures/TicketCategory/10f73790dceb968d141b099cd8890fc7.yml
175
+ - test/fixtures/TicketCategory/1267a63177d0cdbdc9ce0698c746801a.yml
176
+ - test/fixtures/TicketCategory/1292d83aaf8b860c9674dc3deab14f76.yml
177
+ - test/fixtures/TicketCategory/68afc49b238888d5f21e2bda4112d3ec.yml
178
+ - test/fixtures/TicketCategory/9e4aeb649cc0d8ceeadd95ddf3691db5.yml
179
+ - test/fixtures/TicketCategory/af30e74612a9be4e082524a58f9fa12f.yml
180
+ - test/fixtures/TicketCategory/d93efc92d5d6638151f7b098b5f786e2.yml
181
+ - test/fixtures/TicketCategory/fbfab75b95d5c3df19152e70fbd9689c.yml
182
+ - test/fixtures/TicketShop/00f98e3db33c4179bfb87a14c662ae1a.yml
183
+ - test/fixtures/TicketShop/95137c716c285b96acef0a0d9f4b55c2.yml
184
+ - test/fixtures/TicketShop/98af95fbe3b6921d446c8ad57f476683.yml
185
+ - test/fixtures/TicketShop/dc18e2818f5b86f9e6609703d4165c80.yml
186
+ - test/fixtures/TicketShop/f8b2b6ca29914576989fa3c2fc21d516.yml
187
+ - test/fixtures/User/01fec3bc2a1e516b338622c402243255.yml
188
+ - test/fixtures/User/05317b0072cb1096bfb6967b6ed8d3f6.yml
189
+ - test/fixtures/User/0d0a11e4a50e0c07c5a9ea57d82b0f73.yml
190
+ - test/fixtures/User/20151bd612c24a781cfda884ddea4648.yml
191
+ - test/fixtures/User/2b96ad3dbac7864d8567eee7aef596f8.yml
192
+ - test/fixtures/User/5083f674a088c59d7f57e167d7a68846.yml
193
+ - test/fixtures/User/60ce8f1f2c00efb20e63cac38a2c3733.yml
194
+ - test/fixtures/User/6336fa05acc193628f86cced59cfb181.yml
195
+ - test/fixtures/User/6b47fa7d9877e42cf0efc331760a4297.yml
196
+ - test/fixtures/User/72a03fe8088b0e860de88f5017ddad1a.yml
197
+ - test/fixtures/User/939e0f42cf958e9be75705d71f9c5d46.yml
198
+ - test/fixtures/User/b9227cff5e90a733e50df2a9110a3061.yml
199
+ - test/fixtures/User/cf8a518069a9b3ad71e45ca607a3eb31.yml
200
+ - test/fixtures/User/d0d7823d8c1402e1959481c4a5fe7acf.yml
201
+ - test/fixtures/User/e0f7ab1b2afa0f1ea2be473bc3dd3838.yml
202
+ - test/fixtures/User/ea31627d93c898465d0dbe44c86ca6ed.yml
203
+ - test/fixtures/User/efb3543620c2a1753972b79b1a747b00.yml
217
204
  - test/support/factory.rb
218
205
  - test/support/hydra_cache.rb
219
206
  - test/test_helper.rb
@@ -247,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
234
  requirements: []
248
235
 
249
236
  rubyforge_project: amiando
250
- rubygems_version: 1.3.7
237
+ rubygems_version: 1.6.2
251
238
  signing_key:
252
239
  specification_version: 3
253
240
  summary: A ruby client for the amiando REST API
@@ -262,87 +249,72 @@ test_files:
262
249
  - test/amiando/ticket_category_test.rb
263
250
  - test/amiando/ticket_shop_test.rb
264
251
  - test/amiando/user_test.rb
265
- - test/fixtures/ApiKey/018fa0a2281ec9026bc122bc346366f6.yml
252
+ - test/fixtures/ApiKey/1d8e3d55d45a77d6eb7796e5abb70281.yml
266
253
  - test/fixtures/ApiKey/1f62195e173114773b3ec2613582ece9.yml
267
- - test/fixtures/ApiKey/76860dbafe66279f25f56cd66b3f6ba1.yml
254
+ - test/fixtures/ApiKey/2bd8734a62569871c33d9b4d85b6a77e.yml
268
255
  - test/fixtures/ApiKey/97d82801a10696aaf385bf5873034b60.yml
269
- - test/fixtures/ApiKey/a703d1fcec1576fa8cb4ca1c5f53f545.yml
270
- - test/fixtures/ApiKey/a948a98b153ab66978e37160f352bfbc.yml
271
- - test/fixtures/ApiKey/b7ecc9e79dd856dec661554cd00490ed.yml
272
- - test/fixtures/ApiKey/ded8694c21d2e1c0cec845f72ba452b5.yml
273
- - test/fixtures/ApiKey/fa883db60c0390aa8948098d32497015.yml
274
- - test/fixtures/Event/29a95cd545b2fba8121dce97a3c859e3.yml
275
- - test/fixtures/Event/361940ebc5f074b1d6d96c2dbeb573ab.yml
276
- - test/fixtures/Event/3a90bf0a17eb1d647f1496d04640797a.yml
277
- - test/fixtures/Event/3b8ae154ad13c7152366b79c0d34b053.yml
278
- - test/fixtures/Event/49877df5f8c251e3364a3560ab1ab46c.yml
279
- - test/fixtures/Event/50cb3d76b40032b0fa5731ce7d2ae2f6.yml
280
- - test/fixtures/Event/5d6016557d86e7b7ff83d07d1ef4bf44.yml
281
- - test/fixtures/Event/67e55d2f91fa702eb8dc612cbfa661f9.yml
282
- - test/fixtures/Event/813535fc6ee153c1a6d8e826f1fe04dc.yml
283
- - test/fixtures/Event/8eabb0f839e03cde5818397c7121e6b4.yml
284
- - test/fixtures/Event/96a5ccd0281a67a4bdb276516b77e756.yml
285
- - test/fixtures/Event/9e689bd5495dc898a710cba8e6d1d779.yml
286
- - test/fixtures/Event/a816e5664ff66b8e3d27b74435a0c123.yml
287
- - test/fixtures/Event/c5ad7e1d1c160d7d1132297892a9ec94.yml
288
- - test/fixtures/Event/c88c85889575508f75deee325e16e49d.yml
289
- - test/fixtures/Event/d6a585196f1a2a94d22f22a2140d4c07.yml
290
- - test/fixtures/Event/e00eebd4faf194fe592fa6e7615909b8.yml
291
- - test/fixtures/Event/e753b6f404795c6635856ea43b0c7d35.yml
292
- - test/fixtures/Event/eb341dbccefaad75aad439f10cc7d82d.yml
293
- - test/fixtures/Event/ebab641e40ca57f8e0883d8ea003bd78.yml
294
- - test/fixtures/Event/ef17351e4bbc84eb776fe16dda31e1e4.yml
256
+ - test/fixtures/Event/0d29a0d4fe4acb5754dbbf35fea93978.yml
257
+ - test/fixtures/Event/0f81fe01f6d9137dabe648694e51108b.yml
258
+ - test/fixtures/Event/293b18554ac33089826dcc199d55f66d.yml
259
+ - test/fixtures/Event/2d3625bced7e64be6a1f77391e53c92c.yml
260
+ - test/fixtures/Event/3429e430b90972313131c5ec7b140bc5.yml
261
+ - test/fixtures/Event/548edbff1f623236bf25b782b4d54f00.yml
262
+ - test/fixtures/Event/5839cf01abdb31ee25b467010b843a7e.yml
263
+ - test/fixtures/Event/782ed18e0254a0921f2bdc4ee531be15.yml
264
+ - test/fixtures/Event/79874f1be286c23c9073abadd30bfb54.yml
265
+ - test/fixtures/Event/7cc1b7624fd157ace68f1228ac3dcdf0.yml
266
+ - test/fixtures/Event/819153d5998556cd0e0a69843b82e180.yml
267
+ - test/fixtures/Event/8aa7c9a23f8cfb78429186ed32506a85.yml
268
+ - test/fixtures/Event/9c91cd6e67ca4c487277a231642c7348.yml
269
+ - test/fixtures/Event/a43ca700b01ed360f3fd49053a372409.yml
270
+ - test/fixtures/Event/b366ae5348b0369ae9ebe311d27d6e7a.yml
271
+ - test/fixtures/Event/c0215f6e5cc7ce3f38bc8160073ff6e5.yml
272
+ - test/fixtures/Event/c56ad4fb06c53108a17395024b0c6591.yml
273
+ - test/fixtures/Event/cacbf55bdb4305ffc7bde245b549c802.yml
274
+ - test/fixtures/Event/cd000efc19547014919f0e4beddef16d.yml
275
+ - test/fixtures/Event/e8c793aaa218772c909bca09ce1b15a3.yml
276
+ - test/fixtures/Event/e967b0a7dc4c142076ff86e244b3d7ec.yml
277
+ - test/fixtures/Event/ea326235c2dfbc3fb0a58d40e63dec8a.yml
278
+ - test/fixtures/Event/f23b74a91d5c997e3db3087a9ac5083c.yml
279
+ - test/fixtures/Event/f6749539762876faa27fe9d9d9138a75.yml
280
+ - test/fixtures/Event/fbfab75b95d5c3df19152e70fbd9689c.yml
295
281
  - test/fixtures/Global/505952258352958b3b59a3812372ed02.yml
296
- - test/fixtures/Global/d41a6ca323b5db99b4e3c06e108c52cc.yml
297
- - test/fixtures/PaymentType/0ad10cb8031c0c8b2c2787ca5c390667.yml
298
- - test/fixtures/PaymentType/0e4e3995f9ecd10f11b50270c326f23b.yml
299
- - test/fixtures/PaymentType/46a58274e28425eeab73c573ea2a3236.yml
300
- - test/fixtures/PaymentType/49877df5f8c251e3364a3560ab1ab46c.yml
301
- - test/fixtures/PaymentType/c1ea7b9755738d0bdc9336955cd4fa52.yml
302
- - test/fixtures/PaymentType/cd61062dafdb2b4f2a08364482901e49.yml
303
- - test/fixtures/PaymentType/fb24238618b16cb664a5277279e14ff0.yml
304
- - test/fixtures/TicketCategory/0412c9d453efd804e171c6ba57fd980a.yml
305
- - test/fixtures/TicketCategory/49877df5f8c251e3364a3560ab1ab46c.yml
306
- - test/fixtures/TicketCategory/4d3f8d9ff3fb728fc37aaa6e40355a00.yml
307
- - test/fixtures/TicketCategory/5d4fdfda01ed8193c6bbc5e089db5a4b.yml
308
- - test/fixtures/TicketCategory/655e7a8089d67b8eeea1176398e4b289.yml
309
- - test/fixtures/TicketCategory/a9b19dc83437d00ffc4603c04f78159f.yml
310
- - test/fixtures/TicketCategory/bee3d6eb4247fec0849d91fb2f768524.yml
311
- - test/fixtures/TicketCategory/c6f8563714904f006b28ac06312b107d.yml
312
- - test/fixtures/TicketCategory/e6076c26b1b75eec091c5b91c9f75ad9.yml
313
- - test/fixtures/TicketCategory/ebfcf07be91b8cb6d05156713592abc9.yml
314
- - test/fixtures/TicketCategory/fe63648cf867613ec93b380e06257349.yml
315
- - test/fixtures/TicketShop/03d35073550910e61201cf425b4ff73e.yml
316
- - test/fixtures/TicketShop/0524d80dc6e3fad88d49adf71ffa2ab9.yml
317
- - test/fixtures/TicketShop/09729fb0d9f1490bec3acfa0e6742190.yml
318
- - test/fixtures/TicketShop/15c36c73e9f1d3255a61a559e3b98562.yml
319
- - test/fixtures/TicketShop/4605dd240202cd7510bfecaf474ac615.yml
320
- - test/fixtures/TicketShop/5c1f5488a196f44f2c18cc186816fd42.yml
321
- - test/fixtures/TicketShop/71f80402a72be32fdd34074d4426b765.yml
322
- - test/fixtures/TicketShop/bc24338e918c6edb07a55f4d580c5af3.yml
323
- - test/fixtures/TicketShop/d095062bf22d235f277c979b025e5cac.yml
324
- - test/fixtures/TicketShop/ece5150c24e5000bf4eff8dcdb6311bb.yml
325
- - test/fixtures/User/0b4a60c6c962b4b3af9ab21832cd76b2.yml
326
- - test/fixtures/User/0f635f4bb82fdc84af205efe76f43ae0.yml
327
- - test/fixtures/User/1c2f2c8a5372e998f38b9d387107cee2.yml
328
- - test/fixtures/User/1e3ab0fb92b5b1992f35256b4be7497b.yml
329
- - test/fixtures/User/3bac6d29256056f2b9a1ea6fad26966d.yml
330
- - test/fixtures/User/3ffaba64188557400a8678dbefd75990.yml
331
- - test/fixtures/User/5a26c7f9edf6d6027b19b57feda4a96f.yml
332
- - test/fixtures/User/5c17b4b5287f5d0ba390e25e99cf2270.yml
333
- - test/fixtures/User/6501a4db53a97afe6f7b9afeeb996888.yml
334
- - test/fixtures/User/6ad0dd77081f413e3df25d6a625d38cd.yml
335
- - test/fixtures/User/7d493f7758d9795ad522bc827cb51b77.yml
336
- - test/fixtures/User/89e6cb6ae39e29a154c99e0e33bb1b91.yml
337
- - test/fixtures/User/90a3bfe214f17305e356ad3f1a9c9ce7.yml
338
- - test/fixtures/User/92ad6537c8be5aab7cbd778d424f4944.yml
339
- - test/fixtures/User/9485b68940997e23e3721a413d4fbdd5.yml
340
- - test/fixtures/User/98348fe6fbecb7916faadd835916d94d.yml
341
- - test/fixtures/User/b63d7aa4703a3140b4d9884e9f302362.yml
342
- - test/fixtures/User/b8c3fd04d7bd0925c3ccd3a3978ab8e6.yml
343
- - test/fixtures/User/baa28f50439b903e423dbdf918fff20b.yml
344
- - test/fixtures/User/e51278f9f771be0c6c3ac0e4ee1b6459.yml
345
- - test/fixtures/User/eb30a195ac7829d506954f472e9e6dea.yml
282
+ - test/fixtures/Global/8d5740635c53798549a973a4f245613e.yml
283
+ - test/fixtures/PaymentType/0096aebaa9c29a7bcb381d20697704c3.yml
284
+ - test/fixtures/PaymentType/3f67b8ff5994e0239fa2ed6e7dbfcec1.yml
285
+ - test/fixtures/PaymentType/7c37125c353d970dbbbaaef54eaf3d90.yml
286
+ - test/fixtures/PaymentType/99cb9326dac40ba3263f9564d0c38fef.yml
287
+ - test/fixtures/PaymentType/fbfab75b95d5c3df19152e70fbd9689c.yml
288
+ - test/fixtures/TicketCategory/10f73790dceb968d141b099cd8890fc7.yml
289
+ - test/fixtures/TicketCategory/1267a63177d0cdbdc9ce0698c746801a.yml
290
+ - test/fixtures/TicketCategory/1292d83aaf8b860c9674dc3deab14f76.yml
291
+ - test/fixtures/TicketCategory/68afc49b238888d5f21e2bda4112d3ec.yml
292
+ - test/fixtures/TicketCategory/9e4aeb649cc0d8ceeadd95ddf3691db5.yml
293
+ - test/fixtures/TicketCategory/af30e74612a9be4e082524a58f9fa12f.yml
294
+ - test/fixtures/TicketCategory/d93efc92d5d6638151f7b098b5f786e2.yml
295
+ - test/fixtures/TicketCategory/fbfab75b95d5c3df19152e70fbd9689c.yml
296
+ - test/fixtures/TicketShop/00f98e3db33c4179bfb87a14c662ae1a.yml
297
+ - test/fixtures/TicketShop/95137c716c285b96acef0a0d9f4b55c2.yml
298
+ - test/fixtures/TicketShop/98af95fbe3b6921d446c8ad57f476683.yml
299
+ - test/fixtures/TicketShop/dc18e2818f5b86f9e6609703d4165c80.yml
300
+ - test/fixtures/TicketShop/f8b2b6ca29914576989fa3c2fc21d516.yml
301
+ - test/fixtures/User/01fec3bc2a1e516b338622c402243255.yml
302
+ - test/fixtures/User/05317b0072cb1096bfb6967b6ed8d3f6.yml
303
+ - test/fixtures/User/0d0a11e4a50e0c07c5a9ea57d82b0f73.yml
304
+ - test/fixtures/User/20151bd612c24a781cfda884ddea4648.yml
305
+ - test/fixtures/User/2b96ad3dbac7864d8567eee7aef596f8.yml
306
+ - test/fixtures/User/5083f674a088c59d7f57e167d7a68846.yml
307
+ - test/fixtures/User/60ce8f1f2c00efb20e63cac38a2c3733.yml
308
+ - test/fixtures/User/6336fa05acc193628f86cced59cfb181.yml
309
+ - test/fixtures/User/6b47fa7d9877e42cf0efc331760a4297.yml
310
+ - test/fixtures/User/72a03fe8088b0e860de88f5017ddad1a.yml
311
+ - test/fixtures/User/939e0f42cf958e9be75705d71f9c5d46.yml
312
+ - test/fixtures/User/b9227cff5e90a733e50df2a9110a3061.yml
313
+ - test/fixtures/User/cf8a518069a9b3ad71e45ca607a3eb31.yml
314
+ - test/fixtures/User/d0d7823d8c1402e1959481c4a5fe7acf.yml
315
+ - test/fixtures/User/e0f7ab1b2afa0f1ea2be473bc3dd3838.yml
316
+ - test/fixtures/User/ea31627d93c898465d0dbe44c86ca6ed.yml
317
+ - test/fixtures/User/efb3543620c2a1753972b79b1a747b00.yml
346
318
  - test/support/factory.rb
347
319
  - test/support/hydra_cache.rb
348
320
  - test/test_helper.rb