rdf-turtle 3.0.0 → 3.0.1
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 +1 -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: 07b298640314a7317b9061aafd7c38941bbff437c19920992c82a275ef458d31
|
4
|
+
data.tar.gz: 97e9132f36a0aaa818fd7749f96e78858e1b953be20c26a463cbe1262f3aaccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15da972d14df0a76b5e82095bfb4a7c2a8d9f2f019d20bb35c53de0a4ec2638586d583039ea0d426ffeed724026366537829b789201c2fdd37c47b56881de637
|
7
|
+
data.tar.gz: 7c3a9f79b5b3ee5fdd8fb712c055846f4af1c5a94feac8d51865015f786d21e72d03820a72f64a3a327535d6e3ec20b4d28d178ec21de8685a17e5a08c9a5602
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1
|
data/lib/rdf/turtle/writer.rb
CHANGED
@@ -413,7 +413,7 @@ module RDF::Turtle
|
|
413
413
|
# @return [String]
|
414
414
|
def quoted(string)
|
415
415
|
if string.to_s.match(/[\t\n\r]/)
|
416
|
-
string = string.gsub('\\', '
|
416
|
+
string = string.gsub('\\', '\\\\\\\\').gsub('"""', '\\"""')
|
417
417
|
%("""#{string}""")
|
418
418
|
else
|
419
419
|
"\"#{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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|