trello-fs 0.0.1 → 0.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0eb7be1aa56050ce64d06c480099d31c1c0a2b4
|
4
|
+
data.tar.gz: f5a0bc38aa48f34653b6e7d39b41a694a2675a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c2777886e1eec4c964227552f4525b40b323ed912599ba0ec36546ea91eecf5084e380844383f12e8137ca2bb697ba7403cd52890aff466e9de440b5f2200bc
|
7
|
+
data.tar.gz: 31bddfab24c43d8b483aebdbf2558dd7983148f8e1539395fc071976c364c487c0165d4a17a630e59db89a226d38f13ea373fa429b7a34652970dc4d01000064
|
data/examples/welcome_board/Home
CHANGED
data/lib/trello-fs/trello_api.rb
CHANGED
@@ -33,7 +33,9 @@ module TrelloFs
|
|
33
33
|
cards: [])
|
34
34
|
end
|
35
35
|
|
36
|
-
cards = json['cards'].
|
36
|
+
cards = json['cards'].
|
37
|
+
select {|card| lists[card['idList']] }.
|
38
|
+
map do |card|
|
37
39
|
list = lists[card['idList']]
|
38
40
|
c = OpenStruct.new(id: card['id'],
|
39
41
|
name: card['name'],
|
@@ -76,7 +78,7 @@ module TrelloFs
|
|
76
78
|
end
|
77
79
|
|
78
80
|
def download_board_json
|
79
|
-
url = "https://api.trello.com/1/boards/#{@repository.board_id}?key=#{@repository.developer_public_key}&token=#{@repository.member_token}&cards=
|
81
|
+
url = "https://api.trello.com/1/boards/#{@repository.board_id}?key=#{@repository.developer_public_key}&token=#{@repository.member_token}&cards=open&lists=open&labels=all&card_checklists=all&card_attachments=true&organization=true&labels_limit=999"
|
80
82
|
JSON.parse(open(url).read)
|
81
83
|
end
|
82
84
|
end
|
data/lib/trello-fs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trello-fs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matúš Tomlein
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|