sbf-dm-aggregates 1.3.0.beta → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/dm-aggregates.gemspec +3 -4
- data/lib/dm-aggregates/adapters/dm-do-adapter.rb +2 -2
- data/lib/dm-aggregates/version.rb +1 -1
- data/tasks/release.rake +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d01fc8ff0bbe2a393dbd9cb13885172b5411b6794ee133044492b69c0108db86
|
4
|
+
data.tar.gz: 52001b4ba80133d3441ecee05c891e823ebf937db518a00885c0c274ed683118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1526cdc620e8492d2939e987955970aa654cc2c3ab0484845d77572e0dbc1100a4ecb15b8096da1a90e54ea057dc69b32eda17e31581525b55499fc7a7452f11
|
7
|
+
data.tar.gz: 1008f2c2eb7a4f417ac467bccfdf2a6f467a9d9b8bddd6498394b6a3444b7f72e1b0e7f07c21f62baa25476d6d8440f796996209c1301f13e68a03a8b9cac3ef
|
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
|
DM_DO_ADAPTERS = %w(sqlite postgres mysql oracle sqlserver).freeze
|
13
13
|
CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
|
14
14
|
|
data/dm-aggregates.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require File.expand_path('lib/dm-aggregates/version', __dir__)
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
|
-
gem.authors = ['
|
5
|
-
gem.email = ['
|
4
|
+
gem.authors = ['opensource_firespring']
|
5
|
+
gem.email = ['opensource@firespring.com']
|
6
6
|
gem.summary = 'DataMapper plugin providing support for aggregates on collections'
|
7
7
|
gem.description = 'DataMapper plugin providing support for aggregates, functions on collections and datasets.'
|
8
8
|
gem.license = 'Nonstandard'
|
@@ -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.beta')
|
18
|
+
gem.add_runtime_dependency('sbf-dm-core', '~> 1.3')
|
20
19
|
end
|
@@ -60,13 +60,13 @@ module DataMapper
|
|
60
60
|
end
|
61
61
|
|
62
62
|
chainable do
|
63
|
-
def
|
63
|
+
def chainable_property_to_column_name(property, qualify)
|
64
64
|
case property
|
65
65
|
when DataMapper::Query::Operator
|
66
66
|
aggregate_field_statement(property.operator, property.target, qualify)
|
67
67
|
|
68
68
|
when Property, DataMapper::Query::Path
|
69
|
-
|
69
|
+
property_to_column_name(property, qualify)
|
70
70
|
|
71
71
|
else
|
72
72
|
raise ArgumentError, '+property+ must be a DataMapper::Query::Operator, a DataMapper::Property or a Query::Path, but was a ' \
|
data/tasks/release.rake
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
desc 'Release all gems (native, binaries for JRuby and Windows)'
|
2
2
|
task :release do
|
3
|
-
command = "gem push sbf-dm-aggregates
|
3
|
+
command = "gem push sbf-dm-aggregates-#{DataMapper::Aggregates::VERSION}.gem"
|
4
4
|
puts "Executing #{command.inspect}:"
|
5
|
-
|
5
|
+
sh command
|
6
6
|
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.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-dm-core
|
@@ -16,18 +16,18 @@ 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:
|
30
|
-
-
|
30
|
+
- opensource@firespring.com
|
31
31
|
executables: []
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files:
|
@@ -81,9 +81,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: 2.7.8
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- - "
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
86
|
+
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubygems_version: 3.4.10
|
89
89
|
signing_key:
|