Skip to content

Commit

Permalink
fix Operation.left.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Jun 15, 2023
1 parent 0dde968 commit a9f357e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/operation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Create < Trailblazer::Operation
pass :wasnt_ok!
pass :was_ok!
fail :return_true!
fail :return_false!
left :return_false!

step :bla, input: ->(ctx, *) { {id: ctx.inspect} }, output: ->(scope, ctx) { ctx["hello"] = scope["1"]; ctx }

Expand Down
2 changes: 1 addition & 1 deletion trailblazer-operation.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test)/})
spec.require_paths = ["lib"]

spec.add_dependency "trailblazer-activity-dsl-linear", ">= 1.2.0", "< 1.4.0"
spec.add_dependency "trailblazer-activity-dsl-linear", ">= 1.2.3", "< 1.4.0"
spec.add_dependency "trailblazer-developer", ">= 0.1.0", "< 0.2.0"

spec.add_development_dependency "bundler"
Expand Down

0 comments on commit a9f357e

Please sign in to comment.