logster 2.9.4 → 2.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +63 -0
- data/.rubocop.yml +6 -0
- data/CHANGELOG.md +5 -0
- data/assets/javascript/client-app.js +1 -1
- data/client-app/package-lock.json +25634 -213
- data/lib/logster/message.rb +1 -1
- data/lib/logster/version.rb +1 -1
- data/logster.gemspec +1 -1
- data/test/logster/test_base_store.rb +12 -0
- metadata +8 -8
- data/.travis.yml +0 -17
data/lib/logster/message.rb
CHANGED
data/lib/logster/version.rb
CHANGED
data/logster.gemspec
CHANGED
@@ -33,5 +33,5 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_development_dependency "guard-minitest"
|
34
34
|
spec.add_development_dependency "timecop"
|
35
35
|
spec.add_development_dependency "byebug", "~> 11.1.0"
|
36
|
-
spec.add_development_dependency "rubocop-discourse"
|
36
|
+
spec.add_development_dependency "rubocop-discourse"
|
37
37
|
end
|
@@ -188,4 +188,16 @@ class TestBaseStore < Minitest::Test
|
|
188
188
|
refute_includes(store.reported.first.env.keys.map(&:to_sym), :backtrace)
|
189
189
|
end
|
190
190
|
end
|
191
|
+
|
192
|
+
def test_envs_with_invalid_encoding_dont_raise_errors
|
193
|
+
msg = @store.report(
|
194
|
+
Logger::WARN,
|
195
|
+
'',
|
196
|
+
'me have invalid encoding',
|
197
|
+
env: {
|
198
|
+
axe: "a\xF1xasa"
|
199
|
+
}
|
200
|
+
)
|
201
|
+
assert_equal("a�xasa", msg.env[:axe])
|
202
|
+
end
|
191
203
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -126,16 +126,16 @@ dependencies:
|
|
126
126
|
name: rubocop-discourse
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: '0'
|
139
139
|
description: UI for viewing logs in Rack
|
140
140
|
email:
|
141
141
|
- sam.saffron@gmail.com
|
@@ -143,9 +143,9 @@ executables: []
|
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
|
+
- ".github/workflows/ci.yml"
|
146
147
|
- ".gitignore"
|
147
148
|
- ".rubocop.yml"
|
148
|
-
- ".travis.yml"
|
149
149
|
- CHANGELOG.md
|
150
150
|
- Gemfile
|
151
151
|
- Guardfile
|
@@ -295,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
295
|
- !ruby/object:Gem::Version
|
296
296
|
version: '0'
|
297
297
|
requirements: []
|
298
|
-
rubygems_version: 3.
|
298
|
+
rubygems_version: 3.0.3
|
299
299
|
signing_key:
|
300
300
|
specification_version: 4
|
301
301
|
summary: UI for viewing logs in Rack
|