rails/Gemfile.lock

576 lines
14 KiB
Plaintext
Raw Normal View History

GIT
remote: https://github.com/matthewd/rb-inotify.git
revision: 856730aad4b285969e8dd621e44808a7c5af4242
branch: close-handling
specs:
rb-inotify (0.9.9)
ffi (~> 1.0)
GIT
remote: https://github.com/matthewd/websocket-client-simple.git
revision: e161305f1a466b9398d86df3b1731b03362da91b
branch: close-race
specs:
websocket-client-simple (0.3.0)
event_emitter
websocket
GIT
remote: https://github.com/rafaelfranca/queue_classic.git
revision: dee64b361355d56700ad7aa3b151bf653a617526
branch: update-pg
specs:
queue_classic (3.2.0.RC1)
pg (>= 0.17, < 2.0)
Make Webpacker the default JavaScript compiler for Rails 6 (#33079) * Use Webpacker by default on new apps * Stop including coffee-rails by default * Drop using a js_compressor by default * Drop extra test for coffeescript inclusion by default * Stick with skip_javascript to signify skipping webpack * Don't install a JS runtime by default any more * app/javascript will be the new default directory for JS * Make it clear that this is just for configuring the default Webpack framework setup now * Start using the Webpack tag in the default layout * Irrelevant test * jQuery is long gone * Stop having asset pipeline compile default application.js * Add rails-ujs by default to the Webpack setup * Add Active Storage JavaScript to application.js pack by default * Consistent quoting * Add Turbolinks to default pack * Add Action Cable to default pack Need some work on how to set the global consumer that channels will work with. @javan? * Require all channels by default and use a separate consumer stub * Channel generator now targets Webpack style * Update task docs to match new generator style * Use uniform import style * Drop the JS assets generator It was barely helpful as it was. It’s no longer helpful in a Webpacked world. Sayonara! * Add app/javascript to the stats directories * Simpler import style Which match the other imports. * Address test failures from dropping JS compilation (and compression) * webpacker-default: Modify `AssetsGeneratorTest` Before: ``` $ bin/test test/generators/assets_generator_test.rb Run options: --seed 46201 F Failure: AssetsGeneratorTest#test_assets [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:12]: Expected file "app/assets/javascripts/posts.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:10 . Finished in 0.031343s, 63.8101 runs/s, 95.7152 assertions/s. 2 runs, 3 assertions, 1 failures, 0 errors, 0 skips ``` After: ``` $ bin/test test/generators/assets_generator_test.rb Run options: --seed 43571 .. Finished in 0.030370s, 65.8545 runs/s, 65.8545 assertions/s. 2 runs, 2 assertions, 0 failures, 0 errors, 0 skips ``` * webpacker-default: Modify `ChannelGeneratorTest` Before: ``` $ bin/test test/generators/channel_generator_test.rb Run options: --seed 8986 .F Failure: ChannelGeneratorTest#test_channel_with_multiple_actions_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:43]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:34 .F Failure: ChannelGeneratorTest#test_channel_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:29]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:22 E Error: ChannelGeneratorTest#test_cable_js_is_created_if_not_present_already: Errno::ENOENT: No such file or directory @ apply2files - /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/fixtures/tmp/app/assets/javascripts/cable.js bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:60 F Failure: ChannelGeneratorTest#test_channel_suffix_is_not_duplicated [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:87]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:80 F Failure: ChannelGeneratorTest#test_channel_on_revoke [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:77]: Expected file "app/assets/javascripts/cable.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:68 Finished in 0.064384s, 108.7227 runs/s, 481.4861 assertions/s. 7 runs, 31 assertions, 4 failures, 1 errors, 0 skips ``` After: ``` $ bin/test test/generators/channel_generator_test.rb Run options: --seed 44857 ....... Finished in 0.060243s, 116.1961 runs/s, 697.1764 assertions/s. 7 runs, 42 assertions, 0 failures, 0 errors, 0 skips ``` * Fix shared generator tests. * webpacker-default: Modify `ControllerGeneratorTest` The JS assets generator was dropped. ref. https://github.com/rails/rails/commit/46215b179483d3e4d264555f5a4952f43eb8142a * Revert "Simpler import style". It's currently failing with an error of "TypeError: undefined is not an object (evaluating '__WEBPACK_IMPORTED_MODULE_2_activestorage___default.a.start')". Waiting for @javan to have a look. This reverts commit 5d3ebb71059f635d3756cbda4ab9752027e09256. * require webpacker in test app * Add webpacker without making the build hang/timeout. (#33640) * use yarn workspaces to allow for installing unreleased packages and only generate js/bootsnap when required * no longer need to have webpacker in env templates as webpacker moved this config to yml file * Fix rubocop violation * Got the test passing for the running scaffold * update expected lines of code * update middleware tests to account for webpacker * disable js in plugins be default to get the tests passing (#34009) * clear codeclimate report issues * Anything newer than currently released is good * Use Webpacker development version during development of Rails * Edge should get development webpacker as well * Add changelog entry for Webpacker change
2018-10-01 13:31:21 +08:00
GIT
remote: https://github.com/rails/webpacker.git
revision: 48d9fd52c3e9637dbb21e551b48c84c0f2dbb2ed
specs:
webpacker (4.0.0.pre.pre.2)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
PATH
remote: .
specs:
actioncable (6.0.0.alpha)
actionpack (= 6.0.0.alpha)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (6.0.0.alpha)
actionpack (= 6.0.0.alpha)
actionview (= 6.0.0.alpha)
activejob (= 6.0.0.alpha)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.0.0.alpha)
actionview (= 6.0.0.alpha)
activesupport (= 6.0.0.alpha)
2016-07-01 02:10:22 +08:00
rack (~> 2.0)
2017-07-20 07:04:53 +08:00
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (6.0.0.alpha)
activesupport (= 6.0.0.alpha)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (6.0.0.alpha)
activesupport (= 6.0.0.alpha)
globalid (>= 0.3.6)
activemodel (6.0.0.alpha)
activesupport (= 6.0.0.alpha)
activerecord (6.0.0.alpha)
activemodel (= 6.0.0.alpha)
activesupport (= 6.0.0.alpha)
activestorage (6.0.0.alpha)
actionpack (= 6.0.0.alpha)
activerecord (= 6.0.0.alpha)
2018-01-16 02:06:17 +08:00
marcel (~> 0.3.1)
activesupport (6.0.0.alpha)
concurrent-ruby (~> 1.0, >= 1.0.2)
2018-02-15 00:55:36 +08:00
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
rails (6.0.0.alpha)
actioncable (= 6.0.0.alpha)
actionmailer (= 6.0.0.alpha)
actionpack (= 6.0.0.alpha)
actionview (= 6.0.0.alpha)
activejob (= 6.0.0.alpha)
activemodel (= 6.0.0.alpha)
activerecord (= 6.0.0.alpha)
activestorage (= 6.0.0.alpha)
activesupport (= 6.0.0.alpha)
2017-07-05 02:54:26 +08:00
bundler (>= 1.3.0)
railties (= 6.0.0.alpha)
sprockets-rails (>= 2.0.0)
railties (6.0.0.alpha)
actionpack (= 6.0.0.alpha)
activesupport (= 6.0.0.alpha)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
GEM
remote: https://rubygems.org/
specs:
2018-09-06 05:41:31 +08:00
activerecord-jdbc-adapter (52.0-java)
activerecord (~> 5.2.0)
activerecord-jdbcmysql-adapter (52.0-java)
activerecord-jdbc-adapter (= 52.0)
2018-05-31 01:49:55 +08:00
jdbc-mysql (~> 5.1.36)
2018-09-06 05:41:31 +08:00
activerecord-jdbcpostgresql-adapter (52.0-java)
activerecord-jdbc-adapter (= 52.0)
2018-05-31 01:49:55 +08:00
jdbc-postgres (>= 9.4, < 43)
2018-09-06 05:41:31 +08:00
activerecord-jdbcsqlite3-adapter (52.0-java)
activerecord-jdbc-adapter (= 52.0)
2018-05-31 01:49:55 +08:00
jdbc-sqlite3 (~> 3.8, < 3.30)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
2018-05-31 01:49:55 +08:00
amq-protocol (2.3.0)
archive-zip (0.11.0)
io-like (~> 0.3.0)
ast (2.4.0)
2018-09-06 05:41:31 +08:00
aws-eventstream (1.0.1)
aws-partitions (1.102.0)
aws-sdk-core (3.25.0)
2018-05-31 01:49:55 +08:00
aws-eventstream (~> 1.0)
2017-09-10 11:22:10 +08:00
aws-partitions (~> 1.0)
2017-08-01 04:55:55 +08:00
aws-sigv4 (~> 1.0)
jmespath (~> 1.0)
2018-09-06 05:41:31 +08:00
aws-sdk-kms (1.7.0)
2017-09-10 11:22:10 +08:00
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
2018-09-06 05:41:31 +08:00
aws-sdk-s3 (1.17.1)
2018-05-31 01:49:55 +08:00
aws-sdk-core (~> 3, >= 3.21.2)
2017-09-10 11:22:10 +08:00
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.0)
2018-09-06 05:41:31 +08:00
aws-sigv4 (1.0.3)
2018-05-31 01:49:55 +08:00
azure-core (0.1.14)
faraday (~> 0.9)
faraday_middleware (~> 0.10)
nokogiri (~> 1.6)
2018-05-31 01:49:55 +08:00
azure-storage (0.15.0.preview)
2017-08-01 04:55:55 +08:00
azure-core (~> 0.1)
faraday (~> 0.9)
faraday_middleware (~> 0.10)
2018-05-31 01:49:55 +08:00
nokogiri (~> 1.6, >= 1.6.8)
backburner (1.5.0)
2015-08-10 11:30:03 +08:00
beaneater (~> 1.0)
concurrent-ruby (~> 1.0, >= 1.0.1)
2015-08-10 11:30:03 +08:00
dante (> 0.1.5)
2018-05-31 01:49:55 +08:00
bcrypt (3.1.12)
bcrypt (3.1.12-java)
bcrypt (3.1.12-x64-mingw32)
bcrypt (3.1.12-x86-mingw32)
2015-08-10 11:30:03 +08:00
beaneater (1.0.0)
benchmark-ips (2.7.2)
blade (0.7.1)
activesupport (>= 3.0.0)
blade-qunit_adapter (~> 2.0.1)
coffee-script
coffee-script-source
curses (~> 1.0.0)
eventmachine
faye
sprockets (>= 3.0)
thin (>= 1.6.0)
thor (>= 0.19.1)
useragent (~> 0.16.7)
blade-qunit_adapter (2.0.1)
2018-05-31 01:49:55 +08:00
blade-sauce_labs_plugin (0.7.3)
childprocess
faraday
selenium-webdriver
2018-09-06 05:41:31 +08:00
bootsnap (1.3.1)
msgpack (~> 1.0)
2018-09-06 05:41:31 +08:00
bootsnap (1.3.1-java)
msgpack (~> 1.0)
builder (3.2.3)
2018-05-31 01:49:55 +08:00
bunny (2.9.2)
amq-protocol (~> 2.3.0)
byebug (10.0.2)
2018-09-06 05:41:31 +08:00
capybara (3.7.1)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
2018-09-06 05:41:31 +08:00
xpath (~> 3.1)
2018-05-31 01:49:55 +08:00
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
2018-09-16 08:18:12 +08:00
chromedriver-helper (2.0.0)
2018-05-31 01:49:55 +08:00
archive-zip (~> 0.10)
nokogiri (~> 1.8)
2015-08-10 11:30:03 +08:00
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
2017-04-16 23:40:00 +08:00
concurrent-ruby (1.0.5)
concurrent-ruby (1.0.5-java)
2018-05-31 01:49:55 +08:00
connection_pool (2.2.2)
cookiejar (0.3.3)
2018-05-31 01:49:55 +08:00
crass (1.0.4)
curses (1.0.2)
2018-05-31 01:49:55 +08:00
daemons (1.2.6)
dalli (2.7.8)
2015-08-10 11:30:03 +08:00
dante (0.2.0)
declarative (0.0.10)
2017-08-01 04:55:55 +08:00
declarative-option (0.1.0)
2018-05-31 01:49:55 +08:00
delayed_job (4.1.5)
activesupport (>= 3.0, < 5.3)
delayed_job_active_record (4.1.3)
activerecord (>= 3.0, < 5.3)
delayed_job (>= 3.0, < 5)
2017-08-01 04:55:55 +08:00
digest-crc (0.4.1)
em-http-request (1.1.5)
addressable (>= 2.3.4)
cookiejar (!= 0.3.1)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.2)
eventmachine (>= 1.0.0.beta.4)
2018-05-31 01:49:55 +08:00
erubi (1.7.1)
2018-09-06 05:41:31 +08:00
et-orbi (1.1.6)
2017-07-20 07:04:53 +08:00
tzinfo
event_emitter (0.2.6)
2018-05-31 01:49:55 +08:00
eventmachine (1.2.7)
execjs (2.7.0)
2018-05-31 01:49:55 +08:00
faraday (0.15.2)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.12.2)
2017-08-01 04:55:55 +08:00
faraday (>= 0.7.4, < 1.0)
2017-07-20 07:04:53 +08:00
faye (1.2.4)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.9.1)
multi_json (>= 1.0.0)
rack (>= 1.0.0)
websocket-driver (>= 0.5.1)
2017-07-20 07:04:53 +08:00
faye-websocket (0.10.7)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
ffi (1.9.25)
ffi (1.9.25-java)
ffi (1.9.25-x64-mingw32)
ffi (1.9.25-x86-mingw32)
2018-09-06 05:41:31 +08:00
fugit (1.1.6)
et-orbi (~> 1.1, >= 1.1.6)
2018-05-31 01:49:55 +08:00
raabro (~> 1.1)
2017-11-28 02:01:15 +08:00
globalid (0.4.1)
2017-04-16 23:40:00 +08:00
activesupport (>= 4.2.0)
2018-09-06 05:41:31 +08:00
google-api-client (0.23.8)
2017-08-01 04:55:55 +08:00
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.5, < 0.7.0)
2017-08-01 04:55:55 +08:00
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
2018-09-06 05:41:31 +08:00
signet (~> 0.9)
google-cloud-core (1.2.3)
2017-08-01 04:55:55 +08:00
google-cloud-env (~> 1.0)
2018-09-06 05:41:31 +08:00
google-cloud-env (1.0.2)
2017-08-01 04:55:55 +08:00
faraday (~> 0.11)
2018-09-06 05:41:31 +08:00
google-cloud-storage (1.13.1)
2017-08-01 04:55:55 +08:00
digest-crc (~> 0.4)
2018-09-06 05:41:31 +08:00
google-api-client (~> 0.23)
google-cloud-core (~> 1.2)
googleauth (~> 0.6.2)
2018-09-06 05:41:31 +08:00
googleauth (0.6.6)
2017-08-01 04:55:55 +08:00
faraday (~> 0.12)
jwt (>= 1.4, < 3.0)
2017-08-01 04:55:55 +08:00
memoist (~> 0.12)
multi_json (~> 1.11)
2018-09-06 05:41:31 +08:00
os (>= 0.9, < 2.0)
2017-08-01 04:55:55 +08:00
signet (~> 0.7)
2016-01-29 03:57:08 +08:00
hiredis (0.6.1)
hiredis (0.6.1-java)
http_parser.rb (0.6.0)
2017-08-01 04:55:55 +08:00
httpclient (2.8.3)
i18n (1.1.0)
2017-11-28 02:01:15 +08:00
concurrent-ruby (~> 1.0)
image_processing (1.6.0)
Use ImageProcessing gem for ActiveStorage variants ImageProcessing gem is a wrapper around MiniMagick and ruby-vips, and implements an interface for common image resizing and processing. This is the canonical image processing gem recommended in [Shrine], and that's where it developed from. The initial implementation was extracted from Refile, which also implements on-the-fly transformations. Some features that ImageProcessing gem adds on top of MiniMagick: * resizing macros - #resize_to_limit - #resize_to_fit - #resize_to_fill - #resize_and_pad * automatic orientation * automatic thumbnail sharpening * avoids the complex and inefficient MiniMagick::Image class * will use "magick" instead of "convert" on ImageMagick 7 However, the biggest feature of the ImageProcessing gem is that it has an alternative implementation that uses libvips. Libvips is an alternative to ImageMagick that can process images very rapidly (we've seen up 10x faster than ImageMagick). What's great is that the ImageProcessing gem provides the same interface for both implementations. The macros are named the same, and the libvips implementation does auto orientation and thumbnail sharpening as well; only the operations/options specific to ImageMagick/libvips differ. The integration provided by this PR should work for both implementations. The plan is to introduce the ImageProcessing backend in Rails 6.0 as the default backend and deprecate the MiniMagick backend, then in Rails 6.1 remove the MiniMagick backend.
2018-04-06 07:48:29 +08:00
mini_magick (~> 4.0)
ruby-vips (>= 2.0.11, < 3)
io-like (0.3.0)
jaro_winkler (1.5.1)
jaro_winkler (1.5.1-java)
2018-05-31 01:49:55 +08:00
jdbc-mysql (5.1.46)
jdbc-postgres (42.1.4)
jdbc-sqlite3 (3.20.1)
jmespath (1.4.0)
2017-07-20 07:04:53 +08:00
json (2.1.0)
json (2.1.0-java)
jwt (2.1.0)
2016-12-18 23:13:50 +08:00
kindlerb (1.2.0)
mustache
nokogiri
2018-05-31 01:49:55 +08:00
libxml-ruby (3.1.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
2018-05-31 01:49:55 +08:00
loofah (2.2.2)
2017-11-28 02:01:15 +08:00
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
2018-10-14 07:33:40 +08:00
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (0.3.3)
2018-01-16 02:06:17 +08:00
mimemagic (~> 0.3.2)
2017-08-01 04:55:55 +08:00
memoist (0.16.0)
2017-11-28 02:01:15 +08:00
method_source (0.9.0)
2018-09-06 05:41:31 +08:00
mime-types (3.2.2)
2016-04-28 04:47:22 +08:00
mime-types-data (~> 3.2015)
2018-09-06 05:41:31 +08:00
mime-types-data (3.2018.0812)
2018-01-16 02:06:17 +08:00
mimemagic (0.3.2)
mini_magick (4.9.2)
2018-09-06 05:41:31 +08:00
mini_mime (1.0.1)
2017-12-15 02:06:53 +08:00
mini_portile2 (2.3.0)
minitest (5.11.3)
minitest-bisect (1.4.0)
minitest-server (~> 1.0)
path_expander (~> 1.0)
2018-10-11 06:33:09 +08:00
minitest-retry (0.1.9)
minitest (>= 5.0)
minitest-server (1.0.5)
minitest (~> 5.0)
mono_logger (1.1.0)
msgpack (1.2.4)
msgpack (1.2.4-java)
msgpack (1.2.4-x64-mingw32)
msgpack (1.2.4-x86-mingw32)
2018-05-31 01:49:55 +08:00
multi_json (1.13.1)
multipart-post (2.0.0)
2017-07-20 07:04:53 +08:00
mustache (1.0.5)
2018-09-06 05:41:31 +08:00
mustermann (1.0.3)
mysql2 (0.5.2)
mysql2 (0.5.2-x64-mingw32)
mysql2 (0.5.2-x86-mingw32)
2018-05-31 01:49:55 +08:00
nio4r (2.3.1)
nio4r (2.3.1-java)
2018-10-05 14:46:46 +08:00
nokogiri (1.8.5)
2017-12-15 02:06:53 +08:00
mini_portile2 (~> 2.3.0)
2018-10-05 14:46:46 +08:00
nokogiri (1.8.5-java)
nokogiri (1.8.5-x64-mingw32)
2017-12-15 02:06:53 +08:00
mini_portile2 (~> 2.3.0)
2018-10-05 14:46:46 +08:00
nokogiri (1.8.5-x86-mingw32)
2017-12-15 02:06:53 +08:00
mini_portile2 (~> 2.3.0)
2018-09-06 05:41:31 +08:00
os (1.0.0)
parallel (1.12.1)
parser (2.5.3.0)
ast (~> 2.4.0)
2018-05-31 01:49:55 +08:00
path_expander (1.0.3)
pg (1.1.3)
pg (1.1.3-x64-mingw32)
pg (1.1.3-x86-mingw32)
powerpack (0.1.2)
2018-03-10 04:14:36 +08:00
psych (3.0.2)
2018-09-06 05:41:31 +08:00
public_suffix (3.0.3)
puma (3.12.0)
puma (3.12.0-java)
2018-05-31 01:49:55 +08:00
que (0.14.3)
qunit-selenium (0.0.4)
selenium-webdriver
thor
raabro (1.1.6)
2015-12-17 02:30:58 +08:00
racc (1.4.14)
2018-05-31 01:49:55 +08:00
rack (2.0.5)
2018-09-06 05:41:31 +08:00
rack-cache (1.8.0)
rack (>= 0.4)
2018-09-06 05:41:31 +08:00
rack-protection (2.0.3)
rack
Make Webpacker the default JavaScript compiler for Rails 6 (#33079) * Use Webpacker by default on new apps * Stop including coffee-rails by default * Drop using a js_compressor by default * Drop extra test for coffeescript inclusion by default * Stick with skip_javascript to signify skipping webpack * Don't install a JS runtime by default any more * app/javascript will be the new default directory for JS * Make it clear that this is just for configuring the default Webpack framework setup now * Start using the Webpack tag in the default layout * Irrelevant test * jQuery is long gone * Stop having asset pipeline compile default application.js * Add rails-ujs by default to the Webpack setup * Add Active Storage JavaScript to application.js pack by default * Consistent quoting * Add Turbolinks to default pack * Add Action Cable to default pack Need some work on how to set the global consumer that channels will work with. @javan? * Require all channels by default and use a separate consumer stub * Channel generator now targets Webpack style * Update task docs to match new generator style * Use uniform import style * Drop the JS assets generator It was barely helpful as it was. It’s no longer helpful in a Webpacked world. Sayonara! * Add app/javascript to the stats directories * Simpler import style Which match the other imports. * Address test failures from dropping JS compilation (and compression) * webpacker-default: Modify `AssetsGeneratorTest` Before: ``` $ bin/test test/generators/assets_generator_test.rb Run options: --seed 46201 F Failure: AssetsGeneratorTest#test_assets [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:12]: Expected file "app/assets/javascripts/posts.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:10 . Finished in 0.031343s, 63.8101 runs/s, 95.7152 assertions/s. 2 runs, 3 assertions, 1 failures, 0 errors, 0 skips ``` After: ``` $ bin/test test/generators/assets_generator_test.rb Run options: --seed 43571 .. Finished in 0.030370s, 65.8545 runs/s, 65.8545 assertions/s. 2 runs, 2 assertions, 0 failures, 0 errors, 0 skips ``` * webpacker-default: Modify `ChannelGeneratorTest` Before: ``` $ bin/test test/generators/channel_generator_test.rb Run options: --seed 8986 .F Failure: ChannelGeneratorTest#test_channel_with_multiple_actions_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:43]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:34 .F Failure: ChannelGeneratorTest#test_channel_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:29]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:22 E Error: ChannelGeneratorTest#test_cable_js_is_created_if_not_present_already: Errno::ENOENT: No such file or directory @ apply2files - /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/fixtures/tmp/app/assets/javascripts/cable.js bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:60 F Failure: ChannelGeneratorTest#test_channel_suffix_is_not_duplicated [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:87]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:80 F Failure: ChannelGeneratorTest#test_channel_on_revoke [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:77]: Expected file "app/assets/javascripts/cable.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:68 Finished in 0.064384s, 108.7227 runs/s, 481.4861 assertions/s. 7 runs, 31 assertions, 4 failures, 1 errors, 0 skips ``` After: ``` $ bin/test test/generators/channel_generator_test.rb Run options: --seed 44857 ....... Finished in 0.060243s, 116.1961 runs/s, 697.1764 assertions/s. 7 runs, 42 assertions, 0 failures, 0 errors, 0 skips ``` * Fix shared generator tests. * webpacker-default: Modify `ControllerGeneratorTest` The JS assets generator was dropped. ref. https://github.com/rails/rails/commit/46215b179483d3e4d264555f5a4952f43eb8142a * Revert "Simpler import style". It's currently failing with an error of "TypeError: undefined is not an object (evaluating '__WEBPACK_IMPORTED_MODULE_2_activestorage___default.a.start')". Waiting for @javan to have a look. This reverts commit 5d3ebb71059f635d3756cbda4ab9752027e09256. * require webpacker in test app * Add webpacker without making the build hang/timeout. (#33640) * use yarn workspaces to allow for installing unreleased packages and only generate js/bootsnap when required * no longer need to have webpacker in env templates as webpacker moved this config to yml file * Fix rubocop violation * Got the test passing for the running scaffold * update expected lines of code * update middleware tests to account for webpacker * disable js in plugins be default to get the tests passing (#34009) * clear codeclimate report issues * Anything newer than currently released is good * Use Webpacker development version during development of Rails * Edge should get development webpacker as well * Add changelog entry for Webpacker change
2018-10-01 13:31:21 +08:00
rack-proxy (0.6.5)
rack
2018-09-06 05:41:31 +08:00
rack-test (1.1.0)
2017-07-20 07:04:53 +08:00
rack (>= 1.0, < 3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
2018-05-31 01:49:55 +08:00
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
rainbow (3.0.0)
2018-05-31 01:49:55 +08:00
rake (12.3.1)
rb-fsevent (0.10.3)
rdoc (6.0.4)
redcarpet (3.2.3)
2018-09-06 05:41:31 +08:00
redis (4.0.2)
redis-namespace (1.6.0)
redis (>= 3.0.4)
2017-08-01 04:55:55 +08:00
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
2017-07-20 07:04:53 +08:00
resque (1.27.4)
2017-02-10 14:31:41 +08:00
mono_logger (~> 1.0)
multi_json (~> 1.0)
redis-namespace (~> 1.3)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
resque-scheduler (4.3.1)
mono_logger (~> 1.0)
redis (>= 3.3, < 5)
resque (~> 1.26)
rufus-scheduler (~> 3.2)
2018-09-06 05:41:31 +08:00
retriable (3.1.2)
rubocop (0.60.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
2016-11-28 11:12:33 +08:00
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
2016-11-28 11:12:33 +08:00
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.4.0)
2018-09-06 05:41:31 +08:00
ruby-progressbar (1.10.0)
ruby-vips (2.0.13)
Use ImageProcessing gem for ActiveStorage variants ImageProcessing gem is a wrapper around MiniMagick and ruby-vips, and implements an interface for common image resizing and processing. This is the canonical image processing gem recommended in [Shrine], and that's where it developed from. The initial implementation was extracted from Refile, which also implements on-the-fly transformations. Some features that ImageProcessing gem adds on top of MiniMagick: * resizing macros - #resize_to_limit - #resize_to_fit - #resize_to_fill - #resize_and_pad * automatic orientation * automatic thumbnail sharpening * avoids the complex and inefficient MiniMagick::Image class * will use "magick" instead of "convert" on ImageMagick 7 However, the biggest feature of the ImageProcessing gem is that it has an alternative implementation that uses libvips. Libvips is an alternative to ImageMagick that can process images very rapidly (we've seen up 10x faster than ImageMagick). What's great is that the ImageProcessing gem provides the same interface for both implementations. The macros are named the same, and the libvips implementation does auto orientation and thumbnail sharpening as well; only the operations/options specific to ImageMagick/libvips differ. The integration provided by this PR should work for both implementations. The plan is to introduce the ImageProcessing backend in Rails 6.0 as the default backend and deprecate the MiniMagick backend, then in Rails 6.1 remove the MiniMagick backend.
2018-04-06 07:48:29 +08:00
ffi (~> 1.9)
2016-12-26 20:46:01 +08:00
ruby_dep (1.5.0)
2018-09-06 05:41:31 +08:00
rubyzip (1.2.2)
rufus-scheduler (3.5.2)
fugit (~> 1.1, >= 1.1.5)
sass (3.5.7)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
2017-11-15 03:42:12 +08:00
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
2018-02-07 02:49:15 +08:00
sdoc (1.0.0)
rdoc (>= 5.0)
2018-09-06 05:41:31 +08:00
selenium-webdriver (3.14.0)
childprocess (~> 0.5)
2018-05-31 01:49:55 +08:00
rubyzip (~> 1.2)
2018-09-06 05:41:31 +08:00
sequel (5.12.0)
serverengine (2.0.7)
sigdump (~> 0.2.2)
2018-09-06 05:41:31 +08:00
sidekiq (5.2.1)
connection_pool (~> 2.2, >= 2.2.2)
rack-protection (>= 1.5.0)
2018-05-31 01:49:55 +08:00
redis (>= 3.3.5, < 5)
sigdump (0.2.4)
2018-09-06 05:41:31 +08:00
signet (0.9.1)
2017-08-01 04:55:55 +08:00
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
2017-08-01 04:55:55 +08:00
multi_json (~> 1.10)
2018-09-06 05:41:31 +08:00
sinatra (2.0.3)
2017-07-20 07:04:53 +08:00
mustermann (~> 1.0)
rack (~> 2.0)
2018-09-06 05:41:31 +08:00
rack-protection (= 2.0.3)
2017-07-20 07:04:53 +08:00
tilt (~> 2.0)
2018-05-31 01:49:55 +08:00
sneakers (2.7.0)
bunny (~> 2.9.2)
concurrent-ruby (~> 1.0)
serverengine (~> 2.0.5)
thor
sprockets (3.7.2)
2015-12-17 02:30:58 +08:00
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
2017-07-20 07:04:53 +08:00
sprockets-export (1.0.0)
2018-05-31 01:49:55 +08:00
sprockets-rails (3.2.1)
2015-12-18 04:22:58 +08:00
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
sqlite3 (1.3.13-x64-mingw32)
sqlite3 (1.3.13-x86-mingw32)
2018-09-06 05:41:31 +08:00
stackprof (0.2.12)
sucker_punch (2.1.1)
concurrent-ruby (~> 1.0)
2017-07-20 07:04:53 +08:00
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
2018-11-10 06:20:45 +08:00
thor (0.20.1)
2017-04-16 23:40:00 +08:00
thread_safe (0.3.6)
thread_safe (0.3.6-java)
tilt (2.0.8)
2018-09-06 05:41:31 +08:00
turbolinks (5.2.0)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
2018-05-31 01:49:55 +08:00
tzinfo-data (1.2018.5)
tzinfo (>= 1.0.0)
2017-08-01 04:55:55 +08:00
uber (0.1.0)
2018-09-06 05:41:31 +08:00
uglifier (4.1.18)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.4.0)
2018-05-31 01:49:55 +08:00
useragent (0.16.10)
vegas (0.1.11)
rack (>= 1.0.0)
2018-09-06 05:41:31 +08:00
w3c_validators (1.3.4)
2017-07-20 07:04:53 +08:00
json (>= 1.8)
2016-12-26 20:46:01 +08:00
nokogiri (~> 1.6)
wdm (0.1.1)
2018-05-31 01:49:55 +08:00
websocket (1.2.8)
websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
2018-05-31 01:49:55 +08:00
websocket-driver (0.7.0-java)
websocket-extensions (>= 0.1.0)
2018-05-31 01:49:55 +08:00
websocket-extensions (0.1.3)
xpath (3.1.0)
nokogiri (~> 1.8)
PLATFORMS
java
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
activerecord-jdbcmysql-adapter (>= 1.3.0)
activerecord-jdbcpostgresql-adapter (>= 1.3.0)
activerecord-jdbcsqlite3-adapter (>= 1.3.0)
2017-09-10 11:22:10 +08:00
aws-sdk-s3
2017-08-01 04:55:55 +08:00
azure-storage
backburner
2016-03-11 03:28:02 +08:00
bcrypt (~> 3.1.11)
benchmark-ips
blade
blade-sauce_labs_plugin
bootsnap (>= 1.1.0)
byebug
capybara (>= 2.15)
chromedriver-helper
connection_pool
dalli
delayed_job
delayed_job_active_record
google-cloud-storage (~> 1.11)
hiredis
Use ImageProcessing gem for ActiveStorage variants ImageProcessing gem is a wrapper around MiniMagick and ruby-vips, and implements an interface for common image resizing and processing. This is the canonical image processing gem recommended in [Shrine], and that's where it developed from. The initial implementation was extracted from Refile, which also implements on-the-fly transformations. Some features that ImageProcessing gem adds on top of MiniMagick: * resizing macros - #resize_to_limit - #resize_to_fit - #resize_to_fill - #resize_and_pad * automatic orientation * automatic thumbnail sharpening * avoids the complex and inefficient MiniMagick::Image class * will use "magick" instead of "convert" on ImageMagick 7 However, the biggest feature of the ImageProcessing gem is that it has an alternative implementation that uses libvips. Libvips is an alternative to ImageMagick that can process images very rapidly (we've seen up 10x faster than ImageMagick). What's great is that the ImageProcessing gem provides the same interface for both implementations. The macros are named the same, and the libvips implementation does auto orientation and thumbnail sharpening as well; only the operations/options specific to ImageMagick/libvips differ. The integration provided by this PR should work for both implementations. The plan is to introduce the ImageProcessing backend in Rails 6.0 as the default backend and deprecate the MiniMagick backend, then in Rails 6.1 remove the MiniMagick backend.
2018-04-06 07:48:29 +08:00
image_processing (~> 1.2)
json (>= 2.0.0)
2016-12-18 23:13:50 +08:00
kindlerb (~> 1.2.0)
libxml-ruby
listen (>= 3.0.5, < 3.2)
minitest-bisect
2018-10-11 06:33:09 +08:00
minitest-retry
mysql2 (>= 0.4.10)
2017-12-15 02:06:53 +08:00
nokogiri (>= 1.8.1)
pg (>= 0.18.0)
2018-03-10 04:14:36 +08:00
psych (~> 3.0)
puma
que
queue_classic!
qunit-selenium
racc (>= 1.4.6)
rack-cache (~> 1.2)
rails!
rake (>= 11.1)
rb-inotify!
redcarpet (~> 3.2.3)
redis (~> 4.0)
redis-namespace
2017-02-10 14:31:41 +08:00
resque
resque-scheduler
2017-01-16 14:34:30 +08:00
rubocop (>= 0.47)
2017-11-15 03:42:12 +08:00
sass-rails
2018-02-07 02:49:15 +08:00
sdoc (~> 1.0)
sequel
sidekiq
2015-04-26 15:44:18 +08:00
sneakers
sprockets-export
sqlite3 (~> 1.3.6)
stackprof
sucker_punch
2016-07-01 01:18:52 +08:00
turbolinks (~> 5)
tzinfo-data
uglifier (>= 1.3.0)
w3c_validators
wdm (>= 0.1.0)
Make Webpacker the default JavaScript compiler for Rails 6 (#33079) * Use Webpacker by default on new apps * Stop including coffee-rails by default * Drop using a js_compressor by default * Drop extra test for coffeescript inclusion by default * Stick with skip_javascript to signify skipping webpack * Don't install a JS runtime by default any more * app/javascript will be the new default directory for JS * Make it clear that this is just for configuring the default Webpack framework setup now * Start using the Webpack tag in the default layout * Irrelevant test * jQuery is long gone * Stop having asset pipeline compile default application.js * Add rails-ujs by default to the Webpack setup * Add Active Storage JavaScript to application.js pack by default * Consistent quoting * Add Turbolinks to default pack * Add Action Cable to default pack Need some work on how to set the global consumer that channels will work with. @javan? * Require all channels by default and use a separate consumer stub * Channel generator now targets Webpack style * Update task docs to match new generator style * Use uniform import style * Drop the JS assets generator It was barely helpful as it was. It’s no longer helpful in a Webpacked world. Sayonara! * Add app/javascript to the stats directories * Simpler import style Which match the other imports. * Address test failures from dropping JS compilation (and compression) * webpacker-default: Modify `AssetsGeneratorTest` Before: ``` $ bin/test test/generators/assets_generator_test.rb Run options: --seed 46201 F Failure: AssetsGeneratorTest#test_assets [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:12]: Expected file "app/assets/javascripts/posts.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/assets_generator_test.rb:10 . Finished in 0.031343s, 63.8101 runs/s, 95.7152 assertions/s. 2 runs, 3 assertions, 1 failures, 0 errors, 0 skips ``` After: ``` $ bin/test test/generators/assets_generator_test.rb Run options: --seed 43571 .. Finished in 0.030370s, 65.8545 runs/s, 65.8545 assertions/s. 2 runs, 2 assertions, 0 failures, 0 errors, 0 skips ``` * webpacker-default: Modify `ChannelGeneratorTest` Before: ``` $ bin/test test/generators/channel_generator_test.rb Run options: --seed 8986 .F Failure: ChannelGeneratorTest#test_channel_with_multiple_actions_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:43]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:34 .F Failure: ChannelGeneratorTest#test_channel_is_created [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:29]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:22 E Error: ChannelGeneratorTest#test_cable_js_is_created_if_not_present_already: Errno::ENOENT: No such file or directory @ apply2files - /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/fixtures/tmp/app/assets/javascripts/cable.js bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:60 F Failure: ChannelGeneratorTest#test_channel_suffix_is_not_duplicated [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:87]: Expected file "app/assets/javascripts/channels/chat.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:80 F Failure: ChannelGeneratorTest#test_channel_on_revoke [/Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:77]: Expected file "app/assets/javascripts/cable.js" to exist, but does not bin/test /Users/ttanimichi/ghq/github.com/ttanimichi/rails/railties/test/generators/channel_generator_test.rb:68 Finished in 0.064384s, 108.7227 runs/s, 481.4861 assertions/s. 7 runs, 31 assertions, 4 failures, 1 errors, 0 skips ``` After: ``` $ bin/test test/generators/channel_generator_test.rb Run options: --seed 44857 ....... Finished in 0.060243s, 116.1961 runs/s, 697.1764 assertions/s. 7 runs, 42 assertions, 0 failures, 0 errors, 0 skips ``` * Fix shared generator tests. * webpacker-default: Modify `ControllerGeneratorTest` The JS assets generator was dropped. ref. https://github.com/rails/rails/commit/46215b179483d3e4d264555f5a4952f43eb8142a * Revert "Simpler import style". It's currently failing with an error of "TypeError: undefined is not an object (evaluating '__WEBPACK_IMPORTED_MODULE_2_activestorage___default.a.start')". Waiting for @javan to have a look. This reverts commit 5d3ebb71059f635d3756cbda4ab9752027e09256. * require webpacker in test app * Add webpacker without making the build hang/timeout. (#33640) * use yarn workspaces to allow for installing unreleased packages and only generate js/bootsnap when required * no longer need to have webpacker in env templates as webpacker moved this config to yml file * Fix rubocop violation * Got the test passing for the running scaffold * update expected lines of code * update middleware tests to account for webpacker * disable js in plugins be default to get the tests passing (#34009) * clear codeclimate report issues * Anything newer than currently released is good * Use Webpacker development version during development of Rails * Edge should get development webpacker as well * Add changelog entry for Webpacker change
2018-10-01 13:31:21 +08:00
webpacker!
websocket-client-simple!
2015-05-29 13:40:29 +08:00
BUNDLED WITH
2018-10-11 06:33:09 +08:00
1.16.6