lti_skydrive 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -2
- data/app/assets/javascripts/skydrive/bundle.js +17389 -8516
- data/app/controllers/skydrive/files_controller.rb +4 -1
- data/app/controllers/skydrive/launch_controller.rb +2 -2
- data/app/models/skydrive/user.rb +1 -1
- data/config/routes.rb +1 -1
- data/lib/skydrive/version.rb +1 -1
- data/test/dummy/config/sharepoint.yml +4 -2
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/{production.sqlite3 → test.sqlite3} +0 -0
- data/test/dummy/log/development.log +57387 -9738
- data/test/dummy/tmp/cache/assets/{production/sprockets/a3119da5b51c1a0a3c5cb7414ec920f5 → development/sprockets/01f2d171ff14db101ad51b162b2def0a} +0 -0
- data/test/dummy/tmp/cache/assets/{production/sprockets/78c4cbc0498be843f50ebdd02e2ead2f → development/sprockets/042fc5fad77254f5f190ade664995a5c} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0f6c4cc8c92bad5d26c96e41d5a71bbb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/10f4bf4e2a43189d8c347fcf6861cf83 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{65aa42ce50eac6f72e31861670f94518 → 1574c88c4afb4fc0588f57171b2af4dd} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/16e3945ff305102b5c6bd8343683bc44 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1866264ed075c4848988d399884bbe38 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{0e383306a92ebd12d003a9e49ef6d508 → 1b379a794b988d38eb9210a1e7e34e21} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{63616bfc6c3f0267d5951cbbc83308cd → 1dec41637d95e78a68d47facc80c4a13} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/213758cd3544ac43758a6623bb58730c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{ecb48e7374f399434aedbf30716e489a → 217bf58a0f4727fd2b393ad58536ce17} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{ef91e47e51f204a8373f160f13a05a30 → 335faf256771d19eb9316786a7ac047a} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3bba1389d5a2977db901d051da1072bd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3c4f36fdee17ba80dcea72762a1f0081 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4477a51857b8e60ec0e4c3e4274edd63 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/46f335e713f4022f60263d025516ef85 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{6fdcdeec7855210cbea4bb4ec5e95236 → 4c8ce27cfff5a096fad543f48ea86411} +0 -0
- data/test/dummy/tmp/cache/assets/{production/sprockets/66a8e9d3d86505dece06e6dd0edd18e1 → development/sprockets/52bf2fb117b3b0ffce44a4cf936e6400} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5b45aec419d546c9adbd5568fb8c74e5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5b69114faecb7d3c80bb5a97913541af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6dc491d18a44a10d562ad7247cf742e5 +0 -0
- data/test/dummy/tmp/cache/assets/{production/sprockets/8bf6a6b96f5c827206f1fd42babe6c5e → development/sprockets/6e0ee1e254cd86d1aa9e89e2d8925894} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{311d9a5a43eb3fee9bba76971680620f → 7afc7193bd372fc3bad568dcb9b6d4c6} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7f45dc4c5a1f22820590105c0c0562f5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/81f506a812d07430bd7c6c698ef28635 +0 -0
- data/test/dummy/tmp/cache/assets/{production/sprockets/7e229ef6d57ba0e9f562cc129a3e4dfc → development/sprockets/826eae29b1baf895c3fe9d5a82349056} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8543712e3ae3dcaf00a4d8ef3dd2bcf3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{9157ff048f219d7abc8b0f0fda771c92 → 85e93cd07705b9992dcac8fa5bc72aae} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8708311bdf9ac8f6c37d29b48e90c1cb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8ac67c59fb95ef1a53214911a4fb7ca3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8c0179cb6650faacd2f3eebadb5981be +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8c541e049b9e68d53b3d17bb67661262 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{8761eae28676cebd7253909868d3a877 → 8d0b5f116fa5e9abc386233bb8265dba} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{5cf8c6975fb714ac4e6c8532ad34e445 → 8eefd6708dafd8a3ecb6b7aa976ad7d6} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/91d45d1cc0c1ac7cbc4b5ee613889a07 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/93424e95768aadcaf705b0b370dc76d5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{a674526f54bc8458ebe36912ef85f003 → 9b9db77c7a327cf0990d56228fcc890a} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{374cb8a746fa4dc36e27a1887ac8fc49 → a1ff6d26db73a162e8d795bb5e415574} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a3d4e30c2efe5cd630c110b4c1a7a944 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b23d6898eb6943ba16f9518d74420f90 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b5574560a15253c8fcd6a9164ee9bb3d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf9c1cb8b2909f9a893de3bd09618b9f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{ae7574d50f7860925ec2b6ec07b8de11 → c95ed714338aa453761d806d10a9d59e} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{fa078ac6abaaee94445294c5a7c6d793 → ce3f7a88bb3e3bc9f863bff6390656a4} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d1fc71d4056a343dc87a0eca8757d81c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{17588b92c903e02837946f638eca86db → d3de7b419327005bf6cdd8f022eadecf} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{7e229ef6d57ba0e9f562cc129a3e4dfc → d3f27849e27c90a726f1b6193e1d3417} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d55ae655763d59d81f8da7ccb958a2f1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e41e7328016328bac1bf977aacc0d087 +0 -0
- data/test/dummy/tmp/cache/assets/{production/sprockets/fa078ac6abaaee94445294c5a7c6d793 → development/sprockets/e44ff59b3f7a089267ca0df80f5242ad} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/efeae880a5652e86277f5938af0de948 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f17539122fdefd42fbecb228cf7c7724 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{7d2b5e5332f464f65bf745d12ed9cbaa → fac87443aac8862f8765499bd935eb2c} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ff390f39f4106fbf35d1d8fa9916f4b1 +0 -0
- metadata +138 -327
- data/app/assets/javascripts/skydrive/vendor/ember.js +0 -23
- data/app/assets/javascripts/skydrive/vendor/handlebars.js +0 -362
- data/app/assets/javascripts/skydrive/vendor/jquery.js +0 -9597
- data/test/dummy/log/production.log +0 -1623
- data/test/dummy/log/test.log +0 -2972
- data/test/dummy/tmp/cache/assets/development/sprockets/00546f7f6da41f471084ed2589ca4442 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/049dac97744466d4435aa8de57cc6099 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0c92f67702b0dbd50edf7e6be63359ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0d26053221de21901f734bd6ba75bb28 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/12f8952698bc1664afe1bd3d6c3d2052 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/16fa9bed5ef4abda841d3ef00e727580 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/178776f569ce39a532d435853ed20e9b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1e5eb276aa191922261865ed3a4c7d98 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/21900b90dba7acf710178f3cd9dad43b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/25efc08f115a66b9c241a48e80a207ca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2958a3c78b871bbaa38787fff7ad9aaa +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3064fc29e24c9e97f7aad24f7e899cf6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/35a147c1af5b608250e82ccb2f569d4b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3849d2af9ff0045bdd3c436092220f92 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3dd0eb5a85d766c8d9fe5b29014edee4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43ecd312434d902115076e3ad515ff2e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/45be334df92a898337d33939786ac6f5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4a4484b529041cd873c5c11f4dc84bf2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4f44c3af4a7ab8b8e14cdaf848982f31 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/521591e55efeaa100848e385c3fbe3c6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5216aca741261a430e952637677bf1ce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/524efc550a97112967820202a6c17db6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5be0bdcd5265679cd625b520763c54ef +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/65e93fc7a769d7ed0714a1f8644714fb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/66a8e9d3d86505dece06e6dd0edd18e1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/67aba6d4628a224e21a9e8311a6fde9b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6b244e1e7206398b3abf5322531675bd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6e1755bc74a74aa137ee63926e31b0ed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/73a609f9a3a6a1a17c3c0ffac82218e3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7848a6582f28f513a3fa262ec4f291a3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/78c4cbc0498be843f50ebdd02e2ead2f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79b62bd049c085e952d4e9ba1af1636e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7caeca69c3c375c50a3c8cad8584be79 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/818f87541153f616f85597d52828909c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/87149d8992d83d7a95023dbfa4b53907 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8bf6a6b96f5c827206f1fd42babe6c5e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8c2066f7cc911ab8803cab8fea4e8bd6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8dd72fc6ec61bfad0ff3ecfaf993a29b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/97167937f5b73e2d3532be9dddc89cde +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9fa37242718f1541502f0d84d0b85d48 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a17c28776c4a2887f0fff4893854ef1d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a29fed21bbc3985a31325c84a77e5f26 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a3119da5b51c1a0a3c5cb7414ec920f5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a35bd3bea9514ea4925dc13667423fb8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/aa904c0cc06f37bb0df493db59f18d70 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/adfa454123f4741a4b3919023b570d82 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/af6eedeceb4b732776dca83f456b2b93 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b40cb2ddb88705f771e77d872feacf6a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b5d1deaae9a75ca0a11949983cf927ea +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b809b25cdc6b7eb45c47fe657fdba60d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf64c92410e28e00afb6139c5d4c61b9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d120b5e8617058e9b85f296a744ca10a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d46d1d568870210cbee819c8ef66f9dd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d792b9ba74b0b3c93ddc33582f1211e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc6268ee4fa18069ce7c21888ea1932e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/df9900b8557146382d16cc592306b17f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dfe93d4c7dea07d35faee0ddaf025722 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e3caec07cb46343e49b4f060e2d3392a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e6ebfb0e93a47d0164d0fc4637054c38 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/eeb495bc326785d2a6a14cf6d97024e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ef7b3776841f985137daaf04368da6f3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f48290aae486ea863a9f456ba96443e9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/00546f7f6da41f471084ed2589ca4442 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/049dac97744466d4435aa8de57cc6099 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/0c92f67702b0dbd50edf7e6be63359ca +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/0d26053221de21901f734bd6ba75bb28 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/0e383306a92ebd12d003a9e49ef6d508 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/12f8952698bc1664afe1bd3d6c3d2052 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/178776f569ce39a532d435853ed20e9b +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/21900b90dba7acf710178f3cd9dad43b +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/25efc08f115a66b9c241a48e80a207ca +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/3064fc29e24c9e97f7aad24f7e899cf6 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/35a147c1af5b608250e82ccb2f569d4b +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/374cb8a746fa4dc36e27a1887ac8fc49 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/3849d2af9ff0045bdd3c436092220f92 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/3dd0eb5a85d766c8d9fe5b29014edee4 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/43ecd312434d902115076e3ad515ff2e +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/521591e55efeaa100848e385c3fbe3c6 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/524efc550a97112967820202a6c17db6 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/5be0bdcd5265679cd625b520763c54ef +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/5cf8c6975fb714ac4e6c8532ad34e445 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/63616bfc6c3f0267d5951cbbc83308cd +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/65aa42ce50eac6f72e31861670f94518 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/67aba6d4628a224e21a9e8311a6fde9b +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/6b244e1e7206398b3abf5322531675bd +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/6e1755bc74a74aa137ee63926e31b0ed +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/6fdcdeec7855210cbea4bb4ec5e95236 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/73a609f9a3a6a1a17c3c0ffac82218e3 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/87149d8992d83d7a95023dbfa4b53907 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/8761eae28676cebd7253909868d3a877 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/8c2066f7cc911ab8803cab8fea4e8bd6 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/8dd72fc6ec61bfad0ff3ecfaf993a29b +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/a29fed21bbc3985a31325c84a77e5f26 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/a35bd3bea9514ea4925dc13667423fb8 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/a674526f54bc8458ebe36912ef85f003 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/adfa454123f4741a4b3919023b570d82 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/ae7574d50f7860925ec2b6ec07b8de11 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/af6eedeceb4b732776dca83f456b2b93 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/b40cb2ddb88705f771e77d872feacf6a +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/b5d1deaae9a75ca0a11949983cf927ea +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/b809b25cdc6b7eb45c47fe657fdba60d +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/d120b5e8617058e9b85f296a744ca10a +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/d46d1d568870210cbee819c8ef66f9dd +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/d792b9ba74b0b3c93ddc33582f1211e4 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/df9900b8557146382d16cc592306b17f +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/e3caec07cb46343e49b4f060e2d3392a +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/eeb495bc326785d2a6a14cf6d97024e4 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/ef7b3776841f985137daaf04368da6f3 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/ef91e47e51f204a8373f160f13a05a30 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/f48290aae486ea863a9f456ba96443e9 +0 -0
- data/test/dummy/tmp/cache/assets/production/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
@@ -1,362 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
Copyright (C) 2011 by Yehuda Katz
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
22
|
-
|
23
|
-
*/
|
24
|
-
|
25
|
-
// lib/handlebars/browser-prefix.js
|
26
|
-
var Handlebars = {};
|
27
|
-
window.Handlebars = Handlebars;
|
28
|
-
(function(Handlebars, undefined) {
|
29
|
-
;
|
30
|
-
// lib/handlebars/base.js
|
31
|
-
|
32
|
-
Handlebars.VERSION = "1.0.0";
|
33
|
-
Handlebars.COMPILER_REVISION = 4;
|
34
|
-
|
35
|
-
Handlebars.REVISION_CHANGES = {
|
36
|
-
1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it
|
37
|
-
2: '== 1.0.0-rc.3',
|
38
|
-
3: '== 1.0.0-rc.4',
|
39
|
-
4: '>= 1.0.0'
|
40
|
-
};
|
41
|
-
|
42
|
-
Handlebars.helpers = {};
|
43
|
-
Handlebars.partials = {};
|
44
|
-
|
45
|
-
var toString = Object.prototype.toString,
|
46
|
-
functionType = '[object Function]',
|
47
|
-
objectType = '[object Object]';
|
48
|
-
|
49
|
-
Handlebars.registerHelper = function(name, fn, inverse) {
|
50
|
-
if (toString.call(name) === objectType) {
|
51
|
-
if (inverse || fn) { throw new Handlebars.Exception('Arg not supported with multiple helpers'); }
|
52
|
-
Handlebars.Utils.extend(this.helpers, name);
|
53
|
-
} else {
|
54
|
-
if (inverse) { fn.not = inverse; }
|
55
|
-
this.helpers[name] = fn;
|
56
|
-
}
|
57
|
-
};
|
58
|
-
|
59
|
-
Handlebars.registerPartial = function(name, str) {
|
60
|
-
if (toString.call(name) === objectType) {
|
61
|
-
Handlebars.Utils.extend(this.partials, name);
|
62
|
-
} else {
|
63
|
-
this.partials[name] = str;
|
64
|
-
}
|
65
|
-
};
|
66
|
-
|
67
|
-
Handlebars.registerHelper('helperMissing', function(arg) {
|
68
|
-
if(arguments.length === 2) {
|
69
|
-
return undefined;
|
70
|
-
} else {
|
71
|
-
throw new Error("Missing helper: '" + arg + "'");
|
72
|
-
}
|
73
|
-
});
|
74
|
-
|
75
|
-
Handlebars.registerHelper('blockHelperMissing', function(context, options) {
|
76
|
-
var inverse = options.inverse || function() {}, fn = options.fn;
|
77
|
-
|
78
|
-
var type = toString.call(context);
|
79
|
-
|
80
|
-
if(type === functionType) { context = context.call(this); }
|
81
|
-
|
82
|
-
if(context === true) {
|
83
|
-
return fn(this);
|
84
|
-
} else if(context === false || context == null) {
|
85
|
-
return inverse(this);
|
86
|
-
} else if(type === "[object Array]") {
|
87
|
-
if(context.length > 0) {
|
88
|
-
return Handlebars.helpers.each(context, options);
|
89
|
-
} else {
|
90
|
-
return inverse(this);
|
91
|
-
}
|
92
|
-
} else {
|
93
|
-
return fn(context);
|
94
|
-
}
|
95
|
-
});
|
96
|
-
|
97
|
-
Handlebars.K = function() {};
|
98
|
-
|
99
|
-
Handlebars.createFrame = Object.create || function(object) {
|
100
|
-
Handlebars.K.prototype = object;
|
101
|
-
var obj = new Handlebars.K();
|
102
|
-
Handlebars.K.prototype = null;
|
103
|
-
return obj;
|
104
|
-
};
|
105
|
-
|
106
|
-
Handlebars.logger = {
|
107
|
-
DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3, level: 3,
|
108
|
-
|
109
|
-
methodMap: {0: 'debug', 1: 'info', 2: 'warn', 3: 'error'},
|
110
|
-
|
111
|
-
// can be overridden in the host environment
|
112
|
-
log: function(level, obj) {
|
113
|
-
if (Handlebars.logger.level <= level) {
|
114
|
-
var method = Handlebars.logger.methodMap[level];
|
115
|
-
if (typeof console !== 'undefined' && console[method]) {
|
116
|
-
console[method].call(console, obj);
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
};
|
121
|
-
|
122
|
-
Handlebars.log = function(level, obj) { Handlebars.logger.log(level, obj); };
|
123
|
-
|
124
|
-
Handlebars.registerHelper('each', function(context, options) {
|
125
|
-
var fn = options.fn, inverse = options.inverse;
|
126
|
-
var i = 0, ret = "", data;
|
127
|
-
|
128
|
-
var type = toString.call(context);
|
129
|
-
if(type === functionType) { context = context.call(this); }
|
130
|
-
|
131
|
-
if (options.data) {
|
132
|
-
data = Handlebars.createFrame(options.data);
|
133
|
-
}
|
134
|
-
|
135
|
-
if(context && typeof context === 'object') {
|
136
|
-
if(context instanceof Array){
|
137
|
-
for(var j = context.length; i<j; i++) {
|
138
|
-
if (data) { data.index = i; }
|
139
|
-
ret = ret + fn(context[i], { data: data });
|
140
|
-
}
|
141
|
-
} else {
|
142
|
-
for(var key in context) {
|
143
|
-
if(context.hasOwnProperty(key)) {
|
144
|
-
if(data) { data.key = key; }
|
145
|
-
ret = ret + fn(context[key], {data: data});
|
146
|
-
i++;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
if(i === 0){
|
153
|
-
ret = inverse(this);
|
154
|
-
}
|
155
|
-
|
156
|
-
return ret;
|
157
|
-
});
|
158
|
-
|
159
|
-
Handlebars.registerHelper('if', function(conditional, options) {
|
160
|
-
var type = toString.call(conditional);
|
161
|
-
if(type === functionType) { conditional = conditional.call(this); }
|
162
|
-
|
163
|
-
if(!conditional || Handlebars.Utils.isEmpty(conditional)) {
|
164
|
-
return options.inverse(this);
|
165
|
-
} else {
|
166
|
-
return options.fn(this);
|
167
|
-
}
|
168
|
-
});
|
169
|
-
|
170
|
-
Handlebars.registerHelper('unless', function(conditional, options) {
|
171
|
-
return Handlebars.helpers['if'].call(this, conditional, {fn: options.inverse, inverse: options.fn});
|
172
|
-
});
|
173
|
-
|
174
|
-
Handlebars.registerHelper('with', function(context, options) {
|
175
|
-
var type = toString.call(context);
|
176
|
-
if(type === functionType) { context = context.call(this); }
|
177
|
-
|
178
|
-
if (!Handlebars.Utils.isEmpty(context)) return options.fn(context);
|
179
|
-
});
|
180
|
-
|
181
|
-
Handlebars.registerHelper('log', function(context, options) {
|
182
|
-
var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1;
|
183
|
-
Handlebars.log(level, context);
|
184
|
-
});
|
185
|
-
;
|
186
|
-
// lib/handlebars/utils.js
|
187
|
-
|
188
|
-
var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];
|
189
|
-
|
190
|
-
Handlebars.Exception = function(message) {
|
191
|
-
var tmp = Error.prototype.constructor.apply(this, arguments);
|
192
|
-
|
193
|
-
// Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.
|
194
|
-
for (var idx = 0; idx < errorProps.length; idx++) {
|
195
|
-
this[errorProps[idx]] = tmp[errorProps[idx]];
|
196
|
-
}
|
197
|
-
};
|
198
|
-
Handlebars.Exception.prototype = new Error();
|
199
|
-
|
200
|
-
// Build out our basic SafeString type
|
201
|
-
Handlebars.SafeString = function(string) {
|
202
|
-
this.string = string;
|
203
|
-
};
|
204
|
-
Handlebars.SafeString.prototype.toString = function() {
|
205
|
-
return this.string.toString();
|
206
|
-
};
|
207
|
-
|
208
|
-
var escape = {
|
209
|
-
"&": "&",
|
210
|
-
"<": "<",
|
211
|
-
">": ">",
|
212
|
-
'"': """,
|
213
|
-
"'": "'",
|
214
|
-
"`": "`"
|
215
|
-
};
|
216
|
-
|
217
|
-
var badChars = /[&<>"'`]/g;
|
218
|
-
var possible = /[&<>"'`]/;
|
219
|
-
|
220
|
-
var escapeChar = function(chr) {
|
221
|
-
return escape[chr] || "&";
|
222
|
-
};
|
223
|
-
|
224
|
-
Handlebars.Utils = {
|
225
|
-
extend: function(obj, value) {
|
226
|
-
for(var key in value) {
|
227
|
-
if(value.hasOwnProperty(key)) {
|
228
|
-
obj[key] = value[key];
|
229
|
-
}
|
230
|
-
}
|
231
|
-
},
|
232
|
-
|
233
|
-
escapeExpression: function(string) {
|
234
|
-
// don't escape SafeStrings, since they're already safe
|
235
|
-
if (string instanceof Handlebars.SafeString) {
|
236
|
-
return string.toString();
|
237
|
-
} else if (string == null || string === false) {
|
238
|
-
return "";
|
239
|
-
}
|
240
|
-
|
241
|
-
// Force a string conversion as this will be done by the append regardless and
|
242
|
-
// the regex test will do this transparently behind the scenes, causing issues if
|
243
|
-
// an object's to string has escaped characters in it.
|
244
|
-
string = string.toString();
|
245
|
-
|
246
|
-
if(!possible.test(string)) { return string; }
|
247
|
-
return string.replace(badChars, escapeChar);
|
248
|
-
},
|
249
|
-
|
250
|
-
isEmpty: function(value) {
|
251
|
-
if (!value && value !== 0) {
|
252
|
-
return true;
|
253
|
-
} else if(toString.call(value) === "[object Array]" && value.length === 0) {
|
254
|
-
return true;
|
255
|
-
} else {
|
256
|
-
return false;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
};
|
260
|
-
;
|
261
|
-
// lib/handlebars/runtime.js
|
262
|
-
|
263
|
-
Handlebars.VM = {
|
264
|
-
template: function(templateSpec) {
|
265
|
-
// Just add water
|
266
|
-
var container = {
|
267
|
-
escapeExpression: Handlebars.Utils.escapeExpression,
|
268
|
-
invokePartial: Handlebars.VM.invokePartial,
|
269
|
-
programs: [],
|
270
|
-
program: function(i, fn, data) {
|
271
|
-
var programWrapper = this.programs[i];
|
272
|
-
if(data) {
|
273
|
-
programWrapper = Handlebars.VM.program(i, fn, data);
|
274
|
-
} else if (!programWrapper) {
|
275
|
-
programWrapper = this.programs[i] = Handlebars.VM.program(i, fn);
|
276
|
-
}
|
277
|
-
return programWrapper;
|
278
|
-
},
|
279
|
-
merge: function(param, common) {
|
280
|
-
var ret = param || common;
|
281
|
-
|
282
|
-
if (param && common) {
|
283
|
-
ret = {};
|
284
|
-
Handlebars.Utils.extend(ret, common);
|
285
|
-
Handlebars.Utils.extend(ret, param);
|
286
|
-
}
|
287
|
-
return ret;
|
288
|
-
},
|
289
|
-
programWithDepth: Handlebars.VM.programWithDepth,
|
290
|
-
noop: Handlebars.VM.noop,
|
291
|
-
compilerInfo: null
|
292
|
-
};
|
293
|
-
|
294
|
-
return function(context, options) {
|
295
|
-
options = options || {};
|
296
|
-
var result = templateSpec.call(container, Handlebars, context, options.helpers, options.partials, options.data);
|
297
|
-
|
298
|
-
var compilerInfo = container.compilerInfo || [],
|
299
|
-
compilerRevision = compilerInfo[0] || 1,
|
300
|
-
currentRevision = Handlebars.COMPILER_REVISION;
|
301
|
-
|
302
|
-
if (compilerRevision !== currentRevision) {
|
303
|
-
if (compilerRevision < currentRevision) {
|
304
|
-
var runtimeVersions = Handlebars.REVISION_CHANGES[currentRevision],
|
305
|
-
compilerVersions = Handlebars.REVISION_CHANGES[compilerRevision];
|
306
|
-
throw "Template was precompiled with an older version of Handlebars than the current runtime. "+
|
307
|
-
"Please update your precompiler to a newer version ("+runtimeVersions+") or downgrade your runtime to an older version ("+compilerVersions+").";
|
308
|
-
} else {
|
309
|
-
// Use the embedded version info since the runtime doesn't know about this revision yet
|
310
|
-
throw "Template was precompiled with a newer version of Handlebars than the current runtime. "+
|
311
|
-
"Please update your runtime to a newer version ("+compilerInfo[1]+").";
|
312
|
-
}
|
313
|
-
}
|
314
|
-
|
315
|
-
return result;
|
316
|
-
};
|
317
|
-
},
|
318
|
-
|
319
|
-
programWithDepth: function(i, fn, data /*, $depth */) {
|
320
|
-
var args = Array.prototype.slice.call(arguments, 3);
|
321
|
-
|
322
|
-
var program = function(context, options) {
|
323
|
-
options = options || {};
|
324
|
-
|
325
|
-
return fn.apply(this, [context, options.data || data].concat(args));
|
326
|
-
};
|
327
|
-
program.program = i;
|
328
|
-
program.depth = args.length;
|
329
|
-
return program;
|
330
|
-
},
|
331
|
-
program: function(i, fn, data) {
|
332
|
-
var program = function(context, options) {
|
333
|
-
options = options || {};
|
334
|
-
|
335
|
-
return fn(context, options.data || data);
|
336
|
-
};
|
337
|
-
program.program = i;
|
338
|
-
program.depth = 0;
|
339
|
-
return program;
|
340
|
-
},
|
341
|
-
noop: function() { return ""; },
|
342
|
-
invokePartial: function(partial, name, context, helpers, partials, data) {
|
343
|
-
var options = { helpers: helpers, partials: partials, data: data };
|
344
|
-
|
345
|
-
if(partial === undefined) {
|
346
|
-
throw new Handlebars.Exception("The partial " + name + " could not be found");
|
347
|
-
} else if(partial instanceof Function) {
|
348
|
-
return partial(context, options);
|
349
|
-
} else if (!Handlebars.compile) {
|
350
|
-
throw new Handlebars.Exception("The partial " + name + " could not be compiled when running in runtime-only mode");
|
351
|
-
} else {
|
352
|
-
partials[name] = Handlebars.compile(partial, {data: data !== undefined});
|
353
|
-
return partials[name](context, options);
|
354
|
-
}
|
355
|
-
}
|
356
|
-
};
|
357
|
-
|
358
|
-
Handlebars.template = Handlebars.VM.template;
|
359
|
-
;
|
360
|
-
// lib/handlebars/browser-suffix.js
|
361
|
-
})(Handlebars);
|
362
|
-
;
|