mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-21 02:11:28 +08:00
Use chef_allow_gsr for lang
This commit is contained in:
@@ -16,6 +16,7 @@ void
|
||||
pl_ruby_prelude (void)
|
||||
{
|
||||
use_this(pl_ruby);
|
||||
chef_allow_gsr(pl_ruby);
|
||||
|
||||
chef_set_created_on (this, "2023-08-29");
|
||||
chef_set_last_updated (this, "2025-07-14");
|
||||
@@ -26,10 +27,6 @@ pl_ruby_prelude (void)
|
||||
chef_set_sous_chefs (this, 0);
|
||||
chef_set_contributors (this, 0);
|
||||
|
||||
chef_allow_get();
|
||||
chef_allow_set();
|
||||
chef_allow_reset();
|
||||
|
||||
chef_allow_local_mode (this, PartiallyCan, "Support `bundler`. No support for `gem`", "Support `bundler`. No support for `gem`");
|
||||
chef_allow_english(this);
|
||||
chef_allow_user_define(this);
|
||||
@@ -76,7 +73,8 @@ pl_ruby_setsrc (char *option)
|
||||
{
|
||||
chsrc_ensure_program ("gem");
|
||||
|
||||
chsrc_yield_source_and_confirm (pl_ruby);
|
||||
use_this(pl_ruby);
|
||||
Source_t source = chsrc_yield_source_and_confirm (this, option);
|
||||
|
||||
char *cmd = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user