trailblazer-finder 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bfa32409fa9cd5e7f8573fac437141c7a53ada65
4
- data.tar.gz: a08dd296e2660da08cfb5785fd17c215d9aec2e0
2
+ SHA256:
3
+ metadata.gz: f5026306e94df40bcd37f944f4c532d2ebd4686d6ee086fff5d1e7e1202cc9f7
4
+ data.tar.gz: b05d37c15a0bc5dc704b5883001a004b5c486da722552a870b89bf9f79eb7c73
5
5
  SHA512:
6
- metadata.gz: 402be8f3aa3855ecd06513c19de2cabb6ccecf7f0cd138d261cc4660adcdc9e2af06a37c597ca425a6038a9885a3335be85df53114caeb64c5944e8e1a2e24b7
7
- data.tar.gz: 2531ad3dcce5f87ec7668532d8754f91a6f318cd1b3a6bbc65ad421d2366ea4a70515c4bb7b1d4fc948eb22d01daa8c91a4ff12a3bd36890505c9c786a158da0
6
+ metadata.gz: b366ef3762c765f0588ed5a9df87c5860ef292fe66bb05d148ca953dd208f53d58eb9bf1ed0816e9723a1da54f2b2e774a7d2f7ecb5a877a3e991878ec9bb0f8
7
+ data.tar.gz: f247283b226cd2de4f5ea6e1ca51cb0aa03679e295359dc99e85b5ed80260008a055788719fe280ea7f65716f032ec3b96861224a1a671d679650d224a2818b6
data/CHANGES.md ADDED
@@ -0,0 +1,7 @@
1
+ # 0.1.1
2
+
3
+ * load options[:model] with result set otherwise loading contracts fails, have to find a nicer solution for this at some point
4
+
5
+ # 0.1.0
6
+
7
+ * First stable release
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"
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  class Finder
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
  end
5
5
  end
@@ -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?
@@ -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-11'
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.0
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-11 00:00:00.000000000 Z
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.13
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