rasti-db 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aab2813290f3080c9a50cfed449183cc5da14e04915f6593fa9ab7fa5e5f24a7
4
- data.tar.gz: 3d46e38905af30b1a50a8b186b5ebf3f3253db29b58eed2526859c12862cc8af
3
+ metadata.gz: 758ff6be9c26ae460399f8fb269d691171946224f69c997aec034bde72b50696
4
+ data.tar.gz: 03aa1fa34277323614c92f9b52aaa361b72ae45d3fd2e40a8e81a33576ca0094
5
5
  SHA512:
6
- metadata.gz: 5ae412446ff6d62b5cd1043e1958aaafe7dbc391ba98173adcc6ab5b31ce0d1daa8dc7086b62ae27ca50b7c03e6c2a1f6ac905a06a30a932a5e367e30698d8cd
7
- data.tar.gz: 68e99deac8ffb297263a56a1e3f4deff341518f94aba48bbbb8a760983e86d9268a9a7d96a36626ca7fcf4173c512f23c3585bcbae047dc964de493b2a7256e4
6
+ metadata.gz: 5f09539fb3eacc3742a553d4d7e28a61c6d4afa26d13de48b187f5ea90d20c46336895c7094cacb4cc945cccd5b9fdd014ed47d7a9569087c8cb6b1e2ca26ffc
7
+ data.tar.gz: 3a5f2850607db4477cb34c18fea8e719ab7b20b0e350eb7a814c973ccb714e37f6d19c7dcb549fe56878b942c755a0606fe4841413346c3eb8e0b8d1e9814305
@@ -46,7 +46,7 @@ module Rasti
46
46
  end
47
47
 
48
48
  def join_to(dataset, schema=nil, prefix=nil)
49
- many_to_many_relation_alias = with_prefix prefix, relation_collection_name
49
+ many_to_many_relation_alias = with_prefix prefix, "#{relation_collection_name}_#{SecureRandom.base64}"
50
50
 
51
51
  qualified_relation_source = prefix ? Sequel[prefix] : qualified_source_collection_name(schema)
52
52
 
@@ -1,5 +1,5 @@
1
1
  module Rasti
2
2
  module DB
3
- VERSION = '1.3.0'
3
+ VERSION = '1.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rasti-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Naiman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-29 00:00:00.000000000 Z
11
+ date: 2019-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel