timriley on support-component-dirs-with-mixed-namespaces
Fix error initialization (compare)
timriley on support-component-dirs-with-mixed-namespaces
Fix error initialization (compare)
timriley on support-component-dirs-with-mixed-namespaces
Fix error initialization (compare)
timriley on support-component-dirs-with-mixed-namespaces
Fix error initialization (compare)
timriley on support-component-dirs-with-mixed-namespaces
Extract Identifier; support mix… (compare)
A
and B
operate on key foo
.
.new
+ kwargs (it’s the default constructor type in autoinject)
0.8.0
O_o can’t remember exactly
rule( check_comment_on_reject: [ :is_accepted, :comment ] ) do |is_accepted, comment|
is_accepted.false? > comment.filled?
end
in `block (3 levels) in <class:CreateSubmissionReview>': undefined method `then' for false:FalseClass (NoMethodError)
from /usr/local/rvm/gems/ruby-2.3.1/gems/dry-validation-0.9.5/lib/dry/validation/schema/value.rb:95:in `instance_exec'
from /usr/local/rvm/gems/ruby-2.3.1/gems/dry-validation-0.9.5/lib/dry/validation/schema/value.rb:95:in `rule'
required( :user ).filled
required( :challenge ).filled( :is_opened?, :is_in_review_time_frame? )
required( :participation ).filled( :has_video_submission? )
rule( check_self_review: [ :user, :challenge, :participation ] ) do |user, challenge, participation|
( !user.is_host?( challenge ) & user.is_participant?( challenge ) ).then( user.does_no_self_review?( participation ) )
end