trailblazer-finder 0.1.0 → 0.1.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 +5 -5
- data/CHANGES.md +7 -0
- data/Gemfile +5 -5
- data/lib/trailblazer/finder/version.rb +1 -1
- data/lib/trailblazer/operation/finder.rb +1 -0
- data/trailblazer-finder.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f5026306e94df40bcd37f944f4c532d2ebd4686d6ee086fff5d1e7e1202cc9f7
|
4
|
+
data.tar.gz: b05d37c15a0bc5dc704b5883001a004b5c486da722552a870b89bf9f79eb7c73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b366ef3762c765f0588ed5a9df87c5860ef292fe66bb05d148ca953dd208f53d58eb9bf1ed0816e9723a1da54f2b2e774a7d2f7ecb5a877a3e991878ec9bb0f8
|
7
|
+
data.tar.gz: f247283b226cd2de4f5ea6e1ca51cb0aa03679e295359dc99e85b5ed80260008a055788719fe280ea7f65716f032ec3b96861224a1a671d679650d224a2818b6
|
data/CHANGES.md
ADDED
data/Gemfile
CHANGED
@@ -5,8 +5,8 @@ gemspec
|
|
5
5
|
gem 'coveralls', require: false
|
6
6
|
|
7
7
|
# Had to add this for a bit, since none of the latest changes have been pushed to gems yet
|
8
|
-
gem "trailblazer", github: "trailblazer/trailblazer"
|
9
|
-
gem "trailblazer-operation", github: "trailblazer/trailblazer-operation"
|
10
|
-
gem "trailblazer-activity", github: "trailblazer/trailblazer-activity"
|
11
|
-
gem "trailblazer-macro", github: "trailblazer/trailblazer-macro"
|
12
|
-
gem "trailblazer-macro-contract", github: "trailblazer/trailblazer-macro-contract"
|
8
|
+
# gem "trailblazer", github: "trailblazer/trailblazer"
|
9
|
+
# gem "trailblazer-operation", github: "trailblazer/trailblazer-operation"
|
10
|
+
# gem "trailblazer-activity", github: "trailblazer/trailblazer-activity"
|
11
|
+
# gem "trailblazer-macro", github: "trailblazer/trailblazer-macro"
|
12
|
+
# gem "trailblazer-macro-contract", github: "trailblazer/trailblazer-macro-contract"
|
@@ -20,6 +20,7 @@ module Trailblazer
|
|
20
20
|
def call(options, params:, **)
|
21
21
|
builder = Finder::Builder.new
|
22
22
|
options[:finder] = finder = builder.call(options, params)
|
23
|
+
options[:model] = finder # Don't like it, but somehow it's needed if contracts are loaded
|
23
24
|
options['result.finder'] = result = Result.new(!finder.nil?, {})
|
24
25
|
|
25
26
|
result.success?
|
data/trailblazer-finder.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'trailblazer/finder/version'
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'trailblazer-finder'
|
7
7
|
spec.version = Trailblazer::Finder::VERSION
|
8
|
-
spec.date = '2018-03-
|
8
|
+
spec.date = '2018-03-12'
|
9
9
|
spec.description = %q{Trailblazer Finder object DSL}
|
10
10
|
spec.summary = %q{Provides DSL for creating trailblazer based finder objects}
|
11
11
|
spec.authors = ["Nick Sutterer", "Marc Tich"]
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-03-
|
12
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashie
|
@@ -275,6 +275,7 @@ files:
|
|
275
275
|
- ".rubocop.yml"
|
276
276
|
- ".rubocop_todo.yml"
|
277
277
|
- ".travis.yml"
|
278
|
+
- CHANGES.md
|
278
279
|
- Gemfile
|
279
280
|
- LICENSE.txt
|
280
281
|
- README.md
|
@@ -363,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
363
364
|
version: '0'
|
364
365
|
requirements: []
|
365
366
|
rubyforge_project:
|
366
|
-
rubygems_version: 2.6
|
367
|
+
rubygems_version: 2.7.6
|
367
368
|
signing_key:
|
368
369
|
specification_version: 4
|
369
370
|
summary: Provides DSL for creating trailblazer based finder objects
|