amiando 0.3.11 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/amiando.gemspec +1 -0
- data/lib/amiando.rb +4 -0
- data/lib/amiando/public/event.rb +48 -0
- data/lib/amiando/version.rb +1 -1
- data/test/amiando/public/event_test.rb +26 -0
- data/test/fixtures/ApiKey/05b6db05cea99a69dc63743481314f7d.yml +60 -0
- data/test/fixtures/ApiKey/34337909522f49bc202a2101b66a54a3.yml +60 -0
- data/test/fixtures/ApiKey/f1857bfc6fb9d010a799d7ae6be161d8.yml +60 -0
- data/test/fixtures/ApiKey/f2e7e5ba19d642ce7726f576d689e56b.yml +60 -0
- data/test/fixtures/Event/055e8d90da0204ea50d9c36836b8e08f.yml +62 -0
- data/test/fixtures/Event/0bcae134528065647ad9a27090e9a71b.yml +60 -0
- data/test/fixtures/Event/0d6b771b34470b5b87bcb2df06ebd269.yml +60 -0
- data/test/fixtures/Event/12622e10cc02282f13fbd3d58942ef68.yml +60 -0
- data/test/fixtures/Event/18aeced6e5065a9dd413f4e3ae6a93d2.yml +62 -0
- data/test/fixtures/Event/1b932c41e8294bfa48a8a85f64589cca.yml +71 -0
- data/test/fixtures/Event/{c0215f6e5cc7ce3f38bc8160073ff6e5.yml → 228eeb082c7209b1c76e7ff6aca87833.yml} +25 -25
- data/test/fixtures/{TicketType/691a6b82a08302ca3adfb549e6b661f1.yml → Event/2c4c701ec25a31c4740a4f882fb9f695.yml} +28 -28
- data/test/fixtures/Event/3263488498b88849a6ee1ed62a1ee1fa.yml +60 -0
- data/test/fixtures/Event/344bd8773e2a01a04d2a0a7ed96449a7.yml +60 -0
- data/test/fixtures/Event/3ac0f87a14a09d24d397c4d01c89b0ca.yml +60 -0
- data/test/fixtures/Event/4b35356dab27546ffb8bfd6df4f04699.yml +62 -0
- data/test/fixtures/Event/4c9a5edfce1082b09e4518f5a1bfab5c.yml +71 -0
- data/test/fixtures/Event/5e85f7982af45a55e770c5a5cccf4aef.yml +60 -0
- data/test/fixtures/Event/5fb93105646eea5c5b9dfd259a6d1d5e.yml +60 -0
- data/test/fixtures/Event/62c7578d62b6052377ceee9780799584.yml +61 -0
- data/test/fixtures/Event/6444b9ad6fc53d5f949e5e8598b16ee5.yml +62 -0
- data/test/fixtures/Event/6eda371bb30d9540c7903d5bbe332ff7.yml +62 -0
- data/test/fixtures/Event/{5839cf01abdb31ee25b467010b843a7e.yml → 8c0f0865fafdbabd322780eb6cd87f00.yml} +25 -25
- data/test/fixtures/Event/96fa873ff1f471fbe2158c964717405c.yml +60 -0
- data/test/fixtures/Event/9bd039814683a7957e1ea62745e1e9df.yml +60 -0
- data/test/fixtures/Event/{cd000efc19547014919f0e4beddef16d.yml → 9e17f0bf2d16f540ed28da07b495faa8.yml} +27 -27
- data/test/fixtures/Event/aa2c2a82f2a26fa051f25ef5cccdbe4e.yml +60 -0
- data/test/fixtures/Event/b922b5f6b8bf927e6f2becde6c815984.yml +62 -0
- data/test/fixtures/Event/bc215a70a3f8e7d05c9aa0b6b7271053.yml +62 -0
- data/test/fixtures/Event/bd7cdbabe68b9bbca4a0ec0d732d4e1a.yml +60 -0
- data/test/fixtures/Event/c204fb59dad6b6411b57be98ede35da3.yml +60 -0
- data/test/fixtures/Event/c3b6545ed45c37dc6e8ea9c6726f9d89.yml +60 -0
- data/test/fixtures/Event/c9378eae3ce6984e3282e3323ded741b.yml +60 -0
- data/test/fixtures/Event/d694345f377fde38b8f3193033d86b7b.yml +62 -0
- data/test/fixtures/Event/d770d245e3c3d3801babd169aec34bc0.yml +62 -0
- data/test/fixtures/Event/db260e27d5c59345d417a61167ed43f9.yml +60 -0
- data/test/fixtures/Event/dc66cb7f8af4005518a981e9aae32e22.yml +60 -0
- data/test/fixtures/Event/{e8c793aaa218772c909bca09ce1b15a3.yml → e76c8bbed2d5b2c9965d0ad23a6914af.yml} +28 -28
- data/test/fixtures/Event/{0f81fe01f6d9137dabe648694e51108b.yml → fb20d975854905ddaaed6821ac272c2a.yml} +28 -28
- data/test/fixtures/Global/130a5b9d5816b3921455fe0a3e950a0b.yml +62 -0
- data/test/fixtures/Global/2c867953cfd212d1a22cf66c151a46bd.yml +60 -0
- data/test/fixtures/Global/d132b90f4533e9a072b01d2cb9d8bc3c.yml +60 -0
- data/test/fixtures/Partner/11c1c3ba61a140c4f4c8eadee7407e94.yml +60 -0
- data/test/fixtures/Partner/180dc2fd63444162605f50eab8d5afa0.yml +60 -0
- data/test/fixtures/Partner/18d5f670ca6bf533089e778b6230760a.yml +60 -0
- data/test/fixtures/Partner/240b9d33de1b51910f7096c7785722cf.yml +60 -0
- data/test/fixtures/Partner/34e590799bd6d3298aa1da1a6306ea49.yml +62 -0
- data/test/fixtures/Partner/49a32564d46674dfd5a6635888baf64d.yml +62 -0
- data/test/fixtures/Partner/6d69467987356a89890d49a34fbbf760.yml +62 -0
- data/test/fixtures/Partner/6e169f474d404c6e522a4f59067cfe07.yml +71 -0
- data/test/fixtures/Partner/7145cf194a9d9e46b2ef0e618ab75c0e.yml +60 -0
- data/test/fixtures/Partner/754334e85b6be37f10fdd49decb6c08e.yml +60 -0
- data/test/fixtures/Partner/8880416a21c8f0006c47756c8d84857c.yml +62 -0
- data/test/fixtures/Partner/89554f683b820b1e7a26c630b895194e.yml +60 -0
- data/test/fixtures/Partner/8df3ae7c9eceb91bb28994b17902a7c2.yml +60 -0
- data/test/fixtures/Partner/8e9213ae58db5e37949b04138ffc5e5a.yml +62 -0
- data/test/fixtures/Partner/c13df01420d9d652e6c58b0490d950ef.yml +60 -0
- data/test/fixtures/Partner/c34a741131a423f97060def3c961db71.yml +60 -0
- data/test/fixtures/Partner/c41dc5d5915e61780d0dc6513a19d271.yml +62 -0
- data/test/fixtures/Partner/c7e3cfea3996d1135a73a540d73f672a.yml +62 -0
- data/test/fixtures/Partner/d88b6eefd8d0d1ece8ef9eddfa87935f.yml +60 -0
- data/test/fixtures/Partner/df3a5cf55695a8a009885c00d348a462.yml +60 -0
- data/test/fixtures/Partner/eb57cd6c647f9fdc45e73db6b09d063b.yml +60 -0
- data/test/fixtures/Partner/f8a41c6541e1090d391235289573654a.yml +71 -0
- data/test/fixtures/Partner/fedfa6980ccfa9d16c5bee91e3c7a5d5.yml +60 -0
- data/test/fixtures/PaymentType/03cc10fb2aab10a54db84183e7ac2d5b.yml +60 -0
- data/test/fixtures/PaymentType/2c4c701ec25a31c4740a4f882fb9f695.yml +60 -0
- data/test/fixtures/PaymentType/4941474ec67032c516cd1cebb4d061f5.yml +60 -0
- data/test/fixtures/PaymentType/5ee22bd9065b5db46fee96c02f635d78.yml +60 -0
- data/test/fixtures/PaymentType/6444b9ad6fc53d5f949e5e8598b16ee5.yml +62 -0
- data/test/fixtures/PaymentType/6abcafad6e2dd5125cc783385455438a.yml +62 -0
- data/test/fixtures/PaymentType/71e44651a0d0ac3f20ff736c13e5e45a.yml +60 -0
- data/test/fixtures/PaymentType/813c88383ee7810add20fed83b2cf58f.yml +60 -0
- data/test/fixtures/{TicketType/300251efae116632a5c68176a6eae4af.yml → PaymentType/827f1ca3eb8211d717b63ba559a80fb6.yml} +26 -26
- data/test/fixtures/PaymentType/a93cd163d5923aec34aa2fbf8ec67b88.yml +62 -0
- data/test/fixtures/PaymentType/adfb0c47aee036164d97433372da9f5c.yml +60 -0
- data/test/fixtures/PaymentType/be3a46622a1a503bb5f5fd35d9476bcb.yml +60 -0
- data/test/fixtures/PaymentType/ed46ff4249f4a2b39a7ce4191cc06a4b.yml +60 -0
- data/test/fixtures/Public_Event/b089a2954239552f024b5063ac460b4f.yml +60 -0
- data/test/fixtures/Public_Event/dff9b9a45753e5acfaf5c6f3ba82b77c.yml +60 -0
- data/test/fixtures/TicketCategory/27dfb569710afcca5ffe0f28bff347ab.yml +60 -0
- data/test/fixtures/TicketCategory/2c4c701ec25a31c4740a4f882fb9f695.yml +60 -0
- data/test/fixtures/{PaymentType/b70da5323cdefa2ea4c87a36342a8175.yml → TicketCategory/35fa8112d4e44175181bb5708aa3d1c3.yml} +24 -25
- data/test/fixtures/TicketCategory/6444b9ad6fc53d5f949e5e8598b16ee5.yml +62 -0
- data/test/fixtures/TicketCategory/71be0e6b19a7df047a94e7622ee19eb4.yml +62 -0
- data/test/fixtures/TicketCategory/84042af90a08b6cfbcf72c2586962b1c.yml +60 -0
- data/test/fixtures/TicketCategory/{9e4aeb649cc0d8ceeadd95ddf3691db5.yml → 88216f9daa88dbd7705b64298d42bb2c.yml} +28 -28
- data/test/fixtures/TicketCategory/{d93efc92d5d6638151f7b098b5f786e2.yml → 8debf1f6de9231dfd8eb63de25519ab8.yml} +29 -29
- data/test/fixtures/TicketCategory/9711abb47ee6e0ac713100d1bffa0458.yml +60 -0
- data/test/fixtures/TicketCategory/b984026a703471fead8af6ab861c18b7.yml +60 -0
- data/test/fixtures/TicketCategory/{10f73790dceb968d141b099cd8890fc7.yml → f368e8dfef0a795ca788ed26ab82951b.yml} +29 -29
- data/test/fixtures/TicketShop/02410ffd207503156b15ff3caa5d7703.yml +62 -0
- data/test/fixtures/TicketShop/0aa1b0637fbe2a115007fa18a0f64590.yml +60 -0
- data/test/fixtures/TicketShop/1b73905c9584e2b3e65974286e391a42.yml +60 -0
- data/test/fixtures/TicketShop/21c9cce0a2e2604cedea8723b12f83c0.yml +60 -0
- data/test/fixtures/TicketShop/4fa8865d6d9204e4709acab32ae0f4ad.yml +62 -0
- data/test/fixtures/TicketShop/5cd30386332527e5866e5bbb8cc4ef7c.yml +60 -0
- data/test/fixtures/TicketShop/5d9a284362a710e8a92be3945e413137.yml +60 -0
- data/test/fixtures/TicketShop/a3ad84896c2a2ebfcf47ee6827353b2f.yml +62 -0
- data/test/fixtures/TicketShop/d6ac30957f7f60051884cf2f1e9f933d.yml +62 -0
- data/test/fixtures/TicketType/{bbbdca24f66260547c6effe7bab1aa92.yml → 09da045a93d330f89bb57823b96f2aea.yml} +26 -26
- data/test/fixtures/TicketType/{adbe8c5200cc684b766f28c140398f34.yml → 23e3eb3f357567ef4cd04128bbe72386.yml} +25 -25
- data/test/fixtures/TicketType/{bb237b60fc58506aede17a85497a1c66.yml → 2c2da8d7f1c655927fd0c8200829de36.yml} +28 -28
- data/test/fixtures/TicketType/3a7affa33b61d8a7105112a990cf4dc6.yml +62 -0
- data/test/fixtures/TicketType/42a07b9fd9ee0cefe9bc3b9025651b89.yml +60 -0
- data/test/fixtures/TicketType/6edfe939d7a4d353584358bd8a7088eb.yml +60 -0
- data/test/fixtures/TicketType/792d2774c357b2d3b66fda8bf080c3c4.yml +60 -0
- data/test/fixtures/TicketType/7b30f081f03caf70c21df706f96971d5.yml +60 -0
- data/test/fixtures/TicketType/90f8c45f299a2e4281a3124f896ba770.yml +62 -0
- data/test/fixtures/TicketType/{42656d14df20971a9a85fd6568b5b2d5.yml → 96da102e0f0692400da3ca1e53e98277.yml} +28 -28
- data/test/fixtures/TicketType/cbbd33444baf3f47af7d3a5dc9e778a0.yml +62 -0
- data/test/fixtures/TicketType/df565406baaaab163a010dc23c9ec29f.yml +60 -0
- data/test/fixtures/TicketType/{98c2f99677f9091490e1757e7ca17ba3.yml → e3d15339c3d2e23edd95e81b9d902079.yml} +28 -28
- data/test/fixtures/TicketType/{9454d2eb8c100a9c5584b858fc608ec9.yml → eafdecb3f21fb78e741d4f5c41000f78.yml} +26 -26
- data/test/fixtures/User/038e2e75004f465015108203049f018f.yml +62 -0
- data/test/fixtures/User/0828dd4103d76f36df947938db87ed00.yml +59 -0
- data/test/fixtures/User/0a1472c22fb9b66eb7da6f6ced45c681.yml +62 -0
- data/test/fixtures/User/222f262ebd6350a9cea4698ed99ce63b.yml +59 -0
- data/test/fixtures/User/{d0d7823d8c1402e1959481c4a5fe7acf.yml → 25a8d4bd3488923f8234794538dc3c1f.yml} +25 -25
- data/test/fixtures/User/2b0ff4b5c8ef65037ed26036adaa487e.yml +60 -0
- data/test/fixtures/User/2cb5c904a9fe2c742a196b0f0d73a990.yml +60 -0
- data/test/fixtures/User/39129da0abc0f47bf37c908dc402e935.yml +60 -0
- data/test/fixtures/User/4217e0f4191aa1dfe383a6dc1525f5cd.yml +60 -0
- data/test/fixtures/User/475b35f3c974fe4e2a14c7203e44803b.yml +60 -0
- data/test/fixtures/User/50f2d986fef46bf8ce3a96924cdfabec.yml +62 -0
- data/test/fixtures/User/6cd6ece5dfad2945ab2ec4706efd3892.yml +60 -0
- data/test/fixtures/User/7ac284f35b22b2b57a430aed390261bd.yml +62 -0
- data/test/fixtures/User/8c1ab3c3c60994961d4a092377062929.yml +60 -0
- data/test/fixtures/User/996824aa9b6509fd3430ac05084259d6.yml +60 -0
- data/test/fixtures/User/9edc7f6fe4b6764412ba006e760c53ec.yml +60 -0
- data/test/fixtures/User/a7bea8e38bcd4fcaaa265fab27c881a6.yml +60 -0
- data/test/fixtures/User/aa75aafb52ba906b4b2543840998e8fb.yml +71 -0
- data/test/fixtures/User/acc85133127d02a7983a1101fe379163.yml +60 -0
- data/test/fixtures/User/b4dc363ab30578f47abf1192088a5388.yml +62 -0
- data/test/fixtures/User/b92cc3ec697340fda8d6464ff76cfab2.yml +62 -0
- data/test/fixtures/User/c90c3b832e152bf857a14d98732fb0ad.yml +60 -0
- data/test/fixtures/User/ca3051aa954528f647d1c7b7a76e0627.yml +60 -0
- data/test/fixtures/User/d6b78211c28ac074fed6e97f3be1631b.yml +60 -0
- data/test/fixtures/User/d91b74eacbed168c261a1aec23400d94.yml +60 -0
- data/test/fixtures/User/e6d020005b2b56fa979b6fa538847677.yml +71 -0
- data/test/fixtures/User/ea84e06091cd49ab9f501e2c87633bc4.yml +60 -0
- data/test/fixtures/User/eb758127684e96e46de23b5544c31ae1.yml +62 -0
- data/test/fixtures/User/ee87bec152ab88a1c863873e56d9d5b5.yml +60 -0
- data/test/fixtures/User/f248f20c19a3a7271d38a000d3d6d776.yml +62 -0
- data/test/fixtures/User/f91f7e6ebe438ee983dfc90d2db9a1a1.yml +60 -0
- data/test/fixtures/User/f97a10538dc93f73531b16a064173044.yml +60 -0
- data/test/fixtures/User/fdc5cad17140768ef94796ac8ebbcd4a.yml +60 -0
- data/test/test_helper.rb +4 -3
- metadata +324 -202
- data/test/fixtures/ApiKey/1d8e3d55d45a77d6eb7796e5abb70281.yml +0 -60
- data/test/fixtures/ApiKey/1f62195e173114773b3ec2613582ece9.yml +0 -60
- data/test/fixtures/ApiKey/2bd8734a62569871c33d9b4d85b6a77e.yml +0 -60
- data/test/fixtures/ApiKey/97d82801a10696aaf385bf5873034b60.yml +0 -60
- data/test/fixtures/Event/0d29a0d4fe4acb5754dbbf35fea93978.yml +0 -60
- data/test/fixtures/Event/293b18554ac33089826dcc199d55f66d.yml +0 -62
- data/test/fixtures/Event/2d3625bced7e64be6a1f77391e53c92c.yml +0 -60
- data/test/fixtures/Event/3429e430b90972313131c5ec7b140bc5.yml +0 -60
- data/test/fixtures/Event/548edbff1f623236bf25b782b4d54f00.yml +0 -60
- data/test/fixtures/Event/782ed18e0254a0921f2bdc4ee531be15.yml +0 -60
- data/test/fixtures/Event/79874f1be286c23c9073abadd30bfb54.yml +0 -60
- data/test/fixtures/Event/7cc1b7624fd157ace68f1228ac3dcdf0.yml +0 -60
- data/test/fixtures/Event/819153d5998556cd0e0a69843b82e180.yml +0 -60
- data/test/fixtures/Event/8aa7c9a23f8cfb78429186ed32506a85.yml +0 -60
- data/test/fixtures/Event/9c91cd6e67ca4c487277a231642c7348.yml +0 -60
- data/test/fixtures/Event/a43ca700b01ed360f3fd49053a372409.yml +0 -60
- data/test/fixtures/Event/b366ae5348b0369ae9ebe311d27d6e7a.yml +0 -60
- data/test/fixtures/Event/c56ad4fb06c53108a17395024b0c6591.yml +0 -60
- data/test/fixtures/Event/cacbf55bdb4305ffc7bde245b549c802.yml +0 -60
- data/test/fixtures/Event/e967b0a7dc4c142076ff86e244b3d7ec.yml +0 -60
- data/test/fixtures/Event/ea326235c2dfbc3fb0a58d40e63dec8a.yml +0 -60
- data/test/fixtures/Event/f23b74a91d5c997e3db3087a9ac5083c.yml +0 -62
- data/test/fixtures/Event/f6749539762876faa27fe9d9d9138a75.yml +0 -60
- data/test/fixtures/Event/fbfab75b95d5c3df19152e70fbd9689c.yml +0 -60
- data/test/fixtures/Global/505952258352958b3b59a3812372ed02.yml +0 -60
- data/test/fixtures/Global/8d5740635c53798549a973a4f245613e.yml +0 -60
- data/test/fixtures/Partner/4c0d42e25385bd19dcd23ac6eb54e1b1.yml +0 -60
- data/test/fixtures/Partner/5e3854e2f75644d8c9ad96b2f2c8e99e.yml +0 -60
- data/test/fixtures/Partner/747677b363e6a293b03e595720198acc.yml +0 -60
- data/test/fixtures/Partner/8ff43b903f2fce232c4a8f474535f5f2.yml +0 -60
- data/test/fixtures/Partner/95847aabc64e82207598dfb3713aeb1d.yml +0 -60
- data/test/fixtures/Partner/96ba2e2a20658489c293f8e6fd40769f.yml +0 -60
- data/test/fixtures/Partner/a63f6645159716c7a3aed70a709ab1f5.yml +0 -60
- data/test/fixtures/Partner/bb1598ae00570e3f2105e52d46fdeddb.yml +0 -62
- data/test/fixtures/Partner/be195130e35fce014dc79b3d01faf0ce.yml +0 -60
- data/test/fixtures/Partner/c4b55b119a1c8e2a934d885a7b2b8893.yml +0 -60
- data/test/fixtures/Partner/d231fa05c126b735f0140a5b8ef09524.yml +0 -60
- data/test/fixtures/Partner/d7a2df10157c42d67020bebd23916122.yml +0 -60
- data/test/fixtures/Partner/e5a99733d043545c90f6eab130328e46.yml +0 -60
- data/test/fixtures/Partner/f066cd0f963e3c873e7eae28d2f654a4.yml +0 -60
- data/test/fixtures/PaymentType/0096aebaa9c29a7bcb381d20697704c3.yml +0 -60
- data/test/fixtures/PaymentType/3f67b8ff5994e0239fa2ed6e7dbfcec1.yml +0 -60
- data/test/fixtures/PaymentType/6e26a45c11cab69dec3ec9a9937e80c0.yml +0 -61
- data/test/fixtures/PaymentType/7c37125c353d970dbbbaaef54eaf3d90.yml +0 -60
- data/test/fixtures/PaymentType/8a8b4fc4194121ffc5b1a39a00f4cfca.yml +0 -61
- data/test/fixtures/PaymentType/99cb9326dac40ba3263f9564d0c38fef.yml +0 -62
- data/test/fixtures/PaymentType/ca6d3176528eebdf9d27ebcf54627434.yml +0 -61
- data/test/fixtures/PaymentType/fa5bcdd454d042a1169fb4fb6c5bc4a0.yml +0 -60
- data/test/fixtures/PaymentType/fbfab75b95d5c3df19152e70fbd9689c.yml +0 -60
- data/test/fixtures/TicketCategory/1267a63177d0cdbdc9ce0698c746801a.yml +0 -62
- data/test/fixtures/TicketCategory/1292d83aaf8b860c9674dc3deab14f76.yml +0 -60
- data/test/fixtures/TicketCategory/68afc49b238888d5f21e2bda4112d3ec.yml +0 -60
- data/test/fixtures/TicketCategory/af30e74612a9be4e082524a58f9fa12f.yml +0 -60
- data/test/fixtures/TicketCategory/fbfab75b95d5c3df19152e70fbd9689c.yml +0 -60
- data/test/fixtures/TicketShop/00f98e3db33c4179bfb87a14c662ae1a.yml +0 -60
- data/test/fixtures/TicketShop/95137c716c285b96acef0a0d9f4b55c2.yml +0 -60
- data/test/fixtures/TicketShop/98af95fbe3b6921d446c8ad57f476683.yml +0 -60
- data/test/fixtures/TicketShop/dc18e2818f5b86f9e6609703d4165c80.yml +0 -60
- data/test/fixtures/TicketShop/f8b2b6ca29914576989fa3c2fc21d516.yml +0 -60
- data/test/fixtures/TicketType/3fddc8221b0700fbd822212516e433f2.yml +0 -60
- data/test/fixtures/User/01fec3bc2a1e516b338622c402243255.yml +0 -60
- data/test/fixtures/User/05317b0072cb1096bfb6967b6ed8d3f6.yml +0 -59
- data/test/fixtures/User/0d0a11e4a50e0c07c5a9ea57d82b0f73.yml +0 -60
- data/test/fixtures/User/20151bd612c24a781cfda884ddea4648.yml +0 -60
- data/test/fixtures/User/2b96ad3dbac7864d8567eee7aef596f8.yml +0 -60
- data/test/fixtures/User/5083f674a088c59d7f57e167d7a68846.yml +0 -60
- data/test/fixtures/User/60ce8f1f2c00efb20e63cac38a2c3733.yml +0 -60
- data/test/fixtures/User/6336fa05acc193628f86cced59cfb181.yml +0 -60
- data/test/fixtures/User/6b47fa7d9877e42cf0efc331760a4297.yml +0 -60
- data/test/fixtures/User/72a03fe8088b0e860de88f5017ddad1a.yml +0 -60
- data/test/fixtures/User/939e0f42cf958e9be75705d71f9c5d46.yml +0 -60
- data/test/fixtures/User/b9227cff5e90a733e50df2a9110a3061.yml +0 -60
- data/test/fixtures/User/cf8a518069a9b3ad71e45ca607a3eb31.yml +0 -60
- data/test/fixtures/User/e0f7ab1b2afa0f1ea2be473bc3dd3838.yml +0 -60
- data/test/fixtures/User/ea31627d93c898465d0dbe44c86ca6ed.yml +0 -60
- data/test/fixtures/User/efb3543620c2a1753972b79b1a747b00.yml +0 -62
- data/test/support/hydra_cache.rb +0 -59
@@ -1,60 +0,0 @@
|
|
1
|
-
--- !ruby/object:Typhoeus::Response
|
2
|
-
app_connect_time: 5.2e-05
|
3
|
-
body: "{\"success\":true}"
|
4
|
-
code: 201
|
5
|
-
connect_time: 5.2e-05
|
6
|
-
curl_error_message: No error
|
7
|
-
curl_return_code: 0
|
8
|
-
effective_url: https://test.amiando.com/api/user/256142428/requestPermission?version=1&apikey=W5HLNDtVNCjk8GKlabqvuiq2M7H3aRe7ahmz1rqRkVYANTEkoa&format=json
|
9
|
-
first_header_line: HTTP/1.1 201 Created
|
10
|
-
headers: |
|
11
|
-
HTTP/1.1 201 Created
|
12
|
-
Date: Tue, 25 Oct 2011 14:53:02 GMT
|
13
|
-
Server: Apache/2.0.55 (Red Hat)
|
14
|
-
Set-Cookie: JSESSIONID=27B19D826D001536105737021B4C21B2.web01; Path=/; Secure
|
15
|
-
Set-Cookie: JSESSIONID=27B19D826D001536105737021B4C21B2.web01; Path=/
|
16
|
-
accept-charset: utf-8
|
17
|
-
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
-
Access-Control-Allow-Origin: *
|
19
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
-
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=dWxrWjFkaVhOd3IwdWVSYjoxMzIwNzY0MTcxOTI2OjMyMjkwNWRiNjQ2ZDJkMmNlMjFhMGNjNGI3MDJkY2Nl; Expires=Sun, 23-Oct-2016 14:56:11 GMT; Path=/
|
21
|
-
Accept-Ranges: bytes
|
22
|
-
Cache-Control: max-age=7200
|
23
|
-
Expires: Tue, 25 Oct 2011 16:53:02 GMT
|
24
|
-
Vary: User-Agent
|
25
|
-
Transfer-Encoding: chunked
|
26
|
-
Content-Type: application/json;charset=UTF-8
|
27
|
-
|
28
|
-
|
29
|
-
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
-
Vary: User-Agent
|
31
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
-
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
-
Transfer-Encoding: chunked
|
34
|
-
Access-Control-Allow-Origin: "*"
|
35
|
-
Content-Type: application/json;charset=UTF-8
|
36
|
-
Date: Tue, 25 Oct 2011 14:53:02 GMT
|
37
|
-
Accept-Ranges: bytes
|
38
|
-
Server: Apache/2.0.55 (Red Hat)
|
39
|
-
Set-Cookie:
|
40
|
-
- JSESSIONID=27B19D826D001536105737021B4C21B2.web01; Path=/; Secure
|
41
|
-
- JSESSIONID=27B19D826D001536105737021B4C21B2.web01; Path=/
|
42
|
-
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=dWxrWjFkaVhOd3IwdWVSYjoxMzIwNzY0MTcxOTI2OjMyMjkwNWRiNjQ2ZDJkMmNlMjFhMGNjNGI3MDJkY2Nl; Expires=Sun, 23-Oct-2016 14:56:11 GMT; Path=/
|
43
|
-
Expires: Tue, 25 Oct 2011 16:53:02 GMT
|
44
|
-
Cache-Control: max-age=7200
|
45
|
-
Accept-Charset: utf-8
|
46
|
-
http_version:
|
47
|
-
mock: false
|
48
|
-
name_lookup_time: 5.1e-05
|
49
|
-
pretransfer_time: 5.8e-05
|
50
|
-
request: |-
|
51
|
-
:method => :post,
|
52
|
-
:url => https://test.amiando.com/api/user/256142428/requestPermission?version=1&apikey=W5HLNDtVNCjk8GKlabqvuiq2M7H3aRe7ahmz1rqRkVYANTEkoa&format=json,
|
53
|
-
:params => {:password=>"12345"},
|
54
|
-
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
-
requested_http_method:
|
56
|
-
requested_url:
|
57
|
-
start_time:
|
58
|
-
start_transfer_time: 0.1821
|
59
|
-
status_message: Created
|
60
|
-
time: 0.182152
|
@@ -1,60 +0,0 @@
|
|
1
|
-
--- !ruby/object:Typhoeus::Response
|
2
|
-
app_connect_time: 5.3e-05
|
3
|
-
body: "{\"authorized\":true,\"exists\":true,\"success\":true}"
|
4
|
-
code: 200
|
5
|
-
connect_time: 5.3e-05
|
6
|
-
curl_error_message: No error
|
7
|
-
curl_return_code: 0
|
8
|
-
effective_url: https://test.amiando.com/api/user/exists?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&username=jorgellop-exists-2%40example.com&version=1
|
9
|
-
first_header_line: HTTP/1.1 200 OK
|
10
|
-
headers: |
|
11
|
-
HTTP/1.1 200 OK
|
12
|
-
Date: Tue, 25 Oct 2011 14:53:00 GMT
|
13
|
-
Server: Apache/2.0.55 (Red Hat)
|
14
|
-
Set-Cookie: JSESSIONID=CAEECBCC9838ECD96FF6CA62A7EBE3EC.web01; Path=/; Secure
|
15
|
-
Set-Cookie: JSESSIONID=CAEECBCC9838ECD96FF6CA62A7EBE3EC.web01; Path=/
|
16
|
-
accept-charset: utf-8
|
17
|
-
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
-
Access-Control-Allow-Origin: *
|
19
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
-
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=Ynd3MUE3V2tjbGZnUm1weDoxMzIwNzY0MTY5ODcxOmEyNmQ4MDA1YjUwYTQ2NGM3ZGVlZGEwN2QyN2YwYThl; Expires=Sun, 23-Oct-2016 14:56:09 GMT; Path=/
|
21
|
-
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
22
|
-
Accept-Ranges: bytes
|
23
|
-
Cache-Control: max-age=7200
|
24
|
-
Expires: Tue, 25 Oct 2011 16:53:00 GMT
|
25
|
-
Transfer-Encoding: chunked
|
26
|
-
Content-Type: application/json;charset=UTF-8
|
27
|
-
|
28
|
-
|
29
|
-
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
-
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
31
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
-
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
-
Transfer-Encoding: chunked
|
34
|
-
Access-Control-Allow-Origin: "*"
|
35
|
-
Content-Type: application/json;charset=UTF-8
|
36
|
-
Date: Tue, 25 Oct 2011 14:53:00 GMT
|
37
|
-
Accept-Ranges: bytes
|
38
|
-
Server: Apache/2.0.55 (Red Hat)
|
39
|
-
Set-Cookie:
|
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
|
-
Cache-Control: max-age=7200
|
45
|
-
Accept-Charset: utf-8
|
46
|
-
http_version:
|
47
|
-
mock: false
|
48
|
-
name_lookup_time: 5.2e-05
|
49
|
-
pretransfer_time: 6.0e-05
|
50
|
-
request: |-
|
51
|
-
:method => :get,
|
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
|
-
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
-
requested_http_method:
|
56
|
-
requested_url:
|
57
|
-
start_time:
|
58
|
-
start_transfer_time: 0.128061
|
59
|
-
status_message: OK
|
60
|
-
time: 0.128107
|
@@ -1,60 +0,0 @@
|
|
1
|
-
--- !ruby/object:Typhoeus::Response
|
2
|
-
app_connect_time: 4.6e-05
|
3
|
-
body: "{\"id\":256142422,\"success\":true}"
|
4
|
-
code: 201
|
5
|
-
connect_time: 4.6e-05
|
6
|
-
curl_error_message: No error
|
7
|
-
curl_return_code: 0
|
8
|
-
effective_url: https://test.amiando.com/api/user/create?version=1&apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json
|
9
|
-
first_header_line: HTTP/1.1 201 Created
|
10
|
-
headers: |
|
11
|
-
HTTP/1.1 201 Created
|
12
|
-
Date: Tue, 25 Oct 2011 14:52:58 GMT
|
13
|
-
Server: Apache/2.0.55 (Red Hat)
|
14
|
-
Set-Cookie: JSESSIONID=FA028071A1A6AB5DB11F8533792851AA.web01; Path=/; Secure
|
15
|
-
Set-Cookie: JSESSIONID=FA028071A1A6AB5DB11F8533792851AA.web01; Path=/
|
16
|
-
accept-charset: utf-8
|
17
|
-
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
-
Access-Control-Allow-Origin: *
|
19
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
-
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=NTZSMVM3SmwzdjJHN01GMzoxMzIwNzY0MTY4MTIwOmYzOGU0ZjZmZTFhYmU4YWRkOTk2ZWIxM2VkYzQ3MDQ1; Expires=Sun, 23-Oct-2016 14:56:08 GMT; Path=/
|
21
|
-
Accept-Ranges: bytes
|
22
|
-
Cache-Control: max-age=7200
|
23
|
-
Expires: Tue, 25 Oct 2011 16:52:58 GMT
|
24
|
-
Vary: User-Agent
|
25
|
-
Transfer-Encoding: chunked
|
26
|
-
Content-Type: application/json;charset=UTF-8
|
27
|
-
|
28
|
-
|
29
|
-
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
-
Vary: User-Agent
|
31
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
-
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
-
Transfer-Encoding: chunked
|
34
|
-
Access-Control-Allow-Origin: "*"
|
35
|
-
Content-Type: application/json;charset=UTF-8
|
36
|
-
Date: Tue, 25 Oct 2011 14:52:58 GMT
|
37
|
-
Accept-Ranges: bytes
|
38
|
-
Server: Apache/2.0.55 (Red Hat)
|
39
|
-
Set-Cookie:
|
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
|
-
Cache-Control: max-age=7200
|
45
|
-
Accept-Charset: utf-8
|
46
|
-
http_version:
|
47
|
-
mock: false
|
48
|
-
name_lookup_time: 4.5e-05
|
49
|
-
pretransfer_time: 5.1e-05
|
50
|
-
request: |-
|
51
|
-
:method => :post,
|
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
|
-
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
55
|
-
requested_http_method:
|
56
|
-
requested_url:
|
57
|
-
start_time:
|
58
|
-
start_transfer_time: 0.603333
|
59
|
-
status_message: Created
|
60
|
-
time: 0.603377
|
@@ -1,62 +0,0 @@
|
|
1
|
-
--- !ruby/object:Typhoeus::Response
|
2
|
-
app_connect_time: 4.5e-05
|
3
|
-
body: "{\"errors\":[\"com.amiando.api.rest.InvalidPassword\"],\"success\":false}"
|
4
|
-
code: 400
|
5
|
-
connect_time: 4.5e-05
|
6
|
-
curl_error_message: No error
|
7
|
-
curl_return_code: 0
|
8
|
-
effective_url: https://test.amiando.com/api/user/256142428/requestPermission?version=1&apikey=W5HLNDtVNCjk8GKlabqvuiq2M7H3aRe7ahmz1rqRkVYANTEkoa&format=json
|
9
|
-
first_header_line: HTTP/1.1 400 Bad Request
|
10
|
-
headers: |
|
11
|
-
HTTP/1.1 400 Bad Request
|
12
|
-
Date: Tue, 25 Oct 2011 14:53:02 GMT
|
13
|
-
Server: Apache/2.0.55 (Red Hat)
|
14
|
-
Set-Cookie: JSESSIONID=92F1A369FDD43A06D5FC9ECED0C7C377.web01; Path=/; Secure
|
15
|
-
Set-Cookie: JSESSIONID=92F1A369FDD43A06D5FC9ECED0C7C377.web01; Path=/
|
16
|
-
accept-charset: utf-8
|
17
|
-
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
-
Access-Control-Allow-Origin: *
|
19
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
-
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=RnMwdGZjb093d3lId1A2cDoxMzIwNzY0MTcyMTMxOmRmMjU2NTI3YzZmNDhkZDdlNjdlNjQxMjE4OTE3ZjMw; Expires=Sun, 23-Oct-2016 14:56:12 GMT; Path=/
|
21
|
-
Accept-Ranges: bytes
|
22
|
-
Cache-Control: max-age=7200
|
23
|
-
Expires: Tue, 25 Oct 2011 16:53:02 GMT
|
24
|
-
Vary: User-Agent
|
25
|
-
Connection: close
|
26
|
-
Transfer-Encoding: chunked
|
27
|
-
Content-Type: application/json;charset=UTF-8
|
28
|
-
|
29
|
-
|
30
|
-
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
31
|
-
Vary: User-Agent
|
32
|
-
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
33
|
-
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
34
|
-
Transfer-Encoding: chunked
|
35
|
-
Access-Control-Allow-Origin: "*"
|
36
|
-
Content-Type: application/json;charset=UTF-8
|
37
|
-
Date: Tue, 25 Oct 2011 14:53:02 GMT
|
38
|
-
Accept-Ranges: bytes
|
39
|
-
Server: Apache/2.0.55 (Red Hat)
|
40
|
-
Set-Cookie:
|
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
|
-
Cache-Control: max-age=7200
|
46
|
-
Accept-Charset: utf-8
|
47
|
-
Connection: close
|
48
|
-
http_version:
|
49
|
-
mock: false
|
50
|
-
name_lookup_time: 4.4e-05
|
51
|
-
pretransfer_time: 5.0e-05
|
52
|
-
request: |-
|
53
|
-
:method => :post,
|
54
|
-
:url => https://test.amiando.com/api/user/256142428/requestPermission?version=1&apikey=W5HLNDtVNCjk8GKlabqvuiq2M7H3aRe7ahmz1rqRkVYANTEkoa&format=json,
|
55
|
-
:params => {:password=>"wrong password"},
|
56
|
-
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
57
|
-
requested_http_method:
|
58
|
-
requested_url:
|
59
|
-
start_time:
|
60
|
-
start_transfer_time: 0.15419
|
61
|
-
status_message: Bad Request
|
62
|
-
time: 0.154239
|
data/test/support/hydra_cache.rb
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
module HydraCache
|
2
|
-
extend self
|
3
|
-
|
4
|
-
attr_accessor :prefix
|
5
|
-
attr_accessor :revision
|
6
|
-
|
7
|
-
def setter(request)
|
8
|
-
set_cache request
|
9
|
-
end
|
10
|
-
|
11
|
-
def getter(request)
|
12
|
-
if response = get_cache(request)
|
13
|
-
response.request = request
|
14
|
-
else
|
15
|
-
request.cache_timeout = 1
|
16
|
-
end
|
17
|
-
|
18
|
-
response
|
19
|
-
end
|
20
|
-
|
21
|
-
def get_cache(request)
|
22
|
-
filename = cache_filename(request)
|
23
|
-
|
24
|
-
if File.exist?(filename)
|
25
|
-
YAML.load_file(filename)
|
26
|
-
else
|
27
|
-
false
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
def set_cache(request)
|
32
|
-
filename = cache_filename(request)
|
33
|
-
response = request.response
|
34
|
-
response.request = request.inspect
|
35
|
-
|
36
|
-
FileUtils.mkdir_p(File.dirname(filename))
|
37
|
-
File.open(filename, 'w') do |f|
|
38
|
-
f << response.to_yaml
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
def cache_filename(request)
|
43
|
-
uri = URI.parse(request.url)
|
44
|
-
uri.query = uri.query.split('&').sort.join('&')
|
45
|
-
|
46
|
-
body = request.body.to_s.split(/\n/).map do |line|
|
47
|
-
Digest::SHA1.hexdigest(line)
|
48
|
-
end.sort.join
|
49
|
-
|
50
|
-
params = Array(request.params).map do |k,v|
|
51
|
-
Digest::SHA1.hexdigest("#{k},#{v}")
|
52
|
-
end.sort.join
|
53
|
-
|
54
|
-
digest = Digest::MD5.hexdigest("#{uri}|#{body}|#{params}")
|
55
|
-
|
56
|
-
File.join(File.dirname(__FILE__),'..','fixtures', prefix.to_s.gsub(/\W+/,'_'), "#{digest}.yml")
|
57
|
-
end
|
58
|
-
|
59
|
-
end
|