From 45cb0cab26a818094767352d554e546ae22314b3 Mon Sep 17 00:00:00 2001 From: "Dominik M. Kwiatek" <6197148+raccube@users.noreply.github.com> Date: Sat, 3 Apr 2021 18:58:45 +0200 Subject: [PATCH] Disable 00_rails.ts initalizer (#171) * Disable 00_rails.ts initalizer * Update Gemfile.lock Dealing with mimemagic --- Gemfile.lock | 228 +++++++++--------- .../retrospring/initializers/00_rails.ts | 3 - .../retrospring/initializers/_00_rails.ts | 3 + 3 files changed, 122 insertions(+), 112 deletions(-) delete mode 100644 app/javascript/retrospring/initializers/00_rails.ts create mode 100644 app/javascript/retrospring/initializers/_00_rails.ts diff --git a/Gemfile.lock b/Gemfile.lock index 936797ec..f3708ba4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -35,50 +35,50 @@ GIT GEM remote: https://rubygems.org/ specs: - actioncable (5.2.4.4) - actionpack (= 5.2.4.4) + actioncable (5.2.5) + actionpack (= 5.2.5) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailer (5.2.4.4) - actionpack (= 5.2.4.4) - actionview (= 5.2.4.4) - activejob (= 5.2.4.4) + actionmailer (5.2.5) + actionpack (= 5.2.5) + actionview (= 5.2.5) + activejob (= 5.2.5) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.2.4.4) - actionview (= 5.2.4.4) - activesupport (= 5.2.4.4) + actionpack (5.2.5) + actionview (= 5.2.5) + activesupport (= 5.2.5) rack (~> 2.0, >= 2.0.8) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.2.4.4) - activesupport (= 5.2.4.4) + actionview (5.2.5) + activesupport (= 5.2.5) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) - active_model_otp (2.1.0) + active_model_otp (2.1.1) activemodel - rotp (~> 5.0.0) - activejob (5.2.4.4) - activesupport (= 5.2.4.4) + rotp (~> 6.2.0) + activejob (5.2.5) + activesupport (= 5.2.5) globalid (>= 0.3.6) - activemodel (5.2.4.4) - activesupport (= 5.2.4.4) + activemodel (5.2.5) + activesupport (= 5.2.5) activemodel-serializers-xml (1.0.2) activemodel (> 5.x) activesupport (> 5.x) builder (~> 3.1) - activerecord (5.2.4.4) - activemodel (= 5.2.4.4) - activesupport (= 5.2.4.4) + activerecord (5.2.5) + activemodel (= 5.2.5) + activesupport (= 5.2.5) arel (>= 9.0) - activestorage (5.2.4.4) - actionpack (= 5.2.4.4) - activerecord (= 5.2.4.4) - marcel (~> 0.3.1) - activesupport (5.2.4.4) + activestorage (5.2.5) + actionpack (= 5.2.5) + activerecord (= 5.2.5) + marcel (~> 1.0.0) + activesupport (5.2.5) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) @@ -86,8 +86,8 @@ GEM addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) arel (9.0.0) - ast (2.4.1) - autoprefixer-rails (10.1.0.0) + ast (2.4.2) + autoprefixer-rails (10.2.4.0) execjs bcrypt (3.1.16) better_errors (2.9.1) @@ -95,26 +95,26 @@ GEM erubi (>= 1.0.0) rack (>= 0.9.0) bindex (0.8.1) - binding_of_caller (0.8.0) + binding_of_caller (1.0.0) debug_inspector (>= 0.0.1) - bootstrap (4.5.3) + bootstrap (4.6.0) autoprefixer-rails (>= 9.1.0) popper_js (>= 1.14.3, < 2) sassc-rails (>= 2.0.0) bootstrap_form (4.5.0) actionpack (>= 5.2) activemodel (>= 5.2) - brakeman (4.10.1) + brakeman (5.0.0) buftok (0.2.0) builder (3.2.4) byebug (11.1.3) - capybara (3.34.0) + capybara (3.35.3) addressable mini_mime (>= 0.1.3) nokogiri (~> 1.8) rack (>= 1.6.0) rack-test (>= 0.6.3) - regexp_parser (~> 1.5) + regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) carrierwave (2.1.0) activemodel (>= 5.0.0) @@ -123,22 +123,27 @@ GEM image_processing (~> 1.1) mimemagic (>= 0.3.0) mini_mime (>= 0.1.3) - chunky_png (1.3.15) + chunky_png (1.4.0) cliver (0.3.2) coderay (1.1.3) - coffee-rails (4.2.2) + coffee-rails (5.0.0) coffee-script (>= 2.2.0) - railties (>= 4.0.0) + railties (>= 5.2.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.12.2) colorize (0.8.1) - concurrent-ruby (1.1.7) + concurrent-ruby (1.1.8) connection_pool (2.2.3) crass (1.0.6) - database_cleaner (1.8.5) - debug_inspector (0.0.3) + database_cleaner (2.0.1) + database_cleaner-active_record (~> 2.0.0) + database_cleaner-active_record (2.0.0) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + debug_inspector (1.1.0) devise (4.7.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -148,15 +153,15 @@ GEM devise-async (1.0.0) activejob (>= 5.0) devise (>= 4.0) - devise-i18n (1.9.2) + devise-i18n (1.9.3) devise (>= 4.7.1) diff-lcs (1.4.4) - docile (1.3.4) + docile (1.3.5) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) equalizer (0.0.11) erubi (1.10.0) - excon (0.78.1) + excon (0.79.0) execjs (2.7.0) factory_bot (6.1.0) activesupport (>= 5.0.0) @@ -166,18 +171,20 @@ GEM fake_email_validator (1.0.11) activemodel mail - faker (2.15.1) + faker (2.17.0) i18n (>= 1.6, < 2) - faraday (1.2.0) + faraday (1.3.0) + faraday-net_http (~> 1.0) multipart-post (>= 1.2, < 3) ruby2_keywords + faraday-net_http (1.0.1) faraday_middleware (1.0.0) faraday (~> 1.0) - ffi (1.14.2) + ffi (1.15.0) ffi-compiler (1.0.1) ffi (>= 1.0.0) rake - fog-aws (3.7.0) + fog-aws (3.10.0) fog-core (~> 2.1) fog-json (~> 1.1) fog-xml (~> 0.1) @@ -195,8 +202,8 @@ GEM fog-xml (0.1.3) fog-core nokogiri (>= 1.5.11, < 2.0.0) - font-awesome-rails (4.7.0.5) - railties (>= 3.2, < 6.1) + font-awesome-rails (4.7.0.7) + railties (>= 3.2, < 7) font-kit-rails (1.2.0) rails formatador (0.2.5) @@ -219,7 +226,7 @@ GEM haml (5.2.1) temple (>= 0.8.0) tilt - haml_lint (0.36.0) + haml_lint (0.37.0) haml (>= 4.0, < 5.3) parallel (~> 1.10) rainbow @@ -234,13 +241,13 @@ GEM http-cookie (1.0.3) domain_name (~> 0.5) http-form_data (2.3.0) - http-parser (1.2.2) - ffi-compiler + http-parser (1.2.3) + ffi-compiler (>= 1.0, < 2.0) http_parser.rb (0.6.0) httparty (0.18.1) mime-types (~> 3.0) multi_xml (>= 0.5.2) - i18n (1.8.5) + i18n (1.8.10) concurrent-ruby (~> 1.0) i18n-js (3.6.0) i18n (>= 0.6.6) @@ -248,7 +255,7 @@ GEM mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) ipaddress (0.8.3) - jbuilder (2.10.1) + jbuilder (2.11.2) activesupport (>= 5.0.0) jquery-rails (4.4.0) rails-dom-testing (>= 1, < 3) @@ -273,50 +280,53 @@ GEM addressable (~> 2.7) letter_opener (1.7.0) launchy (~> 2.2) - listen (3.3.3) + listen (3.5.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.8.0) + loofah (2.9.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) lumberjack (1.2.8) mail (2.7.1) mini_mime (>= 0.1.1) - marcel (0.3.3) - mimemagic (~> 0.3.2) + marcel (1.0.1) memoizable (0.4.2) thread_safe (~> 0.3, >= 0.3.1) method_source (1.0.0) mime-types (3.3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2020.1104) - mimemagic (0.3.5) + mime-types-data (3.2021.0225) + mimemagic (0.4.3) + nokogiri (~> 1) + rake mini_magick (4.11.0) - mini_mime (1.0.2) - mini_portile2 (2.4.0) - minitest (5.14.2) + mini_mime (1.0.3) + mini_portile2 (2.5.0) + minitest (5.14.4) multi_json (1.15.0) multi_xml (0.6.0) multipart-post (2.1.1) naught (1.1.0) nenv (0.3.0) nested_form (0.3.2) - newrelic_rpm (6.14.0) - nio4r (2.5.4) - nokogiri (1.10.10) - mini_portile2 (~> 2.4.0) - nokogumbo (2.0.4) + newrelic_rpm (6.15.0) + nio4r (2.5.7) + nokogiri (1.11.2) + mini_portile2 (~> 2.5.0) + racc (~> 1.4) + nokogumbo (2.0.5) nokogiri (~> 1.8, >= 1.8.4) notiffany (0.1.3) nenv (~> 0.1) shellany (~> 0.0) - oauth (0.5.4) - omniauth (1.9.1) + oauth (0.5.6) + omniauth (2.0.3) hashie (>= 3.4.6) rack (>= 1.6.2, < 3) - omniauth-oauth (1.1.0) + rack-protection + omniauth-oauth (1.2.0) oauth - omniauth (~> 1.0) + omniauth (>= 1.0, < 3) omniauth-tumblr (1.2) multi_json omniauth-oauth (~> 1.0) @@ -325,22 +335,23 @@ GEM rack orm_adapter (0.5.0) parallel (1.20.1) - parser (2.7.2.0) + parser (3.0.0.0) ast (~> 2.4.1) pg (1.2.3) - pghero (2.7.3) + pghero (2.8.1) activerecord (>= 5) poltergeist (1.18.1) capybara (>= 2.1, < 4) cliver (~> 0.3.1) websocket-driver (>= 0.2.0) popper_js (1.16.0) - pry (0.13.1) + pry (0.14.0) coderay (~> 1.1) method_source (~> 1.0) public_suffix (4.0.6) - puma (5.1.1) + puma (5.2.2) nio4r (~> 2.0) + racc (1.5.2) rack (2.2.3) rack-pjax (1.1.0) nokogiri (~> 1.5) @@ -351,18 +362,18 @@ GEM rack rack-test (1.1.0) rack (>= 1.0, < 3) - rails (5.2.4.4) - actioncable (= 5.2.4.4) - actionmailer (= 5.2.4.4) - actionpack (= 5.2.4.4) - actionview (= 5.2.4.4) - activejob (= 5.2.4.4) - activemodel (= 5.2.4.4) - activerecord (= 5.2.4.4) - activestorage (= 5.2.4.4) - activesupport (= 5.2.4.4) + rails (5.2.5) + actioncable (= 5.2.5) + actionmailer (= 5.2.5) + actionpack (= 5.2.5) + actionview (= 5.2.5) + activejob (= 5.2.5) + activemodel (= 5.2.5) + activerecord (= 5.2.5) + activestorage (= 5.2.5) + activesupport (= 5.2.5) bundler (>= 1.3.0) - railties (= 5.2.4.4) + railties (= 5.2.5) sprockets-rails (>= 2.0.0) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) @@ -376,7 +387,7 @@ GEM rails-i18n (5.1.3) i18n (>= 0.7, < 2) railties (>= 5.0, < 6) - rails_admin (2.0.2) + rails_admin (2.1.1) activemodel-serializers-xml (>= 1.0) builder (~> 3.1) haml (>= 4.0, < 6) @@ -388,9 +399,9 @@ GEM rails (>= 5.0, < 7) remotipart (~> 1.3) sassc-rails (>= 1.3, < 3) - railties (5.2.4.4) - actionpack (= 5.2.4.4) - activesupport (= 5.2.4.4) + railties (5.2.5) + actionpack (= 5.2.5) + activesupport (= 5.2.5) method_source rake (>= 0.8.7) thor (>= 0.19.0, < 2.0) @@ -401,19 +412,18 @@ GEM ffi (~> 1.0) redcarpet (3.5.1) redis (4.1.4) - regexp_parser (1.8.2) + regexp_parser (2.1.1) remotipart (1.4.4) responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) rexml (3.2.4) rolify (5.3.0) - rotp (5.0.0) - addressable (~> 2.5) - rqrcode (1.1.2) + rotp (6.2.0) + rqrcode (1.2.0) chunky_png (~> 1.0) - rqrcode_core (~> 0.1) - rqrcode_core (0.1.2) + rqrcode_core (~> 0.2) + rqrcode_core (0.2.0) rspec-core (3.9.3) rspec-support (~> 3.9.3) rspec-expectations (3.9.4) @@ -437,22 +447,22 @@ GEM rspec-core (~> 3.0, >= 3.0.0) sidekiq (>= 2.4.0) rspec-support (3.9.4) - rubocop (1.7.0) + rubocop (1.12.0) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.0.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml rubocop-ast (>= 1.2.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.3.0) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.4.1) parser (>= 2.7.1.5) - ruby-progressbar (1.10.1) - ruby-vips (2.0.17) - ffi (~> 1.9) - ruby2_keywords (0.0.2) - sanitize (5.2.1) + ruby-progressbar (1.11.0) + ruby-vips (2.1.0) + ffi (~> 1.12) + ruby2_keywords (0.0.4) + sanitize (5.2.3) crass (~> 1.0.2) nokogiri (>= 1.8.0) nokogumbo (~> 2.0) @@ -475,7 +485,7 @@ GEM sprockets (> 3.0) sprockets-rails tilt - semantic_range (2.3.1) + semantic_range (3.0.0) shellany (0.0.1) sidekiq (5.2.9) connection_pool (~> 2.2, >= 2.2.2) @@ -483,7 +493,7 @@ GEM rack-protection (>= 1.5.0) redis (>= 3.3.5, < 4.2) simple_oauth (0.3.1) - simplecov (0.20.0) + simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) @@ -504,10 +514,10 @@ GEM sprockets (>= 3.0.0) sysexits (1.2.0) temple (0.8.2) - thor (1.0.1) + thor (1.1.0) thread_safe (0.3.6) tilt (2.0.10) - timecop (0.9.2) + timecop (0.9.4) turbolinks (2.5.4) coffee-rails twitter (7.0.0) @@ -528,7 +538,7 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.7.7) - unicode-display_width (1.7.0) + unicode-display_width (2.0.0) warden (1.2.9) rack (>= 2.0.9) web-console (3.7.0) diff --git a/app/javascript/retrospring/initializers/00_rails.ts b/app/javascript/retrospring/initializers/00_rails.ts deleted file mode 100644 index 923fcbb5..00000000 --- a/app/javascript/retrospring/initializers/00_rails.ts +++ /dev/null @@ -1,3 +0,0 @@ -import Rails from '@rails/ujs'; - -export default (): void => Rails.start(); \ No newline at end of file diff --git a/app/javascript/retrospring/initializers/_00_rails.ts b/app/javascript/retrospring/initializers/_00_rails.ts new file mode 100644 index 00000000..b9c787b3 --- /dev/null +++ b/app/javascript/retrospring/initializers/_00_rails.ts @@ -0,0 +1,3 @@ +import Rails from '@rails/ujs'; + +export default (): void => { console.log('init #rails'); Rails.start(); } \ No newline at end of file