censor_bear 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1d735569ad012e7bdf55711761f89d45acae65d44440239ffc1fe43ccc4dda5
4
- data.tar.gz: eac258c827781140fae8cb50c632500d5942a6b1f8b72b42c1f13959f16c875c
3
+ metadata.gz: d96875d1553b7f142bf6c7937656f8a856cdab126463573b17289aebd628b84d
4
+ data.tar.gz: 5d4da6db286b93eb28b3dc0eb84ff3db977a4dd89181941e8e8a97dbc1d64d26
5
5
  SHA512:
6
- metadata.gz: 22a4826d37e108d3347d7a88aa8d79a2d4ab7f9643b1983a9614b86b0c279640b9d6eeeacda799d744c0aa9da3d9775307aa43151963687fea31914dc7af93cc
7
- data.tar.gz: 1d8ffe4f217ac114b34ff2fbaf95763bd2ff242689c4e2612fcbcb3b1ab250e5a8eedc4a7be2a3af33c8680ce4b7cdf936d44b0afb1ba1e39278cb6f250a8598
6
+ metadata.gz: b473696896f79aa202cde6cca100c15395706c91022e89dfae3b1160a433fdfbd93773d01a1b7228eb8d4a168c24055a1326b47dae6f58d06b62b58c3628bd1d
7
+ data.tar.gz: 22659e4f18bf048508f847b8bed144a013a0dc9e91dfb1b7fc03708a54a99bb1b69714061604569536ca5e0aeedc4c01dccea2581165ba7c59ad5485bdc03e2a
@@ -7,22 +7,6 @@ module CensorBear
7
7
 
8
8
  initializer "censor_bear.assets.precompile" do |app|
9
9
  app.config.assets.precompile += %w( censor_bear/application.css censor_bear/application.js)
10
-
11
- # ActiveSupport.on_load(:action_controller_base) do
12
- # around_action :set_thread_current_target_ip
13
-
14
- # def set_thread_current_target_ip
15
- # Current.target_ip = request&.remote_ip
16
- # yield
17
- # ensure
18
- # # to address the thread variable leak issues in Puma/Thin webserver
19
- # Current.target_ip = nil
20
- # end
21
-
22
- # # self refers to ActionController::Base here,
23
- # # so we can call .prepend
24
- # # prepend MyActionControllerHelper
25
- # end
26
10
  end
27
11
 
28
12
  config.after_initialize do
@@ -1,3 +1,3 @@
1
1
  module CensorBear
2
- VERSION = '0.1.20'.freeze
2
+ VERSION = '0.1.21'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: censor_bear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - 42up
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-08 00:00:00.000000000 Z
11
+ date: 2022-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -243,7 +243,6 @@ files:
243
243
  - app/models/censor_bear/review_logs/image.rb
244
244
  - app/models/censor_bear/review_logs/text.rb
245
245
  - app/models/censor_bear/stop_word.rb
246
- - app/models/concerns/current.rb
247
246
  - app/views/censor_bear/mod_logs/_form.html.erb
248
247
  - app/views/censor_bear/mod_logs/_mod_log.html.haml
249
248
  - app/views/censor_bear/mod_logs/destroy.turbo_stream.haml
@@ -1,3 +0,0 @@
1
- module Current
2
- thread_mattr_accessor :target_ip
3
- end