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: ff6647b8f9fef2f49bbe3f7a5cdfe9dc88bbe6d5
4
- data.tar.gz: 2888bb01a406a91d58b26170433c65e5d7143c82
3
+ metadata.gz: 99cc0a836aba26b664e1c8f02d4ec9b929eb6b23
4
+ data.tar.gz: ad767487b8264705fd52fe020b4797476d13b725
5
5
  SHA512:
6
- metadata.gz: b82c666524616eb9a49b9a23dcef54e039665cd882112ee33718934d6626f9bc47f8f3282e40f54f9ea751bc945aa30027050692e47b34c2c1310618cab64c4d
7
- data.tar.gz: 74f4d7cfb2b5378af6750d7e0d42ad90e78b39d863f7ef57ac8f5784f2cc5172e96c9f61bc1f3390660de270e0d26dc6b11ee5a5162cbc6d738ad06eee229899
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
- source_board_name: source_board_name,
42
- source_list_name: source_list_name,
43
- destination_board_name: destination_board_name,
44
- destination_list_name: destination_list_name
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 ||= CardCopier.new(args)
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(source_board, source_list, destination_board, destination_list)
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
@@ -1,3 +1,3 @@
1
1
  module SlackTrello
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2015-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler