summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-12-14 22:22:40 +0100
committerAlex Legler <alex@a3li.li>2015-12-14 22:22:40 +0100
commit7711a63953a3c012c0fe9c0762db9c40615d5f70 (patch)
treea1431a6f3b5603fac937801c05bd1f7adf7fa51c
parentPrepend RDF namespace when using RDFS vocabulary (diff)
downloadsemantic-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--Gemfile1
-rw-r--r--Gemfile.lock2
-rwxr-xr-xprojects.rb1
3 files changed, 4 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 260a5b5..25f39d3 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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