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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rdf/turtle/writer.rb +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2739fecb539c03eacd39c93e7c002ee32f9b6b49f8786d2119150d1a57cd236
4
- data.tar.gz: b72813794b2c80e8b518aaa151740f26a55017074555823fdd14dfbe181efc7f
3
+ metadata.gz: 42fd402701c100deb4335bf42ef55682de098f3c1967063a42c5a67d7cbd5282
4
+ data.tar.gz: 390e3920be8a0a7fc722f08e670a7f45a99982085795df4badca0334a5df27b5
5
5
  SHA512:
6
- metadata.gz: 43ad711bd729dcabcdf0e3e07006fed39f7a31fbe074513777e1dcaec358bb373a1e77e31fd8bb5761ebf487efa0e2aa94cccc2311ffa135534fdabdf4654aa7
7
- data.tar.gz: dc7bafb1ff5ba905b85982b6514e65da5bdf1b1e2fd1f0813ee4678f3e174cf20871087c73f7c1a2a52d65e3d07058d26be31cc8d6ea92dfd315f81e904647b9
6
+ metadata.gz: 40bdf89cc4dc83e8dc8f032912772a91c446759f1f842022ecfd5d159cf84a5c9fce0f48d51a4a1220f769398f06e297e1f3fea99c2da654bd01cc20c9863db0
7
+ data.tar.gz: 4a243b9d8426f08ee16e1d31c634d6dbf3d8ce9f5c5f6f9816a8cc04a3ad92dcc1409df91ce8c365677faf0fbf6503250a28a224e903089995e9c367fdb60d41
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.4
1
+ 3.0.5
@@ -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
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-01-23 00:00:00.000000000 Z
11
+ date: 2019-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf