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,541 @@
|
|
1
|
+
module VirtualDom.Overlay exposing
|
2
|
+
( State, none, corruptImport, badMetadata
|
3
|
+
, Msg, close, assessImport
|
4
|
+
, isBlocking
|
5
|
+
, Config
|
6
|
+
, Block
|
7
|
+
, view
|
8
|
+
, viewImportExport
|
9
|
+
)
|
10
|
+
|
11
|
+
import Json.Decode as Decode
|
12
|
+
import Json.Encode as Encode
|
13
|
+
import VirtualDom.Helpers exposing (..)
|
14
|
+
import VirtualDom.Metadata as Metadata exposing (Metadata)
|
15
|
+
import VirtualDom.Report as Report exposing (Report)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
type State
|
20
|
+
= None
|
21
|
+
| BadMetadata Metadata.Error
|
22
|
+
| BadImport Report
|
23
|
+
| RiskyImport Report Encode.Value
|
24
|
+
|
25
|
+
|
26
|
+
none : State
|
27
|
+
none =
|
28
|
+
None
|
29
|
+
|
30
|
+
|
31
|
+
corruptImport : State
|
32
|
+
corruptImport =
|
33
|
+
BadImport Report.CorruptHistory
|
34
|
+
|
35
|
+
|
36
|
+
badMetadata : Metadata.Error -> State
|
37
|
+
badMetadata =
|
38
|
+
BadMetadata
|
39
|
+
|
40
|
+
|
41
|
+
isBlocking : State -> Bool
|
42
|
+
isBlocking state =
|
43
|
+
case state of
|
44
|
+
None ->
|
45
|
+
False
|
46
|
+
|
47
|
+
_ ->
|
48
|
+
True
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
-- UPDATE
|
53
|
+
|
54
|
+
|
55
|
+
type Msg = Cancel | Proceed
|
56
|
+
|
57
|
+
|
58
|
+
close : Msg -> State -> Maybe Encode.Value
|
59
|
+
close msg state =
|
60
|
+
case state of
|
61
|
+
None ->
|
62
|
+
Nothing
|
63
|
+
|
64
|
+
BadMetadata _ ->
|
65
|
+
Nothing
|
66
|
+
|
67
|
+
BadImport _ ->
|
68
|
+
Nothing
|
69
|
+
|
70
|
+
RiskyImport _ rawHistory ->
|
71
|
+
case msg of
|
72
|
+
Cancel ->
|
73
|
+
Nothing
|
74
|
+
|
75
|
+
Proceed ->
|
76
|
+
Just rawHistory
|
77
|
+
|
78
|
+
|
79
|
+
assessImport : Metadata -> String -> Result State Encode.Value
|
80
|
+
assessImport metadata jsonString =
|
81
|
+
case Decode.decodeString uploadDecoder jsonString of
|
82
|
+
Err _ ->
|
83
|
+
Err corruptImport
|
84
|
+
|
85
|
+
Ok (foreignMetadata, rawHistory) ->
|
86
|
+
let
|
87
|
+
report =
|
88
|
+
Metadata.check foreignMetadata metadata
|
89
|
+
in
|
90
|
+
case Report.evaluate report of
|
91
|
+
Report.Impossible ->
|
92
|
+
Err (BadImport report)
|
93
|
+
|
94
|
+
Report.Risky ->
|
95
|
+
Err (RiskyImport report rawHistory)
|
96
|
+
|
97
|
+
Report.Fine ->
|
98
|
+
Ok rawHistory
|
99
|
+
|
100
|
+
|
101
|
+
uploadDecoder : Decode.Decoder (Metadata, Encode.Value)
|
102
|
+
uploadDecoder =
|
103
|
+
Decode.map2 (,)
|
104
|
+
(Decode.field "metadata" Metadata.decoder)
|
105
|
+
(Decode.field "history" Decode.value)
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
-- VIEW
|
110
|
+
|
111
|
+
|
112
|
+
type alias Config msg =
|
113
|
+
{ resume : msg
|
114
|
+
, open : msg
|
115
|
+
, importHistory : msg
|
116
|
+
, exportHistory : msg
|
117
|
+
, wrap : Msg -> msg
|
118
|
+
}
|
119
|
+
|
120
|
+
|
121
|
+
type Block = Normal | Pause | Message
|
122
|
+
|
123
|
+
|
124
|
+
view : Config msg -> Bool -> Bool -> Int -> State -> ( Block, Node msg )
|
125
|
+
view config isPaused isOpen numMsgs state =
|
126
|
+
let
|
127
|
+
(block, nodes) =
|
128
|
+
viewHelp config isPaused isOpen numMsgs state
|
129
|
+
in
|
130
|
+
( block
|
131
|
+
, div [ class "elm-overlay" ] (styles :: nodes)
|
132
|
+
)
|
133
|
+
|
134
|
+
|
135
|
+
viewHelp : Config msg -> Bool -> Bool -> Int -> State -> ( Block, List (Node msg) )
|
136
|
+
viewHelp config isPaused isOpen numMsgs state =
|
137
|
+
case state of
|
138
|
+
None ->
|
139
|
+
let
|
140
|
+
miniControls =
|
141
|
+
if isOpen then [] else [ viewMiniControls config numMsgs ]
|
142
|
+
in
|
143
|
+
( if isPaused then Pause else Normal
|
144
|
+
, if isPaused && not isOpen then
|
145
|
+
viewResume config :: miniControls
|
146
|
+
else
|
147
|
+
miniControls
|
148
|
+
)
|
149
|
+
|
150
|
+
BadMetadata badMetadata ->
|
151
|
+
viewMessage config
|
152
|
+
"Cannot use Import or Export"
|
153
|
+
(viewBadMetadata badMetadata)
|
154
|
+
(Accept "Ok")
|
155
|
+
|
156
|
+
BadImport report ->
|
157
|
+
viewMessage config
|
158
|
+
"Cannot Import History"
|
159
|
+
(viewReport True report)
|
160
|
+
(Accept "Ok")
|
161
|
+
|
162
|
+
RiskyImport report _ ->
|
163
|
+
viewMessage config
|
164
|
+
"Warning"
|
165
|
+
(viewReport False report)
|
166
|
+
(Choose "Cancel" "Import Anyway")
|
167
|
+
|
168
|
+
|
169
|
+
viewResume config =
|
170
|
+
div [ class "elm-overlay-resume", onClick config.resume ]
|
171
|
+
[ div [class "elm-overlay-resume-words"] [text "Click to Resume"] ]
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
-- VIEW MESSAGE
|
176
|
+
|
177
|
+
|
178
|
+
viewMessage : Config msg -> String -> List (Node msg) -> Buttons -> ( Block, List (Node msg) )
|
179
|
+
viewMessage config title details buttons =
|
180
|
+
( Message
|
181
|
+
, [ div [ class "elm-overlay-message" ]
|
182
|
+
[ div [ class "elm-overlay-message-title" ] [ text title ]
|
183
|
+
, div [ class "elm-overlay-message-details" ] details
|
184
|
+
, map config.wrap (viewButtons buttons)
|
185
|
+
]
|
186
|
+
]
|
187
|
+
)
|
188
|
+
|
189
|
+
|
190
|
+
viewReport : Bool -> Report -> List (Node msg)
|
191
|
+
viewReport isBad report =
|
192
|
+
case report of
|
193
|
+
Report.CorruptHistory ->
|
194
|
+
[ text "Looks like this history file is corrupt. I cannot understand it."
|
195
|
+
]
|
196
|
+
|
197
|
+
Report.VersionChanged old new ->
|
198
|
+
[ text <|
|
199
|
+
"This history was created with Elm "
|
200
|
+
++ old ++ ", but you are using Elm "
|
201
|
+
++ new ++ " right now."
|
202
|
+
]
|
203
|
+
|
204
|
+
Report.MessageChanged old new ->
|
205
|
+
[ text <|
|
206
|
+
"To import some other history, the overall message type must"
|
207
|
+
++ " be the same. The old history has "
|
208
|
+
, viewCode old
|
209
|
+
, text " messages, but the new program works with "
|
210
|
+
, viewCode new
|
211
|
+
, text " messages."
|
212
|
+
]
|
213
|
+
|
214
|
+
Report.SomethingChanged changes ->
|
215
|
+
[ node "p" [] [ text (if isBad then explanationBad else explanationRisky) ]
|
216
|
+
, node "ul" [] (List.map viewChange changes)
|
217
|
+
]
|
218
|
+
|
219
|
+
|
220
|
+
explanationBad : String
|
221
|
+
explanationBad = """
|
222
|
+
The messages in this history do not match the messages handled by your
|
223
|
+
program. I noticed changes in the following types:
|
224
|
+
"""
|
225
|
+
|
226
|
+
explanationRisky : String
|
227
|
+
explanationRisky = """
|
228
|
+
This history seems old. It will work with this program, but some
|
229
|
+
messages have been added since the history was created:
|
230
|
+
"""
|
231
|
+
|
232
|
+
|
233
|
+
viewCode : String -> Node msg
|
234
|
+
viewCode name =
|
235
|
+
node "code" [] [ text name ]
|
236
|
+
|
237
|
+
|
238
|
+
viewChange : Report.Change -> Node msg
|
239
|
+
viewChange change =
|
240
|
+
node "li" [] <|
|
241
|
+
case change of
|
242
|
+
Report.AliasChange name ->
|
243
|
+
[ span [ class "elm-overlay-message-details-type" ] [ viewCode name ]
|
244
|
+
]
|
245
|
+
|
246
|
+
Report.UnionChange name { removed, changed, added, argsMatch } ->
|
247
|
+
[ span [ class "elm-overlay-message-details-type" ] [ viewCode name ]
|
248
|
+
, node "ul" []
|
249
|
+
[ viewMention removed "Removed "
|
250
|
+
, viewMention changed "Changed "
|
251
|
+
, viewMention added "Added "
|
252
|
+
]
|
253
|
+
, if argsMatch then
|
254
|
+
text ""
|
255
|
+
else
|
256
|
+
text "This may be due to the fact that the type variable names changed."
|
257
|
+
]
|
258
|
+
|
259
|
+
|
260
|
+
viewMention : List String -> String -> Node msg
|
261
|
+
viewMention tags verbed =
|
262
|
+
case List.map viewCode (List.reverse tags) of
|
263
|
+
[] ->
|
264
|
+
text ""
|
265
|
+
|
266
|
+
[tag] ->
|
267
|
+
node "li" []
|
268
|
+
[ text verbed, tag, text "." ]
|
269
|
+
|
270
|
+
[tag2, tag1] ->
|
271
|
+
node "li" []
|
272
|
+
[ text verbed, tag1, text " and ", tag2, text "." ]
|
273
|
+
|
274
|
+
lastTag :: otherTags ->
|
275
|
+
node "li" [] <|
|
276
|
+
text verbed
|
277
|
+
:: List.intersperse (text ", ") (List.reverse otherTags)
|
278
|
+
++ [ text ", and ", lastTag, text "." ]
|
279
|
+
|
280
|
+
|
281
|
+
viewBadMetadata : Metadata.Error -> List (Node msg)
|
282
|
+
viewBadMetadata {message, problems} =
|
283
|
+
[ node "p" []
|
284
|
+
[ text "The "
|
285
|
+
, viewCode message
|
286
|
+
, text " type of your program cannot be reliably serialized for history files."
|
287
|
+
]
|
288
|
+
, node "p" [] [ text "Functions cannot be serialized, nor can values that contain functions. This is a problem in these places:" ]
|
289
|
+
, node "ul" [] (List.map viewProblemType problems)
|
290
|
+
, node "p" []
|
291
|
+
[ text goodNews1
|
292
|
+
, a [ href "https://guide.elm-lang.org/types/union_types.html" ] [ text "union types" ]
|
293
|
+
, text ", in your messages. From there, your "
|
294
|
+
, viewCode "update"
|
295
|
+
, text goodNews2
|
296
|
+
]
|
297
|
+
]
|
298
|
+
|
299
|
+
|
300
|
+
goodNews1 = """
|
301
|
+
The good news is that having values like this in your message type is not
|
302
|
+
so great in the long run. You are better off using simpler data, like
|
303
|
+
"""
|
304
|
+
|
305
|
+
|
306
|
+
goodNews2 = """
|
307
|
+
function can pattern match on that data and call whatever functions, JSON
|
308
|
+
decoders, etc. you need. This makes the code much more explicit and easy to
|
309
|
+
follow for other readers (or you in a few months!)
|
310
|
+
"""
|
311
|
+
|
312
|
+
|
313
|
+
viewProblemType : Metadata.ProblemType -> Node msg
|
314
|
+
viewProblemType { name, problems } =
|
315
|
+
node "li" []
|
316
|
+
[ viewCode name
|
317
|
+
, text (" can contain " ++ addCommas (List.map problemToString problems) ++ ".")
|
318
|
+
]
|
319
|
+
|
320
|
+
|
321
|
+
problemToString : Metadata.Problem -> String
|
322
|
+
problemToString problem =
|
323
|
+
case problem of
|
324
|
+
Metadata.Function ->
|
325
|
+
"functions"
|
326
|
+
|
327
|
+
Metadata.Decoder ->
|
328
|
+
"JSON decoders"
|
329
|
+
|
330
|
+
Metadata.Task ->
|
331
|
+
"tasks"
|
332
|
+
|
333
|
+
Metadata.Process ->
|
334
|
+
"processes"
|
335
|
+
|
336
|
+
Metadata.Socket ->
|
337
|
+
"web sockets"
|
338
|
+
|
339
|
+
Metadata.Request ->
|
340
|
+
"HTTP requests"
|
341
|
+
|
342
|
+
Metadata.Program ->
|
343
|
+
"programs"
|
344
|
+
|
345
|
+
Metadata.VirtualDom ->
|
346
|
+
"virtual DOM values"
|
347
|
+
|
348
|
+
|
349
|
+
addCommas : List String -> String
|
350
|
+
addCommas items =
|
351
|
+
case items of
|
352
|
+
[] ->
|
353
|
+
""
|
354
|
+
|
355
|
+
[item] ->
|
356
|
+
item
|
357
|
+
|
358
|
+
[item1, item2] ->
|
359
|
+
item1 ++ " and " ++ item2
|
360
|
+
|
361
|
+
lastItem :: otherItems ->
|
362
|
+
String.join ", " (otherItems ++ [ " and " ++ lastItem ])
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
-- VIEW MESSAGE BUTTONS
|
367
|
+
|
368
|
+
|
369
|
+
type Buttons
|
370
|
+
= Accept String
|
371
|
+
| Choose String String
|
372
|
+
|
373
|
+
|
374
|
+
viewButtons : Buttons -> Node Msg
|
375
|
+
viewButtons buttons =
|
376
|
+
div [ class "elm-overlay-message-buttons" ] <|
|
377
|
+
case buttons of
|
378
|
+
Accept proceed ->
|
379
|
+
[ node "button" [ onClick Proceed ] [ text proceed ]
|
380
|
+
]
|
381
|
+
|
382
|
+
Choose cancel proceed ->
|
383
|
+
[ node "button" [ onClick Cancel ] [ text cancel ]
|
384
|
+
, node "button" [ onClick Proceed ] [ text proceed ]
|
385
|
+
]
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
-- VIEW MINI CONTROLS
|
390
|
+
|
391
|
+
|
392
|
+
viewMiniControls : Config msg -> Int -> Node msg
|
393
|
+
viewMiniControls config numMsgs =
|
394
|
+
div
|
395
|
+
[ class "elm-mini-controls"
|
396
|
+
]
|
397
|
+
[ div
|
398
|
+
[ onClick config.open
|
399
|
+
, class "elm-mini-controls-button"
|
400
|
+
]
|
401
|
+
[ text ("Explore History (" ++ toString numMsgs ++ ")")
|
402
|
+
]
|
403
|
+
, viewImportExport
|
404
|
+
[class "elm-mini-controls-import-export"]
|
405
|
+
config.importHistory
|
406
|
+
config.exportHistory
|
407
|
+
]
|
408
|
+
|
409
|
+
|
410
|
+
viewImportExport : List (Property msg) -> msg -> msg -> Node msg
|
411
|
+
viewImportExport props importMsg exportMsg =
|
412
|
+
div
|
413
|
+
props
|
414
|
+
[ button importMsg "Import"
|
415
|
+
, text " / "
|
416
|
+
, button exportMsg "Export"
|
417
|
+
]
|
418
|
+
|
419
|
+
|
420
|
+
button : msg -> String -> Node msg
|
421
|
+
button msg label =
|
422
|
+
span [ onClick msg, style [("cursor","pointer")] ] [ text label ]
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
-- STYLE
|
427
|
+
|
428
|
+
|
429
|
+
styles : Node msg
|
430
|
+
styles =
|
431
|
+
node "style" [] [ text """
|
432
|
+
|
433
|
+
.elm-overlay {
|
434
|
+
position: fixed;
|
435
|
+
top: 0;
|
436
|
+
left: 0;
|
437
|
+
width: 100%;
|
438
|
+
height: 100%;
|
439
|
+
color: white;
|
440
|
+
pointer-events: none;
|
441
|
+
font-family: 'Trebuchet MS', 'Lucida Grande', 'Bitstream Vera Sans', 'Helvetica Neue', sans-serif;
|
442
|
+
}
|
443
|
+
|
444
|
+
.elm-overlay-resume {
|
445
|
+
width: 100%;
|
446
|
+
height: 100%;
|
447
|
+
cursor: pointer;
|
448
|
+
text-align: center;
|
449
|
+
pointer-events: auto;
|
450
|
+
background-color: rgba(200, 200, 200, 0.7);
|
451
|
+
}
|
452
|
+
|
453
|
+
.elm-overlay-resume-words {
|
454
|
+
position: absolute;
|
455
|
+
top: calc(50% - 40px);
|
456
|
+
font-size: 80px;
|
457
|
+
line-height: 80px;
|
458
|
+
height: 80px;
|
459
|
+
width: 100%;
|
460
|
+
}
|
461
|
+
|
462
|
+
.elm-mini-controls {
|
463
|
+
position: fixed;
|
464
|
+
bottom: 0;
|
465
|
+
right: 6px;
|
466
|
+
border-radius: 4px;
|
467
|
+
background-color: rgb(61, 61, 61);
|
468
|
+
font-family: monospace;
|
469
|
+
pointer-events: auto;
|
470
|
+
}
|
471
|
+
|
472
|
+
.elm-mini-controls-button {
|
473
|
+
padding: 6px;
|
474
|
+
cursor: pointer;
|
475
|
+
text-align: center;
|
476
|
+
min-width: 24ch;
|
477
|
+
}
|
478
|
+
|
479
|
+
.elm-mini-controls-import-export {
|
480
|
+
padding: 4px 0;
|
481
|
+
font-size: 0.8em;
|
482
|
+
text-align: center;
|
483
|
+
background-color: rgb(50, 50, 50);
|
484
|
+
}
|
485
|
+
|
486
|
+
.elm-overlay-message {
|
487
|
+
position: absolute;
|
488
|
+
width: 600px;
|
489
|
+
height: 100%;
|
490
|
+
padding-left: calc(50% - 300px);
|
491
|
+
padding-right: calc(50% - 300px);
|
492
|
+
background-color: rgba(200, 200, 200, 0.7);
|
493
|
+
pointer-events: auto;
|
494
|
+
}
|
495
|
+
|
496
|
+
.elm-overlay-message-title {
|
497
|
+
font-size: 36px;
|
498
|
+
height: 80px;
|
499
|
+
background-color: rgb(50, 50, 50);
|
500
|
+
padding-left: 22px;
|
501
|
+
vertical-align: middle;
|
502
|
+
line-height: 80px;
|
503
|
+
}
|
504
|
+
|
505
|
+
.elm-overlay-message-details {
|
506
|
+
padding: 8px 20px;
|
507
|
+
overflow-y: auto;
|
508
|
+
max-height: calc(100% - 156px);
|
509
|
+
background-color: rgb(61, 61, 61);
|
510
|
+
}
|
511
|
+
|
512
|
+
.elm-overlay-message-details-type {
|
513
|
+
font-size: 1.5em;
|
514
|
+
}
|
515
|
+
|
516
|
+
.elm-overlay-message-details ul {
|
517
|
+
list-style-type: none;
|
518
|
+
padding-left: 20px;
|
519
|
+
}
|
520
|
+
|
521
|
+
.elm-overlay-message-details ul ul {
|
522
|
+
list-style-type: disc;
|
523
|
+
padding-left: 2em;
|
524
|
+
}
|
525
|
+
|
526
|
+
.elm-overlay-message-details li {
|
527
|
+
margin: 8px 0;
|
528
|
+
}
|
529
|
+
|
530
|
+
.elm-overlay-message-buttons {
|
531
|
+
height: 60px;
|
532
|
+
line-height: 60px;
|
533
|
+
text-align: right;
|
534
|
+
background-color: rgb(50, 50, 50);
|
535
|
+
}
|
536
|
+
|
537
|
+
.elm-overlay-message-buttons button {
|
538
|
+
margin-right: 20px;
|
539
|
+
}
|
540
|
+
|
541
|
+
""" ]
|
@@ -0,0 +1,99 @@
|
|
1
|
+
module VirtualDom.Report exposing
|
2
|
+
( Report(..)
|
3
|
+
, Change(..)
|
4
|
+
, TagChanges
|
5
|
+
, emptyTagChanges
|
6
|
+
, hasTagChanges
|
7
|
+
, Status(..), evaluate
|
8
|
+
)
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
-- REPORTS
|
13
|
+
|
14
|
+
|
15
|
+
type Report
|
16
|
+
= CorruptHistory
|
17
|
+
| VersionChanged String String
|
18
|
+
| MessageChanged String String
|
19
|
+
| SomethingChanged (List Change)
|
20
|
+
|
21
|
+
|
22
|
+
type Change
|
23
|
+
= AliasChange String
|
24
|
+
| UnionChange String TagChanges
|
25
|
+
|
26
|
+
|
27
|
+
type alias TagChanges =
|
28
|
+
{ removed : List String
|
29
|
+
, changed : List String
|
30
|
+
, added : List String
|
31
|
+
, argsMatch : Bool
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
emptyTagChanges : Bool -> TagChanges
|
36
|
+
emptyTagChanges argsMatch =
|
37
|
+
TagChanges [] [] [] argsMatch
|
38
|
+
|
39
|
+
|
40
|
+
hasTagChanges : TagChanges -> Bool
|
41
|
+
hasTagChanges tagChanges =
|
42
|
+
tagChanges == TagChanges [] [] [] True
|
43
|
+
|
44
|
+
|
45
|
+
type Status = Impossible | Risky | Fine
|
46
|
+
|
47
|
+
|
48
|
+
evaluate : Report -> Status
|
49
|
+
evaluate report =
|
50
|
+
case report of
|
51
|
+
CorruptHistory ->
|
52
|
+
Impossible
|
53
|
+
|
54
|
+
VersionChanged _ _ ->
|
55
|
+
Impossible
|
56
|
+
|
57
|
+
MessageChanged _ _ ->
|
58
|
+
Impossible
|
59
|
+
|
60
|
+
SomethingChanged changes ->
|
61
|
+
worstCase Fine (List.map evaluateChange changes)
|
62
|
+
|
63
|
+
|
64
|
+
worstCase : Status -> List Status -> Status
|
65
|
+
worstCase status statusList =
|
66
|
+
case statusList of
|
67
|
+
[] ->
|
68
|
+
status
|
69
|
+
|
70
|
+
Impossible :: _ ->
|
71
|
+
Impossible
|
72
|
+
|
73
|
+
Risky :: rest ->
|
74
|
+
worstCase Risky rest
|
75
|
+
|
76
|
+
Fine :: rest ->
|
77
|
+
worstCase status rest
|
78
|
+
|
79
|
+
|
80
|
+
evaluateChange : Change -> Status
|
81
|
+
evaluateChange change =
|
82
|
+
case change of
|
83
|
+
AliasChange _ ->
|
84
|
+
Impossible
|
85
|
+
|
86
|
+
UnionChange _ { removed, changed, added, argsMatch } ->
|
87
|
+
if not argsMatch || some changed || some removed then
|
88
|
+
Impossible
|
89
|
+
|
90
|
+
else if some added then
|
91
|
+
Risky
|
92
|
+
|
93
|
+
else
|
94
|
+
Fine
|
95
|
+
|
96
|
+
|
97
|
+
some : List a -> Bool
|
98
|
+
some list =
|
99
|
+
not (List.isEmpty list)
|