testa_logger 0.1.21 → 0.1.24

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: 6708e43ab4dcbe981946cd58d3a7361816418b9531c2a8c233afac1156df100e
4
- data.tar.gz: 29ce587bf7b6774700ce59ceb8890dcafc3804b823205e2b0634b9a385d73ca9
3
+ metadata.gz: c0f3928473b875442c72499b131dca4310c23740d54bb63f8c0c87f4e9f1ddf8
4
+ data.tar.gz: 8518e6746d6df32db470c21ad640ac3a8f6671136c7b6ba4b0ca49ced5509b79
5
5
  SHA512:
6
- metadata.gz: 293b25ea6a8164c825b5a90c1483fa6e92ecb77aa596f90409ce2300477d2c47fc87b980736883446d880585b45673e41ccb8ab86df93a7f17545cfde55b2b69
7
- data.tar.gz: 02142f209b35738a08248956c833619d5205dee4e58dd3a1a7e827e9a1dfe3108feaf2258d24c03839cca54b78b55d33476a9a07e4001ce04871219ae4a5dd9c
6
+ metadata.gz: 46317eae7fa4795f20a8caab02fbde959af8f72e53cfab3fbd618a26a284931b77f0f0c13cafbe26cbd338653c13f1cf6e167a359ffe26eb7892e2435eca6214
7
+ data.tar.gz: 8b2721c89421890cc6f894748221a2c690b53834cc2d39189ce4ac8b0ac766f5c1fe80eaa0e5ce308bb7733e43a5b96121d24be926c3aee6859b24147c2b4fd7
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in testa_logger.gemspec
4
4
  gemspec
5
5
 
6
- gem "at_fork", git: "http://github.com/Vasfed/at_fork"
7
6
  gem "minitest", "~> 5.0"
8
7
  gem "rake", "~> 12.0"
9
8
  gem "rubocop", "~> 1.26.0", require: false
data/Gemfile.lock CHANGED
@@ -1,18 +1,10 @@
1
- GIT
2
- remote: http://github.com/Vasfed/at_fork
3
- revision: b32ef8dfb0dfac6e05bcca80179f982cded69caa
4
- specs:
5
- at_fork (0.0.1)
6
-
7
1
  PATH
8
2
  remote: .
9
3
  specs:
10
- testa_logger (0.1.21)
4
+ testa_logger (0.1.24)
11
5
  activesupport
12
- at_fork
13
6
  awesome_print
14
7
  aws-sdk-s3
15
- concurrent-ruby
16
8
  json
17
9
  securerandom
18
10
 
@@ -28,8 +20,8 @@ GEM
28
20
  ast (2.4.2)
29
21
  awesome_print (1.9.2)
30
22
  aws-eventstream (1.2.0)
31
- aws-partitions (1.620.0)
32
- aws-sdk-core (3.132.0)
23
+ aws-partitions (1.621.0)
24
+ aws-sdk-core (3.133.0)
33
25
  aws-eventstream (~> 1, >= 1.0.2)
34
26
  aws-partitions (~> 1, >= 1.525.0)
35
27
  aws-sigv4 (~> 1.1)
@@ -83,7 +75,6 @@ PLATFORMS
83
75
  x86_64-linux
84
76
 
85
77
  DEPENDENCIES
86
- at_fork!
87
78
  minitest (~> 5.0)
88
79
  rake (~> 12.0)
89
80
  rubocop (~> 1.26.0)
@@ -15,7 +15,7 @@ module TestaLogger
15
15
  @faye_token = faye_token
16
16
  @channel = "/logs/live/#{logger.app}/#{logger.group}"
17
17
  @channel += "/#{logger.subgroup}" unless logger.subgroup.nil?
18
- @outbox = Concurrent::Array.new
18
+ @outbox = []
19
19
  run_dispatch_thread
20
20
  at_exit { dispatch if @outbox.count.positive? }
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module TestaLogger
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.24"
3
3
  end
data/lib/testa_logger.rb CHANGED
@@ -5,11 +5,9 @@ require_relative "testa_logger/io_persistence_error"
5
5
  require "active_support"
6
6
  require "active_support/core_ext/hash"
7
7
  require "awesome_print"
8
- require "concurrent-ruby"
9
8
  require "json"
10
9
  require "uri"
11
10
  require "net/http"
12
- require "at_fork"
13
11
 
14
12
  module TestaLogger
