Update for newer rubies. draft v0.5.0
authorMahlon E. Smith <mahlon@laika.com>
Thu, 05 Mar 2020 12:00:19 -0800
changeset 20 e2e96d97b77c
parent 19 d9922543b6f3
child 21 1b9ceef22793
Update for newer rubies.
.ruby-version
lib/thingfish/metastore/pggraph.rb
lib/thingfish/metastore/pggraph/edge.rb
lib/thingfish/metastore/pggraph/node.rb
--- 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'