Update Ruby gems and Yarn packages.

This commit is contained in:
evazion
2021-05-14 21:42:08 -05:00
parent e36fb6fee3
commit ca8bfb9149
8 changed files with 665 additions and 654 deletions

View File

@@ -38,7 +38,7 @@ gem 'builder'
gem 'puma' gem 'puma'
gem 'scenic' gem 'scenic'
gem 'ipaddress_2' gem 'ipaddress_2'
gem 'http' gem 'http', "~> 4.4.1"
gem 'activerecord-hierarchical_query', git: "https://github.com/walski/activerecord-hierarchical_query", branch: "rails-6-1" gem 'activerecord-hierarchical_query', git: "https://github.com/walski/activerecord-hierarchical_query", branch: "rails-6-1"
gem 'http-cookie', git: "https://github.com/danbooru/http-cookie" gem 'http-cookie', git: "https://github.com/danbooru/http-cookie"
gem 'pundit' gem 'pundit'

View File

@@ -24,64 +24,64 @@ GIT
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (6.1.3.1) actioncable (6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (6.1.3.1) actionmailbox (6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
activejob (= 6.1.3.1) activejob (= 6.1.3.2)
activerecord (= 6.1.3.1) activerecord (= 6.1.3.2)
activestorage (= 6.1.3.1) activestorage (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
mail (>= 2.7.1) mail (>= 2.7.1)
actionmailer (6.1.3.1) actionmailer (6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
actionview (= 6.1.3.1) actionview (= 6.1.3.2)
activejob (= 6.1.3.1) activejob (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (6.1.3.1) actionpack (6.1.3.2)
actionview (= 6.1.3.1) actionview (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
rack (~> 2.0, >= 2.0.9) rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.3.1) actiontext (6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
activerecord (= 6.1.3.1) activerecord (= 6.1.3.2)
activestorage (= 6.1.3.1) activestorage (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (6.1.3.1) actionview (6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.3.1) activejob (6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (6.1.3.1) activemodel (6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
activemodel-serializers-xml (1.0.2) activemodel-serializers-xml (1.0.2)
activemodel (> 5.x) activemodel (> 5.x)
activesupport (> 5.x) activesupport (> 5.x)
builder (~> 3.1) builder (~> 3.1)
activerecord (6.1.3.1) activerecord (6.1.3.2)
activemodel (= 6.1.3.1) activemodel (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
activestorage (6.1.3.1) activestorage (6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
activejob (= 6.1.3.1) activejob (= 6.1.3.2)
activerecord (= 6.1.3.1) activerecord (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
marcel (~> 1.0.0) marcel (~> 1.0.0)
mini_mime (~> 1.0.2) mini_mime (~> 1.0.2)
activesupport (6.1.3.1) activesupport (6.1.3.2)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
@@ -94,8 +94,8 @@ GEM
ansi (1.5.0) ansi (1.5.0)
ast (2.4.2) ast (2.4.2)
aws-eventstream (1.1.1) aws-eventstream (1.1.1)
aws-partitions (1.441.0) aws-partitions (1.456.0)
aws-sdk-core (3.113.1) aws-sdk-core (3.114.0)
aws-eventstream (~> 1, >= 1.0.2) aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0) aws-partitions (~> 1, >= 1.239.0)
aws-sigv4 (~> 1.1) aws-sigv4 (~> 1.1)
@@ -114,7 +114,7 @@ GEM
rack (>= 0.9.0) rack (>= 0.9.0)
binding_of_caller (1.0.0) binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
bootsnap (1.7.3) bootsnap (1.7.5)
msgpack (~> 1.0) msgpack (~> 1.0)
builder (3.2.4) builder (3.2.4)
byebug (11.1.3) byebug (11.1.3)
@@ -145,16 +145,15 @@ GEM
xpath (~> 3.2) xpath (~> 3.2)
childprocess (3.0.0) childprocess (3.0.0)
chronic (0.10.2) chronic (0.10.2)
codecov (0.5.1) codecov (0.5.2)
simplecov (>= 0.15, < 0.22) simplecov (>= 0.15, < 0.22)
coderay (1.1.3) coderay (1.1.3)
concurrent-ruby (1.1.8) concurrent-ruby (1.1.8)
crass (1.0.6) crass (1.0.6)
daemons (1.3.1) daemons (1.4.0)
dante (0.2.0) dante (0.2.0)
debug_inspector (1.1.0) debug_inspector (1.1.0)
declarative (0.0.20) declarative (0.0.20)
declarative-option (0.1.0)
delayed_job (4.1.9) delayed_job (4.1.9)
activesupport (>= 3.0, < 6.2) activesupport (>= 3.0, < 6.2)
delayed_job_active_record (4.1.6) delayed_job_active_record (4.1.6)
@@ -163,7 +162,7 @@ GEM
diff-lcs (1.4.4) diff-lcs (1.4.4)
digest-crc (0.6.3) digest-crc (0.6.3)
rake (>= 12.0.0, < 14.0.0) rake (>= 12.0.0, < 14.0.0)
docile (1.3.5) docile (1.4.0)
domain_name (0.5.20190701) domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0) unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6) dotenv (2.7.6)
@@ -172,13 +171,17 @@ GEM
railties (>= 3.2) railties (>= 3.2)
ed25519 (1.2.4) ed25519 (1.2.4)
erubi (1.10.0) erubi (1.10.0)
factory_bot (6.1.0) factory_bot (6.2.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
faraday (1.3.0) faraday (1.4.1)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0) faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ruby2_keywords ruby2_keywords (>= 0.0.4)
faraday-excon (1.1.0)
faraday-net_http (1.0.1) faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
ffaker (2.18.0) ffaker (2.18.0)
ffi (1.15.0) ffi (1.15.0)
ffi-compiler (1.0.1) ffi-compiler (1.0.1)
@@ -205,7 +208,7 @@ GEM
google-apis-core (~> 0.1) google-apis-core (~> 0.1)
google-apis-storage_v1 (0.3.0) google-apis-storage_v1 (0.3.0)
google-apis-core (~> 0.1) google-apis-core (~> 0.1)
google-cloud-bigquery (1.29.0) google-cloud-bigquery (1.31.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
google-apis-bigquery_v2 (~> 0.1) google-apis-bigquery_v2 (~> 0.1)
google-cloud-core (~> 1.2) google-cloud-core (~> 1.2)
@@ -225,7 +228,7 @@ GEM
google-cloud-core (~> 1.2) google-cloud-core (~> 1.2)
googleauth (~> 0.9) googleauth (~> 0.9)
mini_mime (~> 1.0) mini_mime (~> 1.0)
googleauth (0.16.1) googleauth (0.16.2)
faraday (>= 0.17.3, < 2.0) faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0) jwt (>= 1.4, < 3.0)
memoist (~> 0.16) memoist (~> 0.16)
@@ -247,12 +250,12 @@ GEM
ipaddress_2 (0.13.0) ipaddress_2 (0.13.0)
jmespath (1.4.0) jmespath (1.4.0)
json (2.5.1) json (2.5.1)
jwt (2.2.2) jwt (2.2.3)
kgio (2.11.3) kgio (2.11.3)
listen (3.5.1) listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.9.0) loofah (2.9.1)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.5.9)
mail (2.7.1) mail (2.7.1)
@@ -262,7 +265,7 @@ GEM
memory_profiler (1.0.0) memory_profiler (1.0.0)
method_source (1.0.0) method_source (1.0.0)
mini_mime (1.0.3) mini_mime (1.0.3)
mini_portile2 (2.5.0) mini_portile2 (2.5.1)
minitest (5.14.4) minitest (5.14.4)
minitest-ci (3.4.0) minitest-ci (3.4.0)
minitest (>= 5.0.6) minitest (>= 5.0.6)
@@ -272,7 +275,7 @@ GEM
minitest (>= 5.0) minitest (>= 5.0)
ruby-progressbar ruby-progressbar
mocha (1.12.0) mocha (1.12.0)
mock_redis (0.27.3) mock_redis (0.28.0)
ruby2_keywords ruby2_keywords
msgpack (1.4.2) msgpack (1.4.2)
multi_json (1.15.0) multi_json (1.15.0)
@@ -283,9 +286,9 @@ GEM
net-sftp (3.0.0) net-sftp (3.0.0)
net-ssh (>= 5.0.0, < 7.0.0) net-ssh (>= 5.0.0, < 7.0.0)
net-ssh (6.1.0) net-ssh (6.1.0)
newrelic_rpm (6.15.0) newrelic_rpm (7.0.0)
nio4r (2.5.7) nio4r (2.5.7)
nokogiri (1.11.2) nokogiri (1.11.4)
mini_portile2 (~> 2.5.0) mini_portile2 (~> 2.5.0)
racc (~> 1.4) racc (~> 1.4)
nokogumbo (2.0.5) nokogumbo (2.0.5)
@@ -298,7 +301,7 @@ GEM
rack (>= 1.2, < 3) rack (>= 1.2, < 3)
os (1.1.1) os (1.1.1)
parallel (1.20.1) parallel (1.20.1)
parser (3.0.1.0) parser (3.0.1.1)
ast (~> 2.4.1) ast (~> 2.4.1)
pg (1.2.3) pg (1.2.3)
pry (0.13.1) pry (0.13.1)
@@ -310,41 +313,41 @@ GEM
pry-rails (0.3.9) pry-rails (0.3.9)
pry (>= 0.10.4) pry (>= 0.10.4)
public_suffix (4.0.6) public_suffix (4.0.6)
puma (5.2.2) puma (5.3.1)
nio4r (~> 2.0) nio4r (~> 2.0)
pundit (2.1.0) pundit (2.1.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
racc (1.5.2) racc (1.5.2)
rack (2.2.3) rack (2.2.3)
rack-mini-profiler (2.3.1) rack-mini-profiler (2.3.2)
rack (>= 1.2.0) rack (>= 1.2.0)
rack-proxy (0.6.5) rack-proxy (0.6.5)
rack rack
rack-test (1.1.0) rack-test (1.1.0)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rails (6.1.3.1) rails (6.1.3.2)
actioncable (= 6.1.3.1) actioncable (= 6.1.3.2)
actionmailbox (= 6.1.3.1) actionmailbox (= 6.1.3.2)
actionmailer (= 6.1.3.1) actionmailer (= 6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
actiontext (= 6.1.3.1) actiontext (= 6.1.3.2)
actionview (= 6.1.3.1) actionview (= 6.1.3.2)
activejob (= 6.1.3.1) activejob (= 6.1.3.2)
activemodel (= 6.1.3.1) activemodel (= 6.1.3.2)
activerecord (= 6.1.3.1) activerecord (= 6.1.3.2)
activestorage (= 6.1.3.1) activestorage (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 6.1.3.1) railties (= 6.1.3.2)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3) rails-dom-testing (2.0.3)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0) rails-html-sanitizer (1.3.0)
loofah (~> 2.3) loofah (~> 2.3)
railties (6.1.3.1) railties (6.1.3.2)
actionpack (= 6.1.3.1) actionpack (= 6.1.3.2)
activesupport (= 6.1.3.1) activesupport (= 6.1.3.2)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (~> 1.0) thor (~> 1.0)
@@ -352,39 +355,39 @@ GEM
raindrops (0.19.1) raindrops (0.19.1)
rake (13.0.3) rake (13.0.3)
rakismet (1.5.4) rakismet (1.5.4)
rb-fsevent (0.10.4) rb-fsevent (0.11.0)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
recaptcha (5.7.0) recaptcha (5.8.0)
json json
redis (4.2.5) redis (4.2.5)
regexp_parser (2.1.1) regexp_parser (2.1.1)
representable (3.0.4) representable (3.1.1)
declarative (< 0.1.0) declarative (< 0.1.0)
declarative-option (< 0.2.0) trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0) uber (< 0.2.0)
responders (3.0.1) responders (3.0.1)
actionpack (>= 5.0) actionpack (>= 5.0)
railties (>= 5.0) railties (>= 5.0)
retriable (3.1.2) retriable (3.1.2)
rexml (3.2.5) rexml (3.2.5)
rubocop (1.12.1) rubocop (1.14.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.0.0.0) parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0) regexp_parser (>= 1.8, < 3.0)
rexml rexml
rubocop-ast (>= 1.2.0, < 2.0) rubocop-ast (>= 1.5.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0) unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.4.1) rubocop-ast (1.5.0)
parser (>= 2.7.1.5) parser (>= 3.0.1.1)
rubocop-rails (2.9.1) rubocop-rails (2.10.1)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 0.90.0, < 2.0) rubocop (>= 1.7.0, < 2.0)
ruby-progressbar (1.11.0) ruby-progressbar (1.11.0)
ruby-vips (2.1.0) ruby-vips (2.1.2)
ffi (~> 1.12) ffi (~> 1.12)
ruby2_keywords (0.0.4) ruby2_keywords (0.0.4)
rubyzip (2.3.0) rubyzip (2.3.0)
@@ -415,7 +418,7 @@ GEM
simplecov-html (~> 0.11) simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1) simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3) simplecov-html (0.12.3)
simplecov_json_formatter (0.1.2) simplecov_json_formatter (0.1.3)
sprockets (4.0.2) sprockets (4.0.2)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
@@ -426,7 +429,7 @@ GEM
sshkit (1.21.2) sshkit (1.21.2)
net-scp (>= 1.1.2) net-scp (>= 1.1.2)
net-ssh (>= 2.8.0) net-ssh (>= 2.8.0)
stackprof (0.2.16) stackprof (0.2.17)
streamio-ffmpeg (3.0.2) streamio-ffmpeg (3.0.2)
multi_json (~> 1.8) multi_json (~> 1.8)
stripe (5.32.1) stripe (5.32.1)
@@ -434,8 +437,10 @@ GEM
dante (>= 0.2.0) dante (>= 0.2.0)
multi_json (~> 1.0) multi_json (~> 1.0)
stripe (> 5, < 6) stripe (> 5, < 6)
terminal-table (1.6.0) terminal-table (3.0.1)
unicode-display_width (>= 1.1.1, < 3)
thor (1.1.0) thor (1.1.0)
trailblazer-option (0.1.1)
tzinfo (2.0.4) tzinfo (2.0.4)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
tzinfo-data (1.2021.1) tzinfo-data (1.2021.1)
@@ -445,13 +450,13 @@ GEM
unf_ext unf_ext
unf_ext (0.0.7.7) unf_ext (0.0.7.7)
unicode-display_width (2.0.0) unicode-display_width (2.0.0)
unicorn (5.8.0) unicorn (6.0.0)
kgio (~> 2.6) kgio (~> 2.6)
raindrops (~> 0.7) raindrops (~> 0.7)
unicorn-worker-killer (0.4.4) unicorn-worker-killer (0.4.5)
get_process_mem (~> 0) get_process_mem (~> 0)
unicorn (>= 4, < 6) unicorn (>= 4, < 7)
view_component (2.30.0) view_component (2.31.1)
activesupport (>= 5.0.0, < 7.0) activesupport (>= 5.0.0, < 7.0)
webpacker (6.0.0.beta.6) webpacker (6.0.0.beta.6)
activesupport (>= 5.2) activesupport (>= 5.2)
@@ -503,7 +508,7 @@ DEPENDENCIES
google-cloud-bigquery google-cloud-bigquery
google-cloud-storage google-cloud-storage
hsluv hsluv
http http (~> 4.4.1)
http-cookie! http-cookie!
ipaddress_2 ipaddress_2
listen listen

View File

@@ -91,13 +91,13 @@
<%= render PopupMenuComponent.new do |menu| %> <%= render PopupMenuComponent.new do |menu| %>
<% if policy(comment).update? %> <% if policy(comment).update? %>
<%= menu.item do %> <% menu.item do %>
<%= link_to edit_comment_path(comment.id), id: "edit_comment_link_#{comment.id}", class: "edit_comment_link" do %> <%= link_to edit_comment_path(comment.id), id: "edit_comment_link_#{comment.id}", class: "edit_comment_link" do %>
<%= edit_icon %> Edit <%= edit_icon %> Edit
<% end %> <% end %>
<% end %> <% end %>
<%= menu.item do %> <% menu.item do %>
<% if comment.is_deleted? %> <% if comment.is_deleted? %>
<%= link_to comment_path(comment.id), "data-params": "comment[is_deleted]=false", method: :put, remote: true do %> <%= link_to comment_path(comment.id), "data-params": "comment[is_deleted]=false", method: :put, remote: true do %>
<%= undelete_icon %> Undelete <%= undelete_icon %> Undelete
@@ -111,7 +111,7 @@
<% end %> <% end %>
<% if policy(comment).can_sticky_comment? %> <% if policy(comment).can_sticky_comment? %>
<%= menu.item do %> <% menu.item do %>
<% if comment.is_sticky? %> <% if comment.is_sticky? %>
<%= link_to comment_path(comment.id), "data-params": "comment[is_sticky]=false", method: :put, remote: true do %> <%= link_to comment_path(comment.id), "data-params": "comment[is_sticky]=false", method: :put, remote: true do %>
<%= unsticky_icon %> Unsticky <%= unsticky_icon %> Unsticky
@@ -125,14 +125,14 @@
<% end %> <% end %>
<% if policy(comment).reportable? %> <% if policy(comment).reportable? %>
<%= menu.item do %> <% menu.item do %>
<%= link_to new_moderation_report_path(moderation_report: { model_type: "Comment", model_id: comment.id }), remote: true do %> <%= link_to new_moderation_report_path(moderation_report: { model_type: "Comment", model_id: comment.id }), remote: true do %>
<%= flag_icon %> Report <%= flag_icon %> Report
<% end %> <% end %>
<% end %> <% end %>
<% end %> <% end %>
<%= menu.item do %> <% menu.item do %>
<%= link_to comment_path(comment.id), class: "comment-copy-link" do %> <%= link_to comment_path(comment.id), class: "comment-copy-link" do %>
<%= link_icon %> Copy ID <%= link_icon %> Copy ID
<% end %> <% end %>

View File

@@ -25,7 +25,7 @@
<% t.column column: "control" do |vote| %> <% t.column column: "control" do |vote| %>
<% if policy(vote).destroy? %> <% if policy(vote).destroy? %>
<%= render PopupMenuComponent.new do |menu| %> <%= render PopupMenuComponent.new do |menu| %>
<%= menu.item do %> <% menu.item do %>
<%= link_to "Remove", comment_vote_path(vote, variant: "listing"), remote: true, method: :delete %> <%= link_to "Remove", comment_vote_path(vote, variant: "listing"), remote: true, method: :delete %>
<% end %> <% end %>
<% end %> <% end %>

View File

@@ -38,7 +38,7 @@
<% t.column column: "control" do |vote| %> <% t.column column: "control" do |vote| %>
<% if policy(vote).destroy? %> <% if policy(vote).destroy? %>
<%= render PopupMenuComponent.new do |menu| %> <%= render PopupMenuComponent.new do |menu| %>
<%= menu.item do %> <% menu.item do %>
<%= link_to "Remove", comment_vote_path(vote, variant: "listing"), remote: true, method: :delete %> <%= link_to "Remove", comment_vote_path(vote, variant: "listing"), remote: true, method: :delete %>
<% end %> <% end %>
<% end %> <% end %>

View File

@@ -32,7 +32,7 @@
<%= link_to "#{@post.image_width}x#{@post.image_height}", @post.file_url, class: "post-tooltip-dimensions post-tooltip-info" %> <%= link_to "#{@post.image_width}x#{@post.image_height}", @post.file_url, class: "post-tooltip-dimensions post-tooltip-info" %>
<%= render PopupMenuComponent.new do |menu| %> <%= render PopupMenuComponent.new do |menu| %>
<%= menu.item do %> <% menu.item do %>
<%= link_to "javascript:void(0)", class: "post-tooltip-disable" do %> <%= link_to "javascript:void(0)", class: "post-tooltip-disable" do %>
<%= close_icon %> Disable tooltips <%= close_icon %> Disable tooltips
<% end %> <% end %>

View File

@@ -46,14 +46,14 @@
</div> </div>
<%= render PopupMenuComponent.new do |menu| %> <%= render PopupMenuComponent.new do |menu| %>
<%= menu.item do %> <% menu.item do %>
<%= link_to new_dmail_path(dmail: { to_id: @user.id }) do %> <%= link_to new_dmail_path(dmail: { to_id: @user.id }) do %>
<%= message_icon %> Send Message <%= message_icon %> Send Message
<% end %> <% end %>
<% end %> <% end %>
<% if !@user.is_platinum? %> <% if !@user.is_platinum? %>
<%= menu.item do %> <% menu.item do %>
<%= link_to new_user_upgrade_path(user_id: @user.id) do %> <%= link_to new_user_upgrade_path(user_id: @user.id) do %>
<%= gift_icon %> Gift Upgrade <%= gift_icon %> Gift Upgrade
<% end %> <% end %>
@@ -61,7 +61,7 @@
<% end %> <% end %>
<% if policy(UserFeedback.new(user: @user)).create? %> <% if policy(UserFeedback.new(user: @user)).create? %>
<%= menu.item do %> <% menu.item do %>
<%= link_to new_user_feedback_path(user_feedback: { user_id: @user.id }) do %> <%= link_to new_user_feedback_path(user_feedback: { user_id: @user.id }) do %>
<%= feedback_icon %> Give Feedback <%= feedback_icon %> Give Feedback
<% end %> <% end %>
@@ -69,7 +69,7 @@
<% end %> <% end %>
<% if policy(CurrentUser.user).promote? %> <% if policy(CurrentUser.user).promote? %>
<%= menu.item do %> <% menu.item do %>
<%= link_to edit_admin_user_path(@user.id) do %> <%= link_to edit_admin_user_path(@user.id) do %>
<%= promotion_icon %> Promote User <%= promotion_icon %> Promote User
<% end %> <% end %>
@@ -77,7 +77,7 @@
<% end %> <% end %>
<% if policy(Ban.new(user: @user)).create? %> <% if policy(Ban.new(user: @user)).create? %>
<%= menu.item do %> <% menu.item do %>
<%= link_to new_ban_path(ban: { user_id: @user.id }) do %> <%= link_to new_ban_path(ban: { user_id: @user.id }) do %>
<%= ban_icon %> Ban User <%= ban_icon %> Ban User
<% end %> <% end %>

1100
yarn.lock

File diff suppressed because it is too large Load Diff