rdf-trig 1.1.2 → 1.1.3

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/trig/writer.rb +2 -2
  4. metadata +48 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7b4720c71847712c74bec5ee24e11ac4e680865
4
- data.tar.gz: f910a370ebbbd31303e83fe955141e8e010858af
3
+ metadata.gz: bbc8f3b38a1aebcc071fc3adb8198ed8e13241c6
4
+ data.tar.gz: 872c5fa83a48cf1ce4e9d9493a9e534c994a4554
5
5
  SHA512:
6
- metadata.gz: d7495a3be1df086ed1a442f5caf9385d0ba2f4d74b54252447cb7ab9a9ae5801d5593d3bbeacbe82b185c369bb7cb801fe88f1c799012c53b1ae31da67d9fc9d
7
- data.tar.gz: 25374295795a6eebcb819e8b54593cf8d5b3ad42691ca2c585ebb3a413b6c1dcf7aa503fb6fe5528a1a55135c8a62de8125c045d25e4c5ac49c6cb0c1cf64b38
6
+ metadata.gz: d574184229ba499e3d8d45a77c332742d6e318c860d240be5f51f8ac0fba23c0134469fe4c6d7854dabebec96df4c63766ef0df5c4213e89accd1337e9b9914f
7
+ data.tar.gz: ff7a5ca45a60eb6756d5203c3662122e9f5421824186c118f074f51ae082ac4acaafc43d097bb0284f4b64c446a7695e87928730f4aad39457564a29974626d0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.1.3
@@ -186,7 +186,7 @@ module RDF::TriG
186
186
  order_contexts.each do |ctx|
187
187
  debug {"context: #{ctx.inspect}"}
188
188
  reset
189
- @depth = 2
189
+ @depth = ctx ? 2 : 0
190
190
 
191
191
  if ctx
192
192
  @output.write("\n#{format_value(ctx)} {")
@@ -223,7 +223,7 @@ module RDF::TriG
223
223
  def resource_in_single_context?(resource)
224
224
  contexts = @repo.query(:subject => resource).map(&:context)
225
225
  contexts += @repo.query(:object => resource).map(&:context)
226
- contexts.length == 1
226
+ contexts.uniq.length <= 1
227
227
  end
228
228
 
229
229
  # Order contexts for output
metadata CHANGED
@@ -1,153 +1,165 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-trig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-26 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.1.1
19
+ version: '1.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.1.2.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '>='
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.1'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: 1.1.1.1
32
+ version: 1.1.2.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: ebnf
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - '>='
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
39
  version: 0.3.5
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - '>='
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
46
  version: 0.3.5
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rdf-turtle
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - '>='
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.1'
54
+ - - ">="
46
55
  - !ruby/object:Gem::Version
47
- version: 1.1.2
56
+ version: 1.1.3
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
- - - '>='
61
+ - - "~>"
53
62
  - !ruby/object:Gem::Version
54
- version: 1.1.2
63
+ version: '1.1'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 1.1.3
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: open-uri-cached
57
69
  requirement: !ruby/object:Gem::Requirement
58
70
  requirements:
59
- - - '>='
71
+ - - ">="
60
72
  - !ruby/object:Gem::Version
61
73
  version: 0.0.5
62
74
  type: :development
63
75
  prerelease: false
64
76
  version_requirements: !ruby/object:Gem::Requirement
65
77
  requirements:
66
- - - '>='
78
+ - - ">="
67
79
  - !ruby/object:Gem::Version
68
80
  version: 0.0.5
69
81
  - !ruby/object:Gem::Dependency
70
82
  name: json-ld
71
83
  requirement: !ruby/object:Gem::Requirement
72
84
  requirements:
73
- - - '>='
85
+ - - "~>"
74
86
  - !ruby/object:Gem::Version
75
87
  version: '1.1'
76
88
  type: :development
77
89
  prerelease: false
78
90
  version_requirements: !ruby/object:Gem::Requirement
79
91
  requirements:
80
- - - '>='
92
+ - - "~>"
81
93
  - !ruby/object:Gem::Version
82
94
  version: '1.1'
83
95
  - !ruby/object:Gem::Dependency
84
96
  name: rspec
85
97
  requirement: !ruby/object:Gem::Requirement
86
98
  requirements:
87
- - - '>='
99
+ - - "~>"
88
100
  - !ruby/object:Gem::Version
89
- version: 2.12.0
101
+ version: '2.14'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
93
105
  requirements:
94
- - - '>='
106
+ - - "~>"
95
107
  - !ruby/object:Gem::Version
96
- version: 2.12.0
108
+ version: '2.14'
97
109
  - !ruby/object:Gem::Dependency
98
110
  name: rdf-isomorphic
99
111
  requirement: !ruby/object:Gem::Requirement
100
112
  requirements:
101
- - - '>='
113
+ - - "~>"
102
114
  - !ruby/object:Gem::Version
103
115
  version: '1.1'
104
116
  type: :development
105
117
  prerelease: false
106
118
  version_requirements: !ruby/object:Gem::Requirement
107
119
  requirements:
108
- - - '>='
120
+ - - "~>"
109
121
  - !ruby/object:Gem::Version
110
122
  version: '1.1'
111
123
  - !ruby/object:Gem::Dependency
112
124
  name: yard
113
125
  requirement: !ruby/object:Gem::Requirement
114
126
  requirements:
115
- - - '>='
127
+ - - ">="
116
128
  - !ruby/object:Gem::Version
117
- version: 0.8.3
129
+ version: 0.8.7
118
130
  type: :development
119
131
  prerelease: false
120
132
  version_requirements: !ruby/object:Gem::Requirement
121
133
  requirements:
122
- - - '>='
134
+ - - ">="
123
135
  - !ruby/object:Gem::Version
124
- version: 0.8.3
136
+ version: 0.8.7
125
137
  - !ruby/object:Gem::Dependency
126
138
  name: rdf-spec
127
139
  requirement: !ruby/object:Gem::Requirement
128
140
  requirements:
129
- - - '>='
141
+ - - "~>"
130
142
  - !ruby/object:Gem::Version
131
143
  version: '1.1'
132
144
  type: :development
133
145
  prerelease: false
134
146
  version_requirements: !ruby/object:Gem::Requirement
135
147
  requirements:
136
- - - '>='
148
+ - - "~>"
137
149
  - !ruby/object:Gem::Version
138
150
  version: '1.1'
139
151
  - !ruby/object:Gem::Dependency
140
152
  name: rake
141
153
  requirement: !ruby/object:Gem::Requirement
142
154
  requirements:
143
- - - '>='
155
+ - - ">="
144
156
  - !ruby/object:Gem::Version
145
157
  version: '0'
146
158
  type: :development
147
159
  prerelease: false
148
160
  version_requirements: !ruby/object:Gem::Requirement
149
161
  requirements:
150
- - - '>='
162
+ - - ">="
151
163
  - !ruby/object:Gem::Version
152
164
  version: '0'
153
165
  description: RDF::TriG is an TriG reader/writer for the RDF.rb library suite.
@@ -157,17 +169,17 @@ extensions: []
157
169
  extra_rdoc_files: []
158
170
  files:
159
171
  - AUTHORS
160
- - README.md
161
172
  - History
173
+ - README.md
162
174
  - UNLICENSE
163
175
  - VERSION
176
+ - lib/rdf/trig.rb
164
177
  - lib/rdf/trig/format.rb
165
178
  - lib/rdf/trig/meta.rb
166
179
  - lib/rdf/trig/reader.rb
167
180
  - lib/rdf/trig/streaming_writer.rb
168
181
  - lib/rdf/trig/version.rb
169
182
  - lib/rdf/trig/writer.rb
170
- - lib/rdf/trig.rb
171
183
  homepage: http://ruby-rdf.github.com/rdf-trig
172
184
  licenses:
173
185
  - Public Domain
@@ -178,17 +190,17 @@ require_paths:
178
190
  - lib
179
191
  required_ruby_version: !ruby/object:Gem::Requirement
180
192
  requirements:
181
- - - '>='
193
+ - - ">="
182
194
  - !ruby/object:Gem::Version
183
- version: 1.8.1
195
+ version: 1.9.2
184
196
  required_rubygems_version: !ruby/object:Gem::Requirement
185
197
  requirements:
186
- - - '>='
198
+ - - ">="
187
199
  - !ruby/object:Gem::Version
188
200
  version: '0'
189
201
  requirements: []
190
202
  rubyforge_project: rdf-trig
191
- rubygems_version: 2.1.11
203
+ rubygems_version: 2.2.2
192
204
  signing_key:
193
205
  specification_version: 4
194
206
  summary: TriG reader/writer for Ruby.