fluent-plugin-detect-exceptions 0.0.10 → 0.0.11
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 +5 -5
- data/Rakefile +17 -7
- data/fluent-plugin-detect-exceptions.gemspec +3 -3
- metadata +5 -8
- data/Gemfile.lock +0 -66
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fa7202b2c054075601c3414037681c8896496af83168d427aa0056cab955e15d
|
4
|
+
data.tar.gz: 7db36d1a418a7e2f51cbd5d9275618e8de8b8dd8fc1415d92849c158dbfeb1a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ca7ec1c8574e527c050be4ef45613b9395c53589b3baadc563b5f16f393f9a3c54d9cfab50345c40eceb6517f4cc445c44c221fce83e11288664c2725fb29a
|
7
|
+
data.tar.gz: 0a24a67fd5f0a37ad35c1ee5d98814322498a2056f8cd766f4a2eea8090e09132b6a8d76468b398a2df9ca3b9f515f6d7d8f7cf30c217cf737b119807d498717
|
data/Rakefile
CHANGED
@@ -24,15 +24,25 @@ Rake::TestTask.new(:test) do |test|
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# Building the gem will use the local file mode, so ensure it's world-readable.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
# https://github.com/GoogleCloudPlatform/fluent-plugin-detect-exceptions/issues/32
|
28
|
+
desc 'Fix file permissions'
|
29
|
+
task :fix_perms do
|
30
|
+
files = [
|
31
|
+
'lib/fluent/plugin/*.rb'
|
32
|
+
].flat_map do |file|
|
33
|
+
file.include?('*') ? Dir.glob(file) : [file]
|
34
|
+
end
|
35
|
+
|
36
|
+
files.each do |file|
|
37
|
+
mode = File.stat(file).mode & 0o777
|
38
|
+
next unless mode & 0o444 != 0o444
|
39
|
+
puts "Changing mode of #{file} from #{mode.to_s(8)} to "\
|
40
|
+
"#{(mode | 0o444).to_s(8)}"
|
41
|
+
chmod mode | 0o444, file
|
42
|
+
end
|
33
43
|
end
|
34
44
|
|
35
45
|
desc 'Run unit tests and RuboCop to check for style violations'
|
36
|
-
task all: [:test, :rubocop, :
|
46
|
+
task all: [:test, :rubocop, :fix_perms]
|
37
47
|
|
38
48
|
task default: :all
|
@@ -11,9 +11,9 @@ eos
|
|
11
11
|
gem.homepage = \
|
12
12
|
'https://github.com/GoogleCloudPlatform/fluent-plugin-detect-exceptions'
|
13
13
|
gem.license = 'Apache-2.0'
|
14
|
-
gem.version = '0.0.
|
15
|
-
gem.authors = ['
|
16
|
-
gem.email = ['
|
14
|
+
gem.version = '0.0.11'
|
15
|
+
gem.authors = ['Stackdriver Agents']
|
16
|
+
gem.email = ['stackdriver-agents@google.com']
|
17
17
|
gem.required_ruby_version = Gem::Requirement.new('>= 2.0')
|
18
18
|
|
19
19
|
gem.files = Dir['**/*'].keep_if { |file| File.file?(file) }
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-detect-exceptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Igor Peshansky
|
7
|
+
- Stackdriver Agents
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-23 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: fluentd
|
@@ -87,15 +86,13 @@ description: |2
|
|
87
86
|
same stack trace into one multi-line message.
|
88
87
|
This is an official Google Ruby gem.
|
89
88
|
email:
|
90
|
-
-
|
91
|
-
- igorp@google.com
|
89
|
+
- stackdriver-agents@google.com
|
92
90
|
executables: []
|
93
91
|
extensions: []
|
94
92
|
extra_rdoc_files: []
|
95
93
|
files:
|
96
94
|
- CONTRIBUTING
|
97
95
|
- Gemfile
|
98
|
-
- Gemfile.lock
|
99
96
|
- LICENSE
|
100
97
|
- README.rdoc
|
101
98
|
- Rakefile
|
@@ -126,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
123
|
version: '0'
|
127
124
|
requirements: []
|
128
125
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6
|
126
|
+
rubygems_version: 2.7.6
|
130
127
|
signing_key:
|
131
128
|
specification_version: 4
|
132
129
|
summary: fluentd output plugin for combining stack traces as multi-line JSON logs
|
data/Gemfile.lock
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
fluent-plugin-detect-exceptions (0.0.10)
|
5
|
-
fluentd (>= 0.10)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ast (2.4.0)
|
11
|
-
cool.io (1.5.3)
|
12
|
-
dig_rb (1.0.1)
|
13
|
-
flexmock (2.3.6)
|
14
|
-
fluentd (1.1.0)
|
15
|
-
cool.io (>= 1.4.5, < 2.0.0)
|
16
|
-
dig_rb (~> 1.0.0)
|
17
|
-
http_parser.rb (>= 0.5.1, < 0.7.0)
|
18
|
-
msgpack (>= 0.7.0, < 2.0.0)
|
19
|
-
serverengine (>= 2.0.4, < 3.0.0)
|
20
|
-
sigdump (~> 0.2.2)
|
21
|
-
strptime (>= 0.2.2, < 1.0.0)
|
22
|
-
tzinfo (~> 1.0)
|
23
|
-
tzinfo-data (~> 1.0)
|
24
|
-
yajl-ruby (~> 1.0)
|
25
|
-
http_parser.rb (0.6.0)
|
26
|
-
msgpack (1.2.4)
|
27
|
-
parser (2.5.0.3)
|
28
|
-
ast (~> 2.4.0)
|
29
|
-
power_assert (1.1.1)
|
30
|
-
powerpack (0.1.1)
|
31
|
-
rainbow (2.2.2)
|
32
|
-
rake
|
33
|
-
rake (10.5.0)
|
34
|
-
rubocop (0.42.0)
|
35
|
-
parser (>= 2.3.1.1, < 3.0)
|
36
|
-
powerpack (~> 0.1)
|
37
|
-
rainbow (>= 1.99.1, < 3.0)
|
38
|
-
ruby-progressbar (~> 1.7)
|
39
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
40
|
-
ruby-progressbar (1.9.0)
|
41
|
-
serverengine (2.0.6)
|
42
|
-
sigdump (~> 0.2.2)
|
43
|
-
sigdump (0.2.4)
|
44
|
-
strptime (0.2.3)
|
45
|
-
test-unit (3.2.7)
|
46
|
-
power_assert
|
47
|
-
thread_safe (0.3.6)
|
48
|
-
tzinfo (1.2.5)
|
49
|
-
thread_safe (~> 0.1)
|
50
|
-
tzinfo-data (1.2018.3)
|
51
|
-
tzinfo (>= 1.0.0)
|
52
|
-
unicode-display_width (1.3.0)
|
53
|
-
yajl-ruby (1.3.1)
|
54
|
-
|
55
|
-
PLATFORMS
|
56
|
-
ruby
|
57
|
-
|
58
|
-
DEPENDENCIES
|
59
|
-
flexmock (~> 2.0)
|
60
|
-
fluent-plugin-detect-exceptions!
|
61
|
-
rake (~> 10.3)
|
62
|
-
rubocop (= 0.42.0)
|
63
|
-
test-unit (~> 3.0)
|
64
|
-
|
65
|
-
BUNDLED WITH
|
66
|
-
1.16.1
|