Skip to content
Browse files

Added last_action_id and trello-hipchat.yml to .gitignore. And now it…

… will skip creation of new lists, which broke the original script
  • Loading branch information...
1 parent 4fe85eb commit 8b31023dfb2d52c809a53267b1dfe0bec4098854 @eric-al committed with Eric Reeves
Showing with 8 additions and 0 deletions.
  1. +7 −0 .gitignore
  2. +1 −0 trello-hipchat.rb
View
7 .gitignore
@@ -1,5 +1,6 @@
*.gem
*.rbc
+*.lock
.bundle
.config
coverage
@@ -16,3 +17,9 @@ tmp
.yardoc
_yardoc
doc/
+
+# Ignore non-sample configs
+trello-hipchat.yml
+
+# Ignore last_action_id
+last_action_id
View
1 trello-hipchat.rb
@@ -39,6 +39,7 @@ def trello_activity
next
end
+ next if act["type"] == "createList"
card_id_short = act["data"]["card"]["idShort"]
card_id = act["data"]["card"]["id"]
card_url = "https://trello.com/card/#{card_id}/#{@config["trello"]["board_id"]}/#{card_id_short}"

0 comments on commit 8b31023

Please sign in to comment.
Something went wrong with that request. Please try again.