sbf-dm-aggregates 1.3.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/dm-aggregates.gemspec +1 -2
- data/lib/dm-aggregates/adapters/dm-do-adapter.rb +6 -2
- data/lib/dm-aggregates/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4031703fdb993dbfc51e891a9cc4a77ddcfd295c97d3153ba7643ddb04587175
|
4
|
+
data.tar.gz: 8a0e926b93c322b60c7a5a5f5c181b1ea437bbf260d866e3381e33b51692d248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c79bc012e50785b12722215cb67739e4c500b53cafb0d5d85598af9325e9a7715ac9431a6ba2212c3a2fb6ab9db7a0ee615e4f87e9b22eaf48189ab6e6172c72
|
7
|
+
data.tar.gz: 0746e5e118f2537b96e66a80ad66957d990e63c754daebcf7723f6e06098422f23af9c7907312fa3ea14fb50d40d6093d69954366ddfb5f7353390deca0652b5
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ 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
|
10
|
+
DM_VERSION = '~> 1.3'.freeze
|
11
11
|
DO_VERSION = '~> 0.11.0'.freeze
|
12
12
|
DM_DO_ADAPTERS = %w(sqlite postgres mysql oracle sqlserver).freeze
|
13
13
|
CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
|
data/dm-aggregates.gemspec
CHANGED
@@ -15,6 +15,5 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ['lib']
|
16
16
|
gem.version = DataMapper::Aggregates::VERSION
|
17
17
|
gem.required_ruby_version = '>= 2.7.8'
|
18
|
-
|
19
|
-
gem.add_runtime_dependency('sbf-dm-core', '~> 1.3.0')
|
18
|
+
gem.add_runtime_dependency('sbf-dm-core', '~> 1.3')
|
20
19
|
end
|
@@ -59,7 +59,11 @@ module DataMapper
|
|
59
59
|
property.load(value)
|
60
60
|
end
|
61
61
|
|
62
|
-
|
62
|
+
def self.included(base)
|
63
|
+
base.prepend(PropertyToColumnName)
|
64
|
+
end
|
65
|
+
|
66
|
+
module PropertyToColumnName
|
63
67
|
def property_to_column_name(property, qualify)
|
64
68
|
case property
|
65
69
|
when DataMapper::Query::Operator
|
@@ -70,7 +74,7 @@ module DataMapper
|
|
70
74
|
|
71
75
|
else
|
72
76
|
raise ArgumentError, '+property+ must be a DataMapper::Query::Operator, a DataMapper::Property or a Query::Path, but was a ' \
|
73
|
-
|
77
|
+
"#{property.class} (#{property.inspect})"
|
74
78
|
end
|
75
79
|
end
|
76
80
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbf-dm-aggregates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sbf-dm-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3
|
19
|
+
version: '1.3'
|
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: 1.3
|
26
|
+
version: '1.3'
|
27
27
|
description: DataMapper plugin providing support for aggregates, functions on collections
|
28
28
|
and datasets.
|
29
29
|
email:
|