ruby-trello 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15e12149591973e1e515f0b8c510dc3718bddd7a
4
- data.tar.gz: 7702c5ee26e57d7684581a4ccf465d3a99df3214
3
+ metadata.gz: c17175318e69e1e208b7627f0615eb57c51bf390
4
+ data.tar.gz: c1a06d5f619a2c87be2e97b138af7b0f8c6507c3
5
5
  SHA512:
6
- metadata.gz: e689031f702357536e227cfe2d806af95f9222ce61baecc1548654d0d5255f25384f5d0adedc0205fceb164fc88e1c397bb00c7420ef02b28ac5ff521c401642
7
- data.tar.gz: 58a9f2cf4a51385de17a23e60ba9b168c514e52d98b28eb0e8eb282e260f501ccba622c9639866420ac60c5bfcf5117a1f4659ba859ba7c03146e2b84044ca91
6
+ metadata.gz: ad4b9c49036f29e88b67482ac536f1a76add9db97390724449b7d7de8c9fb23421f00e401486ed99ee6a18ed96d816db40d64dc583a4132a81911dea4baffdd0
7
+ data.tar.gz: 1f629c2acef4cfa18b60503b7c16799d89dd64193d1e72a3ec9abaee1950d12ba414104d6e4d3ccf48bedac2214fcf3a9e63eb51cf3cdb0fb7fe26805927d7dd
data/lib/trello/card.rb CHANGED
@@ -209,7 +209,7 @@ module Trello
209
209
  desc: desc,
210
210
  idList: list_id,
211
211
  idMembers: member_ids,
212
- labels: card_labels,
212
+ idLabels: card_labels,
213
213
  pos: pos,
214
214
  due: due
215
215
  })
data/spec/card_spec.rb CHANGED
@@ -57,12 +57,13 @@ module Trello
57
57
  payload = {
58
58
  name: 'Test Card',
59
59
  desc: nil,
60
+ card_labels: "abcdef123456789123456789"
60
61
  }
61
62
 
62
63
  result = JSON.generate(cards_details.first.merge(payload.merge(idList: lists_details.first['id'])))
63
64
 
64
65
  expected_payload = {name: "Test Card", desc: nil, idList: "abcdef123456789123456789",
65
- idMembers: nil, labels: nil, pos: nil, due: nil}
66
+ idMembers: nil, idLabels: "abcdef123456789123456789", pos: nil, due: nil}
66
67
 
67
68
  expect(client)
68
69
  .to receive(:post)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-trello
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Tregunna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-22 00:00:00.000000000 Z
11
+ date: 2016-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel