blogelator 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/blogelator/version.rb +1 -1
  4. data/lib/generators/blogelator/install_generator.rb +1 -1
  5. data/spec/dummy/log/development.log +302 -0
  6. data/spec/dummy/tmp/cache/assets/development/sprockets/0035bf20bb2b00b92d477d04c43d0aea +0 -0
  7. data/spec/dummy/tmp/cache/assets/development/sprockets/01c8388ac413839f6da6e2873f33deea +0 -0
  8. data/spec/dummy/tmp/cache/assets/development/sprockets/02a3073c56e0bb85d7696f2110f561d6 +0 -0
  9. data/spec/dummy/tmp/cache/assets/development/sprockets/03ee17815887f7f9572e7846347b73ad +0 -0
  10. data/spec/dummy/tmp/cache/assets/development/sprockets/04972fd2c5849771d18618dab6a8d393 +0 -0
  11. data/spec/dummy/tmp/cache/assets/development/sprockets/04d4299740c43aa28bd490d49442847c +0 -0
  12. data/spec/dummy/tmp/cache/assets/development/sprockets/06818102fbdd5098a2498c66217c0b9e +0 -0
  13. data/spec/dummy/tmp/cache/assets/development/sprockets/07480eab8b760aa7803bd2a43a5af8a6 +0 -0
  14. data/spec/dummy/tmp/cache/assets/development/sprockets/09527178f66076a943179ca037474b93 +0 -0
  15. data/spec/dummy/tmp/cache/assets/development/sprockets/0a7bbed69fec08f89e1df716c6404621 +0 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/0b075d308a322ff33ad683f1fc2d51a4 +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/0b388d9b94f431857e6113f620e7f0ab +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/0b8aefc6414907c456a6d2931770ce92 +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/0bb3f71998327005fa4474b72cdf1906 +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/0ccdcb035f2272248685f6eed371496f +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/0ffdbaf6d16aec30bfb6cb6ecfe1fc2c +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/10540929b00cc93cf8bbb830eea7c13e +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/10b049801e6bfdb310280f06c9b40fe6 +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/10c51f41f906a050cfe247599fd6d4c3 +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/113ed6660764a34b6b949e3e83d8f47f +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/11a4b58bdf1e66237f1ad0ffddbc9d81 +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/124e25ebca5867367adec79115a0ca67 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/1271e9d3ecc46f1fd9bab7e9882307ff +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/12c5e9aeb08edd414e6f7bc5ff0a4e58 +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/12c6958b7e3b04dc480698ddf375dc6f +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/132f511e199e7d89211f1c8326ca4073 +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/1642cb2980f0d6138a107f39e9b029ac +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/18541c8a2f4dd2ad65967ac01540b5e5 +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/18dc9c71fcdc767f25de258b404ca42d +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/19c6abd503d4336614f363a40b336791 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/1ac2bd9b586578646ecaabcb6bde0d66 +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/1c911dda22afcac8e8b6b68de4f40cac +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/1ca7621c302e2cbcdc92a0721c796f52 +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/1cb1da4a29f255506694e82310d4fe20 +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/1de63e02a9a79453e462e5c7d4e40cbd +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/1dfaa29320fac6e3f39174823f26ce4e +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/1eb306e34ba8e9ef81ecf63449426d77 +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/1f2d7a7aa7865b4a3201f89f96420158 +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/1f78d3b7b7f82e1c9a9ba83f88a0b073 +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/20bd84682bd4ad3230cb82210d277318 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/21e1804f6dfe3ceb605f24c94e6dc477 +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/235cebfd1a13109f6667c3bc2a8b806e +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/24b2683abe8b340134e4eb9d4293f289 +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/25c2fb43bdaa51764bb353f53de7d6e4 +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/267fee7621dd7da0cd0edb1f5211c66f +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/26dea14589bf3e74e9f726683e9bdac4 +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/27837e5253c2f22e6e91833e985fdb4d +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/279492e8ab55211d77563002d0b108e8 +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/27b8ac22c4b0536c99a0f7a691ad3158 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/292a4cc1ea9e79b14723bcdfee877f3d +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/29c7267c0af25b5030fdb4ec5b022a8b +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/2bcb59581cfc2be9512e3653b1b83921 +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/2c1b170c79a25314872eab0e7f4c41d7 +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/2c7aca493752ef3d0f2703c4afdeec35 +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/2cb791441267f115aa66746962037d14 +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/2e03da722d3ce2221c9fb641f3d5ebd7 +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/2e8190c9f27b06a6320b5032d7a899e5 +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/2f4987411e0943479ff78d8c2d51df8f +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/2f968ad8d17c218d4d831e6289861074 +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/316356e0eb458fecf1a5988644ebebbb +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/31e730095d4cc6c7610fd0cea4829334 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/31ff4fd075fbadfc861af13fa40e3fc6 +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/32290d48b6752b0790c7d40155a269a3 +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/342e80130bda0307bc4265b1c00c1c44 +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/353019a91a110855ae406b8781f39712 +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/375737a4764448b32867b125a4c00812 +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/37f84454e098ad58d3d01c8a5a57b603 +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/3825351bd9442ada367da384627944d1 +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/3866db738188363c8091dba63202ec31 +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/38b2231f7dcef36baead65ebd56d76dd +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/39bf4ddb5d1cea8953aedd1d9b5dffaa +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/3a6ae42ecb1ab3f1deff4b2b9268f174 +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/3b1d211a9594243e7a3d8e756187ecf8 +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/3c6e4f15dfdefdca999e660090d687cf +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/3d4cef0777fbc54966e4b1163bebc7d1 +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/41f65c62a632c84d566297229642675b +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/42634b762cfb2fd6c61d47d2dabc357a +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/428224d0d8a310a21e1b4f0d1455be48 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/42cbac3d7bd8cde35e5dd4c94d8b50a8 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/4323afde6e1b44daac9dc336721904e2 +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/4792ea62e5c95df93becc04e1247c858 +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/4987aaf82a15d4fcc54c9971a62fe464 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/4a6664f7b5da3658e502a994bc06a3f7 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/4aba8376707070db8167c05302adccc6 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/4ac95877bf8aeeee004c7464440e5efe +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/4ba26a30b63589959d0c4692f314e3aa +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/4bda67cdbec70e51fc5aabd3dd085789 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/4d177c54215992cd81a26f8b170ea7f7 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/4dac96c708e2e84a8347efb1db533c4c +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/4f929ac9fa380b32ac71e967031ce99e +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/4f9f2ec9f45bcb2b0314409f4ed8d314 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/4fd6af204163612638290ad988d8a9b6 +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/506ca0631764d6a3d89109efb476fd18 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/507f01d96025d73ea9f817a06010b12d +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/508bb4304d3050108e2234b3d55b122e +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/516b084be1daee008f2ee724442c2572 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/5496155aa1d57a5d452afcebd4580646 +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/5833e5b28944a870da20b0261e2bba31 +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/58c6c72b7fcca82fdf25e1f0845774ed +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/5988de807c3dff49045a11031cedbbd1 +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/59cac6b69b1e6be1078b191e0a426617 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/5a33192c3ff661394755236ff6a2a843 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/5be84a1bde43929f0c91b7342728ee99 +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/5c50bbb6a22243becf4b686559662232 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/5c6c35f39bf47311fa42de94e9e8472e +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/5dccf598e9581501f947944ab7ea77f8 +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/5e52cca46451c1714fedec8ab830865d +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/5e96b7215788159b18088b94aadfe4ea +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/5fed700ff4f114325222352b4a9eb173 +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/6026416a45d2a8e2d81898511b5d0060 +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/63b25dc5521cb7ee9181b5a3d4263f6d +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/6411743d27c46245c9c3ba51c60213dd +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/64f890cc56d1b4ed3144210969474884 +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/65eabc1fe83dda4ad463764824e39ebf +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/6759aa60233dd6de6888e3bee3522ccf +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/67ae152dfaec9b4d5c3c45a2f9fc69eb +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/68206935860639a3524ee1bd9c35d29f +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/6a0de03f92b58421c222ff15037aa805 +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/6bcc1823dc43c3d791fd38521fe0d283 +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/6d52ff109e33c9c1c368aed99189cae8 +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/6d586185a813e8684c5f4f8c76901509 +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/6fac693c6eccbde54dd39a5346a17795 +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/7046170cbc635a51f15a2fd233cd3a9a +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/710d01e35d3ed05436fc147fc9812c11 +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/716a6d1ea39edaf56ce2e575ba31f1d0 +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/717a204b713a195d5144254a6c5f8eef +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/718bd7b3b79761648c0189b0bb1a7c66 +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/72f2ad6a628692922c1df934c7936ada +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/7321581cff8c39b5facc2ad1d4199612 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/746ff3bb42e1a56e3045101d1dadf288 +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/775ff6f166a14c9c033dfdb5607c9636 +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/77679fbf4182f999a442c39af05f45f8 +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/7772ce8d6dd3ef1168110de0a6c10abd +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/793531ed1abf292ae64bda64a55dd2f4 +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/7a89f6daba9fe362c5c272ee22f29114 +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/7adb4f2b567f224e053ccb04c28a35eb +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/7db6bbe81b6c8340fdd201ac653594d9 +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/7ecfc7a95d353736efabc93863355528 +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/7f31c873ff1197442dd28de670f1c0b5 +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/7f5bdaf022ef1fd578b237aa574b9464 +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/8099cc04495d5ad8fc3842f9c370f598 +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/81c1fcd2cd8c021dcd083c853a7173e3 +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/84908091a54506d15b5a49d247e7573e +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/886f23353b9e21b3076056205a177dce +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/88b70b8abde033544479b6f2340ff71e +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/88c3f23d1be22355f7c33520660c5509 +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/89a8e874d08cfbe4244d85c138ad6038 +0 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/89c4f203a2820da990cf4a49eafbf1a0 +0 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/8aa831d20b1255f392910cd1c8f4a28c +0 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/8aacd99f8b073b4d4b28a9e874984dfb +0 -0
  157. data/spec/dummy/tmp/cache/assets/development/sprockets/8b28271b15c4c4fda575bd3a4e4f74b1 +0 -0
  158. data/spec/dummy/tmp/cache/assets/development/sprockets/8b7bf605f83df1490aee820706ce95ac +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sprockets/8bcbfdd61d2dbd1341ca367e201f0181 +0 -0
  160. data/spec/dummy/tmp/cache/assets/development/sprockets/8c58f5e9fc13afdcf8a7347ea5b6433f +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sprockets/8c8c8c1ff0cfc510fe182015d7434ac5 +0 -0
  162. data/spec/dummy/tmp/cache/assets/development/sprockets/8cf8bc288b245b2429ed0405fd481660 +0 -0
  163. data/spec/dummy/tmp/cache/assets/development/sprockets/8d65faf84f9d68121b411ced86f4e943 +0 -0
  164. data/spec/dummy/tmp/cache/assets/development/sprockets/8e42dcc7aefa852924d151abf2e7e6c1 +0 -0
  165. data/spec/dummy/tmp/cache/assets/development/sprockets/8fad54727db973409191583a981dd284 +0 -0
  166. data/spec/dummy/tmp/cache/assets/development/sprockets/8fb8b09fa416ad2d9ab9b159f7b0a899 +0 -0
  167. data/spec/dummy/tmp/cache/assets/development/sprockets/8ff25ec7914141770383e3e913a5b6aa +0 -0
  168. data/spec/dummy/tmp/cache/assets/development/sprockets/906e74f34706bce5e8fef1dd4767a131 +0 -0
  169. data/spec/dummy/tmp/cache/assets/development/sprockets/91e1869728c5050bc849e555ce1988e7 +0 -0
  170. data/spec/dummy/tmp/cache/assets/development/sprockets/92be05b444cb5a6eb64ae1e0a7d1b971 +0 -0
  171. data/spec/dummy/tmp/cache/assets/development/sprockets/92e84423062073912a08205d427e9347 +0 -0
  172. data/spec/dummy/tmp/cache/assets/development/sprockets/94737fda0d9284d7e802606d616d4d06 +0 -0
  173. data/spec/dummy/tmp/cache/assets/development/sprockets/96810adc9f3a9a1c1bbf54814f649e42 +0 -0
  174. data/spec/dummy/tmp/cache/assets/development/sprockets/975b498c626717504e487d848a70c7e0 +0 -0
  175. data/spec/dummy/tmp/cache/assets/development/sprockets/987957ae03ced9fff088f7a19748bc74 +0 -0
  176. data/spec/dummy/tmp/cache/assets/development/sprockets/98c63563b5427dfac401489800970502 +0 -0
  177. data/spec/dummy/tmp/cache/assets/development/sprockets/99ab6ebc5d61383f810287cc74fcdbb9 +0 -0
  178. data/spec/dummy/tmp/cache/assets/development/sprockets/9a875c88481e2d53f5c249cc4acd6018 +0 -0
  179. data/spec/dummy/tmp/cache/assets/development/sprockets/9d55ee6b4e9674f9fddeb9a4727c9084 +0 -0
  180. data/spec/dummy/tmp/cache/assets/development/sprockets/9f760111b547264ef7ca7885c6a77466 +0 -0
  181. data/spec/dummy/tmp/cache/assets/development/sprockets/9f8009e93b65f35cb6167d749f963476 +0 -0
  182. data/spec/dummy/tmp/cache/assets/development/sprockets/9f895ffe0a7ff3ab6d1f21c34f021cec +0 -0
  183. data/spec/dummy/tmp/cache/assets/development/sprockets/a0a9793653f72971df5333971af113d4 +0 -0
  184. data/spec/dummy/tmp/cache/assets/development/sprockets/a0acc49e92b247754fb0bab1c8c7007d +0 -0
  185. data/spec/dummy/tmp/cache/assets/development/sprockets/a0d4d1565c853652662f6bad39d00b4c +0 -0
  186. data/spec/dummy/tmp/cache/assets/development/sprockets/a1fd1034ae16d33292e1f73f75113f04 +0 -0
  187. data/spec/dummy/tmp/cache/assets/development/sprockets/a3abc586793aa45ef716d409dd619dae +0 -0
  188. data/spec/dummy/tmp/cache/assets/development/sprockets/a57aae0412ef4b230257432da5013077 +0 -0
  189. data/spec/dummy/tmp/cache/assets/development/sprockets/a65830b2fc6ebb1b5d5aafa38847f1c2 +0 -0
  190. data/spec/dummy/tmp/cache/assets/development/sprockets/a6613cb28bb9bda909e818c9dabda1d1 +0 -0
  191. data/spec/dummy/tmp/cache/assets/development/sprockets/a73670c606b6495d2c5fa68ab021b110 +0 -0
  192. data/spec/dummy/tmp/cache/assets/development/sprockets/a79dc0eb7fca20a3e8749b4debec3c33 +0 -0
  193. data/spec/dummy/tmp/cache/assets/development/sprockets/a8a327d32373b4335667206d19f042b1 +0 -0
  194. data/spec/dummy/tmp/cache/assets/development/sprockets/a8d5eb157222b7a829080945a3c5519e +0 -0
  195. data/spec/dummy/tmp/cache/assets/development/sprockets/ab26323068f77b2f0d2c16e9f66288a1 +0 -0
  196. data/spec/dummy/tmp/cache/assets/development/sprockets/ab2744c8740676c8d31a07772ee24bef +0 -0
  197. data/spec/dummy/tmp/cache/assets/development/sprockets/ad4490686c57d2eb25ed3f99c9ea39c3 +0 -0
  198. data/spec/dummy/tmp/cache/assets/development/sprockets/b0ec2c7d1d2238cba3ae17bc81609a97 +0 -0
  199. data/spec/dummy/tmp/cache/assets/development/sprockets/b2015ea2290a27920d1a5b872c2ebde1 +0 -0
  200. data/spec/dummy/tmp/cache/assets/development/sprockets/b24cd42a9549ae6c7654bbfcc4daf4fc +0 -0
  201. data/spec/dummy/tmp/cache/assets/development/sprockets/b280349677aa3a48b83313d17260fc76 +0 -0
  202. data/spec/dummy/tmp/cache/assets/development/sprockets/b2a38df04d10897518b96049e8af5602 +0 -0
  203. data/spec/dummy/tmp/cache/assets/development/sprockets/b2be916e010058f87f9fd484fad599a3 +0 -0
  204. data/spec/dummy/tmp/cache/assets/development/sprockets/b2eccb6718458fe5f35ab898ca7a45f0 +0 -0
  205. data/spec/dummy/tmp/cache/assets/development/sprockets/b356762f4476feecaad27950da5029dd +0 -0
  206. data/spec/dummy/tmp/cache/assets/development/sprockets/b769ad7dc73b7d16b91651e5f30e8fcb +0 -0
  207. data/spec/dummy/tmp/cache/assets/development/sprockets/b887edd98295d30edc1938bbba491788 +0 -0
  208. data/spec/dummy/tmp/cache/assets/development/sprockets/b92d02f74337d1b255e8405aa5d62189 +0 -0
  209. data/spec/dummy/tmp/cache/assets/development/sprockets/bb2daecb6fd08460b997984fb566e195 +0 -0
  210. data/spec/dummy/tmp/cache/assets/development/sprockets/be0fe76ebb304256db992362f9fc8228 +0 -0
  211. data/spec/dummy/tmp/cache/assets/development/sprockets/be9bbd2e4f4d9711bc483c3cf230ec6e +0 -0
  212. data/spec/dummy/tmp/cache/assets/development/sprockets/bf3921a37d6e21f51cf58644f4011e82 +0 -0
  213. data/spec/dummy/tmp/cache/assets/development/sprockets/bf5947432e5c44e62273ea61a0293420 +0 -0
  214. data/spec/dummy/tmp/cache/assets/development/sprockets/bfbb0dd7d2e0f641cddb16994bb507d9 +0 -0
  215. data/spec/dummy/tmp/cache/assets/development/sprockets/c07430879f13129e2effbb47ede61618 +0 -0
  216. data/spec/dummy/tmp/cache/assets/development/sprockets/c11cf10be0331f52f91a36685f174808 +0 -0
  217. data/spec/dummy/tmp/cache/assets/development/sprockets/c28281ffeb723fa28495ef556c557a22 +0 -0
  218. data/spec/dummy/tmp/cache/assets/development/sprockets/c348ad210d6130dd55fd6affe02771a9 +0 -0
  219. data/spec/dummy/tmp/cache/assets/development/sprockets/c362f64f02f137c3937eccd575d4f31b +0 -0
  220. data/spec/dummy/tmp/cache/assets/development/sprockets/c3dd754c803e3f32c139eedce6233772 +0 -0
  221. data/spec/dummy/tmp/cache/assets/development/sprockets/c43a1989c268b5844b7676a3cf7d378b +0 -0
  222. data/spec/dummy/tmp/cache/assets/development/sprockets/c48300197ad160766f8deaf9e93df026 +0 -0
  223. data/spec/dummy/tmp/cache/assets/development/sprockets/c5348a26b2c297ab5889ae73637d25f5 +0 -0
  224. data/spec/dummy/tmp/cache/assets/development/sprockets/c6f3a37fef2898e49a29ae777391bf39 +0 -0
  225. data/spec/dummy/tmp/cache/assets/development/sprockets/c7b9dbb027270852a2227385a24eb48b +0 -0
  226. data/spec/dummy/tmp/cache/assets/development/sprockets/c7df8cf4b4bc061e2d9a4bcd2b5e62b0 +0 -0
  227. data/spec/dummy/tmp/cache/assets/development/sprockets/c920365528fa0e293905ee4ebe14d0b4 +0 -0
  228. data/spec/dummy/tmp/cache/assets/development/sprockets/cb25bb8c2cebf1ab8cbfd41bdae0e83a +0 -0
  229. data/spec/dummy/tmp/cache/assets/development/sprockets/cc0fd9cf6eb1a82ae9b2b8ad81244035 +0 -0
  230. data/spec/dummy/tmp/cache/assets/development/sprockets/cc52477f6be74a37d0b39ab009804c20 +0 -0
  231. data/spec/dummy/tmp/cache/assets/development/sprockets/ccb95c683cf313ad174fbf9fee3ef4b0 +0 -0
  232. data/spec/dummy/tmp/cache/assets/development/sprockets/cdaa1b63f1047c2cc166a32c2a360c45 +0 -0
  233. data/spec/dummy/tmp/cache/assets/development/sprockets/ce76f61efc5296b76def34ab78730fc7 +0 -0
  234. data/spec/dummy/tmp/cache/assets/development/sprockets/cea8867ce266b545d9f17a7e6b06d0b7 +0 -0
  235. data/spec/dummy/tmp/cache/assets/development/sprockets/cf30721780868ab370fc70e707649a28 +0 -0
  236. data/spec/dummy/tmp/cache/assets/development/sprockets/d4ec2eb97b872d3b50052ab27dcd4e03 +0 -0
  237. data/spec/dummy/tmp/cache/assets/development/sprockets/d67545e07abbaeca72789ce957d5fbf6 +0 -0
  238. data/spec/dummy/tmp/cache/assets/development/sprockets/d6c4d5f5be2439d8a76ce1a11b26605d +0 -0
  239. data/spec/dummy/tmp/cache/assets/development/sprockets/d75682e5e9727c3bc417517944521579 +0 -0
  240. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  241. data/spec/dummy/tmp/cache/assets/development/sprockets/d7d294d7ce47b84cfeeebd8c8122f246 +0 -0
  242. data/spec/dummy/tmp/cache/assets/development/sprockets/d80d5b1aeb629ee81f04fe51dd0864dc +0 -0
  243. data/spec/dummy/tmp/cache/assets/development/sprockets/d8f5f1c7f3a91ceab9105589757ee925 +0 -0
  244. data/spec/dummy/tmp/cache/assets/development/sprockets/dc29f6e9b40d6a23d00d1d3b44a8429f +0 -0
  245. data/spec/dummy/tmp/cache/assets/development/sprockets/dc549879ec709eefcb7161aa23afb528 +0 -0
  246. data/spec/dummy/tmp/cache/assets/development/sprockets/dd855d74d3af81e354b2575f7ae1bb7c +0 -0
  247. data/spec/dummy/tmp/cache/assets/development/sprockets/dda9a60cee77db7f1c9005e6aedf15c4 +0 -0
  248. data/spec/dummy/tmp/cache/assets/development/sprockets/ddf96d93d5c2ed2884db3ef9ed9deee5 +0 -0
  249. data/spec/dummy/tmp/cache/assets/development/sprockets/de53fe5f77c008da07d1fd63b9e13417 +0 -0
  250. data/spec/dummy/tmp/cache/assets/development/sprockets/e13d9fe9bfdbecc97bfc1b6e29c0fdde +0 -0
  251. data/spec/dummy/tmp/cache/assets/development/sprockets/e383447a775cdea087b07afe27ec5fcf +0 -0
  252. data/spec/dummy/tmp/cache/assets/development/sprockets/e3fe3fd147f700cc262687e449cdca60 +0 -0
  253. data/spec/dummy/tmp/cache/assets/development/sprockets/e411a2f57978dfd7a700e2e11cc18484 +0 -0
  254. data/spec/dummy/tmp/cache/assets/development/sprockets/e69084e19860cc4f7b19cbc8a2706caa +0 -0
  255. data/spec/dummy/tmp/cache/assets/development/sprockets/e7b3430e063930d966796d6deeac5afb +0 -0
  256. data/spec/dummy/tmp/cache/assets/development/sprockets/e944ae1af382e6fa7bafacb52dc3d446 +0 -0
  257. data/spec/dummy/tmp/cache/assets/development/sprockets/e9ccdd01928a9f7ad24b8cae6cadb30d +0 -0
  258. data/spec/dummy/tmp/cache/assets/development/sprockets/ea1f08a7d0aa5a09406cb8d358233334 +0 -0
  259. data/spec/dummy/tmp/cache/assets/development/sprockets/eac0749c781be78064d69e6ebe7a5b93 +0 -0
  260. data/spec/dummy/tmp/cache/assets/development/sprockets/ecc78f68f932e12412baef3e14485076 +0 -0
  261. data/spec/dummy/tmp/cache/assets/development/sprockets/ed3b4296b4342de62dceb8aa09c84972 +0 -0
  262. data/spec/dummy/tmp/cache/assets/development/sprockets/ee3e244b1267adfe72ac1f292a2d6998 +0 -0
  263. data/spec/dummy/tmp/cache/assets/development/sprockets/eeb8644081bf2a1e50342ed7847f170b +0 -0
  264. data/spec/dummy/tmp/cache/assets/development/sprockets/ef7cff62ef5f81d217b7b08e2e9b1acf +0 -0
  265. data/spec/dummy/tmp/cache/assets/development/sprockets/f3e5519647fbfddd37296b7001af6a9b +0 -0
  266. data/spec/dummy/tmp/cache/assets/development/sprockets/f54685839a569bf8fc641548a69ac0ba +0 -0
  267. data/spec/dummy/tmp/cache/assets/development/sprockets/f5e9bb68665aed5a27bdf2b2a66c81de +0 -0
  268. data/spec/dummy/tmp/cache/assets/development/sprockets/f678d58a741fef36c848e1f1bfbc2f21 +0 -0
  269. data/spec/dummy/tmp/cache/assets/development/sprockets/f77b040af039273989c26d806db1ce9b +0 -0
  270. data/spec/dummy/tmp/cache/assets/development/sprockets/f8e63775bae7f226ec296177be6ca8ed +0 -0
  271. data/spec/dummy/tmp/cache/assets/development/sprockets/f8fb6cd6bc0a99141a1fe57bee35316c +0 -0
  272. data/spec/dummy/tmp/cache/assets/development/sprockets/f9b9728da11c0c9be6ffbb4a37a2b543 +0 -0
  273. data/spec/dummy/tmp/cache/assets/development/sprockets/fa01a50da660614bd1fd691d70faffab +0 -0
  274. data/spec/dummy/tmp/cache/assets/development/sprockets/fa2afb49c0fe605d48d92fb011b1325d +0 -0
  275. data/spec/dummy/tmp/cache/assets/development/sprockets/fc4c248705c8d53f522afbaa47265569 +0 -0
  276. data/spec/dummy/tmp/cache/assets/development/sprockets/fdd7bc67106a7c5d0d8912519d463f4d +0 -0
  277. data/spec/dummy/tmp/cache/assets/development/sprockets/fdfd7e17f67d5b3f03c50d1686928177 +0 -0
  278. data/spec/dummy/tmp/cache/assets/development/sprockets/fe6a1f54080610afc5cd02ea70fc3cd5 +0 -0
  279. data/spec/dummy/tmp/ember-rails/ember-data.js +10790 -8941
  280. data/spec/dummy/tmp/ember-rails/ember.js +292 -118
  281. metadata +74 -2
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 1.5.0
8
+ * @version 1.5.1
9
9
  */
10
10
 
11
11
 
@@ -227,7 +227,7 @@ if (!Ember.testing) {
227
227
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
228
228
  * @license Licensed under MIT license
229
229
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
230
- * @version 1.5.0
230
+ * @version 1.5.1
231
231
  */
232
232
 
233
233
 
@@ -310,7 +310,7 @@ var define, requireModule, require, requirejs;
310
310
 
311
311
  @class Ember
312
312
  @static
313
- @version 1.5.0
313
+ @version 1.5.1
314
314
  */
315
315
 
316
316
  if ('undefined' === typeof Ember) {
@@ -337,10 +337,10 @@ Ember.toString = function() { return "Ember"; };
337
337
  /**
338
338
  @property VERSION
339
339
  @type String
340
- @default '1.5.0'
340
+ @default '1.5.1'
341
341
  @static
342
342
  */
343
- Ember.VERSION = '1.5.0';
343
+ Ember.VERSION = '1.5.1';
344
344
 
345
345
  /**
346
346
  Standard environmental variables. You can define these in a global `EmberENV`
@@ -10704,7 +10704,7 @@ define("rsvp",
10704
10704
  })();
10705
10705
 
10706
10706
  (function() {
10707
- define("container/container",
10707
+ define("container/container",
10708
10708
  ["container/inheriting_dict","exports"],
10709
10709
  function(__dependency1__, __exports__) {
10710
10710
  "use strict";
@@ -11516,7 +11516,7 @@ define("container/container",
11516
11516
 
11517
11517
  __exports__["default"] = Container;
11518
11518
  });
11519
- define("container/inheriting_dict",
11519
+ define("container/inheriting_dict",
11520
11520
  ["exports"],
11521
11521
  function(__exports__) {
11522
11522
  "use strict";
@@ -11630,7 +11630,7 @@ define("container/inheriting_dict",
11630
11630
 
11631
11631
  __exports__["default"] = InheritingDict;
11632
11632
  });
11633
- define("container",
11633
+ define("container",
11634
11634
  ["container/container","exports"],
11635
11635
  function(__dependency1__, __exports__) {
11636
11636
  "use strict";
@@ -15872,10 +15872,11 @@ function ReduceComputedProperty(options) {
15872
15872
  this.cacheable();
15873
15873
 
15874
15874
  this.recomputeOnce = function(propertyName) {
15875
- // TODO: Coalesce recomputation by <this, propertyName, cp>.
15876
- recompute.call(this, propertyName);
15875
+ // What we really want to do is coalesce by <cp, propertyName>.
15876
+ // We need a form of `scheduleOnce` that accepts an arbitrary token to
15877
+ // coalesce by, in addition to the target and method.
15878
+ Ember.run.once(this, recompute, propertyName);
15877
15879
  };
15878
-
15879
15880
  var recompute = function(propertyName) {
15880
15881
  var dependentKeys = cp._dependentKeys,
15881
15882
  meta = cp._instanceMeta(this, propertyName),
@@ -34955,6 +34956,15 @@ Ember.Router = Ember.Object.extend(Ember.Evented, {
34955
34956
  */
34956
34957
  location: 'hash',
34957
34958
 
34959
+ /**
34960
+ Represents the URL of the root of the application, often '/'. This prefix is
34961
+ assumed on all routes defined on this router.
34962
+
34963
+ @property rootURL
34964
+ @default '/'
34965
+ */
34966
+ rootURL: '/',
34967
+
34958
34968
  init: function() {
34959
34969
  this.router = this.constructor.router || this.constructor.map(Ember.K);
34960
34970
  this._activeViews = {};
@@ -35134,6 +35144,10 @@ Ember.Router = Ember.Object.extend(Ember.Evented, {
35134
35144
  var location = get(this, 'location'),
35135
35145
  rootURL = get(this, 'rootURL');
35136
35146
 
35147
+ if (rootURL && !this.container.has('-location-setting:root-url')) {
35148
+ this.container.register('-location-setting:root-url', rootURL, { instantiate: false });
35149
+ }
35150
+
35137
35151
  if ('string' === typeof location && this.container) {
35138
35152
  var resolvedLocation = this.container.lookup('location:' + location);
35139
35153
 
@@ -35147,7 +35161,7 @@ Ember.Router = Ember.Object.extend(Ember.Evented, {
35147
35161
  }
35148
35162
  }
35149
35163
 
35150
- if (typeof rootURL === 'string') {
35164
+ if (rootURL && typeof rootURL === 'string') {
35151
35165
  location.rootURL = rootURL;
35152
35166
  }
35153
35167
 
@@ -39239,6 +39253,7 @@ Ember.Location = {
39239
39253
  },
39240
39254
 
39241
39255
  implementations: {},
39256
+ _location: window.location,
39242
39257
 
39243
39258
  /**
39244
39259
  Returns the current `location.hash` by parsing location.href since browsers
@@ -39249,8 +39264,10 @@ Ember.Location = {
39249
39264
  @private
39250
39265
  @method getHash
39251
39266
  */
39252
- getHash: function () {
39253
- var href = window.location.href,
39267
+ _getHash: function () {
39268
+ // AutoLocation has it at _location, HashLocation at .location.
39269
+ // Being nice and not changing
39270
+ var href = (this._location || this.location).href,
39254
39271
  hashIndex = href.indexOf('#');
39255
39272
 
39256
39273
  if (hashIndex === -1) {
@@ -39365,8 +39382,7 @@ Ember.NoneLocation = Ember.Object.extend({
39365
39382
  @submodule ember-routing
39366
39383
  */
39367
39384
 
39368
- var get = Ember.get, set = Ember.set,
39369
- getHash = Ember.Location.getHash;
39385
+ var get = Ember.get, set = Ember.set;
39370
39386
 
39371
39387
  /**
39372
39388
  `Ember.HashLocation` implements the location API using the browser's
@@ -39381,9 +39397,18 @@ Ember.HashLocation = Ember.Object.extend({
39381
39397
  implementation: 'hash',
39382
39398
 
39383
39399
  init: function() {
39384
- set(this, 'location', get(this, 'location') || window.location);
39400
+ set(this, 'location', get(this, '_location') || window.location);
39385
39401
  },
39386
39402
 
39403
+ /**
39404
+ @private
39405
+
39406
+ Returns normalized location.hash
39407
+
39408
+ @method getHash
39409
+ */
39410
+ getHash: Ember.Location._getHash,
39411
+
39387
39412
  /**
39388
39413
  Returns the current `location.hash`, minus the '#' at the front.
39389
39414
 
@@ -39391,7 +39416,7 @@ Ember.HashLocation = Ember.Object.extend({
39391
39416
  @method getURL
39392
39417
  */
39393
39418
  getURL: function() {
39394
- return getHash().substr(1);
39419
+ return this.getHash().substr(1);
39395
39420
  },
39396
39421
 
39397
39422
  /**
@@ -39524,7 +39549,7 @@ Ember.HistoryLocation = Ember.Object.extend({
39524
39549
  rootURL: '/',
39525
39550
 
39526
39551
  /**
39527
- Returns the current `location.pathname` without `rootURL`.
39552
+ Returns the current `location.pathname` without `rootURL` or `baseURL`
39528
39553
 
39529
39554
  @private
39530
39555
  @method getURL
@@ -39555,7 +39580,7 @@ Ember.HistoryLocation = Ember.Object.extend({
39555
39580
  var state = this.getState();
39556
39581
  path = this.formatURL(path);
39557
39582
 
39558
- if (state && state.path !== path) {
39583
+ if (!state || state.path !== path) {
39559
39584
  this.pushState(path);
39560
39585
  }
39561
39586
  },
@@ -39572,15 +39597,16 @@ Ember.HistoryLocation = Ember.Object.extend({
39572
39597
  var state = this.getState();
39573
39598
  path = this.formatURL(path);
39574
39599
 
39575
- if (state && state.path !== path) {
39600
+ if (!state || state.path !== path) {
39576
39601
  this.replaceState(path);
39577
39602
  }
39578
39603
  },
39579
39604
 
39580
39605
  /**
39581
- Get the current `history.state`
39582
- Polyfill checks for native browser support and falls back to retrieving
39583
- from a private _historyState variable
39606
+ Get the current `history.state`. Checks for if a polyfill is
39607
+ required and if so fetches this._historyState. The state returned
39608
+ from getState may be null if an iframe has changed a window's
39609
+ history.
39584
39610
 
39585
39611
  @private
39586
39612
  @method getState
@@ -39700,11 +39726,11 @@ Ember.HistoryLocation = Ember.Object.extend({
39700
39726
  @submodule ember-routing
39701
39727
  */
39702
39728
 
39703
- var get = Ember.get, set = Ember.set;
39704
- var documentMode = document.documentMode,
39705
- history = window.history,
39706
- location = window.location,
39707
- getHash = Ember.Location.getHash;
39729
+ var get = Ember.get, set = Ember.set,
39730
+ HistoryLocation = Ember.HistoryLocation,
39731
+ HashLocation = Ember.HashLocation,
39732
+ NoneLocation = Ember.NoneLocation,
39733
+ EmberLocation = Ember.Location;
39708
39734
 
39709
39735
  /**
39710
39736
  Ember.AutoLocation will select the best location option based off browser
@@ -39723,6 +39749,19 @@ Ember.HistoryLocation = Ember.Object.extend({
39723
39749
  var AutoLocation = Ember.AutoLocation = {
39724
39750
 
39725
39751
  /**
39752
+ @private
39753
+
39754
+ This property is used by router:main to know whether to cancel the routing
39755
+ setup process, which is needed while we redirect the browser.
39756
+
39757
+ @property cancelRouterSetup
39758
+ @default false
39759
+ */
39760
+ cancelRouterSetup: false,
39761
+
39762
+ /**
39763
+ @private
39764
+
39726
39765
  Will be pre-pended to path upon state change.
39727
39766
 
39728
39767
  @property rootURL
@@ -39733,28 +39772,78 @@ Ember.HistoryLocation = Ember.Object.extend({
39733
39772
  /**
39734
39773
  @private
39735
39774
 
39736
- Exposed for testing
39775
+ Attached for mocking in tests
39776
+
39777
+ @property _window
39778
+ @default window
39779
+ */
39780
+ _window: window,
39781
+
39782
+ /**
39783
+ @private
39784
+
39785
+ Attached for mocking in tests
39737
39786
 
39738
39787
  @property location
39739
39788
  @default window.location
39740
39789
  */
39741
- _location: location,
39790
+ _location: window.location,
39791
+
39792
+ /**
39793
+ @private
39794
+
39795
+ Attached for mocking in tests
39796
+
39797
+ @property _history
39798
+ @default window.history
39799
+ */
39800
+ _history: window.history,
39801
+
39802
+ /**
39803
+ @private
39804
+
39805
+ Attached for mocking in tests
39806
+
39807
+ @property _HistoryLocation
39808
+ @default Ember.HistoryLocation
39809
+ */
39810
+ _HistoryLocation: HistoryLocation,
39811
+
39812
+ /**
39813
+ @private
39814
+
39815
+ Attached for mocking in tests
39816
+
39817
+ @property _HashLocation
39818
+ @default Ember.HashLocation
39819
+ */
39820
+ _HashLocation: HashLocation,
39821
+
39822
+ /**
39823
+ @private
39824
+
39825
+ Attached for mocking in tests
39826
+
39827
+ @property _NoneLocation
39828
+ @default Ember.NoneLocation
39829
+ */
39830
+ _NoneLocation: NoneLocation,
39742
39831
 
39743
39832
  /**
39744
39833
  @private
39745
39834
 
39746
39835
  Returns location.origin or builds it if device doesn't support it.
39747
39836
 
39748
- @method getOrigin
39837
+ @method _getOrigin
39749
39838
  */
39750
- getOrigin: function () {
39839
+ _getOrigin: function () {
39751
39840
  var location = this._location,
39752
39841
  origin = location.origin;
39753
39842
 
39754
39843
  // Older browsers, especially IE, don't have origin
39755
39844
  if (!origin) {
39756
39845
  origin = location.protocol + '//' + location.hostname;
39757
-
39846
+
39758
39847
  if (location.port) {
39759
39848
  origin += ':' + location.port;
39760
39849
  }
@@ -39769,14 +39858,14 @@ Ember.HistoryLocation = Ember.Object.extend({
39769
39858
  We assume that if the history object has a pushState method, the host should
39770
39859
  support HistoryLocation.
39771
39860
 
39772
- @property supportsHistory
39861
+ @method _getSupportsHistory
39773
39862
  */
39774
- supportsHistory: (function () {
39863
+ _getSupportsHistory: function () {
39775
39864
  // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
39776
39865
  // The stock browser on Android 2.2 & 2.3 returns positive on history support
39777
39866
  // Unfortunately support is really buggy and there is no clean way to detect
39778
39867
  // these bugs, so we fall back to a user agent sniff :(
39779
- var userAgent = window.navigator.userAgent;
39868
+ var userAgent = this._window.navigator.userAgent;
39780
39869
 
39781
39870
  // We only want Android 2, stock browser, and not Chrome which identifies
39782
39871
  // itself as 'Mobile Safari' as well
@@ -39786,8 +39875,8 @@ Ember.HistoryLocation = Ember.Object.extend({
39786
39875
  return false;
39787
39876
  }
39788
39877
 
39789
- return !!(history && 'pushState' in history);
39790
- })(),
39878
+ return !!(this._history && 'pushState' in this._history);
39879
+ },
39791
39880
 
39792
39881
  /**
39793
39882
  @private
@@ -39795,56 +39884,13 @@ Ember.HistoryLocation = Ember.Object.extend({
39795
39884
  IE8 running in IE7 compatibility mode gives false positive, so we must also
39796
39885
  check documentMode.
39797
39886
 
39798
- @property supportsHashChange
39887
+ @method _getSupportsHashChange
39799
39888
  */
39800
- supportsHashChange: ('onhashchange' in window && (documentMode === undefined || documentMode > 7 )),
39801
-
39802
- create: function (options) {
39803
- if (options && options.rootURL) {
39804
- this.rootURL = options.rootURL;
39805
- }
39806
-
39807
- var implementationClass, historyPath, hashPath,
39808
- cancelRouterSetup = false,
39809
- currentPath = this.getFullPath();
39810
-
39811
- if (this.supportsHistory) {
39812
- historyPath = this.getHistoryPath();
39813
-
39814
- // Since we support history paths, let's be sure we're using them else
39815
- // switch the location over to it.
39816
- if (currentPath === historyPath) {
39817
- implementationClass = Ember.HistoryLocation;
39818
- } else {
39819
- cancelRouterSetup = true;
39820
- this.replacePath(historyPath);
39821
- }
39822
-
39823
- } else if (this.supportsHashChange) {
39824
- hashPath = this.getHashPath();
39889
+ _getSupportsHashChange: function () {
39890
+ var window = this._window,
39891
+ documentMode = window.document.documentMode;
39825
39892
 
39826
- // Be sure we're using a hashed path, otherwise let's switch over it to so
39827
- // we start off clean and consistent.
39828
- if (currentPath === hashPath) {
39829
- implementationClass = Ember.HashLocation;
39830
- } else {
39831
- cancelRouterSetup = true;
39832
- this.replacePath(hashPath);
39833
- }
39834
- }
39835
-
39836
- // If none has been set
39837
- if (!implementationClass) {
39838
- implementationClass = Ember.NoneLocation;
39839
- }
39840
-
39841
- var implementation = implementationClass.create.apply(implementationClass, arguments);
39842
-
39843
- if (cancelRouterSetup) {
39844
- set(implementation, 'cancelRouterSetup', true);
39845
- }
39846
-
39847
- return implementation;
39893
+ return ('onhashchange' in window && (documentMode === undefined || documentMode > 7 ));
39848
39894
  },
39849
39895
 
39850
39896
  /**
@@ -39853,10 +39899,18 @@ Ember.HistoryLocation = Ember.Object.extend({
39853
39899
  Redirects the browser using location.replace, prepending the locatin.origin
39854
39900
  to prevent phishing attempts
39855
39901
 
39856
- @method replacePath
39902
+ @method _replacePath
39903
+ */
39904
+ _replacePath: function (path) {
39905
+ this._location.replace(this._getOrigin() + path);
39906
+ },
39907
+
39908
+ /**
39909
+ @private
39910
+ @method _getRootURL
39857
39911
  */
39858
- replacePath: function (path) {
39859
- this._location.replace(this.getOrigin() + path);
39912
+ _getRootURL: function () {
39913
+ return this.rootURL;
39860
39914
  },
39861
39915
 
39862
39916
  /**
@@ -39864,10 +39918,10 @@ Ember.HistoryLocation = Ember.Object.extend({
39864
39918
 
39865
39919
  Returns the current `location.pathname`, normalized for IE inconsistencies.
39866
39920
 
39867
- @method getPath
39921
+ @method _getPath
39868
39922
  */
39869
- getPath: function () {
39870
- var pathname = location.pathname;
39923
+ _getPath: function () {
39924
+ var pathname = this._location.pathname;
39871
39925
  // Various versions of IE/Opera don't always return a leading slash
39872
39926
  if (pathname.charAt(0) !== '/') {
39873
39927
  pathname = '/' + pathname;
@@ -39879,30 +39933,81 @@ Ember.HistoryLocation = Ember.Object.extend({
39879
39933
  /**
39880
39934
  @private
39881
39935
 
39882
- Returns the full pathname including the hash string.
39936
+ Returns normalized location.hash as an alias to Ember.Location._getHash
39937
+
39938
+ @method _getHash
39939
+ */
39940
+ _getHash: EmberLocation._getHash,
39941
+
39942
+ /**
39943
+ @private
39944
+
39945
+ Returns location.search
39883
39946
 
39884
- @method getFullPath
39947
+ @method _getQuery
39885
39948
  */
39886
- getFullPath: function () {
39887
- return this.getPath() + getHash().substr(1);
39949
+ _getQuery: function () {
39950
+ return this._location.search;
39951
+ },
39952
+
39953
+ /**
39954
+ @private
39955
+
39956
+ Returns the full pathname including query and hash
39957
+
39958
+ @method _getFullPath
39959
+ */
39960
+ _getFullPath: function () {
39961
+ return this._getPath() + this._getQuery() + this._getHash();
39888
39962
  },
39889
39963
 
39890
39964
  /**
39891
39965
  @private
39892
39966
 
39893
39967
  Returns the current path as it should appear for HistoryLocation supported
39894
- browsers. This may very well differ from the real current path (e.g. if it
39968
+ browsers. This may very well differ from the real current path (e.g. if it
39895
39969
  starts off as a hashed URL)
39896
39970
 
39897
- @method getHistoryPath
39971
+ @method _getHistoryPath
39898
39972
  */
39899
- getHistoryPath: function () {
39900
- var path = this.getPath(),
39901
- hashPath = getHash().substr(1),
39902
- url = path + hashPath;
39973
+ _getHistoryPath: function () {
39974
+ var rootURL = this._getRootURL(),
39975
+ path = this._getPath(),
39976
+ hash = this._getHash(),
39977
+ query = this._getQuery(),
39978
+ rootURLIndex = path.indexOf(rootURL),
39979
+ routeHash, hashParts;
39980
+
39981
+ Ember.assert('Path ' + path + ' does not start with the provided rootURL ' + rootURL, rootURLIndex === 0);
39982
+
39983
+ // By convention, Ember.js routes using HashLocation are required to start
39984
+ // with `#/`. Anything else should NOT be considered a route and should
39985
+ // be passed straight through, without transformation.
39986
+ if (hash.substr(0, 2) === '#/') {
39987
+ // There could be extra hash segments after the route
39988
+ hashParts = hash.substr(1).split('#');
39989
+ // The first one is always the route url
39990
+ routeHash = hashParts.shift();
39991
+
39992
+ // If the path already has a trailing slash, remove the one
39993
+ // from the hashed route so we don't double up.
39994
+ if (path.slice(-1) === '/') {
39995
+ routeHash = routeHash.substr(1);
39996
+ }
39997
+
39998
+ // This is the "expected" final order
39999
+ path += routeHash;
40000
+ path += query;
40001
+
40002
+ if (hashParts.length) {
40003
+ path += '#' + hashParts.join('#');
40004
+ }
40005
+ } else {
40006
+ path += query;
40007
+ path += hash;
40008
+ }
39903
40009
 
39904
- // Removes any stacked double stashes
39905
- return url.replace(/\/\//, '/');
40010
+ return path;
39906
40011
  },
39907
40012
 
39908
40013
  /**
@@ -39911,19 +40016,79 @@ Ember.HistoryLocation = Ember.Object.extend({
39911
40016
  Returns the current path as it should appear for HashLocation supported
39912
40017
  browsers. This may very well differ from the real current path.
39913
40018
 
39914
- @method getHashPath
40019
+ @method _getHashPath
39915
40020
  */
39916
- getHashPath: function () {
39917
- var historyPath = this.getHistoryPath(),
39918
- exp = new RegExp('(' + this.rootURL + ')(.+)'),
39919
- url = historyPath.replace(exp, '$1#/$2');
40021
+ _getHashPath: function () {
40022
+ var rootURL = this._getRootURL(),
40023
+ path = rootURL,
40024
+ historyPath = this._getHistoryPath(),
40025
+ routePath = historyPath.substr(rootURL.length);
39920
40026
 
39921
- // Remove any stacked double stashes
39922
- url = url.replace(/\/\//, '/');
40027
+ if (routePath !== '') {
40028
+ if (routePath.charAt(0) !== '/') {
40029
+ routePath = '/' + routePath;
40030
+ }
39923
40031
 
39924
- return url;
39925
- }
40032
+ path += '#' + routePath;
40033
+ }
40034
+
40035
+ return path;
40036
+ },
40037
+
40038
+ /**
40039
+ Selects the best location option based off browser support and returns an
40040
+ instance of that Location class.
40041
+
40042
+ @see Ember.AutoLocation
40043
+ @method create
40044
+ */
40045
+ create: function (options) {
40046
+ if (options && options.rootURL) {
40047
+ Ember.assert('rootURL must end with a trailing forward slash e.g. "/app/"', options.rootURL.charAt(options.rootURL.length-1) === '/');
40048
+ this.rootURL = options.rootURL;
40049
+ }
40050
+
40051
+ var historyPath, hashPath,
40052
+ cancelRouterSetup = false,
40053
+ implementationClass = this._NoneLocation,
40054
+ currentPath = this._getFullPath();
40055
+
40056
+ if (this._getSupportsHistory()) {
40057
+ historyPath = this._getHistoryPath();
40058
+
40059
+ // Since we support history paths, let's be sure we're using them else
40060
+ // switch the location over to it.
40061
+ if (currentPath === historyPath) {
40062
+ implementationClass = this._HistoryLocation;
40063
+ } else {
40064
+ cancelRouterSetup = true;
40065
+ this._replacePath(historyPath);
40066
+ }
40067
+
40068
+ } else if (this._getSupportsHashChange()) {
40069
+ hashPath = this._getHashPath();
40070
+
40071
+ // Be sure we're using a hashed path, otherwise let's switch over it to so
40072
+ // we start off clean and consistent. We'll count an index path with no
40073
+ // hash as "good enough" as well.
40074
+ if (currentPath === hashPath || (currentPath === '/' && hashPath === '/#/')) {
40075
+ implementationClass = this._HashLocation;
40076
+ } else {
40077
+ // Our URL isn't in the expected hash-supported format, so we want to
40078
+ // cancel the router setup and replace the URL to start off clean
40079
+ cancelRouterSetup = true;
40080
+ this._replacePath(hashPath);
40081
+ }
40082
+ }
40083
+
40084
+ var implementation = implementationClass.create.apply(implementationClass, arguments);
39926
40085
 
40086
+ if (cancelRouterSetup) {
40087
+ set(implementation, 'cancelRouterSetup', true);
40088
+ }
40089
+
40090
+ return implementation;
40091
+ }
39927
40092
  };
39928
40093
 
39929
40094
  })();
@@ -41235,6 +41400,7 @@ Ember.Application.reopenClass({
41235
41400
  container.injection('controller', 'namespace', 'application:main');
41236
41401
 
41237
41402
  container.injection('route', 'router', 'router:main');
41403
+ container.injection('location', 'rootURL', '-location-setting:root-url');
41238
41404
 
41239
41405
  // DEBUGGING
41240
41406
  container.register('resolver-for-debugging:main', container.resolver.__resolver__, { instantiate: false });
@@ -42083,7 +42249,7 @@ Ember Extension Support
42083
42249
 
42084
42250
  })();
42085
42251
 
42086
- define("container/container",
42252
+ define("container/container",
42087
42253
  ["container/inheriting_dict","exports"],
42088
42254
  function(__dependency1__, __exports__) {
42089
42255
  "use strict";
@@ -42501,7 +42667,7 @@ define("container/container",
42501
42667
  validateFullName(fullName);
42502
42668
  if (this.parent) { illegalChildOperation('typeInjection'); }
42503
42669
 
42504
- var fullNameType = fullName.split(':')[0];
42670
+ var fullNameType = fullName.split(':')[0];
42505
42671
  if(fullNameType === type) {
42506
42672
  throw new Error('Cannot inject a `' + fullName + '` on other ' + type + '(s). Register the `' + fullName + '` as a different type and perform the typeInjection.');
42507
42673
  }
@@ -42565,6 +42731,9 @@ define("container/container",
42565
42731
  validateFullName(fullName);
42566
42732
  var normalizedName = this.normalize(fullName);
42567
42733
 
42734
+ if (this.cache.has(normalizedName)) {
42735
+ throw new Error("Attempted to register an injection for a type that has already been looked up. ('" + normalizedName + "', '" + property + "', '" + injectionName + "')");
42736
+ }
42568
42737
  addInjection(this.injections, normalizedName, property, normalizedInjectionName);
42569
42738
  },
42570
42739
 
@@ -42667,6 +42836,9 @@ define("container/container",
42667
42836
 
42668
42837
  validateFullName(fullName);
42669
42838
 
42839
+ if (this.factoryCache.has(normalizedName)) {
42840
+ throw new Error("Attempted to register a factoryInjection for a type that has already been looked up. ('" + normalizedName + "', '" + property + "', '" + injectionName + "')");
42841
+ }
42670
42842
  addInjection(this.factoryInjections, normalizedName, property, normalizedInjectionName);
42671
42843
  },
42672
42844
 
@@ -42898,7 +43070,7 @@ define("container/container",
42898
43070
  }
42899
43071
 
42900
43072
  __exports__["default"] = Container;
42901
- });define("ember-runtime/ext/rsvp",
43073
+ });define("ember-runtime/ext/rsvp",
42902
43074
  ["ember-metal/core","ember-metal/logger","exports"],
42903
43075
  function(__dependency1__, __dependency2__, __exports__) {
42904
43076
  "use strict";
@@ -42921,6 +43093,8 @@ define("container/container",
42921
43093
  } else {
42922
43094
  throw error;
42923
43095
  }
43096
+ } else if (Ember.onerror) {
43097
+ Ember.onerror(error);
42924
43098
  } else {
42925
43099
  Logger.error(error.stack);
42926
43100
  Ember.assert(error, false);
@@ -42931,7 +43105,7 @@ define("container/container",
42931
43105
  RSVP.on('error', RSVP.onerrorDefault);
42932
43106
 
42933
43107
  __exports__["default"] = RSVP;
42934
- });define("ember-runtime/system/container",
43108
+ });define("ember-runtime/system/container",
42935
43109
  ["ember-metal/property_set","exports"],
42936
43110
  function(__dependency1__, __exports__) {
42937
43111
  "use strict";