beetle_reporter 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd4664c26bd5a899fc6000d4bfc6ff601bbb797621639b3da7a72e120995ec64
4
- data.tar.gz: 1ce9dd17994c831c23cd4950da60e0de5a7968f8216b889054f1efabd7476db8
3
+ metadata.gz: 5e21f52dd81361247e7975618d2845f2f4fcad19105ccc425de454b56ac2d68e
4
+ data.tar.gz: 78a8a0b42e6109b2635999728cbd17007b9cdc848d218e73f01fb0add257d085
5
5
  SHA512:
6
- metadata.gz: 76f8fccbeac3b4905d74dc29a08cbc8d15aa8d88a74d731f37ed351406b9a00a288612c9e754fe7be5a7f83452baa9901566644e1c6853e740f114161f55327f
7
- data.tar.gz: 44d7d828b78dfd4975c1a913e60f6982618776a84ee297450f2cadeba3e7a0c655ef2b0ff815789257f2a34243aae6e6239c8a308dbd89cb4e4e11fcb7962ad0
6
+ metadata.gz: 3a433451965599cf2dd833c770d4a588e742158cf99fcafe3d47822fd005dc41cc2acfafea4cf606ab95825017e7fd778d12b0b9d316d5c038f0082f1dcedea7
7
+ data.tar.gz: 8ad3142dc940e29a0990e4ed054da58251dbcdcb8af33e006abdf131fb4bdd42c9aec86d54db4bbc8e9e4e13d623192c073a5c3b2e946ae0d7c2345bbd2c570a
@@ -13,7 +13,7 @@
13
13
  - if report.reason
14
14
  %span{class: "bg-red-100 text-red-600 p-1 rounded-lg"}= "处置原因:#{report.reason}"
15
15
  %span{class: "space-x-1"}
16
- - report.user_ids.each do |uid|
16
+ - report.user_ids.compact.uniq.each do |uid|
17
17
  = link_to main_app.send(BeetleReporter.config.main_app_user_path_method.to_sym, uid), data: {turbo: false} do
18
18
  %span{class: "bg-blue-100 rounded-lg px-1 py-0.5"}= "#{uid}"
19
19
  %span{class: "bg-red-600 text-white rounded-full w-5 h-5 flex justify-center items-center"}= "#{report.reported_count}"
@@ -1,3 +1,3 @@
1
1
  module BeetleReporter
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beetle_reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 42up
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-17 00:00:00.000000000 Z
11
+ date: 2021-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails