lines 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +0 -11
- data/lib/lines.rb +4 -1
- data/lib/lines/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDMyYWMxNDMyYjgzY2UwMzQ3NDhlYmI2MmM2ZjBlMWViMjM5MDUwYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTJkNjY2ZGJiMTIwNGIwZThlNDQ4ZTRhYzU0NGY0MjNjYTk3N2M1NA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmU2ZGI1ZDZmN2U2ZTIzMmI5ZDVjZmIyZjk1MGFmNjcxNTYzMzk1ZGEwZWY5
|
10
|
+
MzEwNTU1YTc2ZWUxMGI2NDEyMDU4NDBhZTIwMWQ1MWZiNjI5Mzg4N2EzMGJl
|
11
|
+
MjUxZTNmMGQ4ZWE0OTQxZTQ4NzMwMzQzY2M3YTllZmViOTVkYTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzM5MTI0YzE5NGVlMjEzNTk2OTkwODk0MDViYzRmN2YwMjBmMDc5NGM5ZmNm
|
14
|
+
MThiZTQ1NDgxNDJhOTBjNDM4NTAzODZhYjk0MjQ3MjI4YzdiY2FjN2YzMjFm
|
15
|
+
NGQzODEzMmRiNzdhMWJkMmZlY2Q2OTMyZGU5ZmMxYzVkM2UyN2Y=
|
data/README.md
CHANGED
data/lib/lines.rb
CHANGED
@@ -288,7 +288,10 @@ module Lines
|
|
288
288
|
# TODO: Single-quote espace if possible
|
289
289
|
def strenc(s)
|
290
290
|
s = s.to_s
|
291
|
-
|
291
|
+
unless is_literal?(s)
|
292
|
+
s = s.inspect
|
293
|
+
s[0] = s[-1] = "'" unless s[1..-2].include?("'")
|
294
|
+
end
|
292
295
|
s
|
293
296
|
end
|
294
297
|
|
data/lib/lines/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Pfenniger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04
|
11
|
+
date: 2013-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: structured logs for humans
|
14
14
|
email: jonas@pfenniger.name
|