tcell_agent 1.1.11 → 1.1.12
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6334e154fc67ca343e771118111ed19b4961bcaa
|
4
|
+
data.tar.gz: a7acb414e6e0cb4506d6abafed4709818fcb720f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21c687dafdccd3582369ea7aef360201d274f3cc2043479416a35f03af5efac90b649e7621569d83b0d90a6f72d88dab28be3c86c9c1cf27178c7a69ed99eb05
|
7
|
+
data.tar.gz: 4b176e6bf2625639647e3b82b8b52294e80bebafd73e2d6a6ba8844d4b41ba581a1882077397653e09944db4ebcccb76acbc6b2e74847d4931bd144e01b8358e
|
@@ -276,6 +276,8 @@ module TCellAgent
|
|
276
276
|
@agent_log_dir = ENV['TCELL_AGENT_LOG_DIR'] || @agent_log_dir
|
277
277
|
|
278
278
|
@disable_cmdi_exec_instrumentation = ENV['TCELL_CMDI_EXEC_DISABLED'] || @disable_cmdi_exec_instrumentation
|
279
|
+
|
280
|
+
@enabled = ENV['TCELL_AGENT_ENABLED'].to_s.casecmp('true').zero? if %w[true false].include? ENV['TCELL_AGENT_ENABLED'].to_s.downcase
|
279
281
|
end
|
280
282
|
|
281
283
|
def read_config_from_file(filename)
|
@@ -128,8 +128,8 @@ module TCellAgent
|
|
128
128
|
# Positions strio to the beginning of input, resetting lineno to zero.
|
129
129
|
# rails 4.1 seems to read the stringIO directly and so body.gets is empty
|
130
130
|
# this is called
|
131
|
-
body.rewind if body.respond_to?(:rewind)
|
132
131
|
body = request.body
|
132
|
+
body.rewind if body.respond_to?(:rewind)
|
133
133
|
raw_post_data = body.read(request.content_length.to_i) if request.content_length
|
134
134
|
body.rewind if body.respond_to?(:rewind)
|
135
135
|
raw_post_data
|
data/lib/tcell_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tcell_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafael
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -269,7 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: '0'
|
271
271
|
requirements: []
|
272
|
-
|
272
|
+
rubyforge_project:
|
273
|
+
rubygems_version: 2.5.2.3
|
273
274
|
signing_key:
|
274
275
|
specification_version: 4
|
275
276
|
summary: tCell.io Agent for Rails
|