paul_bunyan 1.2.2 → 1.2.3
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 +4 -4
- data/lib/paul_bunyan/json_formatter.rb +1 -1
- data/lib/paul_bunyan/version.rb +1 -1
- data/spec/lib/paul_bunyan/json_formatter_spec.rb +0 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56f9035eeff5fe301e6f14ee5ed3df1c07d93cf2
|
4
|
+
data.tar.gz: 1740d2847bcc3542ef0ff9cd37ee3da20dd8b760
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80e44079fd27a47a525d93beef40fd4044fddee54997e13beccaeffb9f77fc460e7ab48e4c0306a3204adc5d83557356739a66dfdca13adb04bdaa9bfb8f8226
|
7
|
+
data.tar.gz: 42cd5cc00964a7cf513ba0442b672ab938e71972772a48c2d5c5dd4940d974173998afa5b3158eaddb8be74f2ffbcbc1b04985079633aac1850d45e1a3d599c9
|
data/lib/paul_bunyan/version.rb
CHANGED
@@ -63,18 +63,6 @@ module PaulBunyan
|
|
63
63
|
expect(object['message']).to eq 'This is my message, there are many like it.'
|
64
64
|
end
|
65
65
|
|
66
|
-
it 'must remove leading whitespace' do
|
67
|
-
output = formatter.call('', time, '', ' this message has leading spaces')
|
68
|
-
object = JSON.parse(output)
|
69
|
-
expect(object['message']).to eq 'this message has leading spaces'
|
70
|
-
end
|
71
|
-
|
72
|
-
it 'must remove trailing whitespace' do
|
73
|
-
output = formatter.call('', time, '', 'this message has trailing spaces ')
|
74
|
-
object = JSON.parse(output)
|
75
|
-
expect(object['message']).to eq 'this message has trailing spaces'
|
76
|
-
end
|
77
|
-
|
78
66
|
it 'must remove ANSI color codes' do
|
79
67
|
output = formatter.call('', time, '', "\e[36;46mcolored message!")
|
80
68
|
object = JSON.parse(output)
|