rdf-n3 1.1.0 → 1.1.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/n3.rb +1 -1
- data/lib/rdf/n3/reader.rb +10 -4
- metadata +64 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bde49398d0b9fdf810f8a1bbadb05a3445866fb
|
4
|
+
data.tar.gz: 9500aab28d6873b4653ce5d945bbcdeac963d5dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7a3e5bef3cfaa6c2bcaf818345a98a8fb73e76dd45d25e25ed07558b13615e70ef997ece4e3119dd62a3249b630abf936a1b31b40e77f019ba716ce8466e10c
|
7
|
+
data.tar.gz: 12fb0eba083f823772410ddc07cd8bbf39fbc245ba58db9636bf8811c4529c7f3a5201574f25bc6af6b6caf0b11c4f6785e2e26f5ad106e4e9bbddf0856c54b4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0
|
1
|
+
1.1.0.1
|
data/lib/rdf/n3.rb
CHANGED
data/lib/rdf/n3/reader.rb
CHANGED
@@ -92,9 +92,12 @@ module RDF::N3
|
|
92
92
|
# @yieldparam [RDF::Statement] statement
|
93
93
|
# @return [void]
|
94
94
|
def each_statement(&block)
|
95
|
-
|
95
|
+
if block_given?
|
96
|
+
@callback = block
|
96
97
|
|
97
|
-
|
98
|
+
parse(START.to_sym)
|
99
|
+
end
|
100
|
+
enum_for(:each_triple)
|
98
101
|
end
|
99
102
|
|
100
103
|
##
|
@@ -106,9 +109,12 @@ module RDF::N3
|
|
106
109
|
# @yieldparam [RDF::Value] object
|
107
110
|
# @return [void]
|
108
111
|
def each_triple(&block)
|
109
|
-
|
110
|
-
|
112
|
+
if block_given?
|
113
|
+
each_statement do |statement|
|
114
|
+
block.call(*statement.to_triple)
|
115
|
+
end
|
111
116
|
end
|
117
|
+
enum_for(:each_triple)
|
112
118
|
end
|
113
119
|
|
114
120
|
protected
|
metadata
CHANGED
@@ -1,154 +1,160 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-n3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0
|
4
|
+
version: 1.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg
|
8
8
|
- Kellogg
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdf
|
16
|
-
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.1'
|
21
|
-
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
24
22
|
requirements:
|
25
|
-
- -
|
23
|
+
- - ~>
|
26
24
|
- !ruby/object:Gem::Version
|
27
25
|
version: '1.1'
|
26
|
+
prerelease: false
|
27
|
+
type: :runtime
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: open-uri-cached
|
30
|
-
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
+
- - ~>
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0.0'
|
32
35
|
- - '>='
|
33
36
|
- !ruby/object:Gem::Version
|
34
37
|
version: 0.0.5
|
35
|
-
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
38
39
|
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.0'
|
39
43
|
- - '>='
|
40
44
|
- !ruby/object:Gem::Version
|
41
45
|
version: 0.0.5
|
46
|
+
prerelease: false
|
47
|
+
type: :development
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: json-ld
|
44
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
|
-
- -
|
52
|
+
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: '1.1'
|
49
|
-
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
52
56
|
requirements:
|
53
|
-
- -
|
57
|
+
- - ~>
|
54
58
|
- !ruby/object:Gem::Version
|
55
59
|
version: '1.1'
|
60
|
+
prerelease: false
|
61
|
+
type: :development
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: rspec
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.14'
|
58
69
|
requirement: !ruby/object:Gem::Requirement
|
59
70
|
requirements:
|
60
|
-
- -
|
71
|
+
- - ~>
|
61
72
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.14
|
63
|
-
type: :development
|
73
|
+
version: '2.14'
|
64
74
|
prerelease: false
|
75
|
+
type: :development
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: rdf-spec
|
65
78
|
version_requirements: !ruby/object:Gem::Requirement
|
66
79
|
requirements:
|
67
|
-
- -
|
80
|
+
- - ~>
|
68
81
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rdf-spec
|
82
|
+
version: '1.1'
|
72
83
|
requirement: !ruby/object:Gem::Requirement
|
73
84
|
requirements:
|
74
|
-
- -
|
85
|
+
- - ~>
|
75
86
|
- !ruby/object:Gem::Version
|
76
87
|
version: '1.1'
|
77
|
-
type: :development
|
78
88
|
prerelease: false
|
89
|
+
type: :development
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rdf-rdfxml
|
79
92
|
version_requirements: !ruby/object:Gem::Requirement
|
80
93
|
requirements:
|
81
|
-
- -
|
94
|
+
- - ~>
|
82
95
|
- !ruby/object:Gem::Version
|
83
96
|
version: '1.1'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: rdf-rdfxml
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
87
98
|
requirements:
|
88
|
-
- -
|
99
|
+
- - ~>
|
89
100
|
- !ruby/object:Gem::Version
|
90
101
|
version: '1.1'
|
91
|
-
type: :development
|
92
102
|
prerelease: false
|
103
|
+
type: :development
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: rdf-isomorphic
|
93
106
|
version_requirements: !ruby/object:Gem::Requirement
|
94
107
|
requirements:
|
95
|
-
- -
|
108
|
+
- - ~>
|
96
109
|
- !ruby/object:Gem::Version
|
97
110
|
version: '1.1'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: rdf-isomorphic
|
100
111
|
requirement: !ruby/object:Gem::Requirement
|
101
112
|
requirements:
|
102
|
-
- -
|
113
|
+
- - ~>
|
103
114
|
- !ruby/object:Gem::Version
|
104
115
|
version: '1.1'
|
105
|
-
type: :development
|
106
116
|
prerelease: false
|
117
|
+
type: :development
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: yard
|
107
120
|
version_requirements: !ruby/object:Gem::Requirement
|
108
121
|
requirements:
|
109
|
-
- -
|
122
|
+
- - ~>
|
110
123
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: yard
|
124
|
+
version: '0.8'
|
114
125
|
requirement: !ruby/object:Gem::Requirement
|
115
126
|
requirements:
|
116
|
-
- -
|
127
|
+
- - ~>
|
117
128
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.8
|
119
|
-
type: :development
|
129
|
+
version: '0.8'
|
120
130
|
prerelease: false
|
121
|
-
|
122
|
-
requirements:
|
123
|
-
- - '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 0.8.6
|
131
|
+
type: :development
|
126
132
|
description: RDF::N3 is an Notation-3 reader/writer for the RDF.rb library suite.
|
127
133
|
email: public-rdf-ruby@w3.org
|
128
134
|
executables: []
|
129
135
|
extensions: []
|
130
136
|
extra_rdoc_files: []
|
131
137
|
files:
|
132
|
-
- README.md
|
133
|
-
- History.markdown
|
134
138
|
- AUTHORS
|
135
|
-
-
|
139
|
+
- History.markdown
|
140
|
+
- README.md
|
136
141
|
- UNLICENSE
|
142
|
+
- VERSION
|
143
|
+
- lib/rdf/n3.rb
|
137
144
|
- lib/rdf/n3/format.rb
|
138
145
|
- lib/rdf/n3/patches/array_hacks.rb
|
139
146
|
- lib/rdf/n3/patches/list.rb
|
147
|
+
- lib/rdf/n3/reader.rb
|
140
148
|
- lib/rdf/n3/reader/meta.rb
|
141
149
|
- lib/rdf/n3/reader/parser.rb
|
142
|
-
- lib/rdf/n3/reader.rb
|
143
150
|
- lib/rdf/n3/version.rb
|
144
151
|
- lib/rdf/n3/vocab.rb
|
145
152
|
- lib/rdf/n3/writer.rb
|
146
|
-
- lib/rdf/n3.rb
|
147
153
|
homepage: http://ruby-rdf.github.com/rdf-n3
|
148
154
|
licenses:
|
149
155
|
- Public Domain
|
150
156
|
metadata: {}
|
151
|
-
post_install_message:
|
157
|
+
post_install_message:
|
152
158
|
rdoc_options: []
|
153
159
|
require_paths:
|
154
160
|
- lib
|
@@ -164,8 +170,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
170
|
version: '0'
|
165
171
|
requirements: []
|
166
172
|
rubyforge_project: rdf-n3
|
167
|
-
rubygems_version: 2.
|
168
|
-
signing_key:
|
173
|
+
rubygems_version: 2.2.2
|
174
|
+
signing_key:
|
169
175
|
specification_version: 4
|
170
176
|
summary: Notation3 reader/writer for RDF.rb.
|
171
177
|
test_files: []
|