upjs-rails 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -1
  3. data/dist/up.js +138 -81
  4. data/dist/up.min.js +2 -2
  5. data/lib/assets/javascripts/up/boot.js.coffee +3 -0
  6. data/lib/assets/javascripts/up/browser.js.coffee +42 -26
  7. data/lib/assets/javascripts/up/flow.js.coffee +6 -4
  8. data/lib/assets/javascripts/up/history.js.coffee +1 -1
  9. data/lib/assets/javascripts/up/modal.js.coffee +4 -4
  10. data/lib/assets/javascripts/up/motion.js.coffee +6 -4
  11. data/lib/assets/javascripts/up/proxy.js.coffee +2 -1
  12. data/lib/assets/javascripts/up/util.js.coffee +61 -32
  13. data/lib/assets/javascripts/up.js.coffee +1 -10
  14. data/lib/upjs/rails/version.rb +1 -1
  15. data/spec_app/config/environments/development.rb +1 -1
  16. data/spec_app/spec/javascripts/helpers/reset_path.js.coffee +3 -2
  17. data/spec_app/spec/javascripts/up/flow_spec.js.coffee +1 -1
  18. data/spec_app/spec/javascripts/up/history_spec.js.coffee +53 -47
  19. data/spec_app/spec/javascripts/up/link_spec.js.coffee +1 -1
  20. data/spec_app/spec/javascripts/up/motion_spec.js.coffee +4 -4
  21. data/spec_app/spec/javascripts/up/proxy_spec.js.coffee +18 -9
  22. data/spec_app/vendor/assets/bower_components/jasmine/.bower.json +43 -7
  23. data/spec_app/vendor/assets/bower_components/jasmine/CONTRIBUTING.md +26 -17
  24. data/spec_app/vendor/assets/bower_components/jasmine/README.md +27 -18
  25. data/spec_app/vendor/assets/bower_components/jasmine/RELEASE.md +15 -5
  26. data/spec_app/vendor/assets/bower_components/jasmine/bower.json +41 -0
  27. data/spec_app/vendor/assets/bower_components/jasmine/lib/console/console.js +27 -3
  28. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/boot.js +10 -9
  29. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/{src → lib/jasmine_examples}/Player.js +0 -0
  30. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/{src → lib/jasmine_examples}/Song.js +0 -0
  31. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/jasmine-html.js +76 -20
  32. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/jasmine.css +15 -18
  33. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/jasmine.js +1399 -694
  34. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/json2.js +73 -62
  35. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/node_boot.js +1 -1
  36. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js +29 -31
  37. data/spec_app/vendor/assets/bower_components/jasmine/package.json +18 -7
  38. data/spec_app/vendor/assets/bower_components/jasmine-ajax/.bower.json +11 -13
  39. data/spec_app/vendor/assets/bower_components/jasmine-ajax/MIT.LICENSE +1 -1
  40. data/spec_app/vendor/assets/bower_components/jasmine-ajax/README.markdown +198 -125
  41. data/spec_app/vendor/assets/bower_components/jasmine-ajax/bower.json +9 -10
  42. data/spec_app/vendor/assets/bower_components/jasmine-ajax/lib/mock-ajax.js +250 -59
  43. data/spec_app/vendor/assets/bower_components/jasmine-ajax/package.json +9 -4
  44. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/2.0.2.md +50 -0
  45. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/2.99.md +14 -0
  46. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.0.md +28 -0
  47. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.1.0.md +24 -0
  48. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.1.1.md +23 -0
  49. data/spec_app/vendor/assets/bower_components/jasmine-ajax/release_notes/3.2.0.md +20 -0
  50. data/spec_app/vendor/assets/bower_components/jasmine-fixture/.bower.json +4 -4
  51. data/spec_app/vendor/assets/bower_components/jasmine-fixture/bower.json +1 -1
  52. data/spec_app/vendor/assets/bower_components/jasmine-fixture/dist/jasmine-fixture.js +4 -4
  53. data/spec_app/vendor/assets/bower_components/jasmine-fixture/dist/jasmine-fixture.min.js +2 -2
  54. data/spec_app/vendor/assets/bower_components/jasmine-jquery/.bower.json +4 -4
  55. data/spec_app/vendor/assets/bower_components/jasmine-jquery/Gruntfile.js +17 -1
  56. data/spec_app/vendor/assets/bower_components/jasmine-jquery/{MIT.LICENSE → LICENSE} +0 -0
  57. data/spec_app/vendor/assets/bower_components/jasmine-jquery/README.md +14 -9
  58. data/spec_app/vendor/assets/bower_components/jasmine-jquery/bower.json +0 -1
  59. data/spec_app/vendor/assets/bower_components/jasmine-jquery/lib/jasmine-jquery.js +35 -10
  60. data/spec_app/vendor/assets/bower_components/jasmine-jquery/package.json +33 -24
  61. data/spec_app/vendor/assets/bower_components/jasmine-jquery/spec/fixtures/fixture_with_checkbox_with_checked.html +6 -0
  62. data/spec_app/vendor/assets/bower_components/jasmine-jquery/spec/suites/jasmine-jquery-spec.js +61 -1
  63. data/spec_app/vendor/assets/bower_components/jquery/.bower.json +5 -4
  64. data/spec_app/vendor/assets/bower_components/jquery/bower.json +2 -1
  65. data/spec_app/vendor/assets/bower_components/jquery/dist/jquery.js +9 -4
  66. data/spec_app/vendor/assets/bower_components/jquery/dist/jquery.min.js +4 -4
  67. data/spec_app/vendor/assets/bower_components/jquery/dist/jquery.min.map +1 -1
  68. data/spec_app/vendor/assets/bower_components/jquery/src/core.js +6 -1
  69. metadata +14 -175
  70. data/spec_app/vendor/assets/bower_components/jasmine/.gitignore +0 -24
  71. data/spec_app/vendor/assets/bower_components/jasmine/.gitmodules +0 -3
  72. data/spec_app/vendor/assets/bower_components/jasmine/.jshintrc +0 -9
  73. data/spec_app/vendor/assets/bower_components/jasmine/.npmignore +0 -21
  74. data/spec_app/vendor/assets/bower_components/jasmine/.rspec +0 -1
  75. data/spec_app/vendor/assets/bower_components/jasmine/.travis.yml +0 -51
  76. data/spec_app/vendor/assets/bower_components/jasmine/Gemfile +0 -12
  77. data/spec_app/vendor/assets/bower_components/jasmine/Gruntfile.js +0 -53
  78. data/spec_app/vendor/assets/bower_components/jasmine/Rakefile +0 -18
  79. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.0.0.zip +0 -0
  80. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.1.0.zip +0 -0
  81. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.2.0.zip +0 -0
  82. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.3.0.zip +0 -0
  83. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-1.3.1.zip +0 -0
  84. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.0.zip +0 -0
  85. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.1.zip +0 -0
  86. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.2.zip +0 -0
  87. data/spec_app/vendor/assets/bower_components/jasmine/dist/jasmine-standalone-2.0.3.zip +0 -0
  88. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/compass.js +0 -10
  89. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/compress.js +0 -66
  90. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/concat.js +0 -61
  91. data/spec_app/vendor/assets/bower_components/jasmine/grunt/config/jshint.js +0 -11
  92. data/spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js +0 -31
  93. data/spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/version.js +0 -14
  94. data/spec_app/vendor/assets/bower_components/jasmine/grunt/templates/SpecRunner.html.jst +0 -26
  95. data/spec_app/vendor/assets/bower_components/jasmine/grunt/templates/licenseBanner.js.jst +0 -22
  96. data/spec_app/vendor/assets/bower_components/jasmine/grunt/templates/version.rb.jst +0 -9
  97. data/spec_app/vendor/assets/bower_components/jasmine/images/__init__.py +0 -0
  98. data/spec_app/vendor/assets/bower_components/jasmine/jasmine-core.gemspec +0 -23
  99. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/__init__.py +0 -1
  100. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/boot/boot.js +0 -120
  101. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/boot/node_boot.js +0 -19
  102. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/core.py +0 -60
  103. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/spec/PlayerSpec.js +0 -60
  104. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/node_example/spec/SpecHelper.js +0 -15
  105. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/spec/PlayerSpec.js +0 -58
  106. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/spec/SpecHelper.js +0 -15
  107. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/src/Player.js +0 -22
  108. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/example/src/Song.js +0 -7
  109. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core/version.rb +0 -9
  110. data/spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.rb +0 -53
  111. data/spec_app/vendor/assets/bower_components/jasmine/release_notes/2.0.1.md +0 -70
  112. data/spec_app/vendor/assets/bower_components/jasmine/release_notes/2.0.2.md +0 -25
  113. data/spec_app/vendor/assets/bower_components/jasmine/release_notes/20.md +0 -179
  114. data/spec_app/vendor/assets/bower_components/jasmine/setup.py +0 -47
  115. data/spec_app/vendor/assets/bower_components/jasmine/spec/console/ConsoleReporterSpec.js +0 -239
  116. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/AnySpec.js +0 -46
  117. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/CallTrackerSpec.js +0 -105
  118. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ClockSpec.js +0 -445
  119. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/DelayedFunctionSchedulerSpec.js +0 -246
  120. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/EnvSpec.js +0 -85
  121. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExceptionFormatterSpec.js +0 -63
  122. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExceptionsSpec.js +0 -68
  123. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExpectationResultSpec.js +0 -61
  124. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ExpectationSpec.js +0 -427
  125. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/JsApiReporterSpec.js +0 -214
  126. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/MockDateSpec.js +0 -199
  127. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ObjectContainingSpec.js +0 -70
  128. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/PrettyPrintSpec.js +0 -156
  129. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/QueueRunnerSpec.js +0 -271
  130. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/ReportDispatcherSpec.js +0 -40
  131. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SpecSpec.js +0 -260
  132. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SpySpec.js +0 -67
  133. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SpyStrategySpec.js +0 -111
  134. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/SuiteSpec.js +0 -216
  135. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/TimerSpec.js +0 -31
  136. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/UtilSpec.js +0 -28
  137. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/integration/CustomMatchersSpec.js +0 -149
  138. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/integration/EnvSpec.js +0 -506
  139. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/integration/SpecRunningSpec.js +0 -306
  140. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/matchersUtilSpec.js +0 -239
  141. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeCloseToSpec.js +0 -51
  142. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeDefinedSpec.js +0 -18
  143. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeFalsySpec.js +0 -38
  144. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeGreaterThanSpec.js +0 -20
  145. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeLessThanSpec.js +0 -20
  146. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeNaNSpec.js +0 -37
  147. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeNullSpec.js +0 -17
  148. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeSpec.js +0 -17
  149. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeTruthySpec.js +0 -38
  150. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toBeUndefinedSpec.js +0 -18
  151. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toContainSpec.js +0 -26
  152. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toEqualSpec.js +0 -28
  153. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toHaveBeenCalledSpec.js +0 -47
  154. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toHaveBeenCalledWithSpec.js +0 -66
  155. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toMatchSpec.js +0 -34
  156. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toThrowErrorSpec.js +0 -280
  157. data/spec_app/vendor/assets/bower_components/jasmine/spec/core/matchers/toThrowSpec.js +0 -99
  158. data/spec_app/vendor/assets/bower_components/jasmine/spec/helpers/BrowserFlags.js +0 -23
  159. data/spec_app/vendor/assets/bower_components/jasmine/spec/helpers/defineJasmineUnderTest.js +0 -7
  160. data/spec_app/vendor/assets/bower_components/jasmine/spec/helpers/nodeDefineJasmineUnderTest.js +0 -33
  161. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/HtmlReporterSpec.js +0 -616
  162. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/HtmlSpecFilterSpec.js +0 -18
  163. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/MatchersHtmlSpec.js +0 -37
  164. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/PrettyPrintHtmlSpec.js +0 -15
  165. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/QueryStringSpec.js +0 -43
  166. data/spec_app/vendor/assets/bower_components/jasmine/spec/html/ResultsNodeSpec.js +0 -62
  167. data/spec_app/vendor/assets/bower_components/jasmine/spec/javascripts/support/jasmine_selenium_runner.yml +0 -16
  168. data/spec_app/vendor/assets/bower_components/jasmine/spec/performance/large_object_test.js +0 -36
  169. data/spec_app/vendor/assets/bower_components/jasmine/spec/performance/performance_test.js +0 -10
  170. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine-performance.json +0 -9
  171. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine-performance.yml +0 -9
  172. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine.json +0 -10
  173. data/spec_app/vendor/assets/bower_components/jasmine/spec/support/jasmine.yml +0 -25
  174. data/spec_app/vendor/assets/bower_components/jasmine/src/console/ConsoleReporter.js +0 -131
  175. data/spec_app/vendor/assets/bower_components/jasmine/src/console/requireConsole.js +0 -12
  176. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Any.js +0 -36
  177. data/spec_app/vendor/assets/bower_components/jasmine/src/core/CallTracker.js +0 -50
  178. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Clock.js +0 -113
  179. data/spec_app/vendor/assets/bower_components/jasmine/src/core/DelayedFunctionScheduler.js +0 -145
  180. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Env.js +0 -341
  181. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ExceptionFormatter.js +0 -29
  182. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Expectation.js +0 -107
  183. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ExpectationResult.js +0 -45
  184. data/spec_app/vendor/assets/bower_components/jasmine/src/core/JsApiReporter.js +0 -73
  185. data/spec_app/vendor/assets/bower_components/jasmine/src/core/MockDate.js +0 -81
  186. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ObjectContaining.js +0 -34
  187. data/spec_app/vendor/assets/bower_components/jasmine/src/core/PrettyPrinter.js +0 -137
  188. data/spec_app/vendor/assets/bower_components/jasmine/src/core/QueueRunner.js +0 -92
  189. data/spec_app/vendor/assets/bower_components/jasmine/src/core/ReportDispatcher.js +0 -35
  190. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Spec.js +0 -126
  191. data/spec_app/vendor/assets/bower_components/jasmine/src/core/SpyStrategy.js +0 -51
  192. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Suite.js +0 -92
  193. data/spec_app/vendor/assets/bower_components/jasmine/src/core/Timer.js +0 -22
  194. data/spec_app/vendor/assets/bower_components/jasmine/src/core/base.js +0 -102
  195. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/matchersUtil.js +0 -181
  196. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/requireMatchers.js +0 -29
  197. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBe.js +0 -13
  198. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeCloseTo.js +0 -18
  199. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeDefined.js +0 -13
  200. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeFalsy.js +0 -13
  201. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeGreaterThan.js +0 -15
  202. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeLessThan.js +0 -14
  203. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeNaN.js +0 -22
  204. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeNull.js +0 -14
  205. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeTruthy.js +0 -14
  206. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toBeUndefined.js +0 -14
  207. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toContain.js +0 -16
  208. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toEqual.js +0 -20
  209. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toHaveBeenCalled.js +0 -28
  210. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toHaveBeenCalledWith.js +0 -33
  211. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js +0 -16
  212. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toThrow.js +0 -46
  213. data/spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toThrowError.js +0 -156
  214. data/spec_app/vendor/assets/bower_components/jasmine/src/core/requireCore.js +0 -39
  215. data/spec_app/vendor/assets/bower_components/jasmine/src/core/requireInterface.js +0 -59
  216. data/spec_app/vendor/assets/bower_components/jasmine/src/core/util.js +0 -44
  217. data/spec_app/vendor/assets/bower_components/jasmine/src/html/HtmlReporter.js +0 -280
  218. data/spec_app/vendor/assets/bower_components/jasmine/src/html/HtmlSpecFilter.js +0 -12
  219. data/spec_app/vendor/assets/bower_components/jasmine/src/html/QueryString.js +0 -47
  220. data/spec_app/vendor/assets/bower_components/jasmine/src/html/ResultsNode.js +0 -19
  221. data/spec_app/vendor/assets/bower_components/jasmine/src/html/_HTMLReporter.scss +0 -355
  222. data/spec_app/vendor/assets/bower_components/jasmine/src/html/jasmine.scss +0 -1
  223. data/spec_app/vendor/assets/bower_components/jasmine/src/html/requireHtml.js +0 -6
  224. data/spec_app/vendor/assets/bower_components/jasmine/src/templates/example_project_jasmine_tags.html.erb +0 -3
  225. data/spec_app/vendor/assets/bower_components/jasmine/src/templates/version.js.erb +0 -7
  226. data/spec_app/vendor/assets/bower_components/jasmine/src/templates/version.rb.erb +0 -6
  227. data/spec_app/vendor/assets/bower_components/jasmine/src/version.js +0 -3
  228. data/spec_app/vendor/assets/bower_components/jasmine/travis-core-script.sh +0 -14
  229. data/spec_app/vendor/assets/bower_components/jasmine/travis-docs-script.sh +0 -5
  230. data/spec_app/vendor/assets/bower_components/jasmine/travis-node-script.sh +0 -6
  231. data/spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js +0 -63
  232. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/boot.js +0 -11
  233. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/fakeRequest.js +0 -262
  234. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/mockAjax.js +0 -45
  235. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/paramParser.js +0 -56
  236. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/requestStub.js +0 -42
  237. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/requestTracker.js +0 -51
  238. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/requireAjax.js +0 -44
  239. data/spec_app/vendor/assets/bower_components/jasmine-ajax/src/stubTracker.js +0 -24
@@ -1,92 +0,0 @@
1
- getJasmineRequireObj().Suite = function() {
2
- function Suite(attrs) {
3
- this.env = attrs.env;
4
- this.id = attrs.id;
5
- this.parentSuite = attrs.parentSuite;
6
- this.description = attrs.description;
7
- this.onStart = attrs.onStart || function() {};
8
- this.resultCallback = attrs.resultCallback || function() {};
9
- this.clearStack = attrs.clearStack || function(fn) {fn();};
10
-
11
- this.beforeFns = [];
12
- this.afterFns = [];
13
- this.queueRunner = attrs.queueRunner || function() {};
14
- this.disabled = false;
15
-
16
- this.children = [];
17
-
18
- this.result = {
19
- id: this.id,
20
- status: this.disabled ? 'disabled' : '',
21
- description: this.description,
22
- fullName: this.getFullName()
23
- };
24
- }
25
-
26
- Suite.prototype.getFullName = function() {
27
- var fullName = this.description;
28
- for (var parentSuite = this.parentSuite; parentSuite; parentSuite = parentSuite.parentSuite) {
29
- if (parentSuite.parentSuite) {
30
- fullName = parentSuite.description + ' ' + fullName;
31
- }
32
- }
33
- return fullName;
34
- };
35
-
36
- Suite.prototype.disable = function() {
37
- this.disabled = true;
38
- this.result.status = 'disabled';
39
- };
40
-
41
- Suite.prototype.beforeEach = function(fn) {
42
- this.beforeFns.unshift(fn);
43
- };
44
-
45
- Suite.prototype.afterEach = function(fn) {
46
- this.afterFns.unshift(fn);
47
- };
48
-
49
- Suite.prototype.addChild = function(child) {
50
- this.children.push(child);
51
- };
52
-
53
- Suite.prototype.execute = function(onComplete) {
54
- var self = this;
55
-
56
- this.onStart(this);
57
-
58
- if (this.disabled) {
59
- complete();
60
- return;
61
- }
62
-
63
- var allFns = [];
64
-
65
- for (var i = 0; i < this.children.length; i++) {
66
- allFns.push(wrapChildAsAsync(this.children[i]));
67
- }
68
-
69
- this.queueRunner({
70
- fns: allFns,
71
- onComplete: complete
72
- });
73
-
74
- function complete() {
75
- self.resultCallback(self.result);
76
-
77
- if (onComplete) {
78
- onComplete();
79
- }
80
- }
81
-
82
- function wrapChildAsAsync(child) {
83
- return function(done) { child.execute(done); };
84
- }
85
- };
86
-
87
- return Suite;
88
- };
89
-
90
- if (typeof window == void 0 && typeof exports == 'object') {
91
- exports.Suite = jasmineRequire.Suite;
92
- }
@@ -1,22 +0,0 @@
1
- getJasmineRequireObj().Timer = function() {
2
- var defaultNow = (function(Date) {
3
- return function() { return new Date().getTime(); };
4
- })(Date);
5
-
6
- function Timer(options) {
7
- options = options || {};
8
-
9
- var now = options.now || defaultNow,
10
- startTime;
11
-
12
- this.start = function() {
13
- startTime = now();
14
- };
15
-
16
- this.elapsed = function() {
17
- return now() - startTime;
18
- };
19
- }
20
-
21
- return Timer;
22
- };
@@ -1,102 +0,0 @@
1
- getJasmineRequireObj().base = (function (jasmineGlobal) {
2
- if (typeof module !== 'undefined' && module.exports) {
3
- jasmineGlobal = global;
4
- }
5
-
6
- return function(j$) {
7
- j$.unimplementedMethod_ = function() {
8
- throw new Error('unimplemented method');
9
- };
10
-
11
- j$.MAX_PRETTY_PRINT_DEPTH = 40;
12
- j$.MAX_PRETTY_PRINT_ARRAY_LENGTH = 100;
13
- j$.DEFAULT_TIMEOUT_INTERVAL = 5000;
14
-
15
- j$.getGlobal = function() {
16
- return jasmineGlobal;
17
- };
18
-
19
- j$.getEnv = function(options) {
20
- var env = j$.currentEnv_ = j$.currentEnv_ || new j$.Env(options);
21
- //jasmine. singletons in here (setTimeout blah blah).
22
- return env;
23
- };
24
-
25
- j$.isArray_ = function(value) {
26
- return j$.isA_('Array', value);
27
- };
28
-
29
- j$.isString_ = function(value) {
30
- return j$.isA_('String', value);
31
- };
32
-
33
- j$.isNumber_ = function(value) {
34
- return j$.isA_('Number', value);
35
- };
36
-
37
- j$.isA_ = function(typeName, value) {
38
- return Object.prototype.toString.apply(value) === '[object ' + typeName + ']';
39
- };
40
-
41
- j$.isDomNode = function(obj) {
42
- return obj.nodeType > 0;
43
- };
44
-
45
- j$.any = function(clazz) {
46
- return new j$.Any(clazz);
47
- };
48
-
49
- j$.objectContaining = function(sample) {
50
- return new j$.ObjectContaining(sample);
51
- };
52
-
53
- j$.createSpy = function(name, originalFn) {
54
-
55
- var spyStrategy = new j$.SpyStrategy({
56
- name: name,
57
- fn: originalFn,
58
- getSpy: function() { return spy; }
59
- }),
60
- callTracker = new j$.CallTracker(),
61
- spy = function() {
62
- callTracker.track({
63
- object: this,
64
- args: Array.prototype.slice.apply(arguments)
65
- });
66
- return spyStrategy.exec.apply(this, arguments);
67
- };
68
-
69
- for (var prop in originalFn) {
70
- if (prop === 'and' || prop === 'calls') {
71
- throw new Error('Jasmine spies would overwrite the \'and\' and \'calls\' properties on the object being spied upon');
72
- }
73
-
74
- spy[prop] = originalFn[prop];
75
- }
76
-
77
- spy.and = spyStrategy;
78
- spy.calls = callTracker;
79
-
80
- return spy;
81
- };
82
-
83
- j$.isSpy = function(putativeSpy) {
84
- if (!putativeSpy) {
85
- return false;
86
- }
87
- return putativeSpy.and instanceof j$.SpyStrategy &&
88
- putativeSpy.calls instanceof j$.CallTracker;
89
- };
90
-
91
- j$.createSpyObj = function(baseName, methodNames) {
92
- if (!j$.isArray_(methodNames) || methodNames.length === 0) {
93
- throw 'createSpyObj requires a non-empty array of method names to create spies for';
94
- }
95
- var obj = {};
96
- for (var i = 0; i < methodNames.length; i++) {
97
- obj[methodNames[i]] = j$.createSpy(baseName + '.' + methodNames[i]);
98
- }
99
- return obj;
100
- };
101
- };
102
- })(this);
@@ -1,181 +0,0 @@
1
- getJasmineRequireObj().matchersUtil = function(j$) {
2
- // TODO: what to do about jasmine.pp not being inject? move to JSON.stringify? gut PrettyPrinter?
3
-
4
- return {
5
- equals: function(a, b, customTesters) {
6
- customTesters = customTesters || [];
7
-
8
- return eq(a, b, [], [], customTesters);
9
- },
10
-
11
- contains: function(haystack, needle, customTesters) {
12
- customTesters = customTesters || [];
13
-
14
- if (Object.prototype.toString.apply(haystack) === '[object Array]') {
15
- for (var i = 0; i < haystack.length; i++) {
16
- if (eq(haystack[i], needle, [], [], customTesters)) {
17
- return true;
18
- }
19
- }
20
- return false;
21
- }
22
- return !!haystack && haystack.indexOf(needle) >= 0;
23
- },
24
-
25
- buildFailureMessage: function() {
26
- var args = Array.prototype.slice.call(arguments, 0),
27
- matcherName = args[0],
28
- isNot = args[1],
29
- actual = args[2],
30
- expected = args.slice(3),
31
- englishyPredicate = matcherName.replace(/[A-Z]/g, function(s) { return ' ' + s.toLowerCase(); });
32
-
33
- var message = 'Expected ' +
34
- j$.pp(actual) +
35
- (isNot ? ' not ' : ' ') +
36
- englishyPredicate;
37
-
38
- if (expected.length > 0) {
39
- for (var i = 0; i < expected.length; i++) {
40
- if (i > 0) {
41
- message += ',';
42
- }
43
- message += ' ' + j$.pp(expected[i]);
44
- }
45
- }
46
-
47
- return message + '.';
48
- }
49
- };
50
-
51
- // Equality function lovingly adapted from isEqual in
52
- // [Underscore](http://underscorejs.org)
53
- function eq(a, b, aStack, bStack, customTesters) {
54
- var result = true;
55
-
56
- for (var i = 0; i < customTesters.length; i++) {
57
- var customTesterResult = customTesters[i](a, b);
58
- if (!j$.util.isUndefined(customTesterResult)) {
59
- return customTesterResult;
60
- }
61
- }
62
-
63
- if (a instanceof j$.Any) {
64
- result = a.jasmineMatches(b);
65
- if (result) {
66
- return true;
67
- }
68
- }
69
-
70
- if (b instanceof j$.Any) {
71
- result = b.jasmineMatches(a);
72
- if (result) {
73
- return true;
74
- }
75
- }
76
-
77
- if (b instanceof j$.ObjectContaining) {
78
- result = b.jasmineMatches(a);
79
- if (result) {
80
- return true;
81
- }
82
- }
83
-
84
- if (a instanceof Error && b instanceof Error) {
85
- return a.message == b.message;
86
- }
87
-
88
- // Identical objects are equal. `0 === -0`, but they aren't identical.
89
- // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).
90
- if (a === b) { return a !== 0 || 1 / a == 1 / b; }
91
- // A strict comparison is necessary because `null == undefined`.
92
- if (a === null || b === null) { return a === b; }
93
- var className = Object.prototype.toString.call(a);
94
- if (className != Object.prototype.toString.call(b)) { return false; }
95
- switch (className) {
96
- // Strings, numbers, dates, and booleans are compared by value.
97
- case '[object String]':
98
- // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is
99
- // equivalent to `new String("5")`.
100
- return a == String(b);
101
- case '[object Number]':
102
- // `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for
103
- // other numeric values.
104
- return a != +a ? b != +b : (a === 0 ? 1 / a == 1 / b : a == +b);
105
- case '[object Date]':
106
- case '[object Boolean]':
107
- // Coerce dates and booleans to numeric primitive values. Dates are compared by their
108
- // millisecond representations. Note that invalid dates with millisecond representations
109
- // of `NaN` are not equivalent.
110
- return +a == +b;
111
- // RegExps are compared by their source patterns and flags.
112
- case '[object RegExp]':
113
- return a.source == b.source &&
114
- a.global == b.global &&
115
- a.multiline == b.multiline &&
116
- a.ignoreCase == b.ignoreCase;
117
- }
118
- if (typeof a != 'object' || typeof b != 'object') { return false; }
119
- // Assume equality for cyclic structures. The algorithm for detecting cyclic
120
- // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
121
- var length = aStack.length;
122
- while (length--) {
123
- // Linear search. Performance is inversely proportional to the number of
124
- // unique nested structures.
125
- if (aStack[length] == a) { return bStack[length] == b; }
126
- }
127
- // Add the first object to the stack of traversed objects.
128
- aStack.push(a);
129
- bStack.push(b);
130
- var size = 0;
131
- // Recursively compare objects and arrays.
132
- if (className == '[object Array]') {
133
- // Compare array lengths to determine if a deep comparison is necessary.
134
- size = a.length;
135
- result = size == b.length;
136
- if (result) {
137
- // Deep compare the contents, ignoring non-numeric properties.
138
- while (size--) {
139
- if (!(result = eq(a[size], b[size], aStack, bStack, customTesters))) { break; }
140
- }
141
- }
142
- } else {
143
- // Objects with different constructors are not equivalent, but `Object`s
144
- // from different frames are.
145
- var aCtor = a.constructor, bCtor = b.constructor;
146
- if (aCtor !== bCtor && !(isFunction(aCtor) && (aCtor instanceof aCtor) &&
147
- isFunction(bCtor) && (bCtor instanceof bCtor))) {
148
- return false;
149
- }
150
- // Deep compare objects.
151
- for (var key in a) {
152
- if (has(a, key)) {
153
- // Count the expected number of properties.
154
- size++;
155
- // Deep compare each member.
156
- if (!(result = has(b, key) && eq(a[key], b[key], aStack, bStack, customTesters))) { break; }
157
- }
158
- }
159
- // Ensure that both objects contain the same number of properties.
160
- if (result) {
161
- for (key in b) {
162
- if (has(b, key) && !(size--)) { break; }
163
- }
164
- result = !size;
165
- }
166
- }
167
- // Remove the first object from the stack of traversed objects.
168
- aStack.pop();
169
- bStack.pop();
170
-
171
- return result;
172
-
173
- function has(obj, key) {
174
- return obj.hasOwnProperty(key);
175
- }
176
-
177
- function isFunction(obj) {
178
- return typeof obj === 'function';
179
- }
180
- }
181
- };
@@ -1,29 +0,0 @@
1
- getJasmineRequireObj().requireMatchers = function(jRequire, j$) {
2
- var availableMatchers = [
3
- 'toBe',
4
- 'toBeCloseTo',
5
- 'toBeDefined',
6
- 'toBeFalsy',
7
- 'toBeGreaterThan',
8
- 'toBeLessThan',
9
- 'toBeNaN',
10
- 'toBeNull',
11
- 'toBeTruthy',
12
- 'toBeUndefined',
13
- 'toContain',
14
- 'toEqual',
15
- 'toHaveBeenCalled',
16
- 'toHaveBeenCalledWith',
17
- 'toMatch',
18
- 'toThrow',
19
- 'toThrowError'
20
- ],
21
- matchers = {};
22
-
23
- for (var i = 0; i < availableMatchers.length; i++) {
24
- var name = availableMatchers[i];
25
- matchers[name] = jRequire[name](j$);
26
- }
27
-
28
- return matchers;
29
- };
@@ -1,13 +0,0 @@
1
- getJasmineRequireObj().toBe = function() {
2
- function toBe() {
3
- return {
4
- compare: function(actual, expected) {
5
- return {
6
- pass: actual === expected
7
- };
8
- }
9
- };
10
- }
11
-
12
- return toBe;
13
- };
@@ -1,18 +0,0 @@
1
- getJasmineRequireObj().toBeCloseTo = function() {
2
-
3
- function toBeCloseTo() {
4
- return {
5
- compare: function(actual, expected, precision) {
6
- if (precision !== 0) {
7
- precision = precision || 2;
8
- }
9
-
10
- return {
11
- pass: Math.abs(expected - actual) < (Math.pow(10, -precision) / 2)
12
- };
13
- }
14
- };
15
- }
16
-
17
- return toBeCloseTo;
18
- };
@@ -1,13 +0,0 @@
1
- getJasmineRequireObj().toBeDefined = function() {
2
- function toBeDefined() {
3
- return {
4
- compare: function(actual) {
5
- return {
6
- pass: (void 0 !== actual)
7
- };
8
- }
9
- };
10
- }
11
-
12
- return toBeDefined;
13
- };
@@ -1,13 +0,0 @@
1
- getJasmineRequireObj().toBeFalsy = function() {
2
- function toBeFalsy() {
3
- return {
4
- compare: function(actual) {
5
- return {
6
- pass: !!!actual
7
- };
8
- }
9
- };
10
- }
11
-
12
- return toBeFalsy;
13
- };
@@ -1,15 +0,0 @@
1
- getJasmineRequireObj().toBeGreaterThan = function() {
2
-
3
- function toBeGreaterThan() {
4
- return {
5
- compare: function(actual, expected) {
6
- return {
7
- pass: actual > expected
8
- };
9
- }
10
- };
11
- }
12
-
13
- return toBeGreaterThan;
14
- };
15
-
@@ -1,14 +0,0 @@
1
- getJasmineRequireObj().toBeLessThan = function() {
2
- function toBeLessThan() {
3
- return {
4
-
5
- compare: function(actual, expected) {
6
- return {
7
- pass: actual < expected
8
- };
9
- }
10
- };
11
- }
12
-
13
- return toBeLessThan;
14
- };
@@ -1,22 +0,0 @@
1
- getJasmineRequireObj().toBeNaN = function(j$) {
2
-
3
- function toBeNaN() {
4
- return {
5
- compare: function(actual) {
6
- var result = {
7
- pass: (actual !== actual)
8
- };
9
-
10
- if (result.pass) {
11
- result.message = 'Expected actual not to be NaN.';
12
- } else {
13
- result.message = function() { return 'Expected ' + j$.pp(actual) + ' to be NaN.'; };
14
- }
15
-
16
- return result;
17
- }
18
- };
19
- }
20
-
21
- return toBeNaN;
22
- };
@@ -1,14 +0,0 @@
1
- getJasmineRequireObj().toBeNull = function() {
2
-
3
- function toBeNull() {
4
- return {
5
- compare: function(actual) {
6
- return {
7
- pass: actual === null
8
- };
9
- }
10
- };
11
- }
12
-
13
- return toBeNull;
14
- };
@@ -1,14 +0,0 @@
1
- getJasmineRequireObj().toBeTruthy = function() {
2
-
3
- function toBeTruthy() {
4
- return {
5
- compare: function(actual) {
6
- return {
7
- pass: !!actual
8
- };
9
- }
10
- };
11
- }
12
-
13
- return toBeTruthy;
14
- };
@@ -1,14 +0,0 @@
1
- getJasmineRequireObj().toBeUndefined = function() {
2
-
3
- function toBeUndefined() {
4
- return {
5
- compare: function(actual) {
6
- return {
7
- pass: void 0 === actual
8
- };
9
- }
10
- };
11
- }
12
-
13
- return toBeUndefined;
14
- };
@@ -1,16 +0,0 @@
1
- getJasmineRequireObj().toContain = function() {
2
- function toContain(util, customEqualityTesters) {
3
- customEqualityTesters = customEqualityTesters || [];
4
-
5
- return {
6
- compare: function(actual, expected) {
7
-
8
- return {
9
- pass: util.contains(actual, expected, customEqualityTesters)
10
- };
11
- }
12
- };
13
- }
14
-
15
- return toContain;
16
- };
@@ -1,20 +0,0 @@
1
- getJasmineRequireObj().toEqual = function() {
2
-
3
- function toEqual(util, customEqualityTesters) {
4
- customEqualityTesters = customEqualityTesters || [];
5
-
6
- return {
7
- compare: function(actual, expected) {
8
- var result = {
9
- pass: false
10
- };
11
-
12
- result.pass = util.equals(actual, expected, customEqualityTesters);
13
-
14
- return result;
15
- }
16
- };
17
- }
18
-
19
- return toEqual;
20
- };
@@ -1,28 +0,0 @@
1
- getJasmineRequireObj().toHaveBeenCalled = function(j$) {
2
-
3
- function toHaveBeenCalled() {
4
- return {
5
- compare: function(actual) {
6
- var result = {};
7
-
8
- if (!j$.isSpy(actual)) {
9
- throw new Error('Expected a spy, but got ' + j$.pp(actual) + '.');
10
- }
11
-
12
- if (arguments.length > 1) {
13
- throw new Error('toHaveBeenCalled does not take arguments, use toHaveBeenCalledWith');
14
- }
15
-
16
- result.pass = actual.calls.any();
17
-
18
- result.message = result.pass ?
19
- 'Expected spy ' + actual.and.identity() + ' not to have been called.' :
20
- 'Expected spy ' + actual.and.identity() + ' to have been called.';
21
-
22
- return result;
23
- }
24
- };
25
- }
26
-
27
- return toHaveBeenCalled;
28
- };
@@ -1,33 +0,0 @@
1
- getJasmineRequireObj().toHaveBeenCalledWith = function(j$) {
2
-
3
- function toHaveBeenCalledWith(util, customEqualityTesters) {
4
- return {
5
- compare: function() {
6
- var args = Array.prototype.slice.call(arguments, 0),
7
- actual = args[0],
8
- expectedArgs = args.slice(1),
9
- result = { pass: false };
10
-
11
- if (!j$.isSpy(actual)) {
12
- throw new Error('Expected a spy, but got ' + j$.pp(actual) + '.');
13
- }
14
-
15
- if (!actual.calls.any()) {
16
- result.message = function() { return 'Expected spy ' + actual.and.identity() + ' to have been called with ' + j$.pp(expectedArgs) + ' but it was never called.'; };
17
- return result;
18
- }
19
-
20
- if (util.contains(actual.calls.allArgs(), expectedArgs, customEqualityTesters)) {
21
- result.pass = true;
22
- result.message = function() { return 'Expected spy ' + actual.and.identity() + ' not to have been called with ' + j$.pp(expectedArgs) + ' but it was.'; };
23
- } else {
24
- result.message = function() { return 'Expected spy ' + actual.and.identity() + ' to have been called with ' + j$.pp(expectedArgs) + ' but actual calls were ' + j$.pp(actual.calls.allArgs()).replace(/^\[ | \]$/g, '') + '.'; };
25
- }
26
-
27
- return result;
28
- }
29
- };
30
- }
31
-
32
- return toHaveBeenCalledWith;
33
- };