These are chat archives for dry-rb/chat

1st
Jul 2017
Maciej Mensfeld
@mensfeld
Jul 01 2017 13:18
Hey guysm any idea on an error like that:
Gem Load Error is: undefined method `visit_type' for #<Dry::Types::Compiler:0x00000002916070 @registry=Dry::Types>

-    dry-types (0.10.3)
+    dry-types (0.11.0)
stack trace:
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-types-0.11.0/lib/dry/types/compiler.rb:16:in `visit'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-types-0.11.0/lib/dry/types/compiler.rb:11:in `call'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-validation-0.10.7/lib/dry/validation/input_processor_compiler.rb:16:in `call'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-validation-0.10.7/lib/dry/validation/schema/deprecated.rb:14:in `input_processor'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-validation-0.10.7/lib/dry/validation/schema/class_interface.rb:165:in `default_options'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-validation-0.10.7/lib/dry/validation/schema/class_interface.rb:35:in `new'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/dry-validation-0.10.7/lib/dry/validation.rb:23:in `Schema'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/bundler/gems/insights-engine-32c85d726bf0/lib/insights_engine/harvesters/commits_details/engine.rb:13:in `<class:Engine>'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/bundler/gems/insights-engine-32c85d726bf0/lib/insights_engine/harvesters/commits_details/engine.rb:9:in `<module:CommitsDetails>'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/bundler/gems/insights-engine-32c85d726bf0/lib/insights_engine/harvesters/commits_details/engine.rb:7:in `<module:Harvesters>'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/bundler/gems/insights-engine-32c85d726bf0/lib/insights_engine/harvesters/commits_details/engine.rb:5:in `<module:InsightsEngine>'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/bundler/gems/insights-engine-32c85d726bf0/lib/insights_engine/harvesters/commits_details/engine.rb:3:in `<top (required)>'
/home/mencio/.rvm/gems/ruby-2.4.1@commit-builds-processor/gems/require_all-1.4.0/lib/require_all.rb:108:in `require'
Nikita Shilnikov
@flash-gordon
Jul 01 2017 13:32
@mensfeld dry-validation 0.10.x isn't compatible with dry-types 0.11+
Maciej Mensfeld
@mensfeld
Jul 01 2017 13:32
@flash-gordon thank you. So for now we need to stay with the 0.10+ right?
Nikita Shilnikov
@flash-gordon
Jul 01 2017 13:33
or upgrade it to 0.11 too :)
Maciej Mensfeld
@mensfeld
Jul 01 2017 13:33
dry-v?
Nikita Shilnikov
@flash-gordon
Jul 01 2017 13:33
yep
Maciej Mensfeld
@mensfeld
Jul 01 2017 13:33
ah ok
don't know why it didnt ;/
weird
spec.add_dependency 'dry-validation', '~> 0.10.6' :)
got it!
thank you ;;)
Nikita Shilnikov
@flash-gordon
Jul 01 2017 13:36
:+1:
Maciej Mensfeld
@mensfeld
Jul 01 2017 13:47
ok - Karafka updated, app that was failing updated - thank you for your help! :heart: