rdf-turtle 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/turtle/writer.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42fd402701c100deb4335bf42ef55682de098f3c1967063a42c5a67d7cbd5282
|
4
|
+
data.tar.gz: 390e3920be8a0a7fc722f08e670a7f45a99982085795df4badca0334a5df27b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40bdf89cc4dc83e8dc8f032912772a91c446759f1f842022ecfd5d159cf84a5c9fce0f48d51a4a1220f769398f06e297e1f3fea99c2da654bd01cc20c9863db0
|
7
|
+
data.tar.gz: 4a243b9d8426f08ee16e1d31c634d6dbf3d8ce9f5c5f6f9816a8cc04a3ad92dcc1409df91ce8c365677faf0fbf6503250a28a224e903089995e9c367fdb60d41
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.5
|
data/lib/rdf/turtle/writer.rb
CHANGED
@@ -447,7 +447,8 @@ module RDF::Turtle
|
|
447
447
|
# @return [String]
|
448
448
|
def quoted(string)
|
449
449
|
if string.to_s.match(/[\t\n\r]/)
|
450
|
-
string = string.gsub('\\', '\\\\\\\\').gsub('"
|
450
|
+
string = string.gsub('\\', '\\\\\\\\').gsub('"', '\\"')
|
451
|
+
|
451
452
|
%("""#{string}""")
|
452
453
|
else
|
453
454
|
"\"#{escaped(string)}\""
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-turtle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|