15
13
  # @param [String] app name of the application, i.e. rails, ws, dj, filewatcher
data/logger.iml CHANGED
@@ -9,10 +9,9 @@
9
9
  <orderEntry type="sourceFolder" forTests="false" />
10
10
  <orderEntry type="library" scope="PROVIDED" name="activesupport (v6.1.6.1, RVM: ruby-2.7.6) [gem]" level="application" />
11
11
  <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, RVM: ruby-2.7.6) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="at_fork (v0.0.1@b32ef8, RVM: ruby-2.7.6) [gem]" level="application" />
13
12
  <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.9.2, RVM: ruby-2.7.6) [gem]" level="application" />
14
13
  <orderEntry type="library" scope="PROVIDED" name="aws-eventstream (v1.2.0, RVM: ruby-2.7.6) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="aws-partitions (v1.619.0, RVM: ruby-2.7.6) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="aws-partitions (v1.620.0, RVM: ruby-2.7.6) [gem]" level="application" />
16
15
  <orderEntry type="library" scope="PROVIDED" name="aws-sdk-core (v3.132.0, RVM: ruby-2.7.6) [gem]" level="application" />
17
16
  <orderEntry type="library" scope="PROVIDED" name="aws-sdk-kms (v1.58.0, RVM: ruby-2.7.6) [gem]" level="application" />
18
17
  <orderEntry type="library" scope="PROVIDED" name="aws-sdk-s3 (v1.114.0, RVM: ruby-2.7.6) [gem]" level="application" />
@@ -43,21 +42,21 @@
43
42
  <option name="myRootTask">
44
43
  <RakeTaskImpl id="rake">
45
44
  <subtasks>
46
- <RakeTaskImpl description="Build testa_logger-0.1.20.gem into the pkg directory" fullCommand="build" id="build" />
45
+ <RakeTaskImpl description="Build testa_logger-0.1.22.gem into the pkg directory" fullCommand="build" id="build" />
47
46
  <RakeTaskImpl id="build">
48
47
  <subtasks>
49
- <RakeTaskImpl description="Generate SHA512 checksum if testa_logger-0.1.20.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
48
+ <RakeTaskImpl description="Generate SHA512 checksum if testa_logger-0.1.22.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
50
49
  </subtasks>
51
50
  </RakeTaskImpl>
52
51
  <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
53
52
  <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
54
- <RakeTaskImpl description="Build and install testa_logger-0.1.20.gem into system gems" fullCommand="install" id="install" />
53
+ <RakeTaskImpl description="Build and install testa_logger-0.1.22.gem into system gems" fullCommand="install" id="install" />
55
54
  <RakeTaskImpl id="install">
56
55
  <subtasks>
57
- <RakeTaskImpl description="Build and install testa_logger-0.1.20.gem into system gems without network access" fullCommand="install:local" id="local" />
56
+ <RakeTaskImpl description="Build and install testa_logger-0.1.22.gem into system gems without network access" fullCommand="install:local" id="local" />
58
57
  </subtasks>
59
58
  </RakeTaskImpl>
60
- <RakeTaskImpl description="Create tag v0.1.20 and build and push testa_logger-0.1.20.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
59
+ <RakeTaskImpl description="Create tag v0.1.22 and build and push testa_logger-0.1.22.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
61
60
  <RakeTaskImpl description="Run tests" fullCommand="test" id="test" />
62
61
  <RakeTaskImpl description="" fullCommand="default" id="default" />
63
62
  <RakeTaskImpl description="" fullCommand="release" id="release" />
data/testa_logger.gemspec CHANGED
@@ -21,10 +21,9 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency "activesupport"
22
22
  spec.add_runtime_dependency "awesome_print"
23
23
  spec.add_runtime_dependency "aws-sdk-s3"
24
- spec.add_runtime_dependency "concurrent-ruby"
24
+ # spec.add_runtime_dependency "concurrent-ruby"
25
25
  spec.add_runtime_dependency "json"
26
26
  spec.add_runtime_dependency "securerandom"
27
- spec.add_runtime_dependency "at_fork"
28
27
 
29
28
  # Specify which files should be added to the gem when it is released.
30
29
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testa_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - karlo.razumovic
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: concurrent-ruby
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: json
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +80,6 @@ dependencies:
94
80
  - - ">="
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: at_fork
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
83
  description: Customized logger that can log while in trap context and broadcast logs
112
84
  to websocket
113
85
  email: