diff options
author | 2015-12-14 22:22:40 +0100 | |
---|---|---|
committer | 2015-12-14 22:22:40 +0100 | |
commit | 7711a63953a3c012c0fe9c0762db9c40615d5f70 (patch) | |
tree | a1431a6f3b5603fac937801c05bd1f7adf7fa51c | |
parent | Prepend RDF namespace when using RDFS vocabulary (diff) | |
download | semantic-data-toolkit-7711a63953a3c012c0fe9c0762db9c40615d5f70.tar.gz semantic-data-toolkit-7711a63953a3c012c0fe9c0762db9c40615d5f70.tar.bz2 semantic-data-toolkit-7711a63953a3c012c0fe9c0762db9c40615d5f70.zip |
Backport Array#to_h from 2.1
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rwxr-xr-x | projects.rb | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -3,3 +3,4 @@ source 'https://rubygems.org' gem 'rdf' gem 'rdf-rdfxml' gem 'nokogiri' +gem 'backports', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 0bdd701..4f4ab3c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,7 @@ GEM remote: https://rubygems.org/ specs: + backports (3.6.7) haml (4.0.7) tilt htmlentities (4.3.4) @@ -31,6 +32,7 @@ PLATFORMS ruby DEPENDENCIES + backports nokogiri rdf rdf-rdfxml diff --git a/projects.rb b/projects.rb index 8c73569..31a90e1 100755 --- a/projects.rb +++ b/projects.rb @@ -3,6 +3,7 @@ # Alex Legler <a3li@gentoo.org> require_relative 'lib/vocabulary' +require 'backports/2.1.0/array/to_h' require 'json' require 'rdf/rdfxml' include RDF |