Update for newer rubies.
--- a/.ruby-version Wed Sep 25 16:07:09 2019 -0700
+++ b/.ruby-version Thu Mar 05 12:00:19 2020 -0800
@@ -1,1 +1,1 @@
-2.3
+2.5
--- a/lib/thingfish/metastore/pggraph.rb Wed Sep 25 16:07:09 2019 -0700
+++ b/lib/thingfish/metastore/pggraph.rb Thu Mar 05 12:00:19 2020 -0800
@@ -1,5 +1,5 @@
# -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
require 'loggability'
require 'configurability'
@@ -24,7 +24,7 @@
# Package version
- VERSION = '0.4.0'
+ VERSION = '0.5.0'
# Version control revision
REVISION = %q$Revision: 686fbfe638bd $
@@ -64,6 +64,7 @@
self.db = Sequel.connect( self.uri )
self.db.logger = Loggability[ Thingfish::Metastore::PgGraph ]
self.db.extension :pg_streaming
+ self.db.extension :pg_inet
self.db.stream_all_queries = true
self.db.sql_log_level = :debug
self.db.extension( :pg_json )
--- a/lib/thingfish/metastore/pggraph/edge.rb Wed Sep 25 16:07:09 2019 -0700
+++ b/lib/thingfish/metastore/pggraph/edge.rb Thu Mar 05 12:00:19 2020 -0800
@@ -1,5 +1,5 @@
# -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
require 'sequel/model'
--- a/lib/thingfish/metastore/pggraph/node.rb Wed Sep 25 16:07:09 2019 -0700
+++ b/lib/thingfish/metastore/pggraph/node.rb Thu Mar 05 12:00:19 2020 -0800
@@ -1,5 +1,5 @@
# -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
require 'sequel/model'