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.
- checksums.yaml +4 -4
- data/Rakefile +7 -0
- data/lib/elm/rails/helper.rb +53 -0
- data/lib/elm/rails/railtie.rb +29 -0
- data/lib/elm/rails/sprockets.rb +62 -0
- data/lib/elm/rails/version.rb +1 -1
- data/lib/elm/rails.rb +2 -0
- data/lib/elm-rails.rb +1 -3
- data/test/pipeline_test.rb +19 -0
- data/test/rails4.2/Gemfile +50 -0
- data/test/rails4.2/Gemfile.lock +170 -0
- data/test/rails4.2/README.rdoc +28 -0
- data/test/rails4.2/Rakefile +6 -0
- data/test/rails4.2/app/assets/elm/App.elm +7 -0
- data/test/rails4.2/app/assets/javascripts/application.js +1 -0
- data/test/rails4.2/app/assets/stylesheets/application.css +15 -0
- data/test/rails4.2/app/controllers/application_controller.rb +5 -0
- data/test/rails4.2/app/helpers/application_helper.rb +2 -0
- data/test/rails4.2/app/views/layouts/application.html.erb +14 -0
- data/test/rails4.2/bin/bundle +3 -0
- data/test/rails4.2/bin/rails +9 -0
- data/test/rails4.2/bin/rake +9 -0
- data/test/rails4.2/bin/setup +29 -0
- data/test/rails4.2/bin/spring +16 -0
- data/test/rails4.2/config/application.rb +26 -0
- data/test/rails4.2/config/boot.rb +3 -0
- data/test/rails4.2/config/database.yml +25 -0
- data/test/rails4.2/config/environment.rb +5 -0
- data/test/rails4.2/config/environments/development.rb +41 -0
- data/test/rails4.2/config/environments/production.rb +79 -0
- data/test/rails4.2/config/environments/test.rb +42 -0
- data/test/rails4.2/config/initializers/assets.rb +11 -0
- data/test/rails4.2/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails4.2/config/initializers/cookies_serializer.rb +3 -0
- data/test/rails4.2/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/rails4.2/config/initializers/inflections.rb +16 -0
- data/test/rails4.2/config/initializers/mime_types.rb +4 -0
- data/test/rails4.2/config/initializers/session_store.rb +3 -0
- data/test/rails4.2/config/initializers/wrap_parameters.rb +14 -0
- data/test/rails4.2/config/locales/en.yml +23 -0
- data/test/rails4.2/config/routes.rb +56 -0
- data/test/rails4.2/config/secrets.yml +22 -0
- data/test/rails4.2/config.ru +4 -0
- data/test/rails4.2/db/seeds.rb +7 -0
- data/test/rails4.2/elm-package.json +15 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmo +54 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmo +125 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmo +7 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmo +42 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmo +165 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmo +32 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmo +2 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmo +916 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmo +62 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmo +10 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmo +545 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmo +72 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmo +14 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmo +5 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmo +9 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmo +3 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmo +378 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmo +16 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmo +141 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmo +130 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmo +43 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmo +196 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmo +187 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmo +26 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/graph.dat +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmo +349 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmo +114 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmo +3 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmo +3 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmo +124 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/graph.dat +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmo +622 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmo +1353 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmo +45 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmo +367 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmo +393 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmo +793 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmo +98 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmo +30 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/graph.dat +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/user/project/1.0.0/Main.elmi +0 -0
- data/test/rails4.2/elm-stuff/build-artifacts/0.18.0/user/project/1.0.0/Main.elmo +2 -0
- data/test/rails4.2/elm-stuff/exact-dependencies.json +5 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/CONTRIBUTING.md +41 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/LICENSE +30 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/README.md +34 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/changelog.md +143 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/elm-package.json +38 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Array.elm +240 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Basics.elm +655 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Bitwise.elm +90 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Char.elm +103 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Color.elm +456 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Date.elm +150 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Debug.elm +62 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Dict.elm +661 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Decode.elm +520 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Encode.elm +102 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/List.elm +603 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Maybe.elm +157 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Array.js +967 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Basics.js +141 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Bitwise.js +13 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Char.js +14 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Date.js +33 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Debug.js +30 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Json.js +580 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/List.js +137 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Platform.js +560 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Regex.js +119 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Scheduler.js +281 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/String.js +335 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Time.js +27 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Utils.js +489 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Cmd.elm +67 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Sub.elm +52 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform.elm +145 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Process.elm +106 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Random.elm +532 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Regex.elm +148 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Result.elm +210 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Set.elm +168 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/String.elm +464 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Task.elm +278 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Time.elm +243 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Tuple.elm +61 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Array.elm +90 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Basics.elm +158 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Bitwise.elm +50 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Char.elm +93 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/CodeGen.elm +59 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Dict.elm +79 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Equality.elm +28 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Json.elm +83 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/List.elm +165 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Regex.elm +46 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Result.elm +60 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Set.elm +29 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/String.elm +41 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test.elm +40 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/elm-package.json +16 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/run-tests.sh +18 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/LICENSE +30 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/README.md +5 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/elm-package.json +21 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/properties-vs-attributes.md +15 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Attributes.elm +1009 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Events.elm +269 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Keyed.elm +48 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Lazy.elm +48 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html.elm +923 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/LICENSE +30 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/README.md +5 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/elm-package.json +17 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/Debug.js +280 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/VirtualDom.js +1881 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Debug.elm +567 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Expando.elm +659 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Helpers.elm +137 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/History.elm +290 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Metadata.elm +326 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Overlay.elm +541 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Report.elm +99 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom.elm +331 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/Native/TestHelpers.js +35 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestCases/Lazy.elm +72 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestHelpers.elm +34 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestMain.elm +18 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/elm-package.json +18 -0
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/run-tests.sh +24 -0
- data/test/rails4.2/log/development.log +0 -0
- data/test/rails4.2/public/404.html +67 -0
- data/test/rails4.2/public/422.html +67 -0
- data/test/rails4.2/public/500.html +66 -0
- data/test/rails4.2/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm +7 -0
- data/test/rails4.2/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm.gz +0 -0
- data/test/rails4.2/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js +7832 -0
- data/test/rails4.2/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js.gz +0 -0
- data/test/rails4.2/public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css +16 -0
- data/test/rails4.2/public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css.gz +0 -0
- data/test/rails4.2/public/favicon.ico +0 -0
- data/test/rails4.2/public/robots.txt +5 -0
- data/test/rails4.2/test/test_helper.rb +10 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/3Z/3ZUHn6AXhav97w7CxzPk35QWKSdt2_NCypMlfBdbups.cache +12 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/71/71BGoYgC3JqePcE6mkmZGNm3Hfsplh6GflNISb1nXDY.cache +0 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/7S/7SQg7etrus-CzMQvT50aoqaBFr3g7-XySHgIIYYi120.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/8C/8CWOHQ8XpWWEQhSbnexku4svsDm4D6D4khMM1U-hefo.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/IL/ILmLNBWq6NCoxa6wQBxL0QZQ1tl0B5EIHe7XNBBzD1c.cache +0 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/Jw/Jw2wqmTaqaVoWeJUIJTeAya_hLYhvjMluyuIExcy7RQ.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/KO/KOowMnhBFbIfSnPnJZMvcBO-Ty7jfGMZhfCPyToJ0A0.cache +0 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/LY/LYDHbQunWPAx1lUtqHvYce69OCXyJ_ddebDFMKNuqlI.cache +2 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/SD/SDBBYwPJLyEQ0kGeBlzlcA-ZfyOrEXYYMADcJmj99CY.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/SQ/SQimA5KzAj_p9zMNAsX60SUcMn2uuF16TZC9Klnra0I.cache +0 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/TB/TB5cZ_yulrrkXOX5VPV-Hy5BzCg9Qmp1Cd76AK0H1bw.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/Xr/Xrv18wc_alopx84_TfluuduEqUFCvzvieMl9h0IONy8.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/_0/_0WRX8uYUBKibrKHGMOPi9ffV0Inaw32I7fxq3XqXZE.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/cQ/cQqYRTAhh55ixFFFweV5kSlUV8uTd-quLQSppYOw_HY.cache +0 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/f7/f7vLTrT3HIZzA85tAlEpmeTxMz_oRIycHo8pJytouk4.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/gz/gztd2iOfuGm_FtspKA2TGTb05WC_ma2r-cStMmahKA4.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/hU/hUc40B5Z1hDZyLf6j_tnQZtdiKDG5hlWrztJBska0PE.cache +3 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/pu/puuyFOZIeE21lmTrCNiNXukuNcijKwpMdOYC1egNvNg.cache +3 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/tR/tRv7-RPbJTn8ti-ONHftBMGXAAV4zzK02vrO2kOYsMA.cache +1 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/vP/vPP5AGlfEDDH5hIun-dIdpO1CYuIZo_fknD6Gkm2hKE.cache +2 -0
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/yv/yvroNANofqgnk7FsbrrvJ5jFI9iXwLYf9WP7_ZKa82k.cache +1 -0
- data/test/rails5.0/Gemfile +51 -0
- data/test/rails5.0/Gemfile.lock +183 -0
- data/test/rails5.0/README.md +24 -0
- data/test/rails5.0/Rakefile +6 -0
- data/test/rails5.0/app/assets/config/manifest.js +3 -0
- data/test/rails5.0/app/assets/elm/App.elm +7 -0
- data/test/rails5.0/app/assets/javascripts/application.js +1 -0
- data/test/rails5.0/app/assets/javascripts/cable.js +13 -0
- data/test/rails5.0/app/assets/stylesheets/application.css +15 -0
- data/test/rails5.0/app/channels/application_cable/channel.rb +4 -0
- data/test/rails5.0/app/channels/application_cable/connection.rb +4 -0
- data/test/rails5.0/app/controllers/application_controller.rb +3 -0
- data/test/rails5.0/app/helpers/application_helper.rb +2 -0
- data/test/rails5.0/app/jobs/application_job.rb +2 -0
- data/test/rails5.0/app/mailers/application_mailer.rb +4 -0
- data/test/rails5.0/app/models/application_record.rb +3 -0
- data/test/rails5.0/app/views/layouts/application.html.erb +14 -0
- data/test/rails5.0/app/views/layouts/mailer.html.erb +13 -0
- data/test/rails5.0/app/views/layouts/mailer.text.erb +1 -0
- data/test/rails5.0/bin/bundle +3 -0
- data/test/rails5.0/bin/rails +9 -0
- data/test/rails5.0/bin/rake +9 -0
- data/test/rails5.0/bin/setup +34 -0
- data/test/rails5.0/bin/spring +16 -0
- data/test/rails5.0/bin/update +29 -0
- data/test/rails5.0/config/application.rb +15 -0
- data/test/rails5.0/config/boot.rb +3 -0
- data/test/rails5.0/config/cable.yml +9 -0
- data/test/rails5.0/config/database.yml +25 -0
- data/test/rails5.0/config/environment.rb +5 -0
- data/test/rails5.0/config/environments/development.rb +54 -0
- data/test/rails5.0/config/environments/production.rb +86 -0
- data/test/rails5.0/config/environments/test.rb +42 -0
- data/test/rails5.0/config/initializers/application_controller_renderer.rb +6 -0
- data/test/rails5.0/config/initializers/assets.rb +11 -0
- data/test/rails5.0/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails5.0/config/initializers/cookies_serializer.rb +5 -0
- data/test/rails5.0/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/rails5.0/config/initializers/inflections.rb +16 -0
- data/test/rails5.0/config/initializers/mime_types.rb +4 -0
- data/test/rails5.0/config/initializers/new_framework_defaults.rb +24 -0
- data/test/rails5.0/config/initializers/session_store.rb +3 -0
- data/test/rails5.0/config/initializers/wrap_parameters.rb +14 -0
- data/test/rails5.0/config/locales/en.yml +23 -0
- data/test/rails5.0/config/puma.rb +47 -0
- data/test/rails5.0/config/routes.rb +3 -0
- data/test/rails5.0/config/secrets.yml +22 -0
- data/test/rails5.0/config/spring.rb +6 -0
- data/test/rails5.0/config.ru +5 -0
- data/test/rails5.0/db/seeds.rb +7 -0
- data/test/rails5.0/elm-package.json +15 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Array.elmo +54 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Basics.elmo +125 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Bitwise.elmo +7 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Char.elmo +42 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Color.elmo +165 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Date.elmo +32 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Debug.elmo +2 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Dict.elmo +916 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Decode.elmo +62 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Json-Encode.elmo +10 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/List.elmo +545 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Maybe.elmo +72 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Cmd.elmo +14 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform-Sub.elmo +5 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Platform.elmo +9 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Process.elmo +3 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Random.elmo +378 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Regex.elmo +16 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Result.elmo +141 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Set.elmo +130 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/String.elmo +43 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Task.elmo +196 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Time.elmo +187 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/Tuple.elmo +26 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/core/5.0.0/graph.dat +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Attributes.elmo +349 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Events.elmo +114 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Keyed.elmo +3 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html-Lazy.elmo +3 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/Html.elmo +124 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/html/2.0.0/graph.dat +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Debug.elmo +622 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Expando.elmo +1353 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Helpers.elmo +45 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-History.elmo +367 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Metadata.elmo +393 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Overlay.elmo +793 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom-Report.elmo +98 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmi +0 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/VirtualDom.elmo +30 -0
- data/test/rails5.0/elm-stuff/build-artifacts/0.18.0/elm-lang/virtual-dom/2.0.3/graph.dat +0 -0
- data/test/rails5.0/elm-stuff/exact-dependencies.json +5 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/CONTRIBUTING.md +41 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/LICENSE +30 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/README.md +34 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/changelog.md +143 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/elm-package.json +38 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Array.elm +240 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Basics.elm +655 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Bitwise.elm +90 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Char.elm +103 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Color.elm +456 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Date.elm +150 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Debug.elm +62 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Dict.elm +661 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Decode.elm +520 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Encode.elm +102 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/List.elm +603 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Maybe.elm +157 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Array.js +967 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Basics.js +141 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Bitwise.js +13 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Char.js +14 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Date.js +33 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Debug.js +30 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Json.js +580 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/List.js +137 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Platform.js +560 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Regex.js +119 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Scheduler.js +281 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/String.js +335 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Time.js +27 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Utils.js +489 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Cmd.elm +67 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Sub.elm +52 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform.elm +145 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Process.elm +106 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Random.elm +532 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Regex.elm +148 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Result.elm +210 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Set.elm +168 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/String.elm +464 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Task.elm +278 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Time.elm +243 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Tuple.elm +61 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Array.elm +90 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Basics.elm +158 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Bitwise.elm +50 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Char.elm +93 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/CodeGen.elm +59 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Dict.elm +79 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Equality.elm +28 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Json.elm +83 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/List.elm +165 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Regex.elm +46 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Result.elm +60 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Set.elm +29 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/String.elm +41 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test.elm +40 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/elm-package.json +16 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/run-tests.sh +18 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/LICENSE +30 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/README.md +5 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/elm-package.json +21 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/properties-vs-attributes.md +15 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Attributes.elm +1009 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Events.elm +269 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Keyed.elm +48 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Lazy.elm +48 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html.elm +923 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/LICENSE +30 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/README.md +5 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/elm-package.json +17 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/Debug.js +280 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/VirtualDom.js +1881 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Debug.elm +567 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Expando.elm +659 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Helpers.elm +137 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/History.elm +290 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Metadata.elm +326 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Overlay.elm +541 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Report.elm +99 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom.elm +331 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/Native/TestHelpers.js +35 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestCases/Lazy.elm +72 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestHelpers.elm +34 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestMain.elm +18 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/elm-package.json +18 -0
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/run-tests.sh +24 -0
- data/test/rails5.0/log/development.log +0 -0
- data/test/rails5.0/log/test.log +0 -0
- data/test/rails5.0/public/404.html +67 -0
- data/test/rails5.0/public/422.html +67 -0
- data/test/rails5.0/public/500.html +66 -0
- data/test/rails5.0/public/apple-touch-icon-precomposed.png +0 -0
- data/test/rails5.0/public/apple-touch-icon.png +0 -0
- data/test/rails5.0/public/assets/App-1602b94f98947092c88dc265ff74f09a5e843f8da65d389ffbc3e33780fffede.elm +9 -0
- data/test/rails5.0/public/assets/App-1602b94f98947092c88dc265ff74f09a5e843f8da65d389ffbc3e33780fffede.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-5e519e981b0f90300c651aefaa6caae0d86b07d230d233a1bfb0d39a5d880e3c.elm +1 -0
- data/test/rails5.0/public/assets/App-5e519e981b0f90300c651aefaa6caae0d86b07d230d233a1bfb0d39a5d880e3c.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm +7 -0
- data/test/rails5.0/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-8a8d0e9bfb375345038db521f127df9481ab51071ed163f15245377ceb88eaca.elm +8 -0
- data/test/rails5.0/public/assets/App-8a8d0e9bfb375345038db521f127df9481ab51071ed163f15245377ceb88eaca.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-eca9cb629bea66373157a8cc52c5b0f93a31aaf50ecff27c10d7239be48b248f.elm +9 -0
- data/test/rails5.0/public/assets/App-eca9cb629bea66373157a8cc52c5b0f93a31aaf50ecff27c10d7239be48b248f.elm.gz +0 -0
- data/test/rails5.0/public/assets/application-4586df2c9172aec6cc707426ba5f83f7a590a4aeac2fe816fa5023c32963f2f9.js +12198 -0
- data/test/rails5.0/public/assets/application-4586df2c9172aec6cc707426ba5f83f7a590a4aeac2fe816fa5023c32963f2f9.js.gz +0 -0
- data/test/rails5.0/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js +7832 -0
- data/test/rails5.0/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js.gz +0 -0
- data/test/rails5.0/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css +16 -0
- data/test/rails5.0/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css.gz +0 -0
- data/test/rails5.0/public/favicon.ico +0 -0
- data/test/rails5.0/public/robots.txt +5 -0
- data/test/rails5.0/test/test_helper.rb +10 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/0Y/0YB7dUAeS_crvTkoNmYLCXhHXzZyo1iBdHiGDB66haY.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/1N/1NhL0zKSPgA05Uc-SJFX3grlL83t06cgOrX3bVN59rY.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/1a/1aCAw9tIoeRlkEQrkNffBdK1iX2sVmGKo0ZSDujjzzQ.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/35/35k3BKm9w8BazTN5Y5LaRFfxzV1IXXkXfhyMO-0bbqE.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/3H/3HMMKH-mmYBvbL_QMZIVF9hFTjtLPFytSfllY3Quc40.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/4L/4LstvGmpBCrhBQdjwm9XUSk8KT0o7CTK79wVCZD0rYA.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/5n/5nYbBZ2v-Olkh8gU3Gj8q75NJNzG188X8wVFaRMSO4Y.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/6k/6kGz9Pbsl1lurmvNTUwodRApjpjcg44MDFmGicCYtkM.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/6x/6xh5M9_QsilQ8b2CIjSm980iyp5htgQNGpe2smD8EFY.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/7E/7EmKgeIbIEosUjuD7RwrwSOU6qG-YNCXISqzKAIj6XY.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/7r/7rKBKpKdQ-dlqhkkPc_YTTDH8Hcb-aA25EWqyF_SCnM.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/8E/8EqfkaQzxFfiMRJxFhO6QMYvUsGoreG0wuo0Z9ZIQMI.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9S/9SjxHQK7xOt2WfMDQSUnTh7cRFOD9pYnDnhz-fYcGIM.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9Y/9YPGrz99c2jdTmAXI-gcar5ZuLy_DICUkenwTffZpXM.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9n/9nNrLIfeQBbmhfdE-wyq6IofxTnrSh_qjbhxpIV8e8k.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/AD/ADdMEFmbNhFvLXTmHzEKQ6aeGjlW3xFS-SNaOS9G5E0.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Aq/AqD6i7Uh0R4iSD3LnqgXtyhDzZulN4Ll4BYugwcVMd8.cache +14 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/B1/B12JeqH5j_oNIiH4FIhK4IIogEXMhp7HkXRDG5_W9TE.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/B9/B9QjSHDYRcZ6vHYyAL-9LVloVXrAxRNuLBhBQlszyYY.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Br/BrAzyoqGDsBq0SuTmtVy_UPxIRQ6GT9GZ4rtUWXur50.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +2 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/H1/H1jTfx5eWFTr9nS4BAYci_jWFKDFikgWTQfytyXbxE8.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/He/HeCPR0vx95YOit3sQBrJqvU-qt5UlrVo6oR3gmLsVRE.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ik/IkfUJk7rZOFkONwuH61NE0Qm02VNU_Kzs2BXpLxU_jA.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Il/Il5IfApBiO1hgPEjL4xSAmMFSLuMGqPKdqHxVKl4xto.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/J0/J0jmom5PJvcEBroo5EmWZWwS-qIS_vrXeDWc7eno-Bo.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ja/JacseGFSNScIY88_jg9qPVjxr8noy1N-SqVqj639jqM.cache +2 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/KK/KKsRXpOYUoX-CUIJkA1HOY5KZSS95aEclXJ2W435720.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Kg/Kgkr5ONb7guGJNJQ1Kk_cYcJ8P9SyW6pQ9rcBL1NRU4.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ko/Ko3lwpLJwK6NWfB58rcpen0NlXa3kpCsc4RAKKT6Kpk.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/LY/LYDHbQunWPAx1lUtqHvYce69OCXyJ_ddebDFMKNuqlI.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/NB/NBzfgqIkjfw28ZiYRd57NZjfR58xLNoos_RalMVjNbg.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Nf/NfYfMVLdt_Ou9w7rLSKpXrPDpgDbZrBnQ4z-Hum-6vI.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/O9/O9TrSGgLM3Z_MRoHypJwNImwwSQ4RrvgHT8jvNgJEw8.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/OD/ODpH56RUMtxnzhaH5U_u4tOMq8TBgYFxa_uOtVDIYYY.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Og/Ogbuh2wE0u29GxE1agxdqtbvGm1gNQDgbAsON6mmqEs.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/PD/PDGhNPQf4tpr04KnK-MVoL7vfP1-IkOZ82t96aM9rzU.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/S0/S0YVAAdEQsPWUvEL2HO_0mkuTBPd1YN5qnFMZdbl__s.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/SH/SHzDzeCYjrPInxH5PdvvnaSwG6saboDBExYeizii9l8.cache +12 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/V3/V3n8zFh7QU2BX4zbGf-6u3v3UV6gk-Kd4ukzWRKzygE.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VJ/VJhOylb5YLNno0g3xGtELVfa6ADi2hjAKipWJHNwmaw.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VU/VUgLLHwZhPSRCNTktsMDxGoe9FM10f1KyYCYHtM9i6s.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VX/VXJe3zEbcTeaXjBIUHOqnlo0wzUJFGr4qbX1a07mhCU.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Vl/VlNigKvkrAT-d0xZ-dPrWFc5-ftFTPWjgV-pNXINZNI.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/W9/W9hQOrzOprntvhFuuLQMjVuIqkA4glCKEU85O97ePPg.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Wl/WlA2b2ztRT1INWN_KF2AQYcgo6xtPD5MN4Xbn6Y0P4c.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/XO/XOQxQt2ChZX9nP-bS-4LeZpDoXqgy8b0ZeDrBv7Fm7E.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ya/YA2cPxMXBtg-8-rve8W_M3jPY9XWs7m0Shsiqp8gQws.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Yh/YhLPDOqEMwfXgbP2sDA4lj6jrbOvB7bC_uxlXzV_TQE.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Yi/YiYRhSq0opHKMpfxdgTluU5wxBb3DiqZwjHmFTpvFHw.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/_g/_gcA7ve5b9gRqyMtexel8zqzGx251FMb6tjSg2RWOW8.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/aO/aOnqAc44IjU1sN_EMsXGnQ0JKh9IcG460FYR5bIrFms.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/bP/bPPhf5cxBG77CDeKdBShe42BgQoDTLDoTLD3zruq1W0.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/ba/baB1035_Crz8wasVlcXhl_FU16sjjVvXpxIe38OPvXQ.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/df/dfWZd4DzOiImVd7W0kkLrInPO1OOqVzpfz5sSvjF-Uo.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/eA/eAld1SKvn6CmGs606xnR5u_RD-9jztgHGg80umZcU1E.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/gh/ghVAcaqdDpGTOqJjPARKgCiR8CiHW6QlnKTOF9e9ORI.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hR/hRvM5YCxMAgeLQZUX1xYPkVAuja6B4tOqBQAkydPLJU.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hU/hUc40B5Z1hDZyLf6j_tnQZtdiKDG5hlWrztJBska0PE.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hp/hppUy6OHEQcsWCk8s_i6M5mO9LNdD9yRZb5kX4ptVrc.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/iU/iUAm_moTHIafsRJIY5-RfSh2OKUIz_yhNnQqpUVBNYQ.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/jZ/JZxXAA7PYxyTc8rmt8jxfR8grbq2jBfZbseUMSuH8zk.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/jZ/jZMUnpPr_EmTmI8mHPj7EQicOUHDug2aEoohjId_0Yk.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/je/je5iFjCcUlxNbZPRHgNBSB6qWaC9kCNxQ6q1yj_qOOY.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/kV/kVOpHbvQlTwqjBkr02sqtQqzLzxINYcecM_naAzjdC0.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/lt/ltXAG0-rNlM_PLKTy1WHlI7D1O_CMbd84zaRydmU-Rg.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/n3/n3lkVpUjkcCDAQhxykQ6y8IP6y1JdTtH06FRqfkq9LI.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/nJ/nJdrXYYtjc5zT8HUWi7je-yfrVicfQZvwRqPzaCa6wk.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/nd/nd-cz3iq2NvZgc2KOeAgQoVy3JMKsXNeLqWxG6FteZI.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/oW/oWyRdiks7gwGe0iIy_7eP4tuLKREDJpw5zmcvzTcz6A.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/pg/pg9UjX5tF6eU8BVS5bMsq1C-zoY8SryXO2KGgRQlTss.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/pu/puuyFOZIeE21lmTrCNiNXukuNcijKwpMdOYC1egNvNg.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/qA/qAs4p5gy36IKHVRTncIU2bEoe5U7AfqZbEfHn53X_8o.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/r5/r50Jp6i83eTDHlxTfnNc3wsRhTkVGnBnoPm8Qu6ygk4.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/rw/rwpefxNnYvOKp9N-3v7kg_-CK3lbIjgExClJ5C2qDlc.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sD/sDyffi23VNNBUqPAOf8uo7Jc_-JJBh_XGi-sG-OwCi4.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sJ/sJ_lXp0OZ-d7xXSO7IYvbYXNnRfmoF4y_wtVeHyro0M.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sV/sVvb4rIxllY1RcnneFQOouJRcNLkQOPJsXMXfyrpWl4.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/st/stJIDRPJd8LU1crSDOT6xb63bnHMwWO4uZ61z36ULO4.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/tE/tEY3hs40EEJehLXOpxKqICNDETqbP3DVCUnrgXfyQxw.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/uG/uGZh7ticrbdLry2ydkTxxa9RaZYIsvbcJ057EcQueW8.cache +0 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/v9/v9cyeu6pHsQwNBnaL4mINPaINTR7_dNGEQ00mceS32c.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vK/vKJHMH5Wqw3Wo2DhWgK89qPpgICbKVGlbi7Epi81gWU.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vP/vPP5AGlfEDDH5hIun-dIdpO1CYuIZo_fknD6Gkm2hKE.cache +2 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vV/vV1yyk2vB13JUn09187gZiT8X8m5KEuoXpzNXurlOac.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vm/vmwJEykJEbQgCiW25SHHCVsIr-mYCWzhbBqXfnXbeag.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/w4/w4A4RKVM0xMsKjHNht7XVaSOGkromySr10SKObjndhE.cache +7 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/wA/wADgvgw7vRo-sR-CZWwBHg9f7eRGZxNv8hM5eYH4JDU.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zB/zBYhnUcTDDOZYknO_mReeJDV-GDjp4GG2arMnzKck4c.cache +3 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zC/zCss2J7QY-MVljeBbkecU985YlJ18YOkRRGy4BnJtkQ.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zm/zm9elFKfdhwhhSo15dXPFF3VYW_YQj-vbTgLhM-twP0.cache +1 -0
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zv/zvZfghSs_sLIZlmb5anW4qZc40WkO23Afn41Xy2RljQ.cache +1 -0
- metadata +1166 -10
- data/app/assets/javascripts/elm_modules.js.erb +0 -1
- data/app/helpers/elm_view_helper.rb +0 -21
- data/app/views/elm/mount_script.js.erb +0 -29
- data/lib/elm/rails/engine.rb +0 -6
@@ -0,0 +1,158 @@
|
|
1
|
+
module Test.Basics exposing (tests)
|
2
|
+
|
3
|
+
import Array
|
4
|
+
import Basics exposing (..)
|
5
|
+
import Date
|
6
|
+
import Set
|
7
|
+
import Dict
|
8
|
+
import ElmTest exposing (..)
|
9
|
+
|
10
|
+
tests : Test
|
11
|
+
tests =
|
12
|
+
let comparison =
|
13
|
+
suite "Comparison"
|
14
|
+
[ test "max" <| assertEqual 42 (max 32 42)
|
15
|
+
, test "min" <| assertEqual 42 (min 91 42)
|
16
|
+
, test "clamp low" <| assertEqual 10 (clamp 10 20 5)
|
17
|
+
, test "clamp mid" <| assertEqual 15 (clamp 10 20 15)
|
18
|
+
, test "clamp high" <| assertEqual 20 (clamp 10 20 25)
|
19
|
+
, test "5 < 6" <| assertEqual True (5 < 6)
|
20
|
+
, test "6 < 5" <| assertEqual False (6 < 5)
|
21
|
+
, test "6 < 6" <| assertEqual False (6 < 6)
|
22
|
+
, test "5 > 6" <| assertEqual False (5 > 6)
|
23
|
+
, test "6 > 5" <| assertEqual True (6 > 5)
|
24
|
+
, test "6 > 6" <| assertEqual False (6 > 6)
|
25
|
+
, test "5 <= 6" <| assertEqual True (5 <= 6)
|
26
|
+
, test "6 <= 5" <| assertEqual False (6 <= 5)
|
27
|
+
, test "6 <= 6" <| assertEqual True (6 <= 6)
|
28
|
+
, test "compare \"A\" \"B\"" <| assertEqual LT (compare "A" "B")
|
29
|
+
, test "compare 'f' 'f'" <| assertEqual EQ (compare 'f' 'f')
|
30
|
+
, test "compare (1, 2, 3, 4, 5, 6) (0, 1, 2, 3, 4, 5)" <| assertEqual GT (compare (1, 2, 3, 4, 5, 6) (0, 1, 2, 3, 4, 5))
|
31
|
+
, test "compare ['a'] ['b']" <| assertEqual LT (compare ['a'] ['b'])
|
32
|
+
, test "array equality" <| assertEqual (Array.fromList [1,1,1,1]) (Array.repeat 4 1)
|
33
|
+
, test "set equality" <| assertEqual (Set.fromList [1,2]) (Set.fromList [2,1])
|
34
|
+
, test "dict equality" <| assertEqual (Dict.fromList [(1,1),(2,2)]) (Dict.fromList [(2,2),(1,1)])
|
35
|
+
, test "char equality" <| assertNotEqual '0' '饑'
|
36
|
+
, test "date equality" <| assertEqual (Date.fromString "2/7/1992") (Date.fromString "2/7/1992")
|
37
|
+
, test "date equality" <| assertNotEqual (Date.fromString "11/16/1995") (Date.fromString "2/7/1992")
|
38
|
+
]
|
39
|
+
toStringTests = suite "toString Tests"
|
40
|
+
[ test "toString Int" <| assertEqual "42" (toString 42)
|
41
|
+
, test "toString Float" <| assertEqual "42.52" (toString 42.52)
|
42
|
+
, test "toString Char" <| assertEqual "'c'" (toString 'c')
|
43
|
+
, test "toString Char single quote" <| assertEqual "'\\''" (toString '\'')
|
44
|
+
, test "toString Char double quote" <| assertEqual "'\"'" (toString '"')
|
45
|
+
, test "toString String single quote" <| assertEqual "\"not 'escaped'\"" (toString "not 'escaped'")
|
46
|
+
, test "toString String double quote" <| assertEqual "\"are \\\"escaped\\\"\"" (toString "are \"escaped\"")
|
47
|
+
]
|
48
|
+
trigTests = suite "Trigonometry Tests"
|
49
|
+
[ test "radians 0" <| assertEqual 0 (radians 0)
|
50
|
+
, test "radians positive" <| assertEqual 5 (radians 5)
|
51
|
+
, test "radians negative" <| assertEqual -5 (radians -5)
|
52
|
+
, test "degrees 0" <| assertEqual 0 (degrees 0)
|
53
|
+
, test "degrees 90" <| assert (abs (1.57 - degrees 90) < 0.01) -- This should test to enough precision to know if anything's breaking
|
54
|
+
, test "degrees -145" <| assert (abs (-2.53 - degrees -145) < 0.01) -- This should test to enough precision to know if anything's breaking
|
55
|
+
, test "turns 0" <| assertEqual 0 (turns 0)
|
56
|
+
, test "turns 8" <| assert (abs (50.26 - turns 8) < 0.01) -- This should test to enough precision to know if anything's breaking
|
57
|
+
, test "turns -133" <| assert (abs (-835.66 - turns -133) < 0.01) -- This should test to enough precision to know if anything's breaking
|
58
|
+
, test "fromPolar (0, 0)" <| assertEqual (0, 0) (fromPolar (0, 0))
|
59
|
+
, test "fromPolar (1, 0)" <| assertEqual (1, 0) (fromPolar (1, 0))
|
60
|
+
, test "fromPolar (0, 1)" <| assertEqual (0, 0) (fromPolar (0, 1))
|
61
|
+
, test "fromPolar (1, 1)" <| assert (let (x, y) = fromPolar (1, 1) in 0.54 - x < 0.01 && 0.84 - y < 0.01)
|
62
|
+
, test "toPolar (0, 0)" <| assertEqual (0, 0) (toPolar (0, 0))
|
63
|
+
, test "toPolar (1, 0)" <| assertEqual (1, 0) (toPolar (1, 0))
|
64
|
+
, test "toPolar (0, 1)" <| assert (let (r, theta) = toPolar (0, 1) in r == 1 && abs (1.57 - theta) < 0.01)
|
65
|
+
, test "toPolar (1, 1)" <| assert (let (r, theta) = toPolar (1, 1) in abs (1.41 - r) < 0.01 && abs (0.78 - theta) < 0.01)
|
66
|
+
, test "cos" <| assertEqual 1 (cos 0)
|
67
|
+
, test "sin" <| assertEqual 0 (sin 0)
|
68
|
+
, test "tan" <| assert (abs (12.67 - tan 17.2) < 0.01)
|
69
|
+
, test "acos" <| assert (abs (3.14 - acos -1) < 0.01)
|
70
|
+
, test "asin" <| assert (abs (0.30 - asin 0.3) < 0.01)
|
71
|
+
, test "atan" <| assert (abs (1.57 - atan 4567.8) < 0.01)
|
72
|
+
, test "atan2" <| assert (abs (1.55 - atan2 36 0.65) < 0.01)
|
73
|
+
, test "pi" <| assert (abs (3.14 - pi) < 0.01)
|
74
|
+
]
|
75
|
+
basicMathTests = suite "Basic Math Tests"
|
76
|
+
[ test "add float" <| assertEqual 159 (155.6 + 3.4)
|
77
|
+
, test "add int" <| assertEqual 17 ((round 10) + (round 7))
|
78
|
+
, test "subtract float" <| assertEqual -6.3 (1 - 7.3)
|
79
|
+
, test "subtract int" <| assertEqual 1130 ((round 9432) - (round 8302))
|
80
|
+
, test "multiply float" <| assertEqual 432 (96 * 4.5)
|
81
|
+
, test "multiply int" <| assertEqual 90 ((round 10) * (round 9))
|
82
|
+
, test "divide float" <| assertEqual 13.175 (527 / 40)
|
83
|
+
, test "divide int" <| assertEqual 23 (70 // 3)
|
84
|
+
, test "7 `rem` 2" <| assertEqual 1 (7 `rem` 2)
|
85
|
+
, test "-1 `rem` 4" <| assertEqual -1 (-1 `rem` 4)
|
86
|
+
, test "7 % 2" <| assertEqual 1 (7 % 2)
|
87
|
+
, test "-1 % 4" <| assertEqual 3 (-1 % 4)
|
88
|
+
, test "3^2" <| assertEqual 9 (3^2)
|
89
|
+
, test "sqrt" <| assertEqual 9 (sqrt 81)
|
90
|
+
, test "negate 42" <| assertEqual -42 (negate 42)
|
91
|
+
, test "negate -42" <| assertEqual 42 (negate -42)
|
92
|
+
, test "negate 0" <| assertEqual 0 (negate 0)
|
93
|
+
, test "abs -25" <| assertEqual 25 (abs -25)
|
94
|
+
, test "abs 76" <| assertEqual 76 (abs 76)
|
95
|
+
, test "logBase 10 100" <| assertEqual 2 (logBase 10 100)
|
96
|
+
, test "logBase 2 256" <| assertEqual 8 (logBase 2 256)
|
97
|
+
, test "e" <| assert (abs (2.72 - e) < 0.01)
|
98
|
+
]
|
99
|
+
booleanTests = suite "Boolean Tests"
|
100
|
+
[ test "False && False" <| assertEqual False (False && False)
|
101
|
+
, test "False && True" <| assertEqual False (False && True)
|
102
|
+
, test "True && False" <| assertEqual False (True && False)
|
103
|
+
, test "True && True" <| assertEqual True (True && True)
|
104
|
+
, test "False || False" <| assertEqual False (False || False)
|
105
|
+
, test "False || True" <| assertEqual True (False || True)
|
106
|
+
, test "True || False" <| assertEqual True (True || False)
|
107
|
+
, test "True || True" <| assertEqual True (True || True)
|
108
|
+
, test "xor False False" <| assertEqual False (xor False False)
|
109
|
+
, test "xor False True" <| assertEqual True (xor False True)
|
110
|
+
, test "xor True False" <| assertEqual True (xor True False)
|
111
|
+
, test "xor True True" <| assertEqual False (xor True True)
|
112
|
+
, test "not True" <| assertEqual False (not True)
|
113
|
+
, test "not False" <| assertEqual True (not False)
|
114
|
+
]
|
115
|
+
conversionTests = suite "Conversion Tests"
|
116
|
+
[ test "round 0.6" <| assertEqual 1 (round 0.6)
|
117
|
+
, test "round 0.4" <| assertEqual 0 (round 0.4)
|
118
|
+
, test "round 0.5" <| assertEqual 1 (round 0.5)
|
119
|
+
, test "truncate -2367.9267" <| assertEqual -2367 (truncate -2367.9267)
|
120
|
+
, test "floor -2367.9267" <| assertEqual -2368 (floor -2367.9267)
|
121
|
+
, test "ceiling 37.2" <| assertEqual 38 (ceiling 37.2)
|
122
|
+
, test "toFloat 25" <| assertEqual 25 (toFloat 25)
|
123
|
+
]
|
124
|
+
miscTests = suite "Miscellaneous Tests"
|
125
|
+
[ test "isNaN (0/0)" <| assertEqual True (isNaN (0/0))
|
126
|
+
, test "isNaN (sqrt -1)" <| assertEqual True (isNaN (sqrt -1))
|
127
|
+
, test "isNaN (1/0)" <| assertEqual False (isNaN (1/0))
|
128
|
+
, test "isNaN 1" <| assertEqual False (isNaN 1)
|
129
|
+
, test "isInfinite (0/0)" <| assertEqual False (isInfinite (0/0))
|
130
|
+
, test "isInfinite (sqrt -1)" <| assertEqual False (isInfinite (sqrt -1))
|
131
|
+
, test "isInfinite (1/0)" <| assertEqual True (isInfinite (1/0))
|
132
|
+
, test "isInfinite 1" <| assertEqual False (isInfinite 1)
|
133
|
+
, test "\"hello\" ++ \"world\"" <| assertEqual "helloworld" ("hello" ++ "world")
|
134
|
+
, test "[1, 1, 2] ++ [3, 5, 8]" <| assertEqual [1, 1, 2, 3, 5, 8] ([1, 1, 2] ++ [3, 5, 8])
|
135
|
+
, test "fst (1, 2)" <| assertEqual 1 (fst (1, 2))
|
136
|
+
, test "snd (1, 2)" <| assertEqual 2 (snd (1, 2))
|
137
|
+
]
|
138
|
+
higherOrderTests = suite "Higher Order Helpers Tests"
|
139
|
+
[ test "identity 'c'" <| assertEqual 'c' (identity 'c')
|
140
|
+
, test "always 42 ()" <| assertEqual 42 (always 42 ())
|
141
|
+
, test "<|" <| assertEqual 9 (identity <| 3 + 6)
|
142
|
+
, test "|>" <| assertEqual 9 (3 + 6 |> identity)
|
143
|
+
, test "<<" <| assertEqual True (not << xor True <| True)
|
144
|
+
, test ">>" <| assertEqual True (True |> xor True >> not)
|
145
|
+
, test "flip" <| assertEqual 10 ((flip (//)) 2 20)
|
146
|
+
, test "curry" <| assertEqual 1 ((curry (\(a, b) -> a + b)) -5 6)
|
147
|
+
, test "uncurry" <| assertEqual 1 ((uncurry (+)) (-5, 6))
|
148
|
+
]
|
149
|
+
in
|
150
|
+
suite "Basics"
|
151
|
+
[ comparison
|
152
|
+
, toStringTests
|
153
|
+
, trigTests
|
154
|
+
, basicMathTests
|
155
|
+
, booleanTests
|
156
|
+
, miscTests
|
157
|
+
, higherOrderTests
|
158
|
+
]
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module Test.Bitwise exposing (tests)
|
2
|
+
|
3
|
+
import Basics exposing (..)
|
4
|
+
import Bitwise
|
5
|
+
|
6
|
+
import ElmTest exposing (..)
|
7
|
+
|
8
|
+
tests : Test
|
9
|
+
tests =
|
10
|
+
suite "Bitwise"
|
11
|
+
[ suite "and"
|
12
|
+
[ test "and with 32 bit integers" <| assertEqual 1 (Bitwise.and 5 3)
|
13
|
+
, test "and with 0 as first argument" <| assertEqual 0 (Bitwise.and 0 1450)
|
14
|
+
, test "and with 0 as second argument" <| assertEqual 0 (Bitwise.and 274 0)
|
15
|
+
, test "and with -1 as first argument" <| assertEqual 2671 (Bitwise.and -1 2671)
|
16
|
+
, test "and with -1 as second argument" <| assertEqual 96 (Bitwise.and 96 -1)
|
17
|
+
]
|
18
|
+
, suite "or"
|
19
|
+
[ test "or with 32 bit integers" <| assertEqual 15 (Bitwise.or 9 14)
|
20
|
+
, test "or with 0 as first argument" <| assertEqual 843 (Bitwise.or 0 843)
|
21
|
+
, test "or with 0 as second argument" <| assertEqual 19 (Bitwise.or 19 0)
|
22
|
+
, test "or with -1 as first argument" <| assertEqual -1 (Bitwise.or -1 2360)
|
23
|
+
, test "or with -1 as second argument" <| assertEqual -1 (Bitwise.or 3 -1)
|
24
|
+
]
|
25
|
+
, suite "xor"
|
26
|
+
[ test "xor with 32 bit integers" <| assertEqual 604 (Bitwise.xor 580 24)
|
27
|
+
, test "xor with 0 as first argument" <| assertEqual 56 (Bitwise.xor 0 56)
|
28
|
+
, test "xor with 0 as second argument" <| assertEqual -268 (Bitwise.xor -268 0)
|
29
|
+
, test "xor with -1 as first argument" <| assertEqual -25 (Bitwise.xor -1 24)
|
30
|
+
, test "xor with -1 as second argument" <| assertEqual 25601 (Bitwise.xor -25602 -1)
|
31
|
+
]
|
32
|
+
, suite "complement"
|
33
|
+
[ test "complement a positive" <| assertEqual -9 (Bitwise.complement 8)
|
34
|
+
, test "complement a negative" <| assertEqual 278 (Bitwise.complement -279)
|
35
|
+
]
|
36
|
+
, suite "shiftLeft"
|
37
|
+
[ test "8 `shiftLeft` 1 == 16" <| assertEqual 16 (Bitwise.shiftLeft 8 1)
|
38
|
+
, test "8 `shiftLeft` 2 == 32" <| assertEqual 32 (Bitwise.shiftLeft 8 2)
|
39
|
+
]
|
40
|
+
, suite "shiftRight"
|
41
|
+
[ test "32 `shiftRight` 1 == 16" <| assertEqual 16 (Bitwise.shiftRight 32 1)
|
42
|
+
, test "32 `shiftRight` 2 == 8" <| assertEqual 8 (Bitwise.shiftRight 32 2)
|
43
|
+
, test "-32 `shiftRight` 1 == -16" <| assertEqual -16 (Bitwise.shiftRight -32 1)
|
44
|
+
]
|
45
|
+
, suite "shiftRightLogical"
|
46
|
+
[ test "32 `shiftRightLogical` 1 == 16" <| assertEqual 16 (Bitwise.shiftRightLogical 32 1)
|
47
|
+
, test "32 `shiftRightLogical` 2 == 8" <| assertEqual 8 (Bitwise.shiftRightLogical 32 2)
|
48
|
+
, test "-32 `shiftRightLogical` 1 == 2147483632" <| assertEqual 2147483632 (Bitwise.shiftRightLogical -32 1)
|
49
|
+
]
|
50
|
+
]
|
@@ -0,0 +1,93 @@
|
|
1
|
+
module Test.Char exposing (tests)
|
2
|
+
|
3
|
+
import Basics exposing (..)
|
4
|
+
import Char exposing (..)
|
5
|
+
import List
|
6
|
+
|
7
|
+
import ElmTest exposing (..)
|
8
|
+
|
9
|
+
|
10
|
+
lower = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ]
|
11
|
+
upper = [ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' ]
|
12
|
+
dec = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' ]
|
13
|
+
oct = List.take 8 dec
|
14
|
+
hexLower = List.take 6 lower
|
15
|
+
hexUpper = List.take 6 upper
|
16
|
+
hex = List.append hexLower hexUpper |> List.append dec
|
17
|
+
|
18
|
+
lowerCodes = [97..(97 + List.length lower - 1)]
|
19
|
+
upperCodes = [65..(65 + List.length upper - 1)]
|
20
|
+
decCodes = [48..(48 + List.length dec - 1)]
|
21
|
+
|
22
|
+
oneOf : List a -> a -> Bool
|
23
|
+
oneOf = flip List.member
|
24
|
+
|
25
|
+
|
26
|
+
tests : Test
|
27
|
+
tests = suite "Char"
|
28
|
+
[ suite "toCode"
|
29
|
+
[ test "a-z" <| assertEqual (lowerCodes) (List.map toCode lower)
|
30
|
+
, test "A-Z" <| assertEqual (upperCodes) (List.map toCode upper)
|
31
|
+
, test "0-9" <| assertEqual (decCodes) (List.map toCode dec)
|
32
|
+
]
|
33
|
+
|
34
|
+
, suite "fromCode"
|
35
|
+
[ test "a-z" <| assertEqual (lower) (List.map fromCode lowerCodes)
|
36
|
+
, test "A-Z" <| assertEqual (upper) (List.map fromCode upperCodes)
|
37
|
+
, test "0-9" <| assertEqual (dec) (List.map fromCode decCodes)
|
38
|
+
]
|
39
|
+
|
40
|
+
, suite "toLocaleLower"
|
41
|
+
[ test "a-z" <| assertEqual (lower) (List.map toLocaleLower lower)
|
42
|
+
, test "A-Z" <| assertEqual (lower) (List.map toLocaleLower upper)
|
43
|
+
, test "0-9" <| assertEqual (dec) (List.map toLocaleLower dec)
|
44
|
+
]
|
45
|
+
|
46
|
+
, suite "toLocaleUpper"
|
47
|
+
[ test "a-z" <| assertEqual (upper) (List.map toLocaleUpper lower)
|
48
|
+
, test "A-Z" <| assertEqual (upper) (List.map toLocaleUpper upper)
|
49
|
+
, test "0-9" <| assertEqual (dec) (List.map toLocaleUpper dec)
|
50
|
+
]
|
51
|
+
|
52
|
+
, suite "toLower"
|
53
|
+
[ test "a-z" <| assertEqual (lower) (List.map toLower lower)
|
54
|
+
, test "A-Z" <| assertEqual (lower) (List.map toLower upper)
|
55
|
+
, test "0-9" <| assertEqual (dec) (List.map toLower dec)
|
56
|
+
]
|
57
|
+
|
58
|
+
, suite "toUpper"
|
59
|
+
[ test "a-z" <| assertEqual (upper) (List.map toUpper lower)
|
60
|
+
, test "A-Z" <| assertEqual (upper) (List.map toUpper upper)
|
61
|
+
, test "0-9" <| assertEqual (dec) (List.map toUpper dec)
|
62
|
+
]
|
63
|
+
|
64
|
+
, suite "isLower"
|
65
|
+
[ test "a-z" <| assertEqual (True) (List.all isLower lower)
|
66
|
+
, test "A-Z" <| assertEqual (False) (List.any isLower upper)
|
67
|
+
, test "0-9" <| assertEqual (False) (List.any isLower dec)
|
68
|
+
]
|
69
|
+
|
70
|
+
, suite "isUpper"
|
71
|
+
[ test "a-z" <| assertEqual (False) (List.any isUpper lower)
|
72
|
+
, test "A-Z" <| assertEqual (True) (List.all isUpper upper)
|
73
|
+
, test "0-9" <| assertEqual (False) (List.any isUpper dec)
|
74
|
+
]
|
75
|
+
|
76
|
+
, suite "isDigit"
|
77
|
+
[ test "a-z" <| assertEqual (False) (List.any isDigit lower)
|
78
|
+
, test "A-Z" <| assertEqual (False) (List.any isDigit upper)
|
79
|
+
, test "0-9" <| assertEqual (True) (List.all isDigit dec)
|
80
|
+
]
|
81
|
+
|
82
|
+
, suite "isHexDigit"
|
83
|
+
[ test "a-z" <| assertEqual (List.map (oneOf hex) lower) (List.map isHexDigit lower)
|
84
|
+
, test "A-Z" <| assertEqual (List.map (oneOf hex) upper) (List.map isHexDigit upper)
|
85
|
+
, test "0-9" <| assertEqual (True) (List.all isHexDigit dec)
|
86
|
+
]
|
87
|
+
|
88
|
+
, suite "isOctDigit"
|
89
|
+
[ test "a-z" <| assertEqual (False) (List.any isOctDigit lower)
|
90
|
+
, test "A-Z" <| assertEqual (False) (List.any isOctDigit upper)
|
91
|
+
, test "0-9" <| assertEqual (List.map (oneOf oct) dec) (List.map isOctDigit dec)
|
92
|
+
]
|
93
|
+
]
|
@@ -0,0 +1,59 @@
|
|
1
|
+
module Test.CodeGen exposing (tests)
|
2
|
+
|
3
|
+
import Basics exposing (..)
|
4
|
+
import ElmTest exposing (..)
|
5
|
+
|
6
|
+
import Maybe
|
7
|
+
import Maybe exposing (..)
|
8
|
+
|
9
|
+
|
10
|
+
type Wrapper a = Wrapper a
|
11
|
+
|
12
|
+
|
13
|
+
casePrime m' =
|
14
|
+
case m' of
|
15
|
+
Just x -> x
|
16
|
+
Nothing -> 0
|
17
|
+
|
18
|
+
patternPrime =
|
19
|
+
case Just 42 of
|
20
|
+
Just x' -> x'
|
21
|
+
Nothing -> 0
|
22
|
+
|
23
|
+
letQualified =
|
24
|
+
let (Wrapper x) = Wrapper 42
|
25
|
+
in x
|
26
|
+
|
27
|
+
caseQualified =
|
28
|
+
case Just 42 of
|
29
|
+
Maybe.Just x -> x
|
30
|
+
Nothing -> 0
|
31
|
+
|
32
|
+
caseScope : String
|
33
|
+
caseScope =
|
34
|
+
case "Not this one!" of
|
35
|
+
string ->
|
36
|
+
case "Hi" of
|
37
|
+
string -> string
|
38
|
+
|
39
|
+
tests : Test
|
40
|
+
tests =
|
41
|
+
let primes =
|
42
|
+
suite "Primes"
|
43
|
+
[ test "case" <| assertEqual 42 (casePrime (Just 42))
|
44
|
+
, test "pattern" <| assertEqual 42 patternPrime
|
45
|
+
]
|
46
|
+
qualifiedPatterns =
|
47
|
+
suite "Qualified Patterns"
|
48
|
+
[ test "let" <| assertEqual 42 letQualified
|
49
|
+
, test "case" <| assertEqual 42 caseQualified
|
50
|
+
]
|
51
|
+
scope =
|
52
|
+
suite "Scoping"
|
53
|
+
[ test "case" <| assertEqual "Hi" caseScope ]
|
54
|
+
in
|
55
|
+
suite "CodeGen"
|
56
|
+
[ primes
|
57
|
+
, qualifiedPatterns
|
58
|
+
, scope
|
59
|
+
]
|
@@ -0,0 +1,79 @@
|
|
1
|
+
module Test.Dict exposing (tests)
|
2
|
+
|
3
|
+
import Basics exposing (..)
|
4
|
+
import Dict
|
5
|
+
import List
|
6
|
+
import Maybe exposing (..)
|
7
|
+
|
8
|
+
import ElmTest exposing (..)
|
9
|
+
|
10
|
+
animals : Dict.Dict String String
|
11
|
+
animals = Dict.fromList [ ("Tom", "cat"), ("Jerry", "mouse") ]
|
12
|
+
|
13
|
+
tests : Test
|
14
|
+
tests =
|
15
|
+
let buildTests = suite "build Tests"
|
16
|
+
[ test "empty" <| assertEqual (Dict.fromList []) (Dict.empty)
|
17
|
+
, test "singleton" <| assertEqual (Dict.fromList [("k","v")]) (Dict.singleton "k" "v")
|
18
|
+
, test "insert" <| assertEqual (Dict.fromList [("k","v")]) (Dict.insert "k" "v" Dict.empty)
|
19
|
+
, test "insert replace" <| assertEqual (Dict.fromList [("k","vv")]) (Dict.insert "k" "vv" (Dict.singleton "k" "v"))
|
20
|
+
, test "update" <| assertEqual (Dict.fromList [("k","vv")]) (Dict.update "k" (\v->Just "vv") (Dict.singleton "k" "v"))
|
21
|
+
, test "update Nothing" <| assertEqual Dict.empty (Dict.update "k" (\v->Nothing) (Dict.singleton "k" "v"))
|
22
|
+
, test "remove" <| assertEqual Dict.empty (Dict.remove "k" (Dict.singleton "k" "v"))
|
23
|
+
, test "remove not found" <| assertEqual (Dict.singleton "k" "v") (Dict.remove "kk" (Dict.singleton "k" "v"))
|
24
|
+
]
|
25
|
+
queryTests = suite "query Tests"
|
26
|
+
[ test "member 1" <| assertEqual True (Dict.member "Tom" animals)
|
27
|
+
, test "member 2" <| assertEqual False (Dict.member "Spike" animals)
|
28
|
+
, test "get 1" <| assertEqual (Just "cat") (Dict.get "Tom" animals)
|
29
|
+
, test "get 2" <| assertEqual Nothing (Dict.get "Spike" animals)
|
30
|
+
, test "size of empty dictionary" <| assertEqual 0 (Dict.size Dict.empty)
|
31
|
+
, test "size of example dictionary" <| assertEqual 2 (Dict.size animals)
|
32
|
+
]
|
33
|
+
combineTests = suite "combine Tests"
|
34
|
+
[ test "union" <| assertEqual animals (Dict.union (Dict.singleton "Jerry" "mouse") (Dict.singleton "Tom" "cat"))
|
35
|
+
, test "union collison" <| assertEqual (Dict.singleton "Tom" "cat") (Dict.union (Dict.singleton "Tom" "cat") (Dict.singleton "Tom" "mouse"))
|
36
|
+
, test "intersect" <| assertEqual (Dict.singleton "Tom" "cat") (Dict.intersect animals (Dict.singleton "Tom" "cat"))
|
37
|
+
, test "diff" <| assertEqual (Dict.singleton "Jerry" "mouse") (Dict.diff animals (Dict.singleton "Tom" "cat"))
|
38
|
+
]
|
39
|
+
transformTests = suite "transform Tests"
|
40
|
+
[ test "filter" <| assertEqual (Dict.singleton "Tom" "cat") (Dict.filter (\k v -> k == "Tom") animals)
|
41
|
+
, test "partition" <| assertEqual (Dict.singleton "Tom" "cat", Dict.singleton "Jerry" "mouse") (Dict.partition (\k v -> k == "Tom") animals)
|
42
|
+
]
|
43
|
+
mergeTests =
|
44
|
+
let
|
45
|
+
insertBoth key leftVal rightVal dict =
|
46
|
+
Dict.insert key (leftVal ++ rightVal) dict
|
47
|
+
s1 =
|
48
|
+
Dict.empty |> Dict.insert "u1" [ 1 ]
|
49
|
+
s2 =
|
50
|
+
Dict.empty |> Dict.insert "u2" [ 2 ]
|
51
|
+
s23 =
|
52
|
+
Dict.empty |> Dict.insert "u2" [ 3 ]
|
53
|
+
b1 =
|
54
|
+
List.map (\i -> (i, [i])) [1..10] |> Dict.fromList
|
55
|
+
b2 =
|
56
|
+
List.map (\i -> (i, [i])) [5..15] |> Dict.fromList
|
57
|
+
bExpected =
|
58
|
+
[(1,[1]),(2,[2]),(3,[3]),(4,[4]),(5,[5,5]),(6,[6,6]),(7,[7,7]),(8,[8,8]),(9,[9,9]),(10,[10,10]),(11,[11]),(12,[12]),(13,[13]),(14,[14]),(15,[15])]
|
59
|
+
in
|
60
|
+
suite "merge Tests"
|
61
|
+
[ test "merge empties" <| assertEqual (Dict.empty)
|
62
|
+
(Dict.merge Dict.insert insertBoth Dict.insert Dict.empty Dict.empty Dict.empty)
|
63
|
+
, test "merge singletons in order" <| assertEqual [("u1", [1]), ("u2", [2])]
|
64
|
+
((Dict.merge Dict.insert insertBoth Dict.insert s1 s2 Dict.empty) |> Dict.toList)
|
65
|
+
, test "merge singletons out of order" <| assertEqual [("u1", [1]), ("u2", [2])]
|
66
|
+
((Dict.merge Dict.insert insertBoth Dict.insert s2 s1 Dict.empty) |> Dict.toList)
|
67
|
+
, test "merge with duplicate key" <| assertEqual [("u2", [2, 3])]
|
68
|
+
((Dict.merge Dict.insert insertBoth Dict.insert s2 s23 Dict.empty) |> Dict.toList)
|
69
|
+
, test "partially overlapping" <| assertEqual bExpected
|
70
|
+
((Dict.merge Dict.insert insertBoth Dict.insert b1 b2 Dict.empty) |> Dict.toList)
|
71
|
+
]
|
72
|
+
in
|
73
|
+
suite "Dict Tests"
|
74
|
+
[ buildTests
|
75
|
+
, queryTests
|
76
|
+
, combineTests
|
77
|
+
, transformTests
|
78
|
+
, mergeTests
|
79
|
+
]
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Test.Equality exposing (tests)
|
2
|
+
|
3
|
+
import Basics exposing (..)
|
4
|
+
import Maybe exposing (..)
|
5
|
+
|
6
|
+
import ElmTest exposing (..)
|
7
|
+
|
8
|
+
type Different
|
9
|
+
= A String
|
10
|
+
| B (List Int)
|
11
|
+
|
12
|
+
tests : Test
|
13
|
+
tests =
|
14
|
+
let diffTests = suite "ADT equality"
|
15
|
+
[ test "As eq" <| assert (A "a" == A "a")
|
16
|
+
, test "Bs eq" <| assert (B [1] == B [1])
|
17
|
+
, test "A left neq" <| assert (A "a" /= B [1])
|
18
|
+
, test "A left neq" <| assert (B [1] /= A "a")
|
19
|
+
]
|
20
|
+
recordTests = suite "Record equality"
|
21
|
+
[ test "empty same" <| assert ({} == {})
|
22
|
+
, test "ctor same" <| assert ({field = Just 3} == {field = Just 3})
|
23
|
+
, test "ctor same, special case" <| assert ({ctor = Just 3} == {ctor = Just 3})
|
24
|
+
, test "ctor diff" <| assert ({field = Just 3} /= {field = Nothing})
|
25
|
+
, test "ctor diff, special case" <| assert ({ctor = Just 3} /= {ctor = Nothing})
|
26
|
+
]
|
27
|
+
in
|
28
|
+
suite "Equality Tests" [diffTests, recordTests]
|
@@ -0,0 +1,83 @@
|
|
1
|
+
module Test.Json exposing (tests)
|
2
|
+
|
3
|
+
import Basics exposing (..)
|
4
|
+
import Result exposing (..)
|
5
|
+
import Json.Decode as Json exposing ((:=))
|
6
|
+
import String
|
7
|
+
|
8
|
+
import ElmTest exposing (..)
|
9
|
+
|
10
|
+
|
11
|
+
tests : Test
|
12
|
+
tests =
|
13
|
+
suite "Json decode"
|
14
|
+
[ intTests
|
15
|
+
, customTests
|
16
|
+
]
|
17
|
+
|
18
|
+
|
19
|
+
intTests : Test
|
20
|
+
intTests =
|
21
|
+
let
|
22
|
+
testInt val str =
|
23
|
+
case Json.decodeString Json.int str of
|
24
|
+
Ok _ ->
|
25
|
+
assertEqual val True
|
26
|
+
|
27
|
+
Err _ ->
|
28
|
+
assertEqual val False
|
29
|
+
in
|
30
|
+
suite "Json decode int"
|
31
|
+
[ test "whole int" <| testInt True "4"
|
32
|
+
, test "-whole int" <| testInt True "-4"
|
33
|
+
, test "whole float" <| testInt True "4.0"
|
34
|
+
, test "-whole float" <| testInt True "-4.0"
|
35
|
+
, test "large int" <| testInt True "1801439850948"
|
36
|
+
, test "-large int" <| testInt True "-1801439850948"
|
37
|
+
, test "float" <| testInt False "4.2"
|
38
|
+
, test "-float" <| testInt False "-4.2"
|
39
|
+
, test "Infinity" <| testInt False "Infinity"
|
40
|
+
, test "-Infinity" <| testInt False "-Infinity"
|
41
|
+
, test "NaN" <| testInt False "NaN"
|
42
|
+
, test "-NaN" <| testInt False "-NaN"
|
43
|
+
, test "true" <| testInt False "true"
|
44
|
+
, test "false" <| testInt False "false"
|
45
|
+
, test "string" <| testInt False "\"string\""
|
46
|
+
, test "object" <| testInt False "{}"
|
47
|
+
, test "null" <| testInt False "null"
|
48
|
+
, test "undefined" <| testInt False "undefined"
|
49
|
+
, test "Decoder expects object finds array, was crashing runtime." <|
|
50
|
+
assertEqual
|
51
|
+
(Err "Expecting an object but instead got: []")
|
52
|
+
(Json.decodeString (Json.dict Json.float) "[]")
|
53
|
+
]
|
54
|
+
|
55
|
+
|
56
|
+
customTests : Test
|
57
|
+
customTests =
|
58
|
+
let
|
59
|
+
jsonString =
|
60
|
+
"""{ "foo": "bar" }"""
|
61
|
+
|
62
|
+
customErrorMessage =
|
63
|
+
"I want to see this message!"
|
64
|
+
|
65
|
+
myDecoder =
|
66
|
+
Json.customDecoder ("foo" := Json.string) (\_ -> Err customErrorMessage)
|
67
|
+
|
68
|
+
assertion =
|
69
|
+
case Json.decodeString myDecoder jsonString of
|
70
|
+
Ok _ ->
|
71
|
+
fail "expected `customDecoder` to produce a value of type Err, but got Ok"
|
72
|
+
|
73
|
+
Err message ->
|
74
|
+
if String.contains customErrorMessage message then
|
75
|
+
pass
|
76
|
+
|
77
|
+
else
|
78
|
+
fail <|
|
79
|
+
"expected `customDecoder` to preserve user's error message '"
|
80
|
+
++ customErrorMessage ++ "', but instead got: " ++ message
|
81
|
+
in
|
82
|
+
test "customDecoder preserves user error messages" assertion
|
83
|
+
|