sbf-dm-do-adapter 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/dm-do-adapter.gemspec +2 -2
- data/lib/dm-do-adapter/adapter.rb +3 -3
- data/lib/dm-do-adapter/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a04bde325413ace3bc643766937bc5289e7607fc1b1ef75453a7bb8265c37b
|
4
|
+
data.tar.gz: a73e33316d89daed37f90c15421d5f662cac23d8c7e6ed2f834a57c1aceb958c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3420ce790fd8c93c2718cf65ad73c4df1b00a44237d150b24c9ad5800f2e7ec7fbf455a77872196d967184f33cda1c79233db2075550911118a1f9a7d7fd3bbf
|
7
|
+
data.tar.gz: 9756624b873d2e32e4166597a05edcba3153bca2908d606965554aab2410b5b2678bceee4251e4e59aa89aa89b1a987795fbb60725f3f94c87e42364a9ef11ef
|
data/Gemfile
CHANGED
@@ -7,8 +7,8 @@ gemspec
|
|
7
7
|
SOURCE = ENV.fetch('SOURCE', :git).to_sym
|
8
8
|
REPO_POSTFIX = (SOURCE == :path) ? '' : '.git'
|
9
9
|
DATAMAPPER = (SOURCE == :path) ? Pathname(__FILE__).dirname.parent : 'https://github.com/firespring'
|
10
|
-
DM_VERSION = '~> 1.3.0
|
11
|
-
DO_VERSION = '~> 0.
|
10
|
+
DM_VERSION = '~> 1.3.0'.freeze
|
11
|
+
DO_VERSION = '~> 0.11.0'.freeze
|
12
12
|
CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
|
13
13
|
|
14
14
|
options = {}
|
data/dm-do-adapter.gemspec
CHANGED
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = DataMapper::DoAdapter::VERSION
|
17
17
|
gem.required_ruby_version = '>= 2.7.8'
|
18
18
|
|
19
|
-
gem.add_runtime_dependency('sbf-data_objects', ['~> 0.11
|
20
|
-
gem.add_runtime_dependency('sbf-dm-core', ['~> 1.3
|
19
|
+
gem.add_runtime_dependency('sbf-data_objects', ['~> 0.11'])
|
20
|
+
gem.add_runtime_dependency('sbf-dm-core', ['~> 1.3'])
|
21
21
|
end
|
@@ -318,9 +318,9 @@ module DataMapper
|
|
318
318
|
column_name = ''
|
319
319
|
|
320
320
|
case qualify
|
321
|
-
|
321
|
+
when true
|
322
322
|
column_name << "#{quote_name(property.model.storage_name(name))}."
|
323
|
-
|
323
|
+
when String
|
324
324
|
column_name << "#{quote_name(qualify)}."
|
325
325
|
end
|
326
326
|
|
@@ -475,7 +475,7 @@ module DataMapper
|
|
475
475
|
#
|
476
476
|
# @api private
|
477
477
|
def columns_statement(properties, qualify)
|
478
|
-
properties.map { |property|
|
478
|
+
properties.map { |property| chainable_property_to_column_name(property, qualify) }.join(', ')
|
479
479
|
end
|
480
480
|
|
481
481
|
# Constructs joins clause
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbf-dm-do-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- opensource_firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sbf-data_objects
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.11
|
19
|
+
version: '0.11'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.11
|
26
|
+
version: '0.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sbf-dm-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3
|
33
|
+
version: '1.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.3
|
40
|
+
version: '1.3'
|
41
41
|
description: A unified Ruby API for popular databases.
|
42
42
|
email:
|
43
43
|
- opensource@firespring.com
|