slack_trello 0.6.0 → 0.6.1
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: 99cc0a836aba26b664e1c8f02d4ec9b929eb6b23
|
4
|
+
data.tar.gz: ad767487b8264705fd52fe020b4797476d13b725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b715d263de24df07c64aa9dc33cbee12748547cce5c6df1d36a928910f14d06615fc5483f93ecedd4e4b9ee23d8722fa9c35ba443c57e32dee339722cc77b02c
|
7
|
+
data.tar.gz: c30fb8ee4fd36b49bbf0f1c9c0fc7f582e394f960e52adefba50c965d669d6d86d0b821e571d1c780e4f01ba49e6c9e1dc11973034baf41ffbb8deb6c7589417
|
@@ -38,12 +38,12 @@ Example: /copy_cards (source_board, source_list, destination_board, destination_
|
|
38
38
|
|
39
39
|
def card_copier
|
40
40
|
args = {
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
source_board: source_board_name,
|
42
|
+
source_list: source_list_name,
|
43
|
+
destination_board: destination_board_name,
|
44
|
+
destination_list: destination_list_name
|
45
45
|
}
|
46
|
-
@card_copier ||=
|
46
|
+
@card_copier ||= SlackTrello::TrelloHelpers::CopyCards.new(args)
|
47
47
|
end
|
48
48
|
|
49
49
|
def source_board_name
|
@@ -2,11 +2,11 @@ module SlackTrello; module TrelloHelpers; class CopyCards
|
|
2
2
|
|
3
3
|
attr_reader :source_board, :source_list, :destination_board, :destination_list
|
4
4
|
|
5
|
-
def initialize(
|
6
|
-
@source_board = source_board
|
7
|
-
@source_list = source_list
|
8
|
-
@destination_board = destination_board
|
9
|
-
@destination_list = destination_list
|
5
|
+
def initialize(args)
|
6
|
+
@source_board = args.fetch(:source_board)
|
7
|
+
@source_list = args.fetch(:source_list)
|
8
|
+
@destination_board = args.fetch(:destination_board)
|
9
|
+
@destination_list = args.fetch(:destination_list)
|
10
10
|
end
|
11
11
|
|
12
12
|
def run
|
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.6.
|
4
|
+
version: 0.6.1
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|