jekyll-rdf 2.1.3.pre.develop.269 → 2.1.3.pre.develop.270

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee8c9b3213e65bb9d013dd5b03091901b8b5eb01
4
- data.tar.gz: 76884d519e455a19ddeba18dabdb7926cb2349b2
3
+ metadata.gz: 9d5e8580ed0ff19261291f9d9a340ef9a1b60ffd
4
+ data.tar.gz: 9c4711e248b672f99fc146322da77c49bc45e99e
5
5
  SHA512:
6
- metadata.gz: b55d87ef4f7834ba5bb42b3a0a81fb0e603879ecd8bcec4e7be176f0c020c6bd29da08616ece816855274c792c51e389532df44d03fbc508707ce8e28ee92dcf
7
- data.tar.gz: dfde47b5cd779dbf506b8c373f42a6e61f38db26ac306e20807527348754b475b8974700050c458f7ce02782affbb291fb8a1bfcab89002229f83dd231ccb407
6
+ metadata.gz: 9d28f8aec37668d3714f4ed3c98178d98350723bbdb18e00b9c30deb85f9a6561d7c2b5e396b40f06870085d4708e76d423c811db713d8a09a14a80302f483f4
7
+ data.tar.gz: 013af97df26c6b8ace44d3e97346655a7830f7e6629b30c2860dd45a99df2db22bbb94131977816851fd811e9a89893e2a0671b3abd85b4c07f0f3709de0d3db
@@ -57,6 +57,7 @@ module Jekyll #:nodoc:
57
57
  if(page.is_a?(Jekyll::Page))
58
58
  @page = page
59
59
  end
60
+ @subResources = {}
60
61
  end
61
62
 
62
63
  def add_necessities(site, page)
@@ -181,6 +182,11 @@ module Jekyll #:nodoc:
181
182
  end
182
183
  end
183
184
 
185
+ def inspect
186
+ obj_id = ('%x' % (self.object_id << 1)).to_s
187
+ return "#<RdfResource:0x#{"0"*(14 - obj_id.length)}#{obj_id} @iri=#{iri} @subResources=[#{subResources.map { |x| x.inspect}.join(", ")}]>"
188
+ end
189
+
184
190
  #checks if a query solution contains a language or type tag and returns those in a hash
185
191
  private
186
192
  def check_solution(solution)
@@ -57,6 +57,11 @@ module Jekyll
57
57
  @predicate ||= Jekyll::Drops::RdfTerm.build_term_drop(statement.predicate, sparql, site)
58
58
  @object ||= Jekyll::Drops::RdfTerm.build_term_drop(statement.object, sparql, site)
59
59
  end
60
+
61
+ def inspect
62
+ obj_id = ('%x' % (self.object_id << 1)).to_s
63
+ return "#<RdfStatement:0x#{"0"*(14 - obj_id.length)}#{obj_id} @subject=#{subject.inspect} @predicate=#{predicate.inspect} @object=#{object.inspect}>"
64
+ end
60
65
  end
61
66
  end
62
67
  end
@@ -105,6 +105,10 @@ module Jekyll
105
105
  end
106
106
  end
107
107
 
108
+ def inspect
109
+ obj_id = ('%x' % (self.object_id << 1)).to_s
110
+ return "#<#{self.class.to_s.split("::")[-1]}:0x#{"0"*(14 - obj_id.length)}#{obj_id} @term=#{@term}>"
111
+ end
108
112
  end
109
113
  end
110
114
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3.pre.develop.269
4
+ version: 2.1.3.pre.develop.270
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Saalmann