slack_trello 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99cc0a836aba26b664e1c8f02d4ec9b929eb6b23
4
- data.tar.gz: ad767487b8264705fd52fe020b4797476d13b725
3
+ metadata.gz: b0c5b3f6722059db8cd26472fd3d41985d8747c4
4
+ data.tar.gz: 8ce6d09cfabe310bd3101e5ae731a2332a42f1b4
5
5
  SHA512:
6
- metadata.gz: b715d263de24df07c64aa9dc33cbee12748547cce5c6df1d36a928910f14d06615fc5483f93ecedd4e4b9ee23d8722fa9c35ba443c57e32dee339722cc77b02c
7
- data.tar.gz: c30fb8ee4fd36b49bbf0f1c9c0fc7f582e394f960e52adefba50c965d669d6d86d0b821e571d1c780e4f01ba49e6c9e1dc11973034baf41ffbb8deb6c7589417
6
+ metadata.gz: 48952bf328e700d6abbb30b0e3972886436326a860500995b7243cb4588806d9477a1430223d7579a4436e37cc3c3229deebe1e25e321abca1b7c2909f53a7cf
7
+ data.tar.gz: 7f89cbf2be5d890dddb9defe3acd58591ae31f9bbd9ad6d54f4ddf7c3d62b96f9ad404913d5f651cd5a4b96da6217271e29871306a01a8ad60bab45bf228a6e8
@@ -63,7 +63,7 @@ Example: /copy_cards (source_board, source_list, destination_board, destination_
63
63
  end
64
64
 
65
65
  def success_message
66
- ":mega: [#{slack_post_response.user_name}] has copied all the cards from the #{source_list_name} of the #{source_board_name} to the #{destination_list_name} of the #{destination_board_name}"
66
+ ":mega: [#{slack_post_response.user_name}] has copied all the cards from the #{source_list_name} list of the #{source_board_name} board to the #{destination_list_name} list of the #{destination_board_name} board"
67
67
  end
68
68
 
69
69
  end; end; end
@@ -10,6 +10,7 @@ module SlackTrello; module TrelloHelpers; class Lookup
10
10
 
11
11
  def list(board_name, list_name)
12
12
  b = board(board_name)
13
+ return nil unless b
13
14
  b.lists.find do |l|
14
15
  spaceify(l.name) == spaceify(list_name)
15
16
  end
@@ -17,6 +18,7 @@ module SlackTrello; module TrelloHelpers; class Lookup
17
18
 
18
19
  def card(board_name, list_name, card_name)
19
20
  l = list(board_name, list_name)
21
+ return nil unless l
20
22
  l.cards.find do |c|
21
23
  spaceify(c.name) == spaceify(card_name)
22
24
  end
@@ -1,3 +1,3 @@
1
1
  module SlackTrello
2
- VERSION = "0.6.1"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_trello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Powers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-20 00:00:00.000000000 Z
11
+ date: 2015-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler