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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll/drops/rdf_term.rb +11 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d1840bf12f0cf7ba717c2bcd52db222b7586874
4
- data.tar.gz: 34c3ca04443fc2d1df87418b0d477c23998ce917
3
+ metadata.gz: ee8c9b3213e65bb9d013dd5b03091901b8b5eb01
4
+ data.tar.gz: 76884d519e455a19ddeba18dabdb7926cb2349b2
5
5
  SHA512:
6
- metadata.gz: ccf6295ff1fb366a03b018440424c90f8462d57f53f00f966332d3a932222a2835c8535db75b35781cf5987c509f14c4e63aa8cd9b3a8aabd019204eaca64dac
7
- data.tar.gz: 64d9f061185271e3e6c38bdc58f772234989afc96164d72a1a469471da148e41265df5d619785f7db5d470f8f16bebf1b2931bbe00dd1c0f1dfbb1141610e0a9
6
+ metadata.gz: b55d87ef4f7834ba5bb42b3a0a81fb0e603879ecd8bcec4e7be176f0c020c6bd29da08616ece816855274c792c51e389532df44d03fbc508707ce8e28ee92dcf
7
+ data.tar.gz: dfde47b5cd779dbf506b8c373f42a6e61f38db26ac306e20807527348754b475b8974700050c458f7ce02782affbb291fb8a1bfcab89002229f83dd231ccb407
@@ -76,6 +76,17 @@ module Jekyll
76
76
  term.to_s
77
77
  end
78
78
 
79
+ def ==(other_obj)
80
+ return self.eql? other_obj
81
+ end
82
+
83
+ def eql? other_obj
84
+ return (self.to_s.eql? other_obj.to_s)&&((other_obj.class <= self.class)||(self.class <= other_obj.class)||(other_obj.class <= self.term.class))
85
+ end
86
+
87
+ def ===(other_obj)
88
+ return self.to_s.eql? other_obj.to_s
89
+ end
79
90
  ##
80
91
  # Convert an RDF term into a new Jekyll::Drops::RdfTerm
81
92
  #
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.265
4
+ version: 2.1.3.pre.develop.269
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Saalmann