Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix config attribute primitivity #446

Closed
wants to merge 5 commits into from
Closed

Conversation

mbj
Copy link
Owner

@mbj mbj commented Sep 22, 2015

Config attributes should only be primitives, or nested primitives.

Before this changeset they could reference objects that in longterm need to be configurable / parsable from a config file.

So this changeset aims to reduce the "non primitive infection" of the config object to a minimum.

* I HATE DYNLANGS!
* Reduces the amount of complex objects being referenced from
  Mutant::Config
* Prepares to read the config from other sources than the CLI, (AKA
  config file)
* Opens the door for configuring more details, Mutant::Config is
  supposed to be the source of "primitive truth", where Mutant::Env is
  the compiled version that applied the config to the env.
* Fix adjacent mutations in Mutant::Env namespace
@mbj mbj force-pushed the fix/config-attribute-primitivity branch from 4bf8034 to a113393 Compare September 22, 2015 13:22
@mbj mbj force-pushed the fix/config-attribute-primitivity branch 5 times, most recently from 3c9846d to 071dd49 Compare October 28, 2015 14:06
* New primary interface #call makes specs and implementations much
  easier
* We had #each mostly for historical reasons that are not relevant
  anymore
* Mutation covers the Mutant::Matcher namespace
@mbj mbj mentioned this pull request Oct 30, 2015
@mbj mbj force-pushed the fix/config-attribute-primitivity branch from 071dd49 to 0fdd0c6 Compare October 31, 2015 01:17
* A relict from the days where test selection depended on this
  information
* Kill mutations in Mutation#insert, also very old code.
* Passing the expression parser directly reduces the amount of state
  integrations needlessly have access to.
@mbj mbj force-pushed the fix/config-attribute-primitivity branch from c91370d to a902123 Compare October 31, 2015 03:44
@mbj mbj force-pushed the fix/config-attribute-primitivity branch from c7ce3cb to 92e56de Compare November 7, 2015 13:16
@mbj
Copy link
Owner Author

mbj commented Dec 20, 2015

Will not be finished in this repo. Closing.

@mbj mbj closed this Dec 20, 2015
@mbj mbj deleted the fix/config-attribute-primitivity branch December 20, 2015 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant