trailblazer-finder 0.70.0 → 0.80.1
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/lib/trailblazer/finder/version.rb +1 -1
- data/trailblazer-finder.gemspec +4 -3
- metadata +9 -26
- data/.github/workflows/ci.yml +0 -16
- data/.gitignore +0 -24
- data/.rubocop.yml +0 -11
- data/CHANGES.md +0 -46
- data/Gemfile +0 -16
- data/LICENSE.txt +0 -9
- data/README.md +0 -451
- data/Rakefile +0 -25
- data/spec/spec_helper.rb +0 -13
- data/spec/spec_helper_active_record.rb +0 -48
- data/spec/spec_helper_sequel.rb +0 -33
- data/spec/spec_helper_will_paginate.rb +0 -13
- data/spec/trailblazer/finder/adapters/active_record_spec.rb +0 -267
- data/spec/trailblazer/finder/adapters/basic_spec.rb +0 -260
- data/spec/trailblazer/finder/adapters/kaminari_spec.rb +0 -115
- data/spec/trailblazer/finder/adapters/sequel_spec.rb +0 -267
- data/spec/trailblazer/finder/adapters/will_paginate_spec.rb +0 -117
- data/spec/trailblazer/finder/base_spec.rb +0 -417
- data/spec/trailblazer/finder/dsl_spec.rb +0 -204
- data/spec/trailblazer/finder/utils/hash_spec.rb +0 -26
- data/spec/trailblazer/finder/utils/splitter_spec.rb +0 -39
- data/spec/trailblazer/finder/utils/string_spec.rb +0 -69
- data/spec/trailblazer/operation/finder_spec.rb +0 -121
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9ed5fd3c089acb644a3c240478b2aae6b028f63108a94fba82e3afb9164e226
|
|
4
|
+
data.tar.gz: 155a516ced78ae4621595ec091e5cf5c651d187949961ddc793b3d57bc10aaf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dec5f359b98b15578b1bc38f521a43200bfe5f68b92daa3e70e2274bfc0a6e43503564dc012f0478af51f3fd2afdb22dc0b8293239c2919508d0ab2158117dfa
|
|
7
|
+
data.tar.gz: 363bc66d7057c76290622ed083aaa270896ef956ca16019d63d8c653fd95630764fd116f6df052e9061e8c5442eaec0dec6e130c159a92e829c79e37251f01fa
|
data/trailblazer-finder.gemspec
CHANGED
|
@@ -10,15 +10,16 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.description = "Trailblazer Finder Objects"
|
|
11
11
|
spec.summary = "Trailblazer based finder objects. It is designed to be used on its own as a separate gem. It was influenced by popular Ransack gem, but in addition to ActiveRecord, it can be used with Sequel, Hash objects, and RomRB."
|
|
12
12
|
spec.authors = ["Nick Sutterer", "Marc Tich", "Abdelkader Boudih"]
|
|
13
|
-
spec.email = [
|
|
13
|
+
spec.email = %w[apotonick@gmail.com marc@mudsu.com terminale@gmail.com]
|
|
14
14
|
spec.homepage = "http://trailblazer.to"
|
|
15
15
|
spec.license = "LGPL-3.0"
|
|
16
|
-
spec.files =
|
|
16
|
+
spec.files = Dir.glob("lib/**/*")
|
|
17
|
+
spec.files << ['trailblazer-finder.gemspec']
|
|
17
18
|
spec.test_files = spec.files.grep(%r{^(test)/})
|
|
18
19
|
spec.require_paths = ["lib"]
|
|
19
20
|
|
|
20
21
|
spec.add_dependency "dry-types", ">= 1.0.0"
|
|
21
|
-
spec.add_dependency "trailblazer-activity", ">= 0.10.0"
|
|
22
|
+
spec.add_dependency "trailblazer-activity", ">= 0.10.0", "< 0.13.0"
|
|
22
23
|
|
|
23
24
|
spec.add_development_dependency "activerecord"
|
|
24
25
|
spec.add_development_dependency "bundler"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trailblazer-finder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.80.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Sutterer
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2022-06-05 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: dry-types
|
|
@@ -33,6 +33,9 @@ dependencies:
|
|
|
33
33
|
- - ">="
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
35
|
version: 0.10.0
|
|
36
|
+
- - "<"
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: 0.13.0
|
|
36
39
|
type: :runtime
|
|
37
40
|
prerelease: false
|
|
38
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -40,6 +43,9 @@ dependencies:
|
|
|
40
43
|
- - ">="
|
|
41
44
|
- !ruby/object:Gem::Version
|
|
42
45
|
version: 0.10.0
|
|
46
|
+
- - "<"
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: 0.13.0
|
|
43
49
|
- !ruby/object:Gem::Dependency
|
|
44
50
|
name: activerecord
|
|
45
51
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -259,14 +265,6 @@ executables: []
|
|
|
259
265
|
extensions: []
|
|
260
266
|
extra_rdoc_files: []
|
|
261
267
|
files:
|
|
262
|
-
- ".github/workflows/ci.yml"
|
|
263
|
-
- ".gitignore"
|
|
264
|
-
- ".rubocop.yml"
|
|
265
|
-
- CHANGES.md
|
|
266
|
-
- Gemfile
|
|
267
|
-
- LICENSE.txt
|
|
268
|
-
- README.md
|
|
269
|
-
- Rakefile
|
|
270
268
|
- lib/trailblazer/finder.rb
|
|
271
269
|
- lib/trailblazer/finder/activities/find.rb
|
|
272
270
|
- lib/trailblazer/finder/activities/prepare.rb
|
|
@@ -306,21 +304,6 @@ files:
|
|
|
306
304
|
- lib/trailblazer/finder/utils/string.rb
|
|
307
305
|
- lib/trailblazer/finder/version.rb
|
|
308
306
|
- lib/trailblazer/operation/finder.rb
|
|
309
|
-
- spec/spec_helper.rb
|
|
310
|
-
- spec/spec_helper_active_record.rb
|
|
311
|
-
- spec/spec_helper_sequel.rb
|
|
312
|
-
- spec/spec_helper_will_paginate.rb
|
|
313
|
-
- spec/trailblazer/finder/adapters/active_record_spec.rb
|
|
314
|
-
- spec/trailblazer/finder/adapters/basic_spec.rb
|
|
315
|
-
- spec/trailblazer/finder/adapters/kaminari_spec.rb
|
|
316
|
-
- spec/trailblazer/finder/adapters/sequel_spec.rb
|
|
317
|
-
- spec/trailblazer/finder/adapters/will_paginate_spec.rb
|
|
318
|
-
- spec/trailblazer/finder/base_spec.rb
|
|
319
|
-
- spec/trailblazer/finder/dsl_spec.rb
|
|
320
|
-
- spec/trailblazer/finder/utils/hash_spec.rb
|
|
321
|
-
- spec/trailblazer/finder/utils/splitter_spec.rb
|
|
322
|
-
- spec/trailblazer/finder/utils/string_spec.rb
|
|
323
|
-
- spec/trailblazer/operation/finder_spec.rb
|
|
324
307
|
- trailblazer-finder.gemspec
|
|
325
308
|
homepage: http://trailblazer.to
|
|
326
309
|
licenses:
|
|
@@ -341,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
341
324
|
- !ruby/object:Gem::Version
|
|
342
325
|
version: '0'
|
|
343
326
|
requirements: []
|
|
344
|
-
rubygems_version: 3.
|
|
327
|
+
rubygems_version: 3.2.32
|
|
345
328
|
signing_key:
|
|
346
329
|
specification_version: 4
|
|
347
330
|
summary: Trailblazer based finder objects. It is designed to be used on its own as
|
data/.github/workflows/ci.yml
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
on: [push, pull_request]
|
|
3
|
-
jobs:
|
|
4
|
-
test:
|
|
5
|
-
strategy:
|
|
6
|
-
fail-fast: false
|
|
7
|
-
matrix:
|
|
8
|
-
ruby: [2.5, 2.6, 2.7, '3.0']
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v2
|
|
12
|
-
- uses: ruby/setup-ruby@v1
|
|
13
|
-
with:
|
|
14
|
-
ruby-version: ${{ matrix.ruby }}
|
|
15
|
-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
16
|
-
- run: bundle exec rake
|
data/.gitignore
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
*.gem
|
|
2
|
-
*.rbc
|
|
3
|
-
.bundle
|
|
4
|
-
.config
|
|
5
|
-
.yardoc
|
|
6
|
-
Gemfile.lock
|
|
7
|
-
InstalledFiles
|
|
8
|
-
_yardoc
|
|
9
|
-
coverage
|
|
10
|
-
doc/
|
|
11
|
-
lib/bundler/man
|
|
12
|
-
pkg
|
|
13
|
-
rdoc
|
|
14
|
-
test-reports
|
|
15
|
-
spec/reports
|
|
16
|
-
test/tmp
|
|
17
|
-
test/version_tmp
|
|
18
|
-
tmp
|
|
19
|
-
bitbucket-pipelines.yml
|
|
20
|
-
.byebug_history
|
|
21
|
-
.idea/
|
|
22
|
-
.tool-versions
|
|
23
|
-
*.iml
|
|
24
|
-
.rubocop-https---raw-githubusercontent-com-trailblazer-meta-master-rubocop-yml
|
data/.rubocop.yml
DELETED
data/CHANGES.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# 0.70.0
|
|
2
|
-
* Drop Support Legacy Dry-types
|
|
3
|
-
|
|
4
|
-
# 0.60.0
|
|
5
|
-
* Support Ruby 3.0
|
|
6
|
-
|
|
7
|
-
# 0.50.0
|
|
8
|
-
* Breaking change: Use adapter and paginator configs instead of mixing them in adapters config.
|
|
9
|
-
|
|
10
|
-
# 0.10.3
|
|
11
|
-
* Add support for strings in filters keys.
|
|
12
|
-
|
|
13
|
-
# 0.10.2
|
|
14
|
-
* Add support for ActiveSupport::Hash as params
|
|
15
|
-
|
|
16
|
-
# 0.10.1
|
|
17
|
-
* Move activities to Activities folder to avoid conflict with Activity Class.
|
|
18
|
-
|
|
19
|
-
# 0.10.0
|
|
20
|
-
* Support Trailblazer 2.1.0 wiring api, drop old api
|
|
21
|
-
|
|
22
|
-
# 0.3.0
|
|
23
|
-
* Change internal context argument to symbols to match trailblazer 2.1 convention.
|
|
24
|
-
|
|
25
|
-
# 0.2.7
|
|
26
|
-
* Don't cast uuids to dates in the filters
|
|
27
|
-
|
|
28
|
-
# 0.1.4
|
|
29
|
-
* Updated DataMapper Adapter to include sorting by multiple columns/directions and the predicate feature.
|
|
30
|
-
|
|
31
|
-
# 0.1.3
|
|
32
|
-
* Added sorting by multiple columns/directions for Hash, ActiveRecord and Sequel. Temporarily disabled sorting for DataMapper Adapter until i can find the time this weekend to update that Adapter as well.
|
|
33
|
-
* Due to the above, a big change in the way sorting works, and which methods are available for it
|
|
34
|
-
|
|
35
|
-
# 0.1.2
|
|
36
|
-
|
|
37
|
-
* Predicate feature introduced, doesn't work for old datamapper adapter yet. Default predicates covered for now: eq, not_eq, blank, not_blank, lt, lte, gt, gte
|
|
38
|
-
* Removed Hashie as dependency and introduced simple version of deep_locate
|
|
39
|
-
|
|
40
|
-
# 0.1.1
|
|
41
|
-
|
|
42
|
-
* load options[:model] with result set otherwise loading contracts fails, have to find a nicer solution for this at some point
|
|
43
|
-
|
|
44
|
-
# 0.1.0
|
|
45
|
-
|
|
46
|
-
* First stable release
|
data/Gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gemspec
|
|
6
|
-
|
|
7
|
-
gem "debug", platform: :mri
|
|
8
|
-
gem "jdbc-sqlite3", :platform => :jruby
|
|
9
|
-
gem "sqlite3", platform: :mri
|
|
10
|
-
|
|
11
|
-
# Had to add this for a bit, since none of the latest changes have been pushed to gems yet
|
|
12
|
-
# gem "trailblazer", github: "trailblazer/trailblazer"
|
|
13
|
-
# gem "trailblazer-operation", github: "trailblazer/trailblazer-operation"
|
|
14
|
-
# gem "trailblazer-activity", github: "trailblazer/trailblazer-activity"
|
|
15
|
-
# gem "trailblazer-macro", github: "trailblazer/trailblazer-macro"
|
|
16
|
-
# gem "trailblazer-macro-contract", github: "trailblazer/trailblazer-macro-contract"
|
data/LICENSE.txt
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2020 Trailblazer GmbH
|
|
2
|
-
|
|
3
|
-
Trailblazer is an Open Source project licensed under the terms of
|
|
4
|
-
the LGPLv3 license. Please see <http://www.gnu.org/licenses/lgpl-3.0.html>
|
|
5
|
-
for license text.
|
|
6
|
-
|
|
7
|
-
Trailblazer Enterprise has a commercial-friendly license allowing private forks
|
|
8
|
-
and modifications of Trailblazer. Please see http://trailblazer.to/enterprise/ for
|
|
9
|
-
more detail. You can find the commercial license terms in COMM-LICENSE.
|