# HG changeset patch # User Mahlon E. Smith # Date 1583438419 28800 # Node ID e2e96d97b77c63a6cbf6e792ad960f8866200df5 # Parent d9922543b6f31edf7a4b2028f6da7d7798631748 Update for newer rubies. diff -r d9922543b6f3 -r e2e96d97b77c .ruby-version --- 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 diff -r d9922543b6f3 -r e2e96d97b77c lib/thingfish/metastore/pggraph.rb --- 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 ) diff -r d9922543b6f3 -r e2e96d97b77c lib/thingfish/metastore/pggraph/edge.rb --- 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' diff -r d9922543b6f3 -r e2e96d97b77c lib/thingfish/metastore/pggraph/node.rb --- 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'