elm-rails 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (591) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +7 -0
  3. data/lib/elm/rails/helper.rb +53 -0
  4. data/lib/elm/rails/railtie.rb +29 -0
  5. data/lib/elm/rails/sprockets.rb +62 -0
  6. data/lib/elm/rails/version.rb +1 -1
  7. data/lib/elm/rails.rb +2 -0
  8. data/lib/elm-rails.rb +1 -3
  9. data/test/pipeline_test.rb +19 -0
  10. data/test/rails4.2/Gemfile +50 -0
  11. data/test/rails4.2/Gemfile.lock +170 -0
  12. data/test/rails4.2/README.rdoc +28 -0
  13. data/test/rails4.2/Rakefile +6 -0
  14. data/test/rails4.2/app/assets/elm/App.elm +7 -0
  15. data/test/rails4.2/app/assets/javascripts/application.js +1 -0
  16. data/test/rails4.2/app/assets/stylesheets/application.css +15 -0
  17. data/test/rails4.2/app/controllers/application_controller.rb +5 -0
  18. data/test/rails4.2/app/helpers/application_helper.rb +2 -0
  19. data/test/rails4.2/app/views/layouts/application.html.erb +14 -0
  20. data/test/rails4.2/bin/bundle +3 -0
  21. data/test/rails4.2/bin/rails +9 -0
  22. data/test/rails4.2/bin/rake +9 -0
  23. data/test/rails4.2/bin/setup +29 -0
  24. data/test/rails4.2/bin/spring +16 -0
  25. data/test/rails4.2/config/application.rb +26 -0
  26. data/test/rails4.2/config/boot.rb +3 -0
  27. data/test/rails4.2/config/database.yml +25 -0
  28. data/test/rails4.2/config/environment.rb +5 -0
  29. data/test/rails4.2/config/environments/development.rb +41 -0
  30. data/test/rails4.2/config/environments/production.rb +79 -0
  31. data/test/rails4.2/config/environments/test.rb +42 -0
  32. data/test/rails4.2/config/initializers/assets.rb +11 -0
  33. data/test/rails4.2/config/initializers/backtrace_silencers.rb +7 -0
  34. data/test/rails4.2/config/initializers/cookies_serializer.rb +3 -0
  35. data/test/rails4.2/config/initializers/filter_parameter_logging.rb +4 -0
  36. data/test/rails4.2/config/initializers/inflections.rb +16 -0
  37. data/test/rails4.2/config/initializers/mime_types.rb +4 -0
  38. data/test/rails4.2/config/initializers/session_store.rb +3 -0
  39. data/test/rails4.2/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/rails4.2/config/locales/en.yml +23 -0
  41. data/test/rails4.2/config/routes.rb +56 -0
  42. data/test/rails4.2/config/secrets.yml +22 -0
  43. data/test/rails4.2/config.ru +4 -0
  44. data/test/rails4.2/db/seeds.rb +7 -0
  45. data/test/rails4.2/elm-package.json +15 -0
  46. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmi +0 -0
  47. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmo +54 -0
  48. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmi +0 -0
  49. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmo +125 -0
  50. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmi +0 -0
  51. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmo +7 -0
  52. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmi +0 -0
  53. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmo +42 -0
  54. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmi +0 -0
  55. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmo +165 -0
  56. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmi +0 -0
  57. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmo +32 -0
  58. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmi +0 -0
  59. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmo +2 -0
  60. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmi +0 -0
  61. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmo +916 -0
  62. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmi +0 -0
  63. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmo +62 -0
  64. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmi +0 -0
  65. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmo +10 -0
  66. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmi +0 -0
  67. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmo +545 -0
  68. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmi +0 -0
  69. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmo +72 -0
  70. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmi +0 -0
  71. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmo +14 -0
  72. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmi +0 -0
  73. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmo +5 -0
  74. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmi +0 -0
  75. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmo +9 -0
  76. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmi +0 -0
  77. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmo +3 -0
  78. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmi +0 -0
  79. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmo +378 -0
  80. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmi +0 -0
  81. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmo +16 -0
  82. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmi +0 -0
  83. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmo +141 -0
  84. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmi +0 -0
  85. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmo +130 -0
  86. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmi +0 -0
  87. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmo +43 -0
  88. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmi +0 -0
  89. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmo +196 -0
  90. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmi +0 -0
  91. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmo +187 -0
  92. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmi +0 -0
  93. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmo +26 -0
  94. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/graph.dat +0 -0
  95. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmi +0 -0
  96. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmo +349 -0
  97. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmi +0 -0
  98. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmo +114 -0
  99. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmi +0 -0
  100. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmo +3 -0
  101. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmi +0 -0
  102. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmo +3 -0
  103. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmi +0 -0
  104. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmo +124 -0
  105. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/graph.dat +0 -0
  106. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmi +0 -0
  107. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmo +622 -0
  108. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmi +0 -0
  109. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmo +1353 -0
  110. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmi +0 -0
  111. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmo +45 -0
  112. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmi +0 -0
  113. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmo +367 -0
  114. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmi +0 -0
  115. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmo +393 -0
  116. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmi +0 -0
  117. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmo +793 -0
  118. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmi +0 -0
  119. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmo +98 -0
  120. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmi +0 -0
  121. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmo +30 -0
  122. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/graph.dat +0 -0
  123. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/user/project/1.0.0/Main.elmi +0 -0
  124. data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/user/project/1.0.0/Main.elmo +2 -0
  125. data/test/rails4.2/elm-stuff/exact-dependencies.json +5 -0
  126. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/CONTRIBUTING.md +41 -0
  127. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/LICENSE +30 -0
  128. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/README.md +34 -0
  129. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/changelog.md +143 -0
  130. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/elm-package.json +38 -0
  131. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Array.elm +240 -0
  132. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Basics.elm +655 -0
  133. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Bitwise.elm +90 -0
  134. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Char.elm +103 -0
  135. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Color.elm +456 -0
  136. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Date.elm +150 -0
  137. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Debug.elm +62 -0
  138. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Dict.elm +661 -0
  139. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Decode.elm +520 -0
  140. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Encode.elm +102 -0
  141. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/List.elm +603 -0
  142. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Maybe.elm +157 -0
  143. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Array.js +967 -0
  144. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Basics.js +141 -0
  145. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Bitwise.js +13 -0
  146. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Char.js +14 -0
  147. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Date.js +33 -0
  148. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Debug.js +30 -0
  149. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Json.js +580 -0
  150. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/List.js +137 -0
  151. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Platform.js +560 -0
  152. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Regex.js +119 -0
  153. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Scheduler.js +281 -0
  154. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/String.js +335 -0
  155. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Time.js +27 -0
  156. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Utils.js +489 -0
  157. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Cmd.elm +67 -0
  158. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Sub.elm +52 -0
  159. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform.elm +145 -0
  160. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Process.elm +106 -0
  161. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Random.elm +532 -0
  162. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Regex.elm +148 -0
  163. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Result.elm +210 -0
  164. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Set.elm +168 -0
  165. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/String.elm +464 -0
  166. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Task.elm +278 -0
  167. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Time.elm +243 -0
  168. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Tuple.elm +61 -0
  169. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Array.elm +90 -0
  170. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Basics.elm +158 -0
  171. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Bitwise.elm +50 -0
  172. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Char.elm +93 -0
  173. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/CodeGen.elm +59 -0
  174. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Dict.elm +79 -0
  175. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Equality.elm +28 -0
  176. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Json.elm +83 -0
  177. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/List.elm +165 -0
  178. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Regex.elm +46 -0
  179. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Result.elm +60 -0
  180. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Set.elm +29 -0
  181. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/String.elm +41 -0
  182. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test.elm +40 -0
  183. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/elm-package.json +16 -0
  184. data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/run-tests.sh +18 -0
  185. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/LICENSE +30 -0
  186. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/README.md +5 -0
  187. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/elm-package.json +21 -0
  188. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/properties-vs-attributes.md +15 -0
  189. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Attributes.elm +1009 -0
  190. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Events.elm +269 -0
  191. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Keyed.elm +48 -0
  192. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Lazy.elm +48 -0
  193. data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html.elm +923 -0
  194. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/LICENSE +30 -0
  195. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/README.md +5 -0
  196. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/elm-package.json +17 -0
  197. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/Debug.js +280 -0
  198. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/VirtualDom.js +1881 -0
  199. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Debug.elm +567 -0
  200. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Expando.elm +659 -0
  201. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Helpers.elm +137 -0
  202. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/History.elm +290 -0
  203. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Metadata.elm +326 -0
  204. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Overlay.elm +541 -0
  205. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Report.elm +99 -0
  206. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom.elm +331 -0
  207. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/Native/TestHelpers.js +35 -0
  208. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestCases/Lazy.elm +72 -0
  209. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestHelpers.elm +34 -0
  210. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestMain.elm +18 -0
  211. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/elm-package.json +18 -0
  212. data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/run-tests.sh +24 -0
  213. data/test/rails4.2/log/development.log +0 -0
  214. data/test/rails4.2/public/404.html +67 -0
  215. data/test/rails4.2/public/422.html +67 -0
  216. data/test/rails4.2/public/500.html +66 -0
  217. data/test/rails4.2/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm +7 -0
  218. data/test/rails4.2/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm.gz +0 -0
  219. data/test/rails4.2/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js +7832 -0
  220. data/test/rails4.2/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js.gz +0 -0
  221. data/test/rails4.2/public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css +16 -0
  222. data/test/rails4.2/public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css.gz +0 -0
  223. data/test/rails4.2/public/favicon.ico +0 -0
  224. data/test/rails4.2/public/robots.txt +5 -0
  225. data/test/rails4.2/test/test_helper.rb +10 -0
  226. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/3Z/3ZUHn6AXhav97w7CxzPk35QWKSdt2_NCypMlfBdbups.cache +12 -0
  227. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  228. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/71/71BGoYgC3JqePcE6mkmZGNm3Hfsplh6GflNISb1nXDY.cache +0 -0
  229. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/7S/7SQg7etrus-CzMQvT50aoqaBFr3g7-XySHgIIYYi120.cache +1 -0
  230. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/8C/8CWOHQ8XpWWEQhSbnexku4svsDm4D6D4khMM1U-hefo.cache +1 -0
  231. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/IL/ILmLNBWq6NCoxa6wQBxL0QZQ1tl0B5EIHe7XNBBzD1c.cache +0 -0
  232. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/Jw/Jw2wqmTaqaVoWeJUIJTeAya_hLYhvjMluyuIExcy7RQ.cache +1 -0
  233. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/KO/KOowMnhBFbIfSnPnJZMvcBO-Ty7jfGMZhfCPyToJ0A0.cache +0 -0
  234. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/LY/LYDHbQunWPAx1lUtqHvYce69OCXyJ_ddebDFMKNuqlI.cache +2 -0
  235. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  236. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/SD/SDBBYwPJLyEQ0kGeBlzlcA-ZfyOrEXYYMADcJmj99CY.cache +1 -0
  237. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/SQ/SQimA5KzAj_p9zMNAsX60SUcMn2uuF16TZC9Klnra0I.cache +0 -0
  238. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/TB/TB5cZ_yulrrkXOX5VPV-Hy5BzCg9Qmp1Cd76AK0H1bw.cache +1 -0
  239. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/Xr/Xrv18wc_alopx84_TfluuduEqUFCvzvieMl9h0IONy8.cache +1 -0
  240. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/_0/_0WRX8uYUBKibrKHGMOPi9ffV0Inaw32I7fxq3XqXZE.cache +1 -0
  241. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/cQ/cQqYRTAhh55ixFFFweV5kSlUV8uTd-quLQSppYOw_HY.cache +0 -0
  242. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/f7/f7vLTrT3HIZzA85tAlEpmeTxMz_oRIycHo8pJytouk4.cache +1 -0
  243. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/gz/gztd2iOfuGm_FtspKA2TGTb05WC_ma2r-cStMmahKA4.cache +1 -0
  244. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/hU/hUc40B5Z1hDZyLf6j_tnQZtdiKDG5hlWrztJBska0PE.cache +3 -0
  245. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/pu/puuyFOZIeE21lmTrCNiNXukuNcijKwpMdOYC1egNvNg.cache +3 -0
  246. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/tR/tRv7-RPbJTn8ti-ONHftBMGXAAV4zzK02vrO2kOYsMA.cache +1 -0
  247. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/vP/vPP5AGlfEDDH5hIun-dIdpO1CYuIZo_fknD6Gkm2hKE.cache +2 -0
  248. data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/yv/yvroNANofqgnk7FsbrrvJ5jFI9iXwLYf9WP7_ZKa82k.cache +1 -0
  249. data/test/rails5.0/Gemfile +51 -0
  250. data/test/rails5.0/Gemfile.lock +183 -0
  251. data/test/rails5.0/README.md +24 -0
  252. data/test/rails5.0/Rakefile +6 -0
  253. data/test/rails5.0/app/assets/config/manifest.js +3 -0
  254. data/test/rails5.0/app/assets/elm/App.elm +7 -0
  255. data/test/rails5.0/app/assets/javascripts/application.js +1 -0
  256. data/test/rails5.0/app/assets/javascripts/cable.js +13 -0
  257. data/test/rails5.0/app/assets/stylesheets/application.css +15 -0
  258. data/test/rails5.0/app/channels/application_cable/channel.rb +4 -0
  259. data/test/rails5.0/app/channels/application_cable/connection.rb +4 -0
  260. data/test/rails5.0/app/controllers/application_controller.rb +3 -0
  261. data/test/rails5.0/app/helpers/application_helper.rb +2 -0
  262. data/test/rails5.0/app/jobs/application_job.rb +2 -0
  263. data/test/rails5.0/app/mailers/application_mailer.rb +4 -0
  264. data/test/rails5.0/app/models/application_record.rb +3 -0
  265. data/test/rails5.0/app/views/layouts/application.html.erb +14 -0
  266. data/test/rails5.0/app/views/layouts/mailer.html.erb +13 -0
  267. data/test/rails5.0/app/views/layouts/mailer.text.erb +1 -0
  268. data/test/rails5.0/bin/bundle +3 -0
  269. data/test/rails5.0/bin/rails +9 -0
  270. data/test/rails5.0/bin/rake +9 -0
  271. data/test/rails5.0/bin/setup +34 -0
  272. data/test/rails5.0/bin/spring +16 -0
  273. data/test/rails5.0/bin/update +29 -0
  274. data/test/rails5.0/config/application.rb +15 -0
  275. data/test/rails5.0/config/boot.rb +3 -0
  276. data/test/rails5.0/config/cable.yml +9 -0
  277. data/test/rails5.0/config/database.yml +25 -0
  278. data/test/rails5.0/config/environment.rb +5 -0
  279. data/test/rails5.0/config/environments/development.rb +54 -0
  280. data/test/rails5.0/config/environments/production.rb +86 -0
  281. data/test/rails5.0/config/environments/test.rb +42 -0
  282. data/test/rails5.0/config/initializers/application_controller_renderer.rb +6 -0
  283. data/test/rails5.0/config/initializers/assets.rb +11 -0
  284. data/test/rails5.0/config/initializers/backtrace_silencers.rb +7 -0
  285. data/test/rails5.0/config/initializers/cookies_serializer.rb +5 -0
  286. data/test/rails5.0/config/initializers/filter_parameter_logging.rb +4 -0
  287. data/test/rails5.0/config/initializers/inflections.rb +16 -0
  288. data/test/rails5.0/config/initializers/mime_types.rb +4 -0
  289. data/test/rails5.0/config/initializers/new_framework_defaults.rb +24 -0
  290. data/test/rails5.0/config/initializers/session_store.rb +3 -0
  291. data/test/rails5.0/config/initializers/wrap_parameters.rb +14 -0
  292. data/test/rails5.0/config/locales/en.yml +23 -0
  293. data/test/rails5.0/config/puma.rb +47 -0
  294. data/test/rails5.0/config/routes.rb +3 -0
  295. data/test/rails5.0/config/secrets.yml +22 -0
  296. data/test/rails5.0/config/spring.rb +6 -0
  297. data/test/rails5.0/config.ru +5 -0
  298. data/test/rails5.0/db/seeds.rb +7 -0
  299. data/test/rails5.0/elm-package.json +15 -0
  300. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmi +0 -0
  301. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmo +54 -0
  302. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmi +0 -0
  303. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmo +125 -0
  304. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmi +0 -0
  305. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmo +7 -0
  306. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmi +0 -0
  307. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmo +42 -0
  308. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmi +0 -0
  309. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmo +165 -0
  310. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmi +0 -0
  311. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmo +32 -0
  312. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmi +0 -0
  313. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmo +2 -0
  314. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmi +0 -0
  315. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmo +916 -0
  316. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmi +0 -0
  317. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmo +62 -0
  318. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmi +0 -0
  319. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmo +10 -0
  320. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmi +0 -0
  321. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmo +545 -0
  322. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmi +0 -0
  323. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmo +72 -0
  324. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmi +0 -0
  325. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmo +14 -0
  326. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmi +0 -0
  327. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmo +5 -0
  328. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmi +0 -0
  329. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmo +9 -0
  330. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmi +0 -0
  331. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmo +3 -0
  332. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmi +0 -0
  333. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmo +378 -0
  334. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmi +0 -0
  335. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmo +16 -0
  336. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmi +0 -0
  337. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmo +141 -0
  338. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmi +0 -0
  339. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmo +130 -0
  340. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmi +0 -0
  341. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmo +43 -0
  342. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmi +0 -0
  343. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmo +196 -0
  344. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmi +0 -0
  345. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmo +187 -0
  346. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmi +0 -0
  347. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmo +26 -0
  348. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/graph.dat +0 -0
  349. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmi +0 -0
  350. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmo +349 -0
  351. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmi +0 -0
  352. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmo +114 -0
  353. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmi +0 -0
  354. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmo +3 -0
  355. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmi +0 -0
  356. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmo +3 -0
  357. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmi +0 -0
  358. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmo +124 -0
  359. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/graph.dat +0 -0
  360. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmi +0 -0
  361. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmo +622 -0
  362. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmi +0 -0
  363. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmo +1353 -0
  364. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmi +0 -0
  365. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmo +45 -0
  366. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmi +0 -0
  367. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmo +367 -0
  368. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmi +0 -0
  369. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmo +393 -0
  370. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmi +0 -0
  371. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmo +793 -0
  372. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmi +0 -0
  373. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmo +98 -0
  374. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmi +0 -0
  375. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmo +30 -0
  376. data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/graph.dat +0 -0
  377. data/test/rails5.0/elm-stuff/exact-dependencies.json +5 -0
  378. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/CONTRIBUTING.md +41 -0
  379. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/LICENSE +30 -0
  380. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/README.md +34 -0
  381. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/changelog.md +143 -0
  382. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/elm-package.json +38 -0
  383. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Array.elm +240 -0
  384. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Basics.elm +655 -0
  385. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Bitwise.elm +90 -0
  386. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Char.elm +103 -0
  387. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Color.elm +456 -0
  388. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Date.elm +150 -0
  389. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Debug.elm +62 -0
  390. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Dict.elm +661 -0
  391. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Decode.elm +520 -0
  392. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Encode.elm +102 -0
  393. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/List.elm +603 -0
  394. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Maybe.elm +157 -0
  395. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Array.js +967 -0
  396. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Basics.js +141 -0
  397. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Bitwise.js +13 -0
  398. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Char.js +14 -0
  399. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Date.js +33 -0
  400. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Debug.js +30 -0
  401. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Json.js +580 -0
  402. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/List.js +137 -0
  403. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Platform.js +560 -0
  404. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Regex.js +119 -0
  405. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Scheduler.js +281 -0
  406. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/String.js +335 -0
  407. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Time.js +27 -0
  408. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Utils.js +489 -0
  409. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Cmd.elm +67 -0
  410. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Sub.elm +52 -0
  411. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform.elm +145 -0
  412. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Process.elm +106 -0
  413. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Random.elm +532 -0
  414. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Regex.elm +148 -0
  415. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Result.elm +210 -0
  416. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Set.elm +168 -0
  417. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/String.elm +464 -0
  418. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Task.elm +278 -0
  419. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Time.elm +243 -0
  420. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Tuple.elm +61 -0
  421. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Array.elm +90 -0
  422. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Basics.elm +158 -0
  423. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Bitwise.elm +50 -0
  424. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Char.elm +93 -0
  425. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/CodeGen.elm +59 -0
  426. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Dict.elm +79 -0
  427. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Equality.elm +28 -0
  428. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Json.elm +83 -0
  429. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/List.elm +165 -0
  430. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Regex.elm +46 -0
  431. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Result.elm +60 -0
  432. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Set.elm +29 -0
  433. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/String.elm +41 -0
  434. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test.elm +40 -0
  435. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/elm-package.json +16 -0
  436. data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/run-tests.sh +18 -0
  437. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/LICENSE +30 -0
  438. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/README.md +5 -0
  439. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/elm-package.json +21 -0
  440. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/properties-vs-attributes.md +15 -0
  441. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Attributes.elm +1009 -0
  442. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Events.elm +269 -0
  443. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Keyed.elm +48 -0
  444. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Lazy.elm +48 -0
  445. data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html.elm +923 -0
  446. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/LICENSE +30 -0
  447. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/README.md +5 -0
  448. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/elm-package.json +17 -0
  449. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/Debug.js +280 -0
  450. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/VirtualDom.js +1881 -0
  451. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Debug.elm +567 -0
  452. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Expando.elm +659 -0
  453. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Helpers.elm +137 -0
  454. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/History.elm +290 -0
  455. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Metadata.elm +326 -0
  456. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Overlay.elm +541 -0
  457. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Report.elm +99 -0
  458. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom.elm +331 -0
  459. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/Native/TestHelpers.js +35 -0
  460. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestCases/Lazy.elm +72 -0
  461. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestHelpers.elm +34 -0
  462. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestMain.elm +18 -0
  463. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/elm-package.json +18 -0
  464. data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/run-tests.sh +24 -0
  465. data/test/rails5.0/log/development.log +0 -0
  466. data/test/rails5.0/log/test.log +0 -0
  467. data/test/rails5.0/public/404.html +67 -0
  468. data/test/rails5.0/public/422.html +67 -0
  469. data/test/rails5.0/public/500.html +66 -0
  470. data/test/rails5.0/public/apple-touch-icon-precomposed.png +0 -0
  471. data/test/rails5.0/public/apple-touch-icon.png +0 -0
  472. data/test/rails5.0/public/assets/App-1602b94f98947092c88dc265ff74f09a5e843f8da65d389ffbc3e33780fffede.elm +9 -0
  473. data/test/rails5.0/public/assets/App-1602b94f98947092c88dc265ff74f09a5e843f8da65d389ffbc3e33780fffede.elm.gz +0 -0
  474. data/test/rails5.0/public/assets/App-5e519e981b0f90300c651aefaa6caae0d86b07d230d233a1bfb0d39a5d880e3c.elm +1 -0
  475. data/test/rails5.0/public/assets/App-5e519e981b0f90300c651aefaa6caae0d86b07d230d233a1bfb0d39a5d880e3c.elm.gz +0 -0
  476. data/test/rails5.0/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm +7 -0
  477. data/test/rails5.0/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm.gz +0 -0
  478. data/test/rails5.0/public/assets/App-8a8d0e9bfb375345038db521f127df9481ab51071ed163f15245377ceb88eaca.elm +8 -0
  479. data/test/rails5.0/public/assets/App-8a8d0e9bfb375345038db521f127df9481ab51071ed163f15245377ceb88eaca.elm.gz +0 -0
  480. data/test/rails5.0/public/assets/App-eca9cb629bea66373157a8cc52c5b0f93a31aaf50ecff27c10d7239be48b248f.elm +9 -0
  481. data/test/rails5.0/public/assets/App-eca9cb629bea66373157a8cc52c5b0f93a31aaf50ecff27c10d7239be48b248f.elm.gz +0 -0
  482. data/test/rails5.0/public/assets/application-4586df2c9172aec6cc707426ba5f83f7a590a4aeac2fe816fa5023c32963f2f9.js +12198 -0
  483. data/test/rails5.0/public/assets/application-4586df2c9172aec6cc707426ba5f83f7a590a4aeac2fe816fa5023c32963f2f9.js.gz +0 -0
  484. data/test/rails5.0/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js +7832 -0
  485. data/test/rails5.0/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js.gz +0 -0
  486. data/test/rails5.0/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css +16 -0
  487. data/test/rails5.0/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css.gz +0 -0
  488. data/test/rails5.0/public/favicon.ico +0 -0
  489. data/test/rails5.0/public/robots.txt +5 -0
  490. data/test/rails5.0/test/test_helper.rb +10 -0
  491. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/0Y/0YB7dUAeS_crvTkoNmYLCXhHXzZyo1iBdHiGDB66haY.cache +0 -0
  492. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/1N/1NhL0zKSPgA05Uc-SJFX3grlL83t06cgOrX3bVN59rY.cache +3 -0
  493. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/1a/1aCAw9tIoeRlkEQrkNffBdK1iX2sVmGKo0ZSDujjzzQ.cache +1 -0
  494. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/35/35k3BKm9w8BazTN5Y5LaRFfxzV1IXXkXfhyMO-0bbqE.cache +1 -0
  495. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/3H/3HMMKH-mmYBvbL_QMZIVF9hFTjtLPFytSfllY3Quc40.cache +1 -0
  496. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/4L/4LstvGmpBCrhBQdjwm9XUSk8KT0o7CTK79wVCZD0rYA.cache +0 -0
  497. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/5n/5nYbBZ2v-Olkh8gU3Gj8q75NJNzG188X8wVFaRMSO4Y.cache +0 -0
  498. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/6k/6kGz9Pbsl1lurmvNTUwodRApjpjcg44MDFmGicCYtkM.cache +1 -0
  499. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/6x/6xh5M9_QsilQ8b2CIjSm980iyp5htgQNGpe2smD8EFY.cache +1 -0
  500. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/7E/7EmKgeIbIEosUjuD7RwrwSOU6qG-YNCXISqzKAIj6XY.cache +1 -0
  501. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/7r/7rKBKpKdQ-dlqhkkPc_YTTDH8Hcb-aA25EWqyF_SCnM.cache +0 -0
  502. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/8E/8EqfkaQzxFfiMRJxFhO6QMYvUsGoreG0wuo0Z9ZIQMI.cache +1 -0
  503. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9S/9SjxHQK7xOt2WfMDQSUnTh7cRFOD9pYnDnhz-fYcGIM.cache +1 -0
  504. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9Y/9YPGrz99c2jdTmAXI-gcar5ZuLy_DICUkenwTffZpXM.cache +3 -0
  505. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9n/9nNrLIfeQBbmhfdE-wyq6IofxTnrSh_qjbhxpIV8e8k.cache +0 -0
  506. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/AD/ADdMEFmbNhFvLXTmHzEKQ6aeGjlW3xFS-SNaOS9G5E0.cache +1 -0
  507. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Aq/AqD6i7Uh0R4iSD3LnqgXtyhDzZulN4Ll4BYugwcVMd8.cache +14 -0
  508. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/B1/B12JeqH5j_oNIiH4FIhK4IIogEXMhp7HkXRDG5_W9TE.cache +1 -0
  509. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/B9/B9QjSHDYRcZ6vHYyAL-9LVloVXrAxRNuLBhBQlszyYY.cache +0 -0
  510. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Br/BrAzyoqGDsBq0SuTmtVy_UPxIRQ6GT9GZ4rtUWXur50.cache +1 -0
  511. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +2 -0
  512. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/H1/H1jTfx5eWFTr9nS4BAYci_jWFKDFikgWTQfytyXbxE8.cache +1 -0
  513. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/He/HeCPR0vx95YOit3sQBrJqvU-qt5UlrVo6oR3gmLsVRE.cache +1 -0
  514. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ik/IkfUJk7rZOFkONwuH61NE0Qm02VNU_Kzs2BXpLxU_jA.cache +0 -0
  515. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Il/Il5IfApBiO1hgPEjL4xSAmMFSLuMGqPKdqHxVKl4xto.cache +0 -0
  516. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/J0/J0jmom5PJvcEBroo5EmWZWwS-qIS_vrXeDWc7eno-Bo.cache +1 -0
  517. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ja/JacseGFSNScIY88_jg9qPVjxr8noy1N-SqVqj639jqM.cache +2 -0
  518. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/KK/KKsRXpOYUoX-CUIJkA1HOY5KZSS95aEclXJ2W435720.cache +3 -0
  519. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Kg/Kgkr5ONb7guGJNJQ1Kk_cYcJ8P9SyW6pQ9rcBL1NRU4.cache +1 -0
  520. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ko/Ko3lwpLJwK6NWfB58rcpen0NlXa3kpCsc4RAKKT6Kpk.cache +0 -0
  521. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/LY/LYDHbQunWPAx1lUtqHvYce69OCXyJ_ddebDFMKNuqlI.cache +0 -0
  522. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/NB/NBzfgqIkjfw28ZiYRd57NZjfR58xLNoos_RalMVjNbg.cache +1 -0
  523. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Nf/NfYfMVLdt_Ou9w7rLSKpXrPDpgDbZrBnQ4z-Hum-6vI.cache +3 -0
  524. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/O9/O9TrSGgLM3Z_MRoHypJwNImwwSQ4RrvgHT8jvNgJEw8.cache +1 -0
  525. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/OD/ODpH56RUMtxnzhaH5U_u4tOMq8TBgYFxa_uOtVDIYYY.cache +0 -0
  526. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Og/Ogbuh2wE0u29GxE1agxdqtbvGm1gNQDgbAsON6mmqEs.cache +1 -0
  527. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/PD/PDGhNPQf4tpr04KnK-MVoL7vfP1-IkOZ82t96aM9rzU.cache +0 -0
  528. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/S0/S0YVAAdEQsPWUvEL2HO_0mkuTBPd1YN5qnFMZdbl__s.cache +1 -0
  529. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/SH/SHzDzeCYjrPInxH5PdvvnaSwG6saboDBExYeizii9l8.cache +12 -0
  530. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/V3/V3n8zFh7QU2BX4zbGf-6u3v3UV6gk-Kd4ukzWRKzygE.cache +0 -0
  531. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VJ/VJhOylb5YLNno0g3xGtELVfa6ADi2hjAKipWJHNwmaw.cache +3 -0
  532. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VU/VUgLLHwZhPSRCNTktsMDxGoe9FM10f1KyYCYHtM9i6s.cache +1 -0
  533. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VX/VXJe3zEbcTeaXjBIUHOqnlo0wzUJFGr4qbX1a07mhCU.cache +1 -0
  534. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Vl/VlNigKvkrAT-d0xZ-dPrWFc5-ftFTPWjgV-pNXINZNI.cache +1 -0
  535. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/W9/W9hQOrzOprntvhFuuLQMjVuIqkA4glCKEU85O97ePPg.cache +1 -0
  536. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Wl/WlA2b2ztRT1INWN_KF2AQYcgo6xtPD5MN4Xbn6Y0P4c.cache +1 -0
  537. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/XO/XOQxQt2ChZX9nP-bS-4LeZpDoXqgy8b0ZeDrBv7Fm7E.cache +0 -0
  538. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ya/YA2cPxMXBtg-8-rve8W_M3jPY9XWs7m0Shsiqp8gQws.cache +1 -0
  539. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
  540. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Yh/YhLPDOqEMwfXgbP2sDA4lj6jrbOvB7bC_uxlXzV_TQE.cache +1 -0
  541. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Yi/YiYRhSq0opHKMpfxdgTluU5wxBb3DiqZwjHmFTpvFHw.cache +1 -0
  542. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/_g/_gcA7ve5b9gRqyMtexel8zqzGx251FMb6tjSg2RWOW8.cache +1 -0
  543. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/aO/aOnqAc44IjU1sN_EMsXGnQ0JKh9IcG460FYR5bIrFms.cache +1 -0
  544. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/bP/bPPhf5cxBG77CDeKdBShe42BgQoDTLDoTLD3zruq1W0.cache +1 -0
  545. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/ba/baB1035_Crz8wasVlcXhl_FU16sjjVvXpxIe38OPvXQ.cache +1 -0
  546. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/df/dfWZd4DzOiImVd7W0kkLrInPO1OOqVzpfz5sSvjF-Uo.cache +1 -0
  547. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/eA/eAld1SKvn6CmGs606xnR5u_RD-9jztgHGg80umZcU1E.cache +1 -0
  548. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/gh/ghVAcaqdDpGTOqJjPARKgCiR8CiHW6QlnKTOF9e9ORI.cache +1 -0
  549. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hR/hRvM5YCxMAgeLQZUX1xYPkVAuja6B4tOqBQAkydPLJU.cache +1 -0
  550. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hU/hUc40B5Z1hDZyLf6j_tnQZtdiKDG5hlWrztJBska0PE.cache +3 -0
  551. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hp/hppUy6OHEQcsWCk8s_i6M5mO9LNdD9yRZb5kX4ptVrc.cache +1 -0
  552. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/iU/iUAm_moTHIafsRJIY5-RfSh2OKUIz_yhNnQqpUVBNYQ.cache +3 -0
  553. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/jZ/JZxXAA7PYxyTc8rmt8jxfR8grbq2jBfZbseUMSuH8zk.cache +1 -0
  554. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/jZ/jZMUnpPr_EmTmI8mHPj7EQicOUHDug2aEoohjId_0Yk.cache +0 -0
  555. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/je/je5iFjCcUlxNbZPRHgNBSB6qWaC9kCNxQ6q1yj_qOOY.cache +1 -0
  556. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/kV/kVOpHbvQlTwqjBkr02sqtQqzLzxINYcecM_naAzjdC0.cache +1 -0
  557. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/lt/ltXAG0-rNlM_PLKTy1WHlI7D1O_CMbd84zaRydmU-Rg.cache +3 -0
  558. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/n3/n3lkVpUjkcCDAQhxykQ6y8IP6y1JdTtH06FRqfkq9LI.cache +0 -0
  559. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/nJ/nJdrXYYtjc5zT8HUWi7je-yfrVicfQZvwRqPzaCa6wk.cache +0 -0
  560. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  561. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/nd/nd-cz3iq2NvZgc2KOeAgQoVy3JMKsXNeLqWxG6FteZI.cache +0 -0
  562. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  563. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/oW/oWyRdiks7gwGe0iIy_7eP4tuLKREDJpw5zmcvzTcz6A.cache +1 -0
  564. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/pg/pg9UjX5tF6eU8BVS5bMsq1C-zoY8SryXO2KGgRQlTss.cache +1 -0
  565. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/pu/puuyFOZIeE21lmTrCNiNXukuNcijKwpMdOYC1egNvNg.cache +3 -0
  566. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/qA/qAs4p5gy36IKHVRTncIU2bEoe5U7AfqZbEfHn53X_8o.cache +1 -0
  567. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/r5/r50Jp6i83eTDHlxTfnNc3wsRhTkVGnBnoPm8Qu6ygk4.cache +1 -0
  568. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/rw/rwpefxNnYvOKp9N-3v7kg_-CK3lbIjgExClJ5C2qDlc.cache +1 -0
  569. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sD/sDyffi23VNNBUqPAOf8uo7Jc_-JJBh_XGi-sG-OwCi4.cache +1 -0
  570. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sJ/sJ_lXp0OZ-d7xXSO7IYvbYXNnRfmoF4y_wtVeHyro0M.cache +0 -0
  571. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sV/sVvb4rIxllY1RcnneFQOouJRcNLkQOPJsXMXfyrpWl4.cache +1 -0
  572. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/st/stJIDRPJd8LU1crSDOT6xb63bnHMwWO4uZ61z36ULO4.cache +1 -0
  573. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/tE/tEY3hs40EEJehLXOpxKqICNDETqbP3DVCUnrgXfyQxw.cache +1 -0
  574. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/uG/uGZh7ticrbdLry2ydkTxxa9RaZYIsvbcJ057EcQueW8.cache +0 -0
  575. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/v9/v9cyeu6pHsQwNBnaL4mINPaINTR7_dNGEQ00mceS32c.cache +1 -0
  576. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vK/vKJHMH5Wqw3Wo2DhWgK89qPpgICbKVGlbi7Epi81gWU.cache +1 -0
  577. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vP/vPP5AGlfEDDH5hIun-dIdpO1CYuIZo_fknD6Gkm2hKE.cache +2 -0
  578. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vV/vV1yyk2vB13JUn09187gZiT8X8m5KEuoXpzNXurlOac.cache +1 -0
  579. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vm/vmwJEykJEbQgCiW25SHHCVsIr-mYCWzhbBqXfnXbeag.cache +1 -0
  580. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/w4/w4A4RKVM0xMsKjHNht7XVaSOGkromySr10SKObjndhE.cache +7 -0
  581. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/wA/wADgvgw7vRo-sR-CZWwBHg9f7eRGZxNv8hM5eYH4JDU.cache +1 -0
  582. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
  583. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zB/zBYhnUcTDDOZYknO_mReeJDV-GDjp4GG2arMnzKck4c.cache +3 -0
  584. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zC/zCss2J7QY-MVljeBbkecU985YlJ18YOkRRGy4BnJtkQ.cache +1 -0
  585. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zm/zm9elFKfdhwhhSo15dXPFF3VYW_YQj-vbTgLhM-twP0.cache +1 -0
  586. data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zv/zvZfghSs_sLIZlmb5anW4qZc40WkO23Afn41Xy2RljQ.cache +1 -0
  587. metadata +1166 -10
  588. data/app/assets/javascripts/elm_modules.js.erb +0 -1
  589. data/app/helpers/elm_view_helper.rb +0 -21
  590. data/app/views/elm/mount_script.js.erb +0 -29
  591. data/lib/elm/rails/engine.rb +0 -6
@@ -0,0 +1,967 @@
1
+ //import Native.List //
2
+
3
+ var _elm_lang$core$Native_Array = function() {
4
+
5
+ // A RRB-Tree has two distinct data types.
6
+ // Leaf -> "height" is always 0
7
+ // "table" is an array of elements
8
+ // Node -> "height" is always greater than 0
9
+ // "table" is an array of child nodes
10
+ // "lengths" is an array of accumulated lengths of the child nodes
11
+
12
+ // M is the maximal table size. 32 seems fast. E is the allowed increase
13
+ // of search steps when concatting to find an index. Lower values will
14
+ // decrease balancing, but will increase search steps.
15
+ var M = 32;
16
+ var E = 2;
17
+
18
+ // An empty array.
19
+ var empty = {
20
+ ctor: '_Array',
21
+ height: 0,
22
+ table: []
23
+ };
24
+
25
+
26
+ function get(i, array)
27
+ {
28
+ if (i < 0 || i >= length(array))
29
+ {
30
+ throw new Error(
31
+ 'Index ' + i + ' is out of range. Check the length of ' +
32
+ 'your array first or use getMaybe or getWithDefault.');
33
+ }
34
+ return unsafeGet(i, array);
35
+ }
36
+
37
+
38
+ function unsafeGet(i, array)
39
+ {
40
+ for (var x = array.height; x > 0; x--)
41
+ {
42
+ var slot = i >> (x * 5);
43
+ while (array.lengths[slot] <= i)
44
+ {
45
+ slot++;
46
+ }
47
+ if (slot > 0)
48
+ {
49
+ i -= array.lengths[slot - 1];
50
+ }
51
+ array = array.table[slot];
52
+ }
53
+ return array.table[i];
54
+ }
55
+
56
+
57
+ // Sets the value at the index i. Only the nodes leading to i will get
58
+ // copied and updated.
59
+ function set(i, item, array)
60
+ {
61
+ if (i < 0 || length(array) <= i)
62
+ {
63
+ return array;
64
+ }
65
+ return unsafeSet(i, item, array);
66
+ }
67
+
68
+
69
+ function unsafeSet(i, item, array)
70
+ {
71
+ array = nodeCopy(array);
72
+
73
+ if (array.height === 0)
74
+ {
75
+ array.table[i] = item;
76
+ }
77
+ else
78
+ {
79
+ var slot = getSlot(i, array);
80
+ if (slot > 0)
81
+ {
82
+ i -= array.lengths[slot - 1];
83
+ }
84
+ array.table[slot] = unsafeSet(i, item, array.table[slot]);
85
+ }
86
+ return array;
87
+ }
88
+
89
+
90
+ function initialize(len, f)
91
+ {
92
+ if (len <= 0)
93
+ {
94
+ return empty;
95
+ }
96
+ var h = Math.floor( Math.log(len) / Math.log(M) );
97
+ return initialize_(f, h, 0, len);
98
+ }
99
+
100
+ function initialize_(f, h, from, to)
101
+ {
102
+ if (h === 0)
103
+ {
104
+ var table = new Array((to - from) % (M + 1));
105
+ for (var i = 0; i < table.length; i++)
106
+ {
107
+ table[i] = f(from + i);
108
+ }
109
+ return {
110
+ ctor: '_Array',
111
+ height: 0,
112
+ table: table
113
+ };
114
+ }
115
+
116
+ var step = Math.pow(M, h);
117
+ var table = new Array(Math.ceil((to - from) / step));
118
+ var lengths = new Array(table.length);
119
+ for (var i = 0; i < table.length; i++)
120
+ {
121
+ table[i] = initialize_(f, h - 1, from + (i * step), Math.min(from + ((i + 1) * step), to));
122
+ lengths[i] = length(table[i]) + (i > 0 ? lengths[i-1] : 0);
123
+ }
124
+ return {
125
+ ctor: '_Array',
126
+ height: h,
127
+ table: table,
128
+ lengths: lengths
129
+ };
130
+ }
131
+
132
+ function fromList(list)
133
+ {
134
+ if (list.ctor === '[]')
135
+ {
136
+ return empty;
137
+ }
138
+
139
+ // Allocate M sized blocks (table) and write list elements to it.
140
+ var table = new Array(M);
141
+ var nodes = [];
142
+ var i = 0;
143
+
144
+ while (list.ctor !== '[]')
145
+ {
146
+ table[i] = list._0;
147
+ list = list._1;
148
+ i++;
149
+
150
+ // table is full, so we can push a leaf containing it into the
151
+ // next node.
152
+ if (i === M)
153
+ {
154
+ var leaf = {
155
+ ctor: '_Array',
156
+ height: 0,
157
+ table: table
158
+ };
159
+ fromListPush(leaf, nodes);
160
+ table = new Array(M);
161
+ i = 0;
162
+ }
163
+ }
164
+
165
+ // Maybe there is something left on the table.
166
+ if (i > 0)
167
+ {
168
+ var leaf = {
169
+ ctor: '_Array',
170
+ height: 0,
171
+ table: table.splice(0, i)
172
+ };
173
+ fromListPush(leaf, nodes);
174
+ }
175
+
176
+ // Go through all of the nodes and eventually push them into higher nodes.
177
+ for (var h = 0; h < nodes.length - 1; h++)
178
+ {
179
+ if (nodes[h].table.length > 0)
180
+ {
181
+ fromListPush(nodes[h], nodes);
182
+ }
183
+ }
184
+
185
+ var head = nodes[nodes.length - 1];
186
+ if (head.height > 0 && head.table.length === 1)
187
+ {
188
+ return head.table[0];
189
+ }
190
+ else
191
+ {
192
+ return head;
193
+ }
194
+ }
195
+
196
+ // Push a node into a higher node as a child.
197
+ function fromListPush(toPush, nodes)
198
+ {
199
+ var h = toPush.height;
200
+
201
+ // Maybe the node on this height does not exist.
202
+ if (nodes.length === h)
203
+ {
204
+ var node = {
205
+ ctor: '_Array',
206
+ height: h + 1,
207
+ table: [],
208
+ lengths: []
209
+ };
210
+ nodes.push(node);
211
+ }
212
+
213
+ nodes[h].table.push(toPush);
214
+ var len = length(toPush);
215
+ if (nodes[h].lengths.length > 0)
216
+ {
217
+ len += nodes[h].lengths[nodes[h].lengths.length - 1];
218
+ }
219
+ nodes[h].lengths.push(len);
220
+
221
+ if (nodes[h].table.length === M)
222
+ {
223
+ fromListPush(nodes[h], nodes);
224
+ nodes[h] = {
225
+ ctor: '_Array',
226
+ height: h + 1,
227
+ table: [],
228
+ lengths: []
229
+ };
230
+ }
231
+ }
232
+
233
+ // Pushes an item via push_ to the bottom right of a tree.
234
+ function push(item, a)
235
+ {
236
+ var pushed = push_(item, a);
237
+ if (pushed !== null)
238
+ {
239
+ return pushed;
240
+ }
241
+
242
+ var newTree = create(item, a.height);
243
+ return siblise(a, newTree);
244
+ }
245
+
246
+ // Recursively tries to push an item to the bottom-right most
247
+ // tree possible. If there is no space left for the item,
248
+ // null will be returned.
249
+ function push_(item, a)
250
+ {
251
+ // Handle resursion stop at leaf level.
252
+ if (a.height === 0)
253
+ {
254
+ if (a.table.length < M)
255
+ {
256
+ var newA = {
257
+ ctor: '_Array',
258
+ height: 0,
259
+ table: a.table.slice()
260
+ };
261
+ newA.table.push(item);
262
+ return newA;
263
+ }
264
+ else
265
+ {
266
+ return null;
267
+ }
268
+ }
269
+
270
+ // Recursively push
271
+ var pushed = push_(item, botRight(a));
272
+
273
+ // There was space in the bottom right tree, so the slot will
274
+ // be updated.
275
+ if (pushed !== null)
276
+ {
277
+ var newA = nodeCopy(a);
278
+ newA.table[newA.table.length - 1] = pushed;
279
+ newA.lengths[newA.lengths.length - 1]++;
280
+ return newA;
281
+ }
282
+
283
+ // When there was no space left, check if there is space left
284
+ // for a new slot with a tree which contains only the item
285
+ // at the bottom.
286
+ if (a.table.length < M)
287
+ {
288
+ var newSlot = create(item, a.height - 1);
289
+ var newA = nodeCopy(a);
290
+ newA.table.push(newSlot);
291
+ newA.lengths.push(newA.lengths[newA.lengths.length - 1] + length(newSlot));
292
+ return newA;
293
+ }
294
+ else
295
+ {
296
+ return null;
297
+ }
298
+ }
299
+
300
+ // Converts an array into a list of elements.
301
+ function toList(a)
302
+ {
303
+ return toList_(_elm_lang$core$Native_List.Nil, a);
304
+ }
305
+
306
+ function toList_(list, a)
307
+ {
308
+ for (var i = a.table.length - 1; i >= 0; i--)
309
+ {
310
+ list =
311
+ a.height === 0
312
+ ? _elm_lang$core$Native_List.Cons(a.table[i], list)
313
+ : toList_(list, a.table[i]);
314
+ }
315
+ return list;
316
+ }
317
+
318
+ // Maps a function over the elements of an array.
319
+ function map(f, a)
320
+ {
321
+ var newA = {
322
+ ctor: '_Array',
323
+ height: a.height,
324
+ table: new Array(a.table.length)
325
+ };
326
+ if (a.height > 0)
327
+ {
328
+ newA.lengths = a.lengths;
329
+ }
330
+ for (var i = 0; i < a.table.length; i++)
331
+ {
332
+ newA.table[i] =
333
+ a.height === 0
334
+ ? f(a.table[i])
335
+ : map(f, a.table[i]);
336
+ }
337
+ return newA;
338
+ }
339
+
340
+ // Maps a function over the elements with their index as first argument.
341
+ function indexedMap(f, a)
342
+ {
343
+ return indexedMap_(f, a, 0);
344
+ }
345
+
346
+ function indexedMap_(f, a, from)
347
+ {
348
+ var newA = {
349
+ ctor: '_Array',
350
+ height: a.height,
351
+ table: new Array(a.table.length)
352
+ };
353
+ if (a.height > 0)
354
+ {
355
+ newA.lengths = a.lengths;
356
+ }
357
+ for (var i = 0; i < a.table.length; i++)
358
+ {
359
+ newA.table[i] =
360
+ a.height === 0
361
+ ? A2(f, from + i, a.table[i])
362
+ : indexedMap_(f, a.table[i], i == 0 ? from : from + a.lengths[i - 1]);
363
+ }
364
+ return newA;
365
+ }
366
+
367
+ function foldl(f, b, a)
368
+ {
369
+ if (a.height === 0)
370
+ {
371
+ for (var i = 0; i < a.table.length; i++)
372
+ {
373
+ b = A2(f, a.table[i], b);
374
+ }
375
+ }
376
+ else
377
+ {
378
+ for (var i = 0; i < a.table.length; i++)
379
+ {
380
+ b = foldl(f, b, a.table[i]);
381
+ }
382
+ }
383
+ return b;
384
+ }
385
+
386
+ function foldr(f, b, a)
387
+ {
388
+ if (a.height === 0)
389
+ {
390
+ for (var i = a.table.length; i--; )
391
+ {
392
+ b = A2(f, a.table[i], b);
393
+ }
394
+ }
395
+ else
396
+ {
397
+ for (var i = a.table.length; i--; )
398
+ {
399
+ b = foldr(f, b, a.table[i]);
400
+ }
401
+ }
402
+ return b;
403
+ }
404
+
405
+ // TODO: currently, it slices the right, then the left. This can be
406
+ // optimized.
407
+ function slice(from, to, a)
408
+ {
409
+ if (from < 0)
410
+ {
411
+ from += length(a);
412
+ }
413
+ if (to < 0)
414
+ {
415
+ to += length(a);
416
+ }
417
+ return sliceLeft(from, sliceRight(to, a));
418
+ }
419
+
420
+ function sliceRight(to, a)
421
+ {
422
+ if (to === length(a))
423
+ {
424
+ return a;
425
+ }
426
+
427
+ // Handle leaf level.
428
+ if (a.height === 0)
429
+ {
430
+ var newA = { ctor:'_Array', height:0 };
431
+ newA.table = a.table.slice(0, to);
432
+ return newA;
433
+ }
434
+
435
+ // Slice the right recursively.
436
+ var right = getSlot(to, a);
437
+ var sliced = sliceRight(to - (right > 0 ? a.lengths[right - 1] : 0), a.table[right]);
438
+
439
+ // Maybe the a node is not even needed, as sliced contains the whole slice.
440
+ if (right === 0)
441
+ {
442
+ return sliced;
443
+ }
444
+
445
+ // Create new node.
446
+ var newA = {
447
+ ctor: '_Array',
448
+ height: a.height,
449
+ table: a.table.slice(0, right),
450
+ lengths: a.lengths.slice(0, right)
451
+ };
452
+ if (sliced.table.length > 0)
453
+ {
454
+ newA.table[right] = sliced;
455
+ newA.lengths[right] = length(sliced) + (right > 0 ? newA.lengths[right - 1] : 0);
456
+ }
457
+ return newA;
458
+ }
459
+
460
+ function sliceLeft(from, a)
461
+ {
462
+ if (from === 0)
463
+ {
464
+ return a;
465
+ }
466
+
467
+ // Handle leaf level.
468
+ if (a.height === 0)
469
+ {
470
+ var newA = { ctor:'_Array', height:0 };
471
+ newA.table = a.table.slice(from, a.table.length + 1);
472
+ return newA;
473
+ }
474
+
475
+ // Slice the left recursively.
476
+ var left = getSlot(from, a);
477
+ var sliced = sliceLeft(from - (left > 0 ? a.lengths[left - 1] : 0), a.table[left]);
478
+
479
+ // Maybe the a node is not even needed, as sliced contains the whole slice.
480
+ if (left === a.table.length - 1)
481
+ {
482
+ return sliced;
483
+ }
484
+
485
+ // Create new node.
486
+ var newA = {
487
+ ctor: '_Array',
488
+ height: a.height,
489
+ table: a.table.slice(left, a.table.length + 1),
490
+ lengths: new Array(a.table.length - left)
491
+ };
492
+ newA.table[0] = sliced;
493
+ var len = 0;
494
+ for (var i = 0; i < newA.table.length; i++)
495
+ {
496
+ len += length(newA.table[i]);
497
+ newA.lengths[i] = len;
498
+ }
499
+
500
+ return newA;
501
+ }
502
+
503
+ // Appends two trees.
504
+ function append(a,b)
505
+ {
506
+ if (a.table.length === 0)
507
+ {
508
+ return b;
509
+ }
510
+ if (b.table.length === 0)
511
+ {
512
+ return a;
513
+ }
514
+
515
+ var c = append_(a, b);
516
+
517
+ // Check if both nodes can be crunshed together.
518
+ if (c[0].table.length + c[1].table.length <= M)
519
+ {
520
+ if (c[0].table.length === 0)
521
+ {
522
+ return c[1];
523
+ }
524
+ if (c[1].table.length === 0)
525
+ {
526
+ return c[0];
527
+ }
528
+
529
+ // Adjust .table and .lengths
530
+ c[0].table = c[0].table.concat(c[1].table);
531
+ if (c[0].height > 0)
532
+ {
533
+ var len = length(c[0]);
534
+ for (var i = 0; i < c[1].lengths.length; i++)
535
+ {
536
+ c[1].lengths[i] += len;
537
+ }
538
+ c[0].lengths = c[0].lengths.concat(c[1].lengths);
539
+ }
540
+
541
+ return c[0];
542
+ }
543
+
544
+ if (c[0].height > 0)
545
+ {
546
+ var toRemove = calcToRemove(a, b);
547
+ if (toRemove > E)
548
+ {
549
+ c = shuffle(c[0], c[1], toRemove);
550
+ }
551
+ }
552
+
553
+ return siblise(c[0], c[1]);
554
+ }
555
+
556
+ // Returns an array of two nodes; right and left. One node _may_ be empty.
557
+ function append_(a, b)
558
+ {
559
+ if (a.height === 0 && b.height === 0)
560
+ {
561
+ return [a, b];
562
+ }
563
+
564
+ if (a.height !== 1 || b.height !== 1)
565
+ {
566
+ if (a.height === b.height)
567
+ {
568
+ a = nodeCopy(a);
569
+ b = nodeCopy(b);
570
+ var appended = append_(botRight(a), botLeft(b));
571
+
572
+ insertRight(a, appended[1]);
573
+ insertLeft(b, appended[0]);
574
+ }
575
+ else if (a.height > b.height)
576
+ {
577
+ a = nodeCopy(a);
578
+ var appended = append_(botRight(a), b);
579
+
580
+ insertRight(a, appended[0]);
581
+ b = parentise(appended[1], appended[1].height + 1);
582
+ }
583
+ else
584
+ {
585
+ b = nodeCopy(b);
586
+ var appended = append_(a, botLeft(b));
587
+
588
+ var left = appended[0].table.length === 0 ? 0 : 1;
589
+ var right = left === 0 ? 1 : 0;
590
+ insertLeft(b, appended[left]);
591
+ a = parentise(appended[right], appended[right].height + 1);
592
+ }
593
+ }
594
+
595
+ // Check if balancing is needed and return based on that.
596
+ if (a.table.length === 0 || b.table.length === 0)
597
+ {
598
+ return [a, b];
599
+ }
600
+
601
+ var toRemove = calcToRemove(a, b);
602
+ if (toRemove <= E)
603
+ {
604
+ return [a, b];
605
+ }
606
+ return shuffle(a, b, toRemove);
607
+ }
608
+
609
+ // Helperfunctions for append_. Replaces a child node at the side of the parent.
610
+ function insertRight(parent, node)
611
+ {
612
+ var index = parent.table.length - 1;
613
+ parent.table[index] = node;
614
+ parent.lengths[index] = length(node);
615
+ parent.lengths[index] += index > 0 ? parent.lengths[index - 1] : 0;
616
+ }
617
+
618
+ function insertLeft(parent, node)
619
+ {
620
+ if (node.table.length > 0)
621
+ {
622
+ parent.table[0] = node;
623
+ parent.lengths[0] = length(node);
624
+
625
+ var len = length(parent.table[0]);
626
+ for (var i = 1; i < parent.lengths.length; i++)
627
+ {
628
+ len += length(parent.table[i]);
629
+ parent.lengths[i] = len;
630
+ }
631
+ }
632
+ else
633
+ {
634
+ parent.table.shift();
635
+ for (var i = 1; i < parent.lengths.length; i++)
636
+ {
637
+ parent.lengths[i] = parent.lengths[i] - parent.lengths[0];
638
+ }
639
+ parent.lengths.shift();
640
+ }
641
+ }
642
+
643
+ // Returns the extra search steps for E. Refer to the paper.
644
+ function calcToRemove(a, b)
645
+ {
646
+ var subLengths = 0;
647
+ for (var i = 0; i < a.table.length; i++)
648
+ {
649
+ subLengths += a.table[i].table.length;
650
+ }
651
+ for (var i = 0; i < b.table.length; i++)
652
+ {
653
+ subLengths += b.table[i].table.length;
654
+ }
655
+
656
+ var toRemove = a.table.length + b.table.length;
657
+ return toRemove - (Math.floor((subLengths - 1) / M) + 1);
658
+ }
659
+
660
+ // get2, set2 and saveSlot are helpers for accessing elements over two arrays.
661
+ function get2(a, b, index)
662
+ {
663
+ return index < a.length
664
+ ? a[index]
665
+ : b[index - a.length];
666
+ }
667
+
668
+ function set2(a, b, index, value)
669
+ {
670
+ if (index < a.length)
671
+ {
672
+ a[index] = value;
673
+ }
674
+ else
675
+ {
676
+ b[index - a.length] = value;
677
+ }
678
+ }
679
+
680
+ function saveSlot(a, b, index, slot)
681
+ {
682
+ set2(a.table, b.table, index, slot);
683
+
684
+ var l = (index === 0 || index === a.lengths.length)
685
+ ? 0
686
+ : get2(a.lengths, a.lengths, index - 1);
687
+
688
+ set2(a.lengths, b.lengths, index, l + length(slot));
689
+ }
690
+
691
+ // Creates a node or leaf with a given length at their arrays for perfomance.
692
+ // Is only used by shuffle.
693
+ function createNode(h, length)
694
+ {
695
+ if (length < 0)
696
+ {
697
+ length = 0;
698
+ }
699
+ var a = {
700
+ ctor: '_Array',
701
+ height: h,
702
+ table: new Array(length)
703
+ };
704
+ if (h > 0)
705
+ {
706
+ a.lengths = new Array(length);
707
+ }
708
+ return a;
709
+ }
710
+
711
+ // Returns an array of two balanced nodes.
712
+ function shuffle(a, b, toRemove)
713
+ {
714
+ var newA = createNode(a.height, Math.min(M, a.table.length + b.table.length - toRemove));
715
+ var newB = createNode(a.height, newA.table.length - (a.table.length + b.table.length - toRemove));
716
+
717
+ // Skip the slots with size M. More precise: copy the slot references
718
+ // to the new node
719
+ var read = 0;
720
+ while (get2(a.table, b.table, read).table.length % M === 0)
721
+ {
722
+ set2(newA.table, newB.table, read, get2(a.table, b.table, read));
723
+ set2(newA.lengths, newB.lengths, read, get2(a.lengths, b.lengths, read));
724
+ read++;
725
+ }
726
+
727
+ // Pulling items from left to right, caching in a slot before writing
728
+ // it into the new nodes.
729
+ var write = read;
730
+ var slot = new createNode(a.height - 1, 0);
731
+ var from = 0;
732
+
733
+ // If the current slot is still containing data, then there will be at
734
+ // least one more write, so we do not break this loop yet.
735
+ while (read - write - (slot.table.length > 0 ? 1 : 0) < toRemove)
736
+ {
737
+ // Find out the max possible items for copying.
738
+ var source = get2(a.table, b.table, read);
739
+ var to = Math.min(M - slot.table.length, source.table.length);
740
+
741
+ // Copy and adjust size table.
742
+ slot.table = slot.table.concat(source.table.slice(from, to));
743
+ if (slot.height > 0)
744
+ {
745
+ var len = slot.lengths.length;
746
+ for (var i = len; i < len + to - from; i++)
747
+ {
748
+ slot.lengths[i] = length(slot.table[i]);
749
+ slot.lengths[i] += (i > 0 ? slot.lengths[i - 1] : 0);
750
+ }
751
+ }
752
+
753
+ from += to;
754
+
755
+ // Only proceed to next slots[i] if the current one was
756
+ // fully copied.
757
+ if (source.table.length <= to)
758
+ {
759
+ read++; from = 0;
760
+ }
761
+
762
+ // Only create a new slot if the current one is filled up.
763
+ if (slot.table.length === M)
764
+ {
765
+ saveSlot(newA, newB, write, slot);
766
+ slot = createNode(a.height - 1, 0);
767
+ write++;
768
+ }
769
+ }
770
+
771
+ // Cleanup after the loop. Copy the last slot into the new nodes.
772
+ if (slot.table.length > 0)
773
+ {
774
+ saveSlot(newA, newB, write, slot);
775
+ write++;
776
+ }
777
+
778
+ // Shift the untouched slots to the left
779
+ while (read < a.table.length + b.table.length )
780
+ {
781
+ saveSlot(newA, newB, write, get2(a.table, b.table, read));
782
+ read++;
783
+ write++;
784
+ }
785
+
786
+ return [newA, newB];
787
+ }
788
+
789
+ // Navigation functions
790
+ function botRight(a)
791
+ {
792
+ return a.table[a.table.length - 1];
793
+ }
794
+ function botLeft(a)
795
+ {
796
+ return a.table[0];
797
+ }
798
+
799
+ // Copies a node for updating. Note that you should not use this if
800
+ // only updating only one of "table" or "lengths" for performance reasons.
801
+ function nodeCopy(a)
802
+ {
803
+ var newA = {
804
+ ctor: '_Array',
805
+ height: a.height,
806
+ table: a.table.slice()
807
+ };
808
+ if (a.height > 0)
809
+ {
810
+ newA.lengths = a.lengths.slice();
811
+ }
812
+ return newA;
813
+ }
814
+
815
+ // Returns how many items are in the tree.
816
+ function length(array)
817
+ {
818
+ if (array.height === 0)
819
+ {
820
+ return array.table.length;
821
+ }
822
+ else
823
+ {
824
+ return array.lengths[array.lengths.length - 1];
825
+ }
826
+ }
827
+
828
+ // Calculates in which slot of "table" the item probably is, then
829
+ // find the exact slot via forward searching in "lengths". Returns the index.
830
+ function getSlot(i, a)
831
+ {
832
+ var slot = i >> (5 * a.height);
833
+ while (a.lengths[slot] <= i)
834
+ {
835
+ slot++;
836
+ }
837
+ return slot;
838
+ }
839
+
840
+ // Recursively creates a tree with a given height containing
841
+ // only the given item.
842
+ function create(item, h)
843
+ {
844
+ if (h === 0)
845
+ {
846
+ return {
847
+ ctor: '_Array',
848
+ height: 0,
849
+ table: [item]
850
+ };
851
+ }
852
+ return {
853
+ ctor: '_Array',
854
+ height: h,
855
+ table: [create(item, h - 1)],
856
+ lengths: [1]
857
+ };
858
+ }
859
+
860
+ // Recursively creates a tree that contains the given tree.
861
+ function parentise(tree, h)
862
+ {
863
+ if (h === tree.height)
864
+ {
865
+ return tree;
866
+ }
867
+
868
+ return {
869
+ ctor: '_Array',
870
+ height: h,
871
+ table: [parentise(tree, h - 1)],
872
+ lengths: [length(tree)]
873
+ };
874
+ }
875
+
876
+ // Emphasizes blood brotherhood beneath two trees.
877
+ function siblise(a, b)
878
+ {
879
+ return {
880
+ ctor: '_Array',
881
+ height: a.height + 1,
882
+ table: [a, b],
883
+ lengths: [length(a), length(a) + length(b)]
884
+ };
885
+ }
886
+
887
+ function toJSArray(a)
888
+ {
889
+ var jsArray = new Array(length(a));
890
+ toJSArray_(jsArray, 0, a);
891
+ return jsArray;
892
+ }
893
+
894
+ function toJSArray_(jsArray, i, a)
895
+ {
896
+ for (var t = 0; t < a.table.length; t++)
897
+ {
898
+ if (a.height === 0)
899
+ {
900
+ jsArray[i + t] = a.table[t];
901
+ }
902
+ else
903
+ {
904
+ var inc = t === 0 ? 0 : a.lengths[t - 1];
905
+ toJSArray_(jsArray, i + inc, a.table[t]);
906
+ }
907
+ }
908
+ }
909
+
910
+ function fromJSArray(jsArray)
911
+ {
912
+ if (jsArray.length === 0)
913
+ {
914
+ return empty;
915
+ }
916
+ var h = Math.floor(Math.log(jsArray.length) / Math.log(M));
917
+ return fromJSArray_(jsArray, h, 0, jsArray.length);
918
+ }
919
+
920
+ function fromJSArray_(jsArray, h, from, to)
921
+ {
922
+ if (h === 0)
923
+ {
924
+ return {
925
+ ctor: '_Array',
926
+ height: 0,
927
+ table: jsArray.slice(from, to)
928
+ };
929
+ }
930
+
931
+ var step = Math.pow(M, h);
932
+ var table = new Array(Math.ceil((to - from) / step));
933
+ var lengths = new Array(table.length);
934
+ for (var i = 0; i < table.length; i++)
935
+ {
936
+ table[i] = fromJSArray_(jsArray, h - 1, from + (i * step), Math.min(from + ((i + 1) * step), to));
937
+ lengths[i] = length(table[i]) + (i > 0 ? lengths[i - 1] : 0);
938
+ }
939
+ return {
940
+ ctor: '_Array',
941
+ height: h,
942
+ table: table,
943
+ lengths: lengths
944
+ };
945
+ }
946
+
947
+ return {
948
+ empty: empty,
949
+ fromList: fromList,
950
+ toList: toList,
951
+ initialize: F2(initialize),
952
+ append: F2(append),
953
+ push: F2(push),
954
+ slice: F3(slice),
955
+ get: F2(get),
956
+ set: F3(set),
957
+ map: F2(map),
958
+ indexedMap: F2(indexedMap),
959
+ foldl: F3(foldl),
960
+ foldr: F3(foldr),
961
+ length: length,
962
+
963
+ toJSArray: toJSArray,
964
+ fromJSArray: fromJSArray
965
+ };
966
+
967
+ }();