From b18e5e704642c059fc454e38b298b140c217932d Mon Sep 17 00:00:00 2001 From: Gabriel Naiman Date: Fri, 29 Nov 2019 15:49:10 -0300 Subject: [PATCH 1/4] Change default ruby version --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index ccd1908..10ff272 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-2.4.5 \ No newline at end of file +ruby-2.6.0 \ No newline at end of file From d4a4bef67e048b619539bc597f0291a75eaf5b0b Mon Sep 17 00:00:00 2001 From: Gabriel Naiman Date: Fri, 29 Nov 2019 15:50:28 -0300 Subject: [PATCH 2/4] Release 1.3.0 --- lib/rasti/db/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rasti/db/version.rb b/lib/rasti/db/version.rb index 1e7ab04..4d53f39 100644 --- a/lib/rasti/db/version.rb +++ b/lib/rasti/db/version.rb @@ -1,5 +1,5 @@ module Rasti module DB - VERSION = '1.2.0' + VERSION = '1.3.0' end end From 035a01a972db9d19b7f4abf8b15214c4f6973510 Mon Sep 17 00:00:00 2001 From: Gabriel Naiman Date: Mon, 2 Dec 2019 17:36:56 -0300 Subject: [PATCH 3/4] Safe join alias for many to many relations --- lib/rasti/db/relations/many_to_many.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rasti/db/relations/many_to_many.rb b/lib/rasti/db/relations/many_to_many.rb index 8f7ac4f..bd07521 100644 --- a/lib/rasti/db/relations/many_to_many.rb +++ b/lib/rasti/db/relations/many_to_many.rb @@ -46,7 +46,7 @@ def graph_to(rows, db, schema=nil, relations=[]) end def join_to(dataset, schema=nil, prefix=nil) - many_to_many_relation_alias = with_prefix prefix, relation_collection_name + many_to_many_relation_alias = with_prefix prefix, "#{relation_collection_name}_#{SecureRandom.base64}" qualified_relation_source = prefix ? Sequel[prefix] : qualified_source_collection_name(schema) From 5c705f4cd77a60dd3c2aef2f41e24275fe047adf Mon Sep 17 00:00:00 2001 From: Gabriel Naiman Date: Mon, 2 Dec 2019 17:37:16 -0300 Subject: [PATCH 4/4] Release 1.3.1 --- lib/rasti/db/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rasti/db/version.rb b/lib/rasti/db/version.rb index 4d53f39..9efaec1 100644 --- a/lib/rasti/db/version.rb +++ b/lib/rasti/db/version.rb @@ -1,5 +1,5 @@ module Rasti module DB - VERSION = '1.3.0' + VERSION = '1.3.1' end end