.todo.reek in transitions-1.1.1 vs .todo.reek in transitions-1.2.0
- old
+ new
@@ -2,19 +2,15 @@
DuplicateMethodCall:
exclude:
- ActiveModel::Transitions#read_state
- ActiveModel::Transitions#reload
- ActiveModel::Transitions#set_initial_state
- - ActiveModel::Transitions#set_initial_state
- Transitions::Event#error_message_for_invalid_transitions
- Transitions::Event#fire
- - Transitions::Event#fire
- Transitions::Event#initialize
- - Transitions::Event#initialize
- Transitions::Event#update
- Transitions::Machine#handle_event_success_callback
- - Transitions::Machine#handle_event_success_callback
- Transitions::Machine#initial_state
- Transitions::State#define_state_query_method
IrresponsibleModule:
exclude:
- ActiveModel::Transitions
@@ -44,19 +40,33 @@
FeatureEnvy:
exclude:
- Transitions::Event#can_execute_transition_from_state?
- Transitions::Event#default_timestamp_name
- Transitions::Event#error_message_for_invalid_transitions
+InstanceVariableAssumption:
+ exclude:
+ - Transitions::Event
+ - Transitions::Machine
+ - Transitions::State
+ManualDispatch:
+ exclude:
+ - Transitions::Event#default_timestamp_name
+ - Transitions::Machine#fire_event
+ - Transitions::Machine#handle_event_failed_callback
+ - Transitions::Machine#handle_event_fired_callback
+ - Transitions::Machine#include_scopes
+ - Transitions::StateTransition#perform_guard
NestedIterators:
exclude:
- Transitions::Event#build_success_callback
TooManyInstanceVariables:
exclude:
- Transitions::Event
- Transitions::Machine
- Transitions::StateTransition
TooManyStatements:
exclude:
+ - initialize
- Transitions::Event#build_success_callback
- Transitions::Event#fire
- Transitions::Machine#fire_event
- Transitions#current_state
Attribute: