docile
docile copied to clipboard
Docile keeps your Ruby DSLs tame and well-behaved
Hi. Thanks for all your work! I am the maintainer of https://github.com/avo-hq/avo. Avo is an admin panel framework where you can build apps very fast! It achieves that through an...
See https://github.com/modern-project/modern-ruby/commit/e1eee26187e5281f711ac3d52aaf925cf1364b31 where Docile was replaced with `instance_eval` to avoid the leakage of an instance variable: https://github.com/modern-project/modern-ruby/blob/e1eee26187e5281f711ac3d52aaf925cf1364b31/lib/modern/dsl.rb#L10-L13
Hi there! First, thanks a lot for your work! :green_heart: ## Problematic Script ```ruby require "docile" class Parent attr_reader :children def initialize @children = [] end def add_child(clazz, &block) child...
Hi Marc! I'm experimenting with some multi-threaded code that uses Docile and I think I may have encountered a thread safety issue. I'm able to reproduce with the following code...
See how [this PR to bump Docile](https://github.com/seanedwards/cfer/pull/63) to 1.3.2 in the `cfer` project breaks its specs: https://travis-ci.org/seanedwards/cfer/builds/601409476 ``` RuntimeError: Expected a value or block when setting property DocileUndoFallback # ./lib/cfer/block.rb:93:in...
Hi, We're using Docile on [Avo](https://github.com/avo-hq/avo) to manage some parts of our DSL. We're experiencing an issue where a method call within the block is not executing in the desired...
ruby 3.3 changes error messages especially for NoMethodError: https://github.com/ruby/ruby/pull/6950 https://bugs.ruby-lang.org/issues/18285 Modify spec to support this new ruby 3.3 error messages. Closes #105 .
Testing with ruby 3.3.0dev (I tried: https://github.com/ruby/ruby/commit/8cb906d7067d9b4cdf7971e49f185c737f3ee1f9 ), docile git head ( https://github.com/ms-ati/docile/commit/08cf67df99458d86c73c464eafe1af3da02da943 ) rspec testsuite fails like: ``` $ rspec spec ..... Failures: 1) Docile.dsl_eval when DSL have NoMethod...
Full message on Ruby 2.7.5: ``` /ruby-2.7.5/gems/docile-1.4.0/lib/docile/fallback_context_proxy.rb:93:in `method_missing': [DEPRECATION] #adapters is deprecated. Use #profiles instead. ``` Happens possibly when using Simplecov, from 0.16.0 till newest.
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.3.0. Release notes Sourced from actions/checkout's releases. v3.3.0 What's Changed Implement branch list using callbacks from exec function by @cory-miller in actions/checkout#1045 Add in explicit...