rdfobjects 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rdf_objects/rdf_resource.rb +1 -1
- metadata +25 -42
@@ -119,7 +119,7 @@ module RDFObject
|
|
119
119
|
line << object.ntriples_format
|
120
120
|
else
|
121
121
|
object = RDF::Literal.new(object) unless object.is_a?(RDF::Literal)
|
122
|
-
line << "#{object.value.to_json}"
|
122
|
+
line << "#{object.value.to_json(:ascii_only=>true)}"
|
123
123
|
line << "^^<#{object.datatype}>" if object.has_datatype?
|
124
124
|
line << "@#{object.language}" if object.has_language?
|
125
125
|
end
|
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdfobjects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 11
|
8
|
-
- 1
|
9
|
-
version: 0.11.1
|
4
|
+
version: 0.11.2
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- Ross Singer
|
@@ -14,69 +9,59 @@ autorequire:
|
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
11
|
|
17
|
-
date: 2010-06-
|
12
|
+
date: 2010-06-11 00:00:00 -04:00
|
18
13
|
default_executable:
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: nokogiri
|
22
|
-
|
23
|
-
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
20
|
requirements:
|
25
21
|
- - ">="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
23
|
version: "0"
|
30
|
-
|
31
|
-
version_requirements: *id001
|
24
|
+
version:
|
32
25
|
- !ruby/object:Gem::Dependency
|
33
26
|
name: curies
|
34
|
-
|
35
|
-
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
segments:
|
40
|
-
- 0
|
41
33
|
version: "0"
|
42
|
-
|
43
|
-
version_requirements: *id002
|
34
|
+
version:
|
44
35
|
- !ruby/object:Gem::Dependency
|
45
36
|
name: addressable
|
46
|
-
|
47
|
-
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
48
40
|
requirements:
|
49
41
|
- - ">="
|
50
42
|
- !ruby/object:Gem::Version
|
51
|
-
segments:
|
52
|
-
- 0
|
53
43
|
version: "0"
|
54
|
-
|
55
|
-
version_requirements: *id003
|
44
|
+
version:
|
56
45
|
- !ruby/object:Gem::Dependency
|
57
46
|
name: rdf
|
58
|
-
|
59
|
-
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
50
|
requirements:
|
61
51
|
- - ">="
|
62
52
|
- !ruby/object:Gem::Version
|
63
|
-
segments:
|
64
|
-
- 0
|
65
53
|
version: "0"
|
66
|
-
|
67
|
-
version_requirements: *id004
|
54
|
+
version:
|
68
55
|
- !ruby/object:Gem::Dependency
|
69
56
|
name: rdfa_parser
|
70
|
-
|
71
|
-
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
60
|
requirements:
|
73
61
|
- - ">="
|
74
62
|
- !ruby/object:Gem::Version
|
75
|
-
segments:
|
76
|
-
- 0
|
77
63
|
version: "0"
|
78
|
-
|
79
|
-
version_requirements: *id005
|
64
|
+
version:
|
80
65
|
description: RDFObjects are intended to simplify working with RDF data by providing a (more) Ruby-like interface to resources (thanks to OpenStruct).
|
81
66
|
email: rossfsinger@gmail.com
|
82
67
|
executables: []
|
@@ -113,20 +98,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
98
|
requirements:
|
114
99
|
- - ">="
|
115
100
|
- !ruby/object:Gem::Version
|
116
|
-
segments:
|
117
|
-
- 0
|
118
101
|
version: "0"
|
102
|
+
version:
|
119
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
104
|
requirements:
|
121
105
|
- - ">="
|
122
106
|
- !ruby/object:Gem::Version
|
123
|
-
segments:
|
124
|
-
- 0
|
125
107
|
version: "0"
|
108
|
+
version:
|
126
109
|
requirements:
|
127
110
|
- json, json_pure or json-ruby required for parsing RDF/JSON
|
128
111
|
rubyforge_project:
|
129
|
-
rubygems_version: 1.3.
|
112
|
+
rubygems_version: 1.3.5
|
130
113
|
signing_key:
|
131
114
|
specification_version: 3
|
132
115
|
summary: A DSL for working with RDF resources.
|