trello_cli 0.4.0 → 0.4.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: 40df02ef5553721b45c97fbcab9439acd9877248
4
- data.tar.gz: 7400fe025f43fce5f77b373abb012eda3d39a0f2
3
+ metadata.gz: 3de09cb975ad6799d8c0e8dc5600be42c1467f45
4
+ data.tar.gz: 2ae8e1c95acd295ebb4ea6e49d7b7f040956c783
5
5
  SHA512:
6
- metadata.gz: 57ef11ccd5519f117c77d8dbd1e949005a7582d07b0afabd50aae9e4d6df448e288ede1386cb6a1e1bdaaf1c22d9b78f10461a31a6be49b5bfcc068f7b56a964
7
- data.tar.gz: 4a479da7c1e9559ab8d7532cb3220b818a42a9d477998664d3f6b983a61578248da24c8025da37f6dbe13f1f1cae001cc783833c07b0e70dc2355badb57204fd
6
+ metadata.gz: da5ca6eadc30bf914525a25560b0b7a2e7da6ef686c68a49f67cfdb6965ab146640651158b33fbd523897b97d1ed4e7f4c751f4cb1121fa41e64040346d1fbbc
7
+ data.tar.gz: 5a2a1b2fb65f3d1a191ef47ba189aead38974f086594ed1aff66e2ebda0b181700ae8a949e711200661ae56b0f1496a171b52d61bd5c93493859866203bdad50
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## HEAD:
2
+
3
+ ## 0.4.1:
4
+
5
+ * Removing JSON gem version.
6
+ * Upgrade trello
7
+
1
8
  ## 0.4.0:
2
9
 
3
10
  * Adding JSON and TSV output formatters
data/README.md CHANGED
@@ -64,24 +64,44 @@ To see help for a specific command:
64
64
 
65
65
  ### Output Formatters
66
66
 
67
- To allow for easy integration, the output of any command can format as either TSV (Tab
68
- Seperated Values) or JSON.
67
+ To allow for piping output to other utilies, the output of any command can
68
+ be format as either TSV (Tab Seperated Values) or JSON.
69
69
 
70
70
  **JSON Output**
71
71
 
72
- ```json
72
+ ```
73
73
  # trello card list -o json
74
- [{"name":"board1","id":"1234"},{"name":"board2","id":"4567"}]
74
+ [{"name":"board1","id":"123456781234567812345678"},{"name":"board2","id":"876543218765432187654321"}]
75
+ ```
76
+
77
+ This can be used with tools like [jq](http://stedolan.github.io/jq/) to parse the data:
78
+
79
+ ```
80
+ # trello board list -o json |jq '.[0] | {id}'
81
+ {
82
+ "id": "123456781234567812345678"
83
+ }
75
84
  ```
76
85
 
77
86
  **TSV Output**
78
87
 
79
88
  ```
80
89
  # trello card list -o tsv
81
- 1234 board1
82
- 4567 board2
90
+ 123456781234567812345678 board1
91
+ 876543218765432187654321 board2
83
92
  ```
84
93
 
94
+ For example, you can grep out specific cards and then cut specific fields:
95
+
96
+ ```
97
+ # trello board list -o tsv |grep board1 |cut -d$'\t' -f 1
98
+ 123456781234567812345678
99
+ ```
100
+
101
+ The default is currently set to output as legacy to match previous versions
102
+ of the trello CLI. This will be changed to TSV or another human format in a
103
+ future release.
104
+
85
105
  ## Examples
86
106
 
87
107
  List the boards available to the given credentials:
@@ -1,3 +1,3 @@
1
1
  module TrelloCli
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/trello_cli.gemspec CHANGED
@@ -21,6 +21,5 @@ Gem::Specification.new do |gem|
21
21
  gem.add_development_dependency "rspec", "~> 2.14"
22
22
  gem.add_development_dependency "rake", "~> 10.1"
23
23
 
24
- gem.add_runtime_dependency 'json', '1.8.0' # Added to resolve version conflict
25
- gem.add_runtime_dependency 'ruby-trello', '1.1.1'
24
+ gem.add_runtime_dependency 'ruby-trello', '1.1.3'
26
25
  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.4.0
4
+ version: 0.4.1
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-12-20 00:00:00.000000000 Z
11
+ date: 2015-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -38,34 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.1'
41
- - !ruby/object:Gem::Dependency
42
- name: json
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '='
46
- - !ruby/object:Gem::Version
47
- version: 1.8.0
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '='
53
- - !ruby/object:Gem::Version
54
- version: 1.8.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: ruby-trello
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - '='
60
46
  - !ruby/object:Gem::Version
61
- version: 1.1.1
47
+ version: 1.1.3
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - '='
67
53
  - !ruby/object:Gem::Version
68
- version: 1.1.1
54
+ version: 1.1.3
69
55
  description: Simple Trello Command Line Interface
70
56
  email:
71
57
  - brett@weav.net
@@ -145,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
131
  version: '0'
146
132
  requirements: []
147
133
  rubyforge_project:
148
- rubygems_version: 2.2.0
134
+ rubygems_version: 2.4.5
149
135
  signing_key:
150
136
  specification_version: 4
151
137
  summary: Simple Trello Command Line Interface