elm-rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elm/rails/version.rb +1 -1
- metadata +2 -1158
- data/test/pipeline_test.rb +0 -19
- data/test/rails4.2/Gemfile +0 -50
- data/test/rails4.2/Gemfile.lock +0 -170
- data/test/rails4.2/README.rdoc +0 -28
- data/test/rails4.2/Rakefile +0 -6
- data/test/rails4.2/app/assets/elm/App.elm +0 -7
- data/test/rails4.2/app/assets/javascripts/application.js +0 -1
- data/test/rails4.2/app/assets/stylesheets/application.css +0 -15
- data/test/rails4.2/app/controllers/application_controller.rb +0 -5
- data/test/rails4.2/app/helpers/application_helper.rb +0 -2
- data/test/rails4.2/app/views/layouts/application.html.erb +0 -14
- data/test/rails4.2/bin/bundle +0 -3
- data/test/rails4.2/bin/rails +0 -9
- data/test/rails4.2/bin/rake +0 -9
- data/test/rails4.2/bin/setup +0 -29
- data/test/rails4.2/bin/spring +0 -16
- data/test/rails4.2/config.ru +0 -4
- data/test/rails4.2/config/application.rb +0 -26
- data/test/rails4.2/config/boot.rb +0 -3
- data/test/rails4.2/config/database.yml +0 -25
- data/test/rails4.2/config/environment.rb +0 -5
- data/test/rails4.2/config/environments/development.rb +0 -41
- data/test/rails4.2/config/environments/production.rb +0 -79
- data/test/rails4.2/config/environments/test.rb +0 -42
- data/test/rails4.2/config/initializers/assets.rb +0 -11
- data/test/rails4.2/config/initializers/backtrace_silencers.rb +0 -7
- data/test/rails4.2/config/initializers/cookies_serializer.rb +0 -3
- data/test/rails4.2/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/rails4.2/config/initializers/inflections.rb +0 -16
- data/test/rails4.2/config/initializers/mime_types.rb +0 -4
- data/test/rails4.2/config/initializers/session_store.rb +0 -3
- data/test/rails4.2/config/initializers/wrap_parameters.rb +0 -14
- data/test/rails4.2/config/locales/en.yml +0 -23
- data/test/rails4.2/config/routes.rb +0 -56
- data/test/rails4.2/config/secrets.yml +0 -22
- data/test/rails4.2/db/seeds.rb +0 -7
- data/test/rails4.2/elm-package.json +0 -15
- 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 +0 -54
- 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 +0 -125
- 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 +0 -7
- 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 +0 -42
- 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 +0 -165
- 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 +0 -32
- 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 +0 -2
- 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 +0 -916
- 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 +0 -62
- 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 +0 -10
- 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 +0 -545
- 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 +0 -72
- 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 +0 -14
- 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 +0 -5
- 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 +0 -9
- 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 +0 -3
- 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 +0 -378
- 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 +0 -16
- 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 +0 -141
- 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 +0 -130
- 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 +0 -43
- 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 +0 -196
- 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 +0 -187
- 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 +0 -26
- 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 +0 -349
- 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 +0 -114
- 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 +0 -3
- 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 +0 -3
- 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 +0 -124
- 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 +0 -622
- 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 +0 -1353
- 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 +0 -45
- 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 +0 -367
- 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 +0 -393
- 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 +0 -793
- 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 +0 -98
- 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 +0 -30
- 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 +0 -2
- data/test/rails4.2/elm-stuff/exact-dependencies.json +0 -5
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/CONTRIBUTING.md +0 -41
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/LICENSE +0 -30
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/README.md +0 -34
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/changelog.md +0 -143
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/elm-package.json +0 -38
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Array.elm +0 -240
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Basics.elm +0 -655
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Bitwise.elm +0 -90
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Char.elm +0 -103
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Color.elm +0 -456
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Date.elm +0 -150
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Debug.elm +0 -62
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Dict.elm +0 -661
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Decode.elm +0 -520
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Encode.elm +0 -102
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/List.elm +0 -603
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Maybe.elm +0 -157
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Array.js +0 -967
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Basics.js +0 -141
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Bitwise.js +0 -13
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Char.js +0 -14
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Date.js +0 -33
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Debug.js +0 -30
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Json.js +0 -580
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/List.js +0 -137
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Platform.js +0 -560
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Regex.js +0 -119
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Scheduler.js +0 -281
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/String.js +0 -335
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Time.js +0 -27
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Utils.js +0 -489
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform.elm +0 -145
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Cmd.elm +0 -67
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Sub.elm +0 -52
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Process.elm +0 -106
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Random.elm +0 -532
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Regex.elm +0 -148
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Result.elm +0 -210
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Set.elm +0 -168
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/String.elm +0 -464
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Task.elm +0 -278
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Time.elm +0 -243
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/src/Tuple.elm +0 -61
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test.elm +0 -40
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Array.elm +0 -90
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Basics.elm +0 -158
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Bitwise.elm +0 -50
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Char.elm +0 -93
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/CodeGen.elm +0 -59
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Dict.elm +0 -79
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Equality.elm +0 -28
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Json.elm +0 -83
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/List.elm +0 -165
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Regex.elm +0 -46
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Result.elm +0 -60
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Set.elm +0 -29
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/String.elm +0 -41
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/elm-package.json +0 -16
- data/test/rails4.2/elm-stuff/packages/elm-lang/core/5.0.0/tests/run-tests.sh +0 -18
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/LICENSE +0 -30
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/README.md +0 -5
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/elm-package.json +0 -21
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/properties-vs-attributes.md +0 -15
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html.elm +0 -923
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Attributes.elm +0 -1009
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Events.elm +0 -269
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Keyed.elm +0 -48
- data/test/rails4.2/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Lazy.elm +0 -48
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/LICENSE +0 -30
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/README.md +0 -5
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/elm-package.json +0 -17
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/Debug.js +0 -280
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/VirtualDom.js +0 -1881
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom.elm +0 -331
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Debug.elm +0 -567
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Expando.elm +0 -659
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Helpers.elm +0 -137
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/History.elm +0 -290
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Metadata.elm +0 -326
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Overlay.elm +0 -541
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Report.elm +0 -99
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/Native/TestHelpers.js +0 -35
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestCases/Lazy.elm +0 -72
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestHelpers.elm +0 -34
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestMain.elm +0 -18
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/elm-package.json +0 -18
- data/test/rails4.2/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/run-tests.sh +0 -24
- data/test/rails4.2/log/development.log +0 -0
- data/test/rails4.2/public/404.html +0 -67
- data/test/rails4.2/public/422.html +0 -67
- data/test/rails4.2/public/500.html +0 -66
- data/test/rails4.2/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm +0 -7
- data/test/rails4.2/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm.gz +0 -0
- data/test/rails4.2/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js +0 -7832
- data/test/rails4.2/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js.gz +0 -0
- data/test/rails4.2/public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css +0 -16
- 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 +0 -5
- data/test/rails4.2/test/test_helper.rb +0 -10
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/3Z/3ZUHn6AXhav97w7CxzPk35QWKSdt2_NCypMlfBdbups.cache +0 -12
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
- 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 +0 -1
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/8C/8CWOHQ8XpWWEQhSbnexku4svsDm4D6D4khMM1U-hefo.cache +0 -1
- 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 +0 -1
- 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 +0 -2
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/SD/SDBBYwPJLyEQ0kGeBlzlcA-ZfyOrEXYYMADcJmj99CY.cache +0 -1
- 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 +0 -1
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/Xr/Xrv18wc_alopx84_TfluuduEqUFCvzvieMl9h0IONy8.cache +0 -1
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/_0/_0WRX8uYUBKibrKHGMOPi9ffV0Inaw32I7fxq3XqXZE.cache +0 -1
- 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 +0 -1
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/gz/gztd2iOfuGm_FtspKA2TGTb05WC_ma2r-cStMmahKA4.cache +0 -1
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/hU/hUc40B5Z1hDZyLf6j_tnQZtdiKDG5hlWrztJBska0PE.cache +0 -3
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/pu/puuyFOZIeE21lmTrCNiNXukuNcijKwpMdOYC1egNvNg.cache +0 -3
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/tR/tRv7-RPbJTn8ti-ONHftBMGXAAV4zzK02vrO2kOYsMA.cache +0 -1
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/vP/vPP5AGlfEDDH5hIun-dIdpO1CYuIZo_fknD6Gkm2hKE.cache +0 -2
- data/test/rails4.2/tmp/cache/assets/sprockets/v3.0/yv/yvroNANofqgnk7FsbrrvJ5jFI9iXwLYf9WP7_ZKa82k.cache +0 -1
- data/test/rails5.0/Gemfile +0 -51
- data/test/rails5.0/Gemfile.lock +0 -183
- data/test/rails5.0/README.md +0 -24
- data/test/rails5.0/Rakefile +0 -6
- data/test/rails5.0/app/assets/config/manifest.js +0 -3
- data/test/rails5.0/app/assets/elm/App.elm +0 -7
- data/test/rails5.0/app/assets/javascripts/application.js +0 -1
- data/test/rails5.0/app/assets/javascripts/cable.js +0 -13
- data/test/rails5.0/app/assets/stylesheets/application.css +0 -15
- data/test/rails5.0/app/channels/application_cable/channel.rb +0 -4
- data/test/rails5.0/app/channels/application_cable/connection.rb +0 -4
- data/test/rails5.0/app/controllers/application_controller.rb +0 -3
- data/test/rails5.0/app/helpers/application_helper.rb +0 -2
- data/test/rails5.0/app/jobs/application_job.rb +0 -2
- data/test/rails5.0/app/mailers/application_mailer.rb +0 -4
- data/test/rails5.0/app/models/application_record.rb +0 -3
- data/test/rails5.0/app/views/layouts/application.html.erb +0 -14
- data/test/rails5.0/app/views/layouts/mailer.html.erb +0 -13
- data/test/rails5.0/app/views/layouts/mailer.text.erb +0 -1
- data/test/rails5.0/bin/bundle +0 -3
- data/test/rails5.0/bin/rails +0 -9
- data/test/rails5.0/bin/rake +0 -9
- data/test/rails5.0/bin/setup +0 -34
- data/test/rails5.0/bin/spring +0 -16
- data/test/rails5.0/bin/update +0 -29
- data/test/rails5.0/config.ru +0 -5
- data/test/rails5.0/config/application.rb +0 -15
- data/test/rails5.0/config/boot.rb +0 -3
- data/test/rails5.0/config/cable.yml +0 -9
- data/test/rails5.0/config/database.yml +0 -25
- data/test/rails5.0/config/environment.rb +0 -5
- data/test/rails5.0/config/environments/development.rb +0 -54
- data/test/rails5.0/config/environments/production.rb +0 -86
- data/test/rails5.0/config/environments/test.rb +0 -42
- data/test/rails5.0/config/initializers/application_controller_renderer.rb +0 -6
- data/test/rails5.0/config/initializers/assets.rb +0 -11
- data/test/rails5.0/config/initializers/backtrace_silencers.rb +0 -7
- data/test/rails5.0/config/initializers/cookies_serializer.rb +0 -5
- data/test/rails5.0/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/rails5.0/config/initializers/inflections.rb +0 -16
- data/test/rails5.0/config/initializers/mime_types.rb +0 -4
- data/test/rails5.0/config/initializers/new_framework_defaults.rb +0 -24
- data/test/rails5.0/config/initializers/session_store.rb +0 -3
- data/test/rails5.0/config/initializers/wrap_parameters.rb +0 -14
- data/test/rails5.0/config/locales/en.yml +0 -23
- data/test/rails5.0/config/puma.rb +0 -47
- data/test/rails5.0/config/routes.rb +0 -3
- data/test/rails5.0/config/secrets.yml +0 -22
- data/test/rails5.0/config/spring.rb +0 -6
- data/test/rails5.0/db/seeds.rb +0 -7
- data/test/rails5.0/elm-package.json +0 -15
- 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 +0 -54
- 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 +0 -125
- 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 +0 -7
- 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 +0 -42
- 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 +0 -165
- 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 +0 -32
- 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 +0 -2
- 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 +0 -916
- 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 +0 -62
- 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 +0 -10
- 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 +0 -545
- 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 +0 -72
- 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 +0 -14
- 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 +0 -5
- 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 +0 -9
- 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 +0 -3
- 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 +0 -378
- 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 +0 -16
- 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 +0 -141
- 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 +0 -130
- 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 +0 -43
- 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 +0 -196
- 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 +0 -187
- 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 +0 -26
- 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 +0 -349
- 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 +0 -114
- 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 +0 -3
- 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 +0 -3
- 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 +0 -124
- 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 +0 -622
- 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 +0 -1353
- 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 +0 -45
- 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 +0 -367
- 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 +0 -393
- 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 +0 -793
- 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 +0 -98
- 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 +0 -30
- 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 +0 -5
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/CONTRIBUTING.md +0 -41
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/LICENSE +0 -30
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/README.md +0 -34
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/changelog.md +0 -143
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/elm-package.json +0 -38
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Array.elm +0 -240
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Basics.elm +0 -655
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Bitwise.elm +0 -90
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Char.elm +0 -103
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Color.elm +0 -456
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Date.elm +0 -150
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Debug.elm +0 -62
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Dict.elm +0 -661
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Decode.elm +0 -520
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Json/Encode.elm +0 -102
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/List.elm +0 -603
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Maybe.elm +0 -157
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Array.js +0 -967
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Basics.js +0 -141
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Bitwise.js +0 -13
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Char.js +0 -14
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Date.js +0 -33
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Debug.js +0 -30
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Json.js +0 -580
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/List.js +0 -137
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Platform.js +0 -560
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Regex.js +0 -119
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Scheduler.js +0 -281
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/String.js +0 -335
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Time.js +0 -27
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Native/Utils.js +0 -489
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform.elm +0 -145
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Cmd.elm +0 -67
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Platform/Sub.elm +0 -52
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Process.elm +0 -106
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Random.elm +0 -532
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Regex.elm +0 -148
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Result.elm +0 -210
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Set.elm +0 -168
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/String.elm +0 -464
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Task.elm +0 -278
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Time.elm +0 -243
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/src/Tuple.elm +0 -61
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test.elm +0 -40
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Array.elm +0 -90
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Basics.elm +0 -158
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Bitwise.elm +0 -50
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Char.elm +0 -93
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/CodeGen.elm +0 -59
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Dict.elm +0 -79
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Equality.elm +0 -28
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Json.elm +0 -83
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/List.elm +0 -165
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Regex.elm +0 -46
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Result.elm +0 -60
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/Set.elm +0 -29
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/Test/String.elm +0 -41
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/elm-package.json +0 -16
- data/test/rails5.0/elm-stuff/packages/elm-lang/core/5.0.0/tests/run-tests.sh +0 -18
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/LICENSE +0 -30
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/README.md +0 -5
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/elm-package.json +0 -21
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/properties-vs-attributes.md +0 -15
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html.elm +0 -923
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Attributes.elm +0 -1009
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Events.elm +0 -269
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Keyed.elm +0 -48
- data/test/rails5.0/elm-stuff/packages/elm-lang/html/2.0.0/src/Html/Lazy.elm +0 -48
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/LICENSE +0 -30
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/README.md +0 -5
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/elm-package.json +0 -17
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/Debug.js +0 -280
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/Native/VirtualDom.js +0 -1881
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom.elm +0 -331
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Debug.elm +0 -567
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Expando.elm +0 -659
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Helpers.elm +0 -137
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/History.elm +0 -290
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Metadata.elm +0 -326
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Overlay.elm +0 -541
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/src/VirtualDom/Report.elm +0 -99
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/Native/TestHelpers.js +0 -35
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestCases/Lazy.elm +0 -72
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestHelpers.elm +0 -34
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/TestMain.elm +0 -18
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/elm-package.json +0 -18
- data/test/rails5.0/elm-stuff/packages/elm-lang/virtual-dom/2.0.3/tests/run-tests.sh +0 -24
- 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 +0 -67
- data/test/rails5.0/public/422.html +0 -67
- data/test/rails5.0/public/500.html +0 -66
- 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 +0 -9
- data/test/rails5.0/public/assets/App-1602b94f98947092c88dc265ff74f09a5e843f8da65d389ffbc3e33780fffede.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-5e519e981b0f90300c651aefaa6caae0d86b07d230d233a1bfb0d39a5d880e3c.elm +0 -1
- data/test/rails5.0/public/assets/App-5e519e981b0f90300c651aefaa6caae0d86b07d230d233a1bfb0d39a5d880e3c.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm +0 -7
- data/test/rails5.0/public/assets/App-7d929e251b1b5953bc83f870e24e45eb1fa7b0a02381f6f35c22e4f2217c741f.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-8a8d0e9bfb375345038db521f127df9481ab51071ed163f15245377ceb88eaca.elm +0 -8
- data/test/rails5.0/public/assets/App-8a8d0e9bfb375345038db521f127df9481ab51071ed163f15245377ceb88eaca.elm.gz +0 -0
- data/test/rails5.0/public/assets/App-eca9cb629bea66373157a8cc52c5b0f93a31aaf50ecff27c10d7239be48b248f.elm +0 -9
- data/test/rails5.0/public/assets/App-eca9cb629bea66373157a8cc52c5b0f93a31aaf50ecff27c10d7239be48b248f.elm.gz +0 -0
- data/test/rails5.0/public/assets/application-4586df2c9172aec6cc707426ba5f83f7a590a4aeac2fe816fa5023c32963f2f9.js +0 -12198
- data/test/rails5.0/public/assets/application-4586df2c9172aec6cc707426ba5f83f7a590a4aeac2fe816fa5023c32963f2f9.js.gz +0 -0
- data/test/rails5.0/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js +0 -7832
- data/test/rails5.0/public/assets/application-469de1fc2cc36f411d3b3eadfedae733601a2e46e2b263ae5f43edfd07b90f9a.js.gz +0 -0
- data/test/rails5.0/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css +0 -16
- 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 +0 -5
- data/test/rails5.0/test/test_helper.rb +0 -10
- 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 +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/1a/1aCAw9tIoeRlkEQrkNffBdK1iX2sVmGKo0ZSDujjzzQ.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/35/35k3BKm9w8BazTN5Y5LaRFfxzV1IXXkXfhyMO-0bbqE.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/3H/3HMMKH-mmYBvbL_QMZIVF9hFTjtLPFytSfllY3Quc40.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/6x/6xh5M9_QsilQ8b2CIjSm980iyp5htgQNGpe2smD8EFY.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/7E/7EmKgeIbIEosUjuD7RwrwSOU6qG-YNCXISqzKAIj6XY.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9S/9SjxHQK7xOt2WfMDQSUnTh7cRFOD9pYnDnhz-fYcGIM.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/9Y/9YPGrz99c2jdTmAXI-gcar5ZuLy_DICUkenwTffZpXM.cache +0 -3
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Aq/AqD6i7Uh0R4iSD3LnqgXtyhDzZulN4Ll4BYugwcVMd8.cache +0 -14
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/B1/B12JeqH5j_oNIiH4FIhK4IIogEXMhp7HkXRDG5_W9TE.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +0 -2
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/H1/H1jTfx5eWFTr9nS4BAYci_jWFKDFikgWTQfytyXbxE8.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/He/HeCPR0vx95YOit3sQBrJqvU-qt5UlrVo6oR3gmLsVRE.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Ja/JacseGFSNScIY88_jg9qPVjxr8noy1N-SqVqj639jqM.cache +0 -2
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/KK/KKsRXpOYUoX-CUIJkA1HOY5KZSS95aEclXJ2W435720.cache +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Kg/Kgkr5ONb7guGJNJQ1Kk_cYcJ8P9SyW6pQ9rcBL1NRU4.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Nf/NfYfMVLdt_Ou9w7rLSKpXrPDpgDbZrBnQ4z-Hum-6vI.cache +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/O9/O9TrSGgLM3Z_MRoHypJwNImwwSQ4RrvgHT8jvNgJEw8.cache +0 -1
- 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 +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/SH/SHzDzeCYjrPInxH5PdvvnaSwG6saboDBExYeizii9l8.cache +0 -12
- 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 +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VU/VUgLLHwZhPSRCNTktsMDxGoe9FM10f1KyYCYHtM9i6s.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/VX/VXJe3zEbcTeaXjBIUHOqnlo0wzUJFGr4qbX1a07mhCU.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Vl/VlNigKvkrAT-d0xZ-dPrWFc5-ftFTPWjgV-pNXINZNI.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/W9/W9hQOrzOprntvhFuuLQMjVuIqkA4glCKEU85O97ePPg.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Wl/WlA2b2ztRT1INWN_KF2AQYcgo6xtPD5MN4Xbn6Y0P4c.cache +0 -1
- 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 +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/Yi/YiYRhSq0opHKMpfxdgTluU5wxBb3DiqZwjHmFTpvFHw.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/_g/_gcA7ve5b9gRqyMtexel8zqzGx251FMb6tjSg2RWOW8.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/aO/aOnqAc44IjU1sN_EMsXGnQ0JKh9IcG460FYR5bIrFms.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/bP/bPPhf5cxBG77CDeKdBShe42BgQoDTLDoTLD3zruq1W0.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/ba/baB1035_Crz8wasVlcXhl_FU16sjjVvXpxIe38OPvXQ.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/df/dfWZd4DzOiImVd7W0kkLrInPO1OOqVzpfz5sSvjF-Uo.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/eA/eAld1SKvn6CmGs606xnR5u_RD-9jztgHGg80umZcU1E.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/gh/ghVAcaqdDpGTOqJjPARKgCiR8CiHW6QlnKTOF9e9ORI.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hR/hRvM5YCxMAgeLQZUX1xYPkVAuja6B4tOqBQAkydPLJU.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hU/hUc40B5Z1hDZyLf6j_tnQZtdiKDG5hlWrztJBska0PE.cache +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/hp/hppUy6OHEQcsWCk8s_i6M5mO9LNdD9yRZb5kX4ptVrc.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/iU/iUAm_moTHIafsRJIY5-RfSh2OKUIz_yhNnQqpUVBNYQ.cache +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/jZ/JZxXAA7PYxyTc8rmt8jxfR8grbq2jBfZbseUMSuH8zk.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/kV/kVOpHbvQlTwqjBkr02sqtQqzLzxINYcecM_naAzjdC0.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/lt/ltXAG0-rNlM_PLKTy1WHlI7D1O_CMbd84zaRydmU-Rg.cache +0 -3
- 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 +0 -2
- 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 +0 -2
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/oW/oWyRdiks7gwGe0iIy_7eP4tuLKREDJpw5zmcvzTcz6A.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/pg/pg9UjX5tF6eU8BVS5bMsq1C-zoY8SryXO2KGgRQlTss.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/pu/puuyFOZIeE21lmTrCNiNXukuNcijKwpMdOYC1egNvNg.cache +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/qA/qAs4p5gy36IKHVRTncIU2bEoe5U7AfqZbEfHn53X_8o.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/r5/r50Jp6i83eTDHlxTfnNc3wsRhTkVGnBnoPm8Qu6ygk4.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/rw/rwpefxNnYvOKp9N-3v7kg_-CK3lbIjgExClJ5C2qDlc.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/sD/sDyffi23VNNBUqPAOf8uo7Jc_-JJBh_XGi-sG-OwCi4.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/st/stJIDRPJd8LU1crSDOT6xb63bnHMwWO4uZ61z36ULO4.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/tE/tEY3hs40EEJehLXOpxKqICNDETqbP3DVCUnrgXfyQxw.cache +0 -1
- 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 +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vK/vKJHMH5Wqw3Wo2DhWgK89qPpgICbKVGlbi7Epi81gWU.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vP/vPP5AGlfEDDH5hIun-dIdpO1CYuIZo_fknD6Gkm2hKE.cache +0 -2
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vV/vV1yyk2vB13JUn09187gZiT8X8m5KEuoXpzNXurlOac.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/vm/vmwJEykJEbQgCiW25SHHCVsIr-mYCWzhbBqXfnXbeag.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/w4/w4A4RKVM0xMsKjHNht7XVaSOGkromySr10SKObjndhE.cache +0 -7
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/wA/wADgvgw7vRo-sR-CZWwBHg9f7eRGZxNv8hM5eYH4JDU.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -2
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zB/zBYhnUcTDDOZYknO_mReeJDV-GDjp4GG2arMnzKck4c.cache +0 -3
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zC/zCss2J7QY-MVljeBbkecU985YlJ18YOkRRGy4BnJtkQ.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zm/zm9elFKfdhwhhSo15dXPFF3VYW_YQj-vbTgLhM-twP0.cache +0 -1
- data/test/rails5.0/tmp/cache/assets/sprockets/v3.0/zv/zvZfghSs_sLIZlmb5anW4qZc40WkO23Afn41Xy2RljQ.cache +0 -1
@@ -1,145 +0,0 @@
|
|
1
|
-
module Platform exposing
|
2
|
-
( Program, program, programWithFlags
|
3
|
-
, Task, ProcessId
|
4
|
-
, Router, sendToApp, sendToSelf
|
5
|
-
)
|
6
|
-
|
7
|
-
{-|
|
8
|
-
|
9
|
-
# Programs
|
10
|
-
@docs Program, program, programWithFlags
|
11
|
-
|
12
|
-
# Platform Internals
|
13
|
-
|
14
|
-
## Tasks and Processes
|
15
|
-
@docs Task, ProcessId
|
16
|
-
|
17
|
-
## Effect Manager Helpers
|
18
|
-
|
19
|
-
An extremely tiny portion of library authors should ever write effect managers.
|
20
|
-
Fundamentally, Elm needs maybe 10 of them total. I get that people are smart,
|
21
|
-
curious, etc. but that is not a substitute for a legitimate reason to make an
|
22
|
-
effect manager. Do you have an *organic need* this fills? Or are you just
|
23
|
-
curious? Public discussions of your explorations should be framed accordingly.
|
24
|
-
|
25
|
-
@docs Router, sendToApp, sendToSelf
|
26
|
-
-}
|
27
|
-
|
28
|
-
import Basics exposing (Never)
|
29
|
-
import Native.Platform
|
30
|
-
import Native.Scheduler
|
31
|
-
import Platform.Cmd exposing (Cmd)
|
32
|
-
import Platform.Sub exposing (Sub)
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
-- PROGRAMS
|
37
|
-
|
38
|
-
|
39
|
-
{-| A `Program` describes how to manage your Elm app.
|
40
|
-
|
41
|
-
You can create [headless][] programs with the [`program`](#program) and
|
42
|
-
[`programWithFlags`](#programWithFlags) functions. Similar functions exist in
|
43
|
-
[`Html.App`][app] that let you specify a view.
|
44
|
-
|
45
|
-
[headless]: https://en.wikipedia.org/wiki/Headless_software
|
46
|
-
[app]: http://package.elm-lang.org/packages/elm-lang/html/latest/Html-App
|
47
|
-
|
48
|
-
Honestly, it is totally normal if this seems crazy at first. The best way to
|
49
|
-
understand is to work through [guide.elm-lang.org](http://guide.elm-lang.org/).
|
50
|
-
It makes way more sense in context!
|
51
|
-
-}
|
52
|
-
type Program flags model msg = Program
|
53
|
-
|
54
|
-
|
55
|
-
{-| Create a [headless][] program. This is great if you want to use Elm as the
|
56
|
-
“brain” for something else. You can still communicate with JS via
|
57
|
-
ports and manage your model, you just do not have to specify a `view`.
|
58
|
-
|
59
|
-
[headless]: https://en.wikipedia.org/wiki/Headless_software
|
60
|
-
|
61
|
-
Initializing a headless program from JavaScript looks like this:
|
62
|
-
|
63
|
-
```javascript
|
64
|
-
var app = Elm.MyThing.worker();
|
65
|
-
```
|
66
|
-
-}
|
67
|
-
program
|
68
|
-
: { init : (model, Cmd msg)
|
69
|
-
, update : msg -> model -> (model, Cmd msg)
|
70
|
-
, subscriptions : model -> Sub msg
|
71
|
-
}
|
72
|
-
-> Program Never model msg
|
73
|
-
program =
|
74
|
-
Native.Platform.program
|
75
|
-
|
76
|
-
|
77
|
-
{-| Same as [`program`](#program), but you can provide flags. Initializing a
|
78
|
-
headless program (with flags) from JavaScript looks like this:
|
79
|
-
|
80
|
-
```javascript
|
81
|
-
var app = Elm.MyThing.worker({ user: 'Tom', token: 1234 });
|
82
|
-
```
|
83
|
-
|
84
|
-
Whatever argument you provide to `worker` will get converted to an Elm value,
|
85
|
-
allowing you to configure your Elm program however you want from JavaScript!
|
86
|
-
-}
|
87
|
-
programWithFlags
|
88
|
-
: { init : flags -> (model, Cmd msg)
|
89
|
-
, update : msg -> model -> (model, Cmd msg)
|
90
|
-
, subscriptions : model -> Sub msg
|
91
|
-
}
|
92
|
-
-> Program flags model msg
|
93
|
-
programWithFlags =
|
94
|
-
Native.Platform.programWithFlags
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
-- TASKS and PROCESSES
|
99
|
-
|
100
|
-
{-| Head over to the documentation for the [`Task`](Task) module for more
|
101
|
-
information on this. It is only defined here because it is a platform
|
102
|
-
primitive.
|
103
|
-
-}
|
104
|
-
type Task err ok = Task
|
105
|
-
|
106
|
-
|
107
|
-
{-| Head over to the documentation for the [`Process`](Process) module for
|
108
|
-
information on this. It is only defined here because it is a platform
|
109
|
-
primitive.
|
110
|
-
-}
|
111
|
-
type ProcessId = ProcessId
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
-- EFFECT MANAGER INTERNALS
|
116
|
-
|
117
|
-
|
118
|
-
{-| An effect manager has access to a “router” that routes messages between
|
119
|
-
the main app and your individual effect manager.
|
120
|
-
-}
|
121
|
-
type Router appMsg selfMsg =
|
122
|
-
Router
|
123
|
-
|
124
|
-
|
125
|
-
{-| Send the router a message for the main loop of your app. This message will
|
126
|
-
be handled by the overall `update` function, just like events from `Html`.
|
127
|
-
-}
|
128
|
-
sendToApp : Router msg a -> msg -> Task x ()
|
129
|
-
sendToApp =
|
130
|
-
Native.Platform.sendToApp
|
131
|
-
|
132
|
-
|
133
|
-
{-| Send the router a message for your effect manager. This message will
|
134
|
-
be routed to the `onSelfMsg` function, where you can update the state of your
|
135
|
-
effect manager as necessary.
|
136
|
-
|
137
|
-
As an example, the effect manager for web sockets
|
138
|
-
-}
|
139
|
-
sendToSelf : Router a msg -> msg -> Task x ()
|
140
|
-
sendToSelf =
|
141
|
-
Native.Platform.sendToSelf
|
142
|
-
|
143
|
-
|
144
|
-
hack =
|
145
|
-
Native.Scheduler.succeed
|
@@ -1,67 +0,0 @@
|
|
1
|
-
module Platform.Cmd exposing
|
2
|
-
( Cmd
|
3
|
-
, map
|
4
|
-
, batch
|
5
|
-
, none
|
6
|
-
, (!)
|
7
|
-
)
|
8
|
-
|
9
|
-
{-|
|
10
|
-
|
11
|
-
# Effects
|
12
|
-
|
13
|
-
Elm has **managed effects**, meaning that things like HTTP requests or writing
|
14
|
-
to disk are all treated as *data* in Elm. When this data is given to the Elm
|
15
|
-
runtime system, it can do some “query optimization” before actually performing
|
16
|
-
the effect. Perhaps unexpectedly, this managed effects idea is the heart of why
|
17
|
-
Elm is so nice for testing, reuse, reproducibility, etc.
|
18
|
-
|
19
|
-
There are two kinds of managed effects you will use in your programs: commands
|
20
|
-
and subscriptions.
|
21
|
-
|
22
|
-
@docs Cmd, map, batch, none, (!)
|
23
|
-
|
24
|
-
-}
|
25
|
-
|
26
|
-
import Native.Platform
|
27
|
-
|
28
|
-
|
29
|
-
{-| A command is a way of telling Elm, “Hey, I want you to do this thing!”
|
30
|
-
So if you want to send an HTTP request, you would need to command Elm to do it.
|
31
|
-
Or if you wanted to ask for geolocation, you would need to command Elm to go
|
32
|
-
get it.
|
33
|
-
|
34
|
-
Every `Cmd` specifies (1) which effects you need access to and (2) the type of
|
35
|
-
messages that will come back into your application.
|
36
|
-
|
37
|
-
**Note:** Do not worry if this seems confusing at first! As with every Elm user
|
38
|
-
ever, commands will make more sense as you work through [the Elm Architecture
|
39
|
-
Tutorial](http://guide.elm-lang.org/architecture/index.html) and see how they
|
40
|
-
fit into a real application!
|
41
|
-
-}
|
42
|
-
type Cmd msg = Cmd
|
43
|
-
|
44
|
-
|
45
|
-
{-|-}
|
46
|
-
map : (a -> msg) -> Cmd a -> Cmd msg
|
47
|
-
map =
|
48
|
-
Native.Platform.map
|
49
|
-
|
50
|
-
|
51
|
-
{-|-}
|
52
|
-
batch : List (Cmd msg) -> Cmd msg
|
53
|
-
batch =
|
54
|
-
Native.Platform.batch
|
55
|
-
|
56
|
-
|
57
|
-
{-|-}
|
58
|
-
none : Cmd msg
|
59
|
-
none =
|
60
|
-
batch []
|
61
|
-
|
62
|
-
|
63
|
-
{-|-}
|
64
|
-
(!) : model -> List (Cmd msg) -> (model, Cmd msg)
|
65
|
-
(!) model commands =
|
66
|
-
(model, batch commands)
|
67
|
-
|
@@ -1,52 +0,0 @@
|
|
1
|
-
module Platform.Sub exposing
|
2
|
-
( Sub
|
3
|
-
, map
|
4
|
-
, batch
|
5
|
-
, none
|
6
|
-
)
|
7
|
-
|
8
|
-
{-|
|
9
|
-
|
10
|
-
@docs Sub, map, batch, none
|
11
|
-
-}
|
12
|
-
|
13
|
-
import Native.Platform
|
14
|
-
|
15
|
-
|
16
|
-
{-| A subscription is a way of telling Elm, “Hey, let me know if anything
|
17
|
-
interesting happens over there!” So if you want to listen for messages on a web
|
18
|
-
socket, you would tell Elm to create a subscription. If you want to get clock
|
19
|
-
ticks, you would tell Elm to subscribe to that. The cool thing here is that
|
20
|
-
this means *Elm* manages all the details of subscriptions instead of *you*.
|
21
|
-
So if a web socket goes down, *you* do not need to manually reconnect with an
|
22
|
-
exponential backoff strategy, *Elm* does this all for you behind the scenes!
|
23
|
-
|
24
|
-
Every `Sub` specifies (1) which effects you need access to and (2) the type of
|
25
|
-
messages that will come back into your application.
|
26
|
-
|
27
|
-
**Note:** Do not worry if this seems confusing at first! As with every Elm user
|
28
|
-
ever, subscriptions will make more sense as you work through [the Elm Architecture
|
29
|
-
Tutorial](http://guide.elm-lang.org/architecture/index.html) and see how they fit
|
30
|
-
into a real application!
|
31
|
-
-}
|
32
|
-
type Sub msg = Sub
|
33
|
-
|
34
|
-
|
35
|
-
{-|-}
|
36
|
-
map : (a -> msg) -> Sub a -> Sub msg
|
37
|
-
map =
|
38
|
-
Native.Platform.map
|
39
|
-
|
40
|
-
|
41
|
-
{-|-}
|
42
|
-
batch : List (Sub msg) -> Sub msg
|
43
|
-
batch =
|
44
|
-
Native.Platform.batch
|
45
|
-
|
46
|
-
|
47
|
-
{-|-}
|
48
|
-
none : Sub msg
|
49
|
-
none =
|
50
|
-
batch []
|
51
|
-
|
52
|
-
|
@@ -1,106 +0,0 @@
|
|
1
|
-
module Process exposing
|
2
|
-
( Id
|
3
|
-
, spawn
|
4
|
-
, sleep
|
5
|
-
, kill
|
6
|
-
)
|
7
|
-
|
8
|
-
{-|
|
9
|
-
|
10
|
-
# Processes
|
11
|
-
@docs Id, spawn, sleep, kill
|
12
|
-
|
13
|
-
## Future Plans
|
14
|
-
|
15
|
-
Right now, this library is pretty sparse. For example, there is no public API
|
16
|
-
for processes to communicate with each other. This is a really important
|
17
|
-
ability, but it is also something that is extraordinarily easy to get wrong!
|
18
|
-
|
19
|
-
I think the trend will be towards an Erlang style of concurrency, where every
|
20
|
-
process has an “event queue” that anyone can send messages to. I currently
|
21
|
-
think the API will be extended to be more like this:
|
22
|
-
|
23
|
-
type Id exit msg
|
24
|
-
|
25
|
-
spawn : Task exit a -> Task x (Id exit Never)
|
26
|
-
|
27
|
-
kill : Id exit msg -> Task x ()
|
28
|
-
|
29
|
-
send : Id exit msg -> msg -> Task x ()
|
30
|
-
|
31
|
-
A process `Id` will have two type variables to make sure all communication is
|
32
|
-
valid. The `exit` type describes the messages that are produced if the process
|
33
|
-
fails because of user code. So if processes are linked and trapping errors,
|
34
|
-
they will need to handle this. The `msg` type just describes what kind of
|
35
|
-
messages this process can be sent by strangers.
|
36
|
-
|
37
|
-
We shall see though! This is just a draft that does not cover nearly everything
|
38
|
-
it needs to, so the long-term vision for concurrency in Elm will be rolling out
|
39
|
-
slowly as I get more data and experience.
|
40
|
-
|
41
|
-
I ask that people bullish on compiling to node.js keep this in mind. I think we
|
42
|
-
can do better than the hopelessly bad concurrency model of node.js, and I hope
|
43
|
-
the Elm community will be supportive of being more ambitious, even if it takes
|
44
|
-
longer. That’s kind of what Elm is all about.
|
45
|
-
-}
|
46
|
-
|
47
|
-
import Basics exposing (Never)
|
48
|
-
import Native.Scheduler
|
49
|
-
import Platform
|
50
|
-
import Task exposing (Task)
|
51
|
-
import Time exposing (Time)
|
52
|
-
|
53
|
-
|
54
|
-
{-| A light-weight process that runs concurrently. You can use `spawn` to
|
55
|
-
get a bunch of different tasks running in different processes. The Elm runtime
|
56
|
-
will interleave their progress. So if a task is taking too long, we will pause
|
57
|
-
it at an `andThen` and switch over to other stuff.
|
58
|
-
|
59
|
-
**Note:** We make a distinction between *concurrency* which means interleaving
|
60
|
-
different sequences and *parallelism* which means running different
|
61
|
-
sequences at the exact same time. For example, a
|
62
|
-
[time-sharing system](https://en.wikipedia.org/wiki/Time-sharing) is definitely
|
63
|
-
concurrent, but not necessarily parallel. So even though JS runs within a
|
64
|
-
single OS-level thread, Elm can still run things concurrently.
|
65
|
-
-}
|
66
|
-
type alias Id =
|
67
|
-
Platform.ProcessId
|
68
|
-
|
69
|
-
|
70
|
-
{-| Run a task in its own light-weight process. In the following example,
|
71
|
-
`task1` and `task2` will be interleaved. If `task1` makes a long HTTP request
|
72
|
-
or is just taking a long time, we can hop over to `task2` and do some work
|
73
|
-
there.
|
74
|
-
|
75
|
-
spawn task1
|
76
|
-
|> Task.andThen (\_ -> spawn task2)
|
77
|
-
|
78
|
-
**Note:** This creates a relatively restricted kind of `Process` because it
|
79
|
-
cannot receive any messages. More flexibility for user-defined processes will
|
80
|
-
come in a later release!
|
81
|
-
-}
|
82
|
-
spawn : Task x a -> Task y Id
|
83
|
-
spawn =
|
84
|
-
Native.Scheduler.spawn
|
85
|
-
|
86
|
-
|
87
|
-
{-| Block progress on the current process for a given amount of time. The
|
88
|
-
JavaScript equivalent of this is [`setTimeout`][setTimeout] which lets you
|
89
|
-
delay work until later.
|
90
|
-
|
91
|
-
[setTimeout]: https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout
|
92
|
-
-}
|
93
|
-
sleep : Time -> Task x ()
|
94
|
-
sleep =
|
95
|
-
Native.Scheduler.sleep
|
96
|
-
|
97
|
-
|
98
|
-
{-| Sometimes you `spawn` a process, but later decide it would be a waste to
|
99
|
-
have it keep running and doing stuff. The `kill` function will force a process
|
100
|
-
to bail on whatever task it is running. So if there is an HTTP request in
|
101
|
-
flight, it will also abort the request.
|
102
|
-
-}
|
103
|
-
kill : Id -> Task x ()
|
104
|
-
kill =
|
105
|
-
Native.Scheduler.kill
|
106
|
-
|
@@ -1,532 +0,0 @@
|
|
1
|
-
effect module Random where { command = MyCmd } exposing
|
2
|
-
( Generator, Seed
|
3
|
-
, bool, int, float
|
4
|
-
, list, pair
|
5
|
-
, map, map2, map3, map4, map5
|
6
|
-
, andThen
|
7
|
-
, minInt, maxInt
|
8
|
-
, generate
|
9
|
-
, step, initialSeed
|
10
|
-
)
|
11
|
-
|
12
|
-
{-| This library helps you generate pseudo-random values.
|
13
|
-
|
14
|
-
This library is all about building [`generators`](#Generator) for whatever
|
15
|
-
type of values you need. There are a bunch of primitive generators like
|
16
|
-
[`bool`](#bool) and [`int`](#int) that you can build up into fancier
|
17
|
-
generators with functions like [`list`](#list) and [`map`](#map).
|
18
|
-
|
19
|
-
It may be helpful to [read about JSON decoders][json] because they work very
|
20
|
-
similarly.
|
21
|
-
|
22
|
-
[json]: https://evancz.gitbooks.io/an-introduction-to-elm/content/interop/json.html
|
23
|
-
|
24
|
-
> *Note:* This is an implementation of the Portable Combined Generator of
|
25
|
-
L'Ecuyer for 32-bit computers. It is almost a direct translation from the
|
26
|
-
[System.Random](http://hackage.haskell.org/package/random-1.0.1.1/docs/System-Random.html)
|
27
|
-
module. It has a period of roughly 2.30584e18.
|
28
|
-
|
29
|
-
# Generators
|
30
|
-
@docs Generator
|
31
|
-
|
32
|
-
# Primitive Generators
|
33
|
-
@docs bool, int, float
|
34
|
-
|
35
|
-
# Data Structure Generators
|
36
|
-
@docs pair, list
|
37
|
-
|
38
|
-
# Custom Generators
|
39
|
-
@docs map, map2, map3, map4, map5, andThen
|
40
|
-
|
41
|
-
# Generate Values
|
42
|
-
@docs generate
|
43
|
-
|
44
|
-
# Generate Values Manually
|
45
|
-
@docs step, Seed, initialSeed
|
46
|
-
|
47
|
-
# Constants
|
48
|
-
@docs maxInt, minInt
|
49
|
-
|
50
|
-
-}
|
51
|
-
|
52
|
-
import Basics exposing (..)
|
53
|
-
import List exposing ((::))
|
54
|
-
import Platform
|
55
|
-
import Platform.Cmd exposing (Cmd)
|
56
|
-
import Task exposing (Task)
|
57
|
-
import Time
|
58
|
-
import Tuple
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
-- PRIMITIVE GENERATORS
|
63
|
-
|
64
|
-
|
65
|
-
{-| Create a generator that produces boolean values. The following example
|
66
|
-
simulates a coin flip that may land heads or tails.
|
67
|
-
|
68
|
-
type Flip = Heads | Tails
|
69
|
-
|
70
|
-
coinFlip : Generator Flip
|
71
|
-
coinFlip =
|
72
|
-
map (\b -> if b then Heads else Tails) bool
|
73
|
-
-}
|
74
|
-
bool : Generator Bool
|
75
|
-
bool =
|
76
|
-
map ((==) 1) (int 0 1)
|
77
|
-
|
78
|
-
|
79
|
-
{-| Generate 32-bit integers in a given range.
|
80
|
-
|
81
|
-
int 0 10 -- an integer between zero and ten
|
82
|
-
int -5 5 -- an integer between -5 and 5
|
83
|
-
|
84
|
-
int minInt maxInt -- an integer in the widest range feasible
|
85
|
-
|
86
|
-
This function *can* produce values outside of the range [[`minInt`](#minInt),
|
87
|
-
[`maxInt`](#maxInt)] but sufficient randomness is not guaranteed.
|
88
|
-
-}
|
89
|
-
int : Int -> Int -> Generator Int
|
90
|
-
int a b =
|
91
|
-
Generator <| \(Seed seed) ->
|
92
|
-
let
|
93
|
-
(lo,hi) =
|
94
|
-
if a < b then (a,b) else (b,a)
|
95
|
-
|
96
|
-
k = hi - lo + 1
|
97
|
-
-- 2^31 - 87
|
98
|
-
base = 2147483561
|
99
|
-
n = iLogBase base k
|
100
|
-
|
101
|
-
f n acc state =
|
102
|
-
case n of
|
103
|
-
0 -> (acc, state)
|
104
|
-
_ ->
|
105
|
-
let
|
106
|
-
(x, nextState) = seed.next state
|
107
|
-
in
|
108
|
-
f (n - 1) (x + acc * base) nextState
|
109
|
-
|
110
|
-
(v, nextState) =
|
111
|
-
f n 1 seed.state
|
112
|
-
in
|
113
|
-
( lo + v % k
|
114
|
-
, Seed { seed | state = nextState }
|
115
|
-
)
|
116
|
-
|
117
|
-
|
118
|
-
iLogBase : Int -> Int -> Int
|
119
|
-
iLogBase b i =
|
120
|
-
if i < b then
|
121
|
-
1
|
122
|
-
else
|
123
|
-
1 + iLogBase b (i // b)
|
124
|
-
|
125
|
-
|
126
|
-
{-| The maximum value for randomly generated 32-bit ints: 2147483647 -}
|
127
|
-
maxInt : Int
|
128
|
-
maxInt =
|
129
|
-
2147483647
|
130
|
-
|
131
|
-
|
132
|
-
{-| The minimum value for randomly generated 32-bit ints: -2147483648 -}
|
133
|
-
minInt : Int
|
134
|
-
minInt =
|
135
|
-
-2147483648
|
136
|
-
|
137
|
-
|
138
|
-
{-| Generate floats in a given range. The following example is a generator
|
139
|
-
that produces decimals between 0 and 1.
|
140
|
-
|
141
|
-
probability : Generator Float
|
142
|
-
probability =
|
143
|
-
float 0 1
|
144
|
-
-}
|
145
|
-
float : Float -> Float -> Generator Float
|
146
|
-
float a b =
|
147
|
-
Generator <| \seed ->
|
148
|
-
let
|
149
|
-
(lo, hi) =
|
150
|
-
if a < b then (a,b) else (b,a)
|
151
|
-
|
152
|
-
(number, newSeed) =
|
153
|
-
step (int minInt maxInt) seed
|
154
|
-
|
155
|
-
negativeOneToOne =
|
156
|
-
toFloat number / toFloat (maxInt - minInt)
|
157
|
-
|
158
|
-
scaled =
|
159
|
-
(lo+hi)/2 + ((hi-lo) * negativeOneToOne)
|
160
|
-
in
|
161
|
-
(scaled, newSeed)
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
-- DATA STRUCTURES
|
166
|
-
|
167
|
-
|
168
|
-
{-| Create a pair of random values. A common use of this might be to generate
|
169
|
-
a point in a certain 2D space. Imagine we have a collage that is 400 pixels
|
170
|
-
wide and 200 pixels tall.
|
171
|
-
|
172
|
-
randomPoint : Generator (Int,Int)
|
173
|
-
randomPoint =
|
174
|
-
pair (int -200 200) (int -100 100)
|
175
|
-
|
176
|
-
-}
|
177
|
-
pair : Generator a -> Generator b -> Generator (a,b)
|
178
|
-
pair genA genB =
|
179
|
-
map2 (,) genA genB
|
180
|
-
|
181
|
-
|
182
|
-
{-| Create a list of random values.
|
183
|
-
|
184
|
-
floatList : Generator (List Float)
|
185
|
-
floatList =
|
186
|
-
list 10 (float 0 1)
|
187
|
-
|
188
|
-
intList : Generator (List Int)
|
189
|
-
intList =
|
190
|
-
list 5 (int 0 100)
|
191
|
-
|
192
|
-
intPairs : Generator (List (Int, Int))
|
193
|
-
intPairs =
|
194
|
-
list 10 <| pair (int 0 100) (int 0 100)
|
195
|
-
-}
|
196
|
-
list : Int -> Generator a -> Generator (List a)
|
197
|
-
list n (Generator generate) =
|
198
|
-
Generator <| \seed ->
|
199
|
-
listHelp [] n generate seed
|
200
|
-
|
201
|
-
|
202
|
-
listHelp : List a -> Int -> (Seed -> (a,Seed)) -> Seed -> (List a, Seed)
|
203
|
-
listHelp list n generate seed =
|
204
|
-
if n < 1 then
|
205
|
-
(List.reverse list, seed)
|
206
|
-
|
207
|
-
else
|
208
|
-
let
|
209
|
-
(value, newSeed) =
|
210
|
-
generate seed
|
211
|
-
in
|
212
|
-
listHelp (value :: list) (n-1) generate newSeed
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
-- CUSTOM GENERATORS
|
217
|
-
|
218
|
-
|
219
|
-
{-| Transform the values produced by a generator. The following examples show
|
220
|
-
how to generate booleans and letters based on a basic integer generator.
|
221
|
-
|
222
|
-
bool : Generator Bool
|
223
|
-
bool =
|
224
|
-
map ((==) 1) (int 0 1)
|
225
|
-
|
226
|
-
lowercaseLetter : Generator Char
|
227
|
-
lowercaseLetter =
|
228
|
-
map (\n -> Char.fromCode (n + 97)) (int 0 25)
|
229
|
-
|
230
|
-
uppercaseLetter : Generator Char
|
231
|
-
uppercaseLetter =
|
232
|
-
map (\n -> Char.fromCode (n + 65)) (int 0 25)
|
233
|
-
|
234
|
-
-}
|
235
|
-
map : (a -> b) -> Generator a -> Generator b
|
236
|
-
map func (Generator genA) =
|
237
|
-
Generator <| \seed0 ->
|
238
|
-
let
|
239
|
-
(a, seed1) = genA seed0
|
240
|
-
in
|
241
|
-
(func a, seed1)
|
242
|
-
|
243
|
-
|
244
|
-
{-| Combine two generators.
|
245
|
-
|
246
|
-
This function is used to define things like [`pair`](#pair) where you want to
|
247
|
-
put two generators together.
|
248
|
-
|
249
|
-
pair : Generator a -> Generator b -> Generator (a,b)
|
250
|
-
pair genA genB =
|
251
|
-
map2 (,) genA genB
|
252
|
-
|
253
|
-
-}
|
254
|
-
map2 : (a -> b -> c) -> Generator a -> Generator b -> Generator c
|
255
|
-
map2 func (Generator genA) (Generator genB) =
|
256
|
-
Generator <| \seed0 ->
|
257
|
-
let
|
258
|
-
(a, seed1) = genA seed0
|
259
|
-
(b, seed2) = genB seed1
|
260
|
-
in
|
261
|
-
(func a b, seed2)
|
262
|
-
|
263
|
-
|
264
|
-
{-| Combine three generators. This could be used to produce random colors.
|
265
|
-
|
266
|
-
import Color
|
267
|
-
|
268
|
-
rgb : Generator Color.Color
|
269
|
-
rgb =
|
270
|
-
map3 Color.rgb (int 0 255) (int 0 255) (int 0 255)
|
271
|
-
|
272
|
-
hsl : Generator Color.Color
|
273
|
-
hsl =
|
274
|
-
map3 Color.hsl (map degrees (int 0 360)) (float 0 1) (float 0 1)
|
275
|
-
-}
|
276
|
-
map3 : (a -> b -> c -> d) -> Generator a -> Generator b -> Generator c -> Generator d
|
277
|
-
map3 func (Generator genA) (Generator genB) (Generator genC) =
|
278
|
-
Generator <| \seed0 ->
|
279
|
-
let
|
280
|
-
(a, seed1) = genA seed0
|
281
|
-
(b, seed2) = genB seed1
|
282
|
-
(c, seed3) = genC seed2
|
283
|
-
in
|
284
|
-
(func a b c, seed3)
|
285
|
-
|
286
|
-
|
287
|
-
{-| Combine four generators.
|
288
|
-
-}
|
289
|
-
map4 : (a -> b -> c -> d -> e) -> Generator a -> Generator b -> Generator c -> Generator d -> Generator e
|
290
|
-
map4 func (Generator genA) (Generator genB) (Generator genC) (Generator genD) =
|
291
|
-
Generator <| \seed0 ->
|
292
|
-
let
|
293
|
-
(a, seed1) = genA seed0
|
294
|
-
(b, seed2) = genB seed1
|
295
|
-
(c, seed3) = genC seed2
|
296
|
-
(d, seed4) = genD seed3
|
297
|
-
in
|
298
|
-
(func a b c d, seed4)
|
299
|
-
|
300
|
-
|
301
|
-
{-| Combine five generators.
|
302
|
-
-}
|
303
|
-
map5 : (a -> b -> c -> d -> e -> f) -> Generator a -> Generator b -> Generator c -> Generator d -> Generator e -> Generator f
|
304
|
-
map5 func (Generator genA) (Generator genB) (Generator genC) (Generator genD) (Generator genE) =
|
305
|
-
Generator <| \seed0 ->
|
306
|
-
let
|
307
|
-
(a, seed1) = genA seed0
|
308
|
-
(b, seed2) = genB seed1
|
309
|
-
(c, seed3) = genC seed2
|
310
|
-
(d, seed4) = genD seed3
|
311
|
-
(e, seed5) = genE seed4
|
312
|
-
in
|
313
|
-
(func a b c d e, seed5)
|
314
|
-
|
315
|
-
|
316
|
-
{-| Chain random operations, threading through the seed. In the following
|
317
|
-
example, we will generate a random letter by putting together uppercase and
|
318
|
-
lowercase letters.
|
319
|
-
|
320
|
-
letter : Generator Char
|
321
|
-
letter =
|
322
|
-
bool
|
323
|
-
|> andThen upperOrLower
|
324
|
-
|
325
|
-
upperOrLower : Bool -> Generator Char
|
326
|
-
upperOrLower b =
|
327
|
-
if b then uppercaseLetter else lowercaseLetter
|
328
|
-
|
329
|
-
-- bool : Generator Bool
|
330
|
-
-- uppercaseLetter : Generator Char
|
331
|
-
-- lowercaseLetter : Generator Char
|
332
|
-
-}
|
333
|
-
andThen : (a -> Generator b) -> Generator a -> Generator b
|
334
|
-
andThen callback (Generator generate) =
|
335
|
-
Generator <| \seed ->
|
336
|
-
let
|
337
|
-
(result, newSeed) =
|
338
|
-
generate seed
|
339
|
-
|
340
|
-
(Generator genB) =
|
341
|
-
callback result
|
342
|
-
in
|
343
|
-
genB newSeed
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
-- IMPLEMENTATION
|
348
|
-
|
349
|
-
|
350
|
-
{-| A `Generator` is like a recipe for generating certain random values. So a
|
351
|
-
`Generator Int` describes how to generate integers and a `Generator String`
|
352
|
-
describes how to generate strings.
|
353
|
-
|
354
|
-
To actually *run* a generator and produce the random values, you need to use
|
355
|
-
functions like [`generate`](#generate) and [`initialSeed`](#initialSeed).
|
356
|
-
-}
|
357
|
-
type Generator a =
|
358
|
-
Generator (Seed -> (a, Seed))
|
359
|
-
|
360
|
-
|
361
|
-
type State = State Int Int
|
362
|
-
|
363
|
-
|
364
|
-
{-| A `Seed` is the source of randomness in this whole system. Whenever
|
365
|
-
you want to use a generator, you need to pair it with a seed.
|
366
|
-
-}
|
367
|
-
type Seed =
|
368
|
-
Seed
|
369
|
-
{ state : State
|
370
|
-
, next : State -> (Int, State)
|
371
|
-
, split : State -> (State, State)
|
372
|
-
, range : State -> (Int,Int)
|
373
|
-
}
|
374
|
-
|
375
|
-
|
376
|
-
{-| Generate a random value as specified by a given `Generator`.
|
377
|
-
|
378
|
-
In the following example, we are trying to generate a number between 0 and 100
|
379
|
-
with the `int 0 100` generator. Each time we call `step` we need to provide a
|
380
|
-
seed. This will produce a random number and a *new* seed to use if we want to
|
381
|
-
run other generators later.
|
382
|
-
|
383
|
-
So here it is done right, where we get a new seed from each `step` call and
|
384
|
-
thread that through.
|
385
|
-
|
386
|
-
seed0 = initialSeed 31415
|
387
|
-
|
388
|
-
-- step (int 0 100) seed0 ==> (42, seed1)
|
389
|
-
-- step (int 0 100) seed1 ==> (31, seed2)
|
390
|
-
-- step (int 0 100) seed2 ==> (99, seed3)
|
391
|
-
|
392
|
-
Notice that we use different seeds on each line. This is important! If you use
|
393
|
-
the same seed, you get the same results.
|
394
|
-
|
395
|
-
-- step (int 0 100) seed0 ==> (42, seed1)
|
396
|
-
-- step (int 0 100) seed0 ==> (42, seed1)
|
397
|
-
-- step (int 0 100) seed0 ==> (42, seed1)
|
398
|
-
-}
|
399
|
-
step : Generator a -> Seed -> (a, Seed)
|
400
|
-
step (Generator generator) seed =
|
401
|
-
generator seed
|
402
|
-
|
403
|
-
|
404
|
-
{-| Create a “seed” of randomness which makes it possible to
|
405
|
-
generate random values. If you use the same seed many times, it will result
|
406
|
-
in the same thing every time! A good way to get an unexpected seed is to use
|
407
|
-
the current time.
|
408
|
-
-}
|
409
|
-
initialSeed : Int -> Seed
|
410
|
-
initialSeed n =
|
411
|
-
Seed
|
412
|
-
{ state = initState n
|
413
|
-
, next = next
|
414
|
-
, split = split
|
415
|
-
, range = range
|
416
|
-
}
|
417
|
-
|
418
|
-
|
419
|
-
{-| Produce the initial generator state. Distinct arguments should be likely
|
420
|
-
to produce distinct generator states.
|
421
|
-
-}
|
422
|
-
initState : Int -> State
|
423
|
-
initState seed =
|
424
|
-
let
|
425
|
-
s = max seed -seed
|
426
|
-
q = s // (magicNum6-1)
|
427
|
-
s1 = s % (magicNum6-1)
|
428
|
-
s2 = q % (magicNum7-1)
|
429
|
-
in
|
430
|
-
State (s1+1) (s2+1)
|
431
|
-
|
432
|
-
|
433
|
-
magicNum0 = 40014
|
434
|
-
magicNum1 = 53668
|
435
|
-
magicNum2 = 12211
|
436
|
-
magicNum3 = 52774
|
437
|
-
magicNum4 = 40692
|
438
|
-
magicNum5 = 3791
|
439
|
-
magicNum6 = 2147483563
|
440
|
-
magicNum7 = 2147483399
|
441
|
-
magicNum8 = 2147483562
|
442
|
-
|
443
|
-
|
444
|
-
next : State -> (Int, State)
|
445
|
-
next (State state1 state2) =
|
446
|
-
-- Div always rounds down and so random numbers are biased
|
447
|
-
-- ideally we would use division that rounds towards zero so
|
448
|
-
-- that in the negative case it rounds up and in the positive case
|
449
|
-
-- it rounds down. Thus half the time it rounds up and half the time it
|
450
|
-
-- rounds down
|
451
|
-
let
|
452
|
-
k1 = state1 // magicNum1
|
453
|
-
rawState1 = magicNum0 * (state1 - k1 * magicNum1) - k1 * magicNum2
|
454
|
-
newState1 = if rawState1 < 0 then rawState1 + magicNum6 else rawState1
|
455
|
-
k2 = state2 // magicNum3
|
456
|
-
rawState2 = magicNum4 * (state2 - k2 * magicNum3) - k2 * magicNum5
|
457
|
-
newState2 = if rawState2 < 0 then rawState2 + magicNum7 else rawState2
|
458
|
-
z = newState1 - newState2
|
459
|
-
newZ = if z < 1 then z + magicNum8 else z
|
460
|
-
in
|
461
|
-
(newZ, State newState1 newState2)
|
462
|
-
|
463
|
-
|
464
|
-
split : State -> (State, State)
|
465
|
-
split (State s1 s2 as std) =
|
466
|
-
let
|
467
|
-
new_s1 =
|
468
|
-
if s1 == magicNum6-1 then 1 else s1 + 1
|
469
|
-
|
470
|
-
new_s2 =
|
471
|
-
if s2 == 1 then magicNum7-1 else s2 - 1
|
472
|
-
|
473
|
-
(State t1 t2) =
|
474
|
-
Tuple.second (next std)
|
475
|
-
in
|
476
|
-
(State new_s1 t2, State t1 new_s2)
|
477
|
-
|
478
|
-
|
479
|
-
range : State -> (Int,Int)
|
480
|
-
range _ =
|
481
|
-
(0, magicNum8)
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
-- MANAGER
|
486
|
-
|
487
|
-
|
488
|
-
{-| Create a command that will generate random values.
|
489
|
-
|
490
|
-
Read more about how to use this in your programs in [The Elm Architecture
|
491
|
-
tutorial][arch] which has a section specifically [about random values][rand].
|
492
|
-
|
493
|
-
[arch]: https://evancz.gitbooks.io/an-introduction-to-elm/content/architecture/index.html
|
494
|
-
[rand]: https://evancz.gitbooks.io/an-introduction-to-elm/content/architecture/effects/random.html
|
495
|
-
-}
|
496
|
-
generate : (a -> msg) -> Generator a -> Cmd msg
|
497
|
-
generate tagger generator =
|
498
|
-
command (Generate (map tagger generator))
|
499
|
-
|
500
|
-
|
501
|
-
type MyCmd msg = Generate (Generator msg)
|
502
|
-
|
503
|
-
|
504
|
-
cmdMap : (a -> b) -> MyCmd a -> MyCmd b
|
505
|
-
cmdMap func (Generate generator) =
|
506
|
-
Generate (map func generator)
|
507
|
-
|
508
|
-
|
509
|
-
init : Task Never Seed
|
510
|
-
init =
|
511
|
-
Time.now
|
512
|
-
|> Task.andThen (\t -> Task.succeed (initialSeed (round t)))
|
513
|
-
|
514
|
-
|
515
|
-
onEffects : Platform.Router msg Never -> List (MyCmd msg) -> Seed -> Task Never Seed
|
516
|
-
onEffects router commands seed =
|
517
|
-
case commands of
|
518
|
-
[] ->
|
519
|
-
Task.succeed seed
|
520
|
-
|
521
|
-
Generate generator :: rest ->
|
522
|
-
let
|
523
|
-
(value, newSeed) =
|
524
|
-
step generator seed
|
525
|
-
in
|
526
|
-
Platform.sendToApp router value
|
527
|
-
|> Task.andThen (\_ -> onEffects router rest newSeed)
|
528
|
-
|
529
|
-
|
530
|
-
onSelfMsg : Platform.Router msg Never -> Never -> Seed -> Task Never Seed
|
531
|
-
onSelfMsg _ _ seed =
|
532
|
-
Task.succeed seed
|