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 +4 -4
- data/lib/trello/card.rb +1 -1
- data/spec/card_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c17175318e69e1e208b7627f0615eb57c51bf390
|
4
|
+
data.tar.gz: c1a06d5f619a2c87be2e97b138af7b0f8c6507c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad4b9c49036f29e88b67482ac536f1a76add9db97390724449b7d7de8c9fb23421f00e401486ed99ee6a18ed96d816db40d64dc583a4132a81911dea4baffdd0
|
7
|
+
data.tar.gz: 1f629c2acef4cfa18b60503b7c16799d89dd64193d1e72a3ec9abaee1950d12ba414104d6e4d3ccf48bedac2214fcf3a9e63eb51cf3cdb0fb7fe26805927d7dd
|
data/lib/trello/card.rb
CHANGED
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,
|
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.
|
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:
|
11
|
+
date: 2016-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|