lib/trello_flow/main.rb in trello_flow-3.4.0 vs lib/trello_flow/main.rb in trello_flow-3.5.0

- old
+ new

@@ -1,5 +1,6 @@ +require "trello_flow/version" require "trello_flow/local_config" require "trello_flow/global_config" module TrelloFlow class Main @@ -7,9 +8,10 @@ Api::Base.configure(key: global_config.key, token: global_config.token) @local_config = local_config end def start(name) + Cli.error "Your `trello_flow` version is out of date. Please run `gem update trello_flow`." unless Version.latest? card = create_or_pick_card(name) card.add_member(current_user) card.start Branch.from_card(user: current_user, card: card).checkout end