thoughtbot--factory_bot/lib/factory_bot
Alejandro Dustet 5947e10578 Deprecate and move to Internal sequence methods
Why:
Another run of internal methods that should not be publicly
available from the base namespace.
This time the sequence involving methods were moved. It's worth noticing
that the ```Internal``` class is getting crowded. Maybe we can start
name-spacing the internal groups into modules under
```internal/sequence.rb``` ```internal/trait.rb``` and so on. Thoughts?

This PR:

- Moves the ```register_sequence```, ```sequence_by_name```,
```sequences``` and ```rewind_sequences``` to the
```FactoryBot::Internal``` module.
- Deprecates uses of ```sequence_by_name```, and ```sequences```
from the ```FactoryBot``` module.
- Refactor rewind sequences test to use spies

This is one of the steps towards fixing [this
issue](https://github.com/thoughtbot/factory_bot/pull/1285#1281)
2019-06-04 19:02:51 -04:00
..
attribute
declaration Deprecate and move to Internal sequence methods 2019-06-04 19:02:51 -04:00
decorator Inline disabling Style/MethodMissing Cop 2018-11-12 15:01:23 -08:00
strategy Arrest lines of an unsavory length 2018-12-12 11:05:13 -05:00
syntax Deprecate and move to Internal sequence methods 2019-06-04 19:02:51 -04:00
aliases.rb [Rubocop] Style Cop Offenses (#1208) 2018-10-07 18:02:54 -04:00
attribute.rb Rubocop: Fix Style/StringLiterals Offenses (#1216) 2018-10-07 21:45:51 -04:00
attribute_assigner.rb adjust style 2019-04-11 17:34:36 -04:00
attribute_list.rb Arrest lines of an unsavory length 2018-12-12 11:05:13 -05:00
callback.rb Fix assorted RuboCop spacing volations (#1203) 2018-09-27 21:35:05 -04:00
callbacks_observer.rb
configuration.rb Allow inline sequences in traits to have same name 2019-02-15 17:10:27 -05:00
declaration.rb Rubocop: Fix Style/StringLiterals Offenses (#1216) 2018-10-07 21:45:51 -04:00
declaration_list.rb [Rubocop] Style Cop Offenses (#1208) 2018-10-07 18:02:54 -04:00
decorator.rb Inline disabling Style/MethodMissing Cop 2018-11-12 15:01:23 -08:00
definition.rb Move and deprecate trait methods from FactoryBot 2019-04-26 16:03:22 -04:00
definition_hierarchy.rb
definition_proxy.rb Name first arg of DefinitionProxy#method_missing 2019-04-26 12:47:12 -04:00
errors.rb Raise helpful error block given to association 2018-10-28 19:12:34 -04:00
evaluation.rb Rubocop: Fix Style/StringLiterals Offenses (#1216) 2018-10-07 21:45:51 -04:00
evaluator.rb Only undefine methods that were previously defined 2019-03-22 10:30:08 -04:00
evaluator_class_definer.rb
factory.rb Rubocop: Fix Style/StringLiterals Offenses (#1216) 2018-10-07 21:45:51 -04:00
factory_runner.rb Improve error message for resolving invalid traits 2019-02-22 16:08:38 -05:00
find_definitions.rb Rubocop: Fix Style/StringLiterals Offenses (#1216) 2018-10-07 21:45:51 -04:00
internal.rb Deprecate and move to Internal sequence methods 2019-06-04 19:02:51 -04:00
linter.rb Add option for verbose linting 2018-11-27 12:04:38 -05:00
null_factory.rb Fix assorted RuboCop spacing volations (#1203) 2018-09-27 21:35:05 -04:00
null_object.rb [Rubocop] Lint Cop Offenses (#1207) 2018-10-05 14:54:08 -04:00
registry.rb Raise KeyError instead of ArgumentError in Registry 2018-12-16 22:25:04 -05:00
reload.rb Introduce FactoryBot::Internal module 2019-02-13 11:31:49 -05:00
sequence.rb Fix assorted RuboCop spacing volations (#1203) 2018-09-27 21:35:05 -04:00
strategy_calculator.rb
strategy_syntax_method_registrar.rb [Rubocop] Performance Cop Offenses (#1209) 2018-10-04 21:07:56 -04:00
syntax.rb Rubocop: Fix Style/StringLiterals Offenses (#1216) 2018-10-07 21:45:51 -04:00
syntax_runner.rb
trait.rb Improve error message for resolving invalid traits 2019-02-22 16:08:38 -05:00
version.rb Bump version to 5.0.2 [ci skip] 2019-02-22 16:18:39 -05:00