This commit adds regular expression capability, and fixes the update_spec.rb and channel_config_spec.rb
I found channel.regexes.any?{|regex| update.regex_matches?(regex)} is too broad - it will ping regardless of owner in all the channels. The channel_config_spec.rb is very explicit to cover all case statements, but I would like to clean it up in another commit.
This commit adds regular expression capability, and fixes the
update_spec.rb
andchannel_config_spec.rb
I found
channel.regexes.any?{|regex| update.regex_matches?(regex)}
is too broad - it will ping regardless of owner in all the channels. Thechannel_config_spec.rb
is very explicit to cover all case statements, but I would like to clean it up in another commit.