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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0c5b3f6722059db8cd26472fd3d41985d8747c4
|
|
4
|
+
data.tar.gz: 8ce6d09cfabe310bd3101e5ae731a2332a42f1b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/slack_trello/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|