trello_cli 0.0.4 → 0.1.0

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: 4c76891db90e191ee98e809bd156df595b53415a
4
- data.tar.gz: 6701843d8407b0b4f34ff86f807eb4f418f364dd
3
+ metadata.gz: 8dd54548d1a4cf7dc3c63d2102e726348a85ad46
4
+ data.tar.gz: 593765120c44a9e4f272b604c80489ac763f9c52
5
5
  SHA512:
6
- metadata.gz: d7d52328cfdb1ac116cf402bea07744eef3b9d403b7f370fa71863010a2338453fa153c604dcb169d50f6364f1050ebd3a4665e0e71882002756daf1414fe388
7
- data.tar.gz: d418cb29885559df7536485ec3eba51e016dee5f46167ecb93aa216ca9f51532a7d8f267b1188117e808e53c553f77faf61d65f3489008aa07eddcf3c66113a4
6
+ metadata.gz: a442a359bd2c7e176ee799b1a3ac549b3331e60a5d17987b6509c87ad7018830bd166900aacccbae3d16e193bce3de4ef99903220949fabef7c6f5392d76ed2a
7
+ data.tar.gz: cecd01c4a00165ca9da59e4ed2151e26bd4b66e96074a6046d1fe3b7d1e2ff4a5e5def76abddd5a548c013355a8534afcfc3ff92f1c912f287559b5e8b1b2027
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.0:
2
+
3
+ * Bug fix, updated description in list
4
+
1
5
  ## 0.0.4:
2
6
 
3
7
  * Added move card
data/README.md CHANGED
@@ -17,22 +17,23 @@ Sign-in to trello.com as the user you want to use for trello_cli.
17
17
  Get API key (open this link in a web browser):
18
18
 
19
19
  https://trello.com/1/appKey/generate
20
-
21
- The top field contains your Developer API Key.
22
- Use it to replace YOUR_API_KEY in the links below.
23
20
 
24
- Get read only member token:
21
+ The top field contains your Developer API Key. Use it to replace **YOUR_API_KEY** in the member token links below as well as the **TRELLO_DEVELOPER_PUBLIC_KEY** environment variable.
22
+
23
+ Next, get a member token. You will need to replace **YOUR_API_KEY** in the links below with the API key obtained in the previous step.
24
+
25
+ To get a read only member token:
25
26
 
26
27
  https://trello.com/1/connect?key=YOUR_API_KEY&name=trello-cli&response_type=token
27
28
 
28
- Get read / write member token:
29
+ To get a read / write member token:
29
30
 
30
31
  https://trello.com/1/authorize?key=YOUR_API_KEY&name=trello-cli&expiration=never&response_type=token&scope=read,write
31
32
 
32
- Set the environment variables:
33
+ Set the api key and member token environment variables:
33
34
 
34
- TRELLO_DEVELOPER_PUBLIC_KEY=api_key
35
- TRELLO_MEMBER_TOKEN=member_token
35
+ export TRELLO_DEVELOPER_PUBLIC_KEY=api_key
36
+ export TRELLO_MEMBER_TOKEN=member_token
36
37
 
37
38
  ## Usage
38
39
 
@@ -12,7 +12,7 @@ module TrelloCli
12
12
 
13
13
  list_cards.each do |card|
14
14
  puts "| Name: #{card.name} ( #{card.id} )"
15
- puts "| Description: #{card.name}"
15
+ puts "| Description: #{card.description}" if @options[:description]
16
16
  puts "|------------------------"
17
17
  end
18
18
  end
@@ -34,6 +34,10 @@ module TrelloCli
34
34
  opts.on("-l", "--list [LIST]", "List To Query") do |l|
35
35
  @options[:list_id] = l
36
36
  end
37
+
38
+ opts.on("-d", "--description", "Include description." ) do |o|
39
+ @options[:description] = o
40
+ end
37
41
  end
38
42
  end
39
43
 
@@ -1,3 +1,3 @@
1
1
  module TrelloCli
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trello_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Weaver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-12 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec