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,6 +1,6 @@
1
1
  /*
2
- http://www.JSON.org/json2.js
3
- 2009-08-17
2
+ json2.js
3
+ 2014-02-04
4
4
 
5
5
  Public Domain.
6
6
 
@@ -8,6 +8,14 @@
8
8
 
9
9
  See http://www.JSON.org/js.html
10
10
 
11
+
12
+ This code should be minified before deployment.
13
+ See http://javascript.crockford.com/jsmin.html
14
+
15
+ USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
16
+ NOT CONTROL.
17
+
18
+
11
19
  This file creates a global JSON object containing two methods: stringify
12
20
  and parse.
13
21
 
@@ -136,15 +144,9 @@
136
144
 
137
145
  This is a reference implementation. You are free to copy, modify, or
138
146
  redistribute.
139
-
140
- This code should be minified before deployment.
141
- See http://javascript.crockford.com/jsmin.html
142
-
143
- USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
144
- NOT CONTROL.
145
147
  */
146
148
 
147
- /*jslint evil: true */
149
+ /*jslint evil: true, regexp: true */
148
150
 
149
151
  /*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
150
152
  call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
@@ -153,16 +155,16 @@
153
155
  test, toJSON, toString, valueOf
154
156
  */
155
157
 
156
- "use strict";
157
158
 
158
159
  // Create a JSON object only if one does not already exist. We create the
159
160
  // methods in a closure to avoid creating global variables.
160
161
 
161
- if (!this.JSON) {
162
- this.JSON = {};
162
+ if (typeof JSON !== 'object') {
163
+ JSON = {};
163
164
  }
164
165
 
165
166
  (function () {
167
+ 'use strict';
166
168
 
167
169
  function f(n) {
168
170
  // Format integers to have at least two digits.
@@ -171,37 +173,30 @@ if (!this.JSON) {
171
173
 
172
174
  if (typeof Date.prototype.toJSON !== 'function') {
173
175
 
174
- Date.prototype.toJSON = function (key) {
176
+ Date.prototype.toJSON = function () {
175
177
 
176
- return isFinite(this.valueOf()) ?
177
- this.getUTCFullYear() + '-' +
178
- f(this.getUTCMonth() + 1) + '-' +
179
- f(this.getUTCDate()) + 'T' +
180
- f(this.getUTCHours()) + ':' +
181
- f(this.getUTCMinutes()) + ':' +
182
- f(this.getUTCSeconds()) + 'Z' : null;
178
+ return isFinite(this.valueOf())
179
+ ? this.getUTCFullYear() + '-' +
180
+ f(this.getUTCMonth() + 1) + '-' +
181
+ f(this.getUTCDate()) + 'T' +
182
+ f(this.getUTCHours()) + ':' +
183
+ f(this.getUTCMinutes()) + ':' +
184
+ f(this.getUTCSeconds()) + 'Z'
185
+ : null;
183
186
  };
184
187
 
185
- String.prototype.toJSON =
186
- Number.prototype.toJSON =
187
- Boolean.prototype.toJSON = function (key) {
188
- return this.valueOf();
189
- };
188
+ String.prototype.toJSON =
189
+ Number.prototype.toJSON =
190
+ Boolean.prototype.toJSON = function () {
191
+ return this.valueOf();
192
+ };
190
193
  }
191
194
 
192
- var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
193
- escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
195
+ var cx,
196
+ escapable,
194
197
  gap,
195
198
  indent,
196
- meta = { // table of character substitutions
197
- '\b': '\\b',
198
- '\t': '\\t',
199
- '\n': '\\n',
200
- '\f': '\\f',
201
- '\r': '\\r',
202
- '"' : '\\"',
203
- '\\': '\\\\'
204
- },
199
+ meta,
205
200
  rep;
206
201
 
207
202
 
@@ -213,17 +208,17 @@ if (!this.JSON) {
213
208
  // sequences.
214
209
 
215
210
  escapable.lastIndex = 0;
216
- return escapable.test(string) ?
217
- '"' + string.replace(escapable, function (a) {
218
- var c = meta[a];
219
- return typeof c === 'string' ? c :
220
- '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
221
- }) + '"' :
222
- '"' + string + '"';
211
+ return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
212
+ var c = meta[a];
213
+ return typeof c === 'string'
214
+ ? c
215
+ : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
216
+ }) + '"' : '"' + string + '"';
223
217
  }
224
218
 
225
219
 
226
220
  function str(key, holder) {
221
+
227
222
  // Produce a string from holder[key].
228
223
 
229
224
  var i, // The loop counter.
@@ -301,11 +296,11 @@ if (!this.JSON) {
301
296
  // Join all of the elements together, separated with commas, and wrap them in
302
297
  // brackets.
303
298
 
304
- v = partial.length === 0 ? '[]' :
305
- gap ? '[\n' + gap +
306
- partial.join(',\n' + gap) + '\n' +
307
- mind + ']' :
308
- '[' + partial.join(',') + ']';
299
+ v = partial.length === 0
300
+ ? '[]'
301
+ : gap
302
+ ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']'
303
+ : '[' + partial.join(',') + ']';
309
304
  gap = mind;
310
305
  return v;
311
306
  }
@@ -315,8 +310,8 @@ if (!this.JSON) {
315
310
  if (rep && typeof rep === 'object') {
316
311
  length = rep.length;
317
312
  for (i = 0; i < length; i += 1) {
318
- k = rep[i];
319
- if (typeof k === 'string') {
313
+ if (typeof rep[i] === 'string') {
314
+ k = rep[i];
320
315
  v = str(k, value);
321
316
  if (v) {
322
317
  partial.push(quote(k) + (gap ? ': ' : ':') + v);
@@ -328,7 +323,7 @@ if (!this.JSON) {
328
323
  // Otherwise, iterate through all of the keys in the object.
329
324
 
330
325
  for (k in value) {
331
- if (Object.hasOwnProperty.call(value, k)) {
326
+ if (Object.prototype.hasOwnProperty.call(value, k)) {
332
327
  v = str(k, value);
333
328
  if (v) {
334
329
  partial.push(quote(k) + (gap ? ': ' : ':') + v);
@@ -340,9 +335,11 @@ if (!this.JSON) {
340
335
  // Join all of the member texts together, separated with commas,
341
336
  // and wrap them in braces.
342
337
 
343
- v = partial.length === 0 ? '{}' :
344
- gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' +
345
- mind + '}' : '{' + partial.join(',') + '}';
338
+ v = partial.length === 0
339
+ ? '{}'
340
+ : gap
341
+ ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}'
342
+ : '{' + partial.join(',') + '}';
346
343
  gap = mind;
347
344
  return v;
348
345
  }
@@ -351,7 +348,18 @@ if (!this.JSON) {
351
348
  // If the JSON object does not yet have a stringify method, give it one.
352
349
 
353
350
  if (typeof JSON.stringify !== 'function') {
351
+ escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
352
+ meta = { // table of character substitutions
353
+ '\b': '\\b',
354
+ '\t': '\\t',
355
+ '\n': '\\n',
356
+ '\f': '\\f',
357
+ '\r': '\\r',
358
+ '"' : '\\"',
359
+ '\\': '\\\\'
360
+ };
354
361
  JSON.stringify = function (value, replacer, space) {
362
+
355
363
  // The stringify method takes a value and an optional replacer, and an optional
356
364
  // space parameter, and returns a JSON text. The replacer can be a function
357
365
  // that can replace values, or an array of strings that will select the keys.
@@ -382,7 +390,7 @@ if (!this.JSON) {
382
390
  rep = replacer;
383
391
  if (replacer && typeof replacer !== 'function' &&
384
392
  (typeof replacer !== 'object' ||
385
- typeof replacer.length !== 'number')) {
393
+ typeof replacer.length !== 'number')) {
386
394
  throw new Error('JSON.stringify');
387
395
  }
388
396
 
@@ -397,6 +405,7 @@ if (!this.JSON) {
397
405
  // If the JSON object does not yet have a parse method, give it one.
398
406
 
399
407
  if (typeof JSON.parse !== 'function') {
408
+ cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
400
409
  JSON.parse = function (text, reviver) {
401
410
 
402
411
  // The parse method takes a text and an optional reviver function, and returns
@@ -412,7 +421,7 @@ if (!this.JSON) {
412
421
  var k, v, value = holder[key];
413
422
  if (value && typeof value === 'object') {
414
423
  for (k in value) {
415
- if (Object.hasOwnProperty.call(value, k)) {
424
+ if (Object.prototype.hasOwnProperty.call(value, k)) {
416
425
  v = walk(value, k);
417
426
  if (v !== undefined) {
418
427
  value[k] = v;
@@ -430,6 +439,7 @@ if (!this.JSON) {
430
439
  // Unicode characters with escape sequences. JavaScript handles many characters
431
440
  // incorrectly, either silently deleting them, or treating them as line endings.
432
441
 
442
+ text = String(text);
433
443
  cx.lastIndex = 0;
434
444
  if (cx.test(text)) {
435
445
  text = text.replace(cx, function (a) {
@@ -451,10 +461,10 @@ if (!this.JSON) {
451
461
  // we look to see that the remaining characters are only whitespace or ']' or
452
462
  // ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
453
463
 
454
- if (/^[\],:{}\s]*$/.
455
- test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').
456
- replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').
457
- replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
464
+ if (/^[\],:{}\s]*$/
465
+ .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
466
+ .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
467
+ .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
458
468
 
459
469
  // In the third stage we use the eval function to compile the text into a
460
470
  // JavaScript structure. The '{' operator is subject to a syntactic ambiguity
@@ -466,8 +476,9 @@ replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
466
476
  // In the optional fourth stage, we recursively walk the new structure, passing
467
477
  // each name/value pair to a reviver function for possible transformation.
468
478
 
469
- return typeof reviver === 'function' ?
470
- walk({'': j}, '') : j;
479
+ return typeof reviver === 'function'
480
+ ? walk({'': j}, '')
481
+ : j;
471
482
  }
472
483
 
473
484
  // If the text is not JSON parseable, then a SyntaxError is thrown.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2008-2014 Pivotal Labs
2
+ Copyright (c) 2008-2015 Pivotal Labs
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining
5
5
  a copy of this software and associated documentation files (the
@@ -1,39 +1,37 @@
1
1
  module.exports = require("./jasmine-core/jasmine.js");
2
2
  module.exports.boot = require('./jasmine-core/node_boot.js');
3
3
 
4
- module.exports.files = (function() {
5
- var path = require('path'),
6
- fs = require('fs');
4
+ var path = require('path'),
5
+ fs = require('fs');
7
6
 
8
- var rootPath = path.join(__dirname, "jasmine-core"),
9
- bootFiles = ['boot.js'],
10
- nodeBootFiles = ['node_boot.js'],
11
- cssFiles = [],
12
- jsFiles = [],
13
- jsFilesToSkip = ['jasmine.js'].concat(bootFiles, nodeBootFiles);
7
+ var rootPath = path.join(__dirname, "jasmine-core"),
8
+ bootFiles = ['boot.js'],
9
+ nodeBootFiles = ['node_boot.js'],
10
+ cssFiles = [],
11
+ jsFiles = [],
12
+ jsFilesToSkip = ['jasmine.js'].concat(bootFiles, nodeBootFiles);
14
13
 
15
- fs.readdirSync(rootPath).forEach(function(file) {
16
- if(fs.statSync(path.join(rootPath, file)).isFile()) {
17
- switch(path.extname(file)) {
18
- case '.css':
19
- cssFiles.push(file);
20
- break;
21
- case '.js':
22
- if (jsFilesToSkip.indexOf(file) < 0) {
23
- jsFiles.push(file);
24
- }
25
- break;
14
+ fs.readdirSync(rootPath).forEach(function(file) {
15
+ if(fs.statSync(path.join(rootPath, file)).isFile()) {
16
+ switch(path.extname(file)) {
17
+ case '.css':
18
+ cssFiles.push(file);
19
+ break;
20
+ case '.js':
21
+ if (jsFilesToSkip.indexOf(file) < 0) {
22
+ jsFiles.push(file);
26
23
  }
24
+ break;
27
25
  }
28
- });
26
+ }
27
+ });
29
28
 
30
- return {
31
- path: rootPath,
32
- bootDir: rootPath,
33
- bootFiles: bootFiles,
34
- nodeBootFiles: nodeBootFiles,
35
- cssFiles: cssFiles,
36
- jsFiles: ['jasmine.js'].concat(jsFiles),
37
- imagesDir: path.join(__dirname, '../images')
38
- };
39
- }());
29
+ module.exports.files = {
30
+ path: rootPath,
31
+ bootDir: rootPath,
32
+ bootFiles: bootFiles,
33
+ nodeBootFiles: nodeBootFiles,
34
+ cssFiles: cssFiles,
35
+ jsFiles: ['jasmine.js'].concat(jsFiles),
36
+ imagesDir: path.join(__dirname, '../images')
37
+ };
@@ -1,23 +1,34 @@
1
1
  {
2
2
  "name": "jasmine-core",
3
3
  "license": "MIT",
4
- "version": "2.0.4",
4
+ "version": "2.3.4",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/pivotal/jasmine.git"
7
+ "url": "https://github.com/jasmine/jasmine.git"
8
+ },
9
+ "keywords": [
10
+ "test",
11
+ "jasmine",
12
+ "tdd",
13
+ "bdd"
14
+ ],
15
+ "scripts": {
16
+ "test": "./node_modules/.bin/grunt jshint execSpecsInNode"
8
17
  },
9
18
  "description": "Official packaging of Jasmine's core files for use by Node.js projects.",
10
19
  "homepage": "http://jasmine.github.io",
11
20
  "main": "./lib/jasmine-core.js",
12
21
  "devDependencies": {
22
+ "glob": "~3.2.9",
13
23
  "grunt": "~0.4.1",
14
- "grunt-contrib-jshint": "~0.7.0",
15
- "grunt-contrib-concat": "~0.3.0",
24
+ "grunt-cli": "^0.1.13",
16
25
  "grunt-contrib-compass": "~0.6.0",
17
26
  "grunt-contrib-compress": "~0.5.2",
27
+ "grunt-contrib-concat": "~0.3.0",
28
+ "grunt-contrib-jshint": "~0.7.0",
29
+ "jasmine": "https://github.com/jasmine/jasmine-npm/archive/master.tar.gz",
30
+ "load-grunt-tasks": "^0.4.0",
18
31
  "shelljs": "~0.1.4",
19
- "glob": "~3.2.9",
20
- "jasmine": "https://github.com/pivotal/jasmine-npm/archive/master.tar.gz",
21
- "load-grunt-tasks": "^0.4.0"
32
+ "temp": "~0.8.1"
22
33
  }
23
34
  }
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "jasmine-ajax",
3
- "version": "2.99.0",
4
- "homepage": "https://github.com/pivotal/jasmine-ajax",
3
+ "description": "A library for faking Ajax responses in your Jasmine suite.",
4
+ "version": "3.2.0",
5
+ "main": "lib/mock-ajax.js",
6
+ "license": "MIT",
7
+ "homepage": "https://github.com/jasmine/jasmine-ajax",
5
8
  "authors": [
6
9
  "JR Boyens <jboyens@fooninja.org>",
7
10
  "Gregg Van Hove <gregg@slackersoft.net>"
8
11
  ],
9
- "description": "A library for faking Ajax responses in your Jasmine suite.",
10
- "main": "lib/mock-ajax.js",
11
12
  "dependencies": {
12
- "jasmine": "~2.0"
13
+ "jasmine": "~2"
13
14
  },
14
15
  "moduleType": [
15
16
  "globals"
@@ -18,26 +19,23 @@
18
19
  "jasmine",
19
20
  "ajax"
20
21
  ],
21
- "license": "MIT",
22
22
  "ignore": [
23
23
  "**/.*",
24
24
  "Gemfile",
25
25
  "Gemfile.lock",
26
- "Gruntfile",
26
+ "Gruntfile.js",
27
27
  "Rakefile",
28
- "app/bower_components",
29
28
  "bower_components",
30
29
  "node_modules",
31
30
  "spec",
32
- "test",
33
- "tests",
31
+ "src",
34
32
  "travis-script.sh"
35
33
  ],
36
- "_release": "2.99.0",
34
+ "_release": "3.2.0",
37
35
  "_resolution": {
38
36
  "type": "version",
39
- "tag": "v2.99.0",
40
- "commit": "7fbcb04a26515fe2a3f57a21ea926daa90217913"
37
+ "tag": "v3.2.0",
38
+ "commit": "b54a002d468922f41719a62190a2f6cbfcd12d32"
41
39
  },
42
40
  "_source": "git://github.com/jasmine/jasmine-ajax.git",
43
41
  "_target": "*",
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Pivotal Labs
1
+ Copyright (c) 2015 Pivotal Labs
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the