trello_cli 0.4.1 → 0.5.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: 3de09cb975ad6799d8c0e8dc5600be42c1467f45
4
- data.tar.gz: 2ae8e1c95acd295ebb4ea6e49d7b7f040956c783
3
+ metadata.gz: b119e294c3821f9a1101584c49e5a70a00b6e2a3
4
+ data.tar.gz: 532c384524ead118cf49d0ac03e56a420b9eff4b
5
5
  SHA512:
6
- metadata.gz: da5ca6eadc30bf914525a25560b0b7a2e7da6ef686c68a49f67cfdb6965ab146640651158b33fbd523897b97d1ed4e7f4c751f4cb1121fa41e64040346d1fbbc
7
- data.tar.gz: 5a2a1b2fb65f3d1a191ef47ba189aead38974f086594ed1aff66e2ebda0b181700ae8a949e711200661ae56b0f1496a171b52d61bd5c93493859866203bdad50
6
+ metadata.gz: cfebb6b999839a2ee364faa544245c03b48677c982bb062e597a397478b6cfd34949b4e4a9bc9d3d439e3ce19a6dd87c509333ad29e4fe0eb2312c3133b86693
7
+ data.tar.gz: 812c60dea2bb20491cc7c822a0cc863f199791566a17e2747b301fdc7fba019768a384728a1a3df53f5ca200d24be6cc827a2c6fe50d27d56ad729e09fce878e
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://secure.travis-ci.org/brettweavnet/trello_cli.png)](http://travis-ci.org/brettweavnet/trello_cli)
1
+ [![Build Status](https://secure.travis-ci.org/weavenet/trello_cli.png)](http://travis-ci.org/weavenet/trello_cli)
2
2
 
3
3
  # trello_cli
4
4
 
@@ -10,6 +10,10 @@ Install the trello_cli gem
10
10
 
11
11
  gem install trello_cli
12
12
 
13
+ Or install using docker via the instructions provided by **@jamesmstone**.
14
+
15
+ docker pull jamesmstone/trello
16
+
13
17
  ## Setup
14
18
 
15
19
  Sign-in to trello.com as the user you want to use for trello_cli.
@@ -62,6 +66,13 @@ To see help for a specific command:
62
66
  -l, --list [LIST] List Of Card
63
67
  -n, --name [NAME] Name Of Card
64
68
 
69
+ ### Usage with docker
70
+
71
+ docker run -it --rm \
72
+ -e TRELLO_DEVELOPER_PUBLIC_KEY=$TRELLO_DEVELOPER_PUBLIC_KEY \
73
+ -e TRELLO_MEMBER_TOKEN=$TRELLO_MEMBER_TOKEN \
74
+ jamesmstone/trello
75
+
65
76
  ### Output Formatters
66
77
 
67
78
  To allow for piping output to other utilies, the output of any command can
@@ -70,7 +81,7 @@ be format as either TSV (Tab Seperated Values) or JSON.
70
81
  **JSON Output**
71
82
 
72
83
  ```
73
- # trello card list -o json
84
+ # trello board list -o json
74
85
  [{"name":"board1","id":"123456781234567812345678"},{"name":"board2","id":"876543218765432187654321"}]
75
86
  ```
76
87
 
@@ -86,7 +97,7 @@ This can be used with tools like [jq](http://stedolan.github.io/jq/) to parse th
86
97
  **TSV Output**
87
98
 
88
99
  ```
89
- # trello card list -o tsv
100
+ # trello board list -o tsv
90
101
  123456781234567812345678 board1
91
102
  876543218765432187654321 board2
92
103
  ```
@@ -116,6 +127,11 @@ Create a card and output as JSON:
116
127
 
117
128
  trello card create -b 123 -l 321 -n 'card name' -d 'card description' -o json
118
129
 
130
+ ## Wrapper Script
131
+
132
+ If you find yourself adding the same arguments, it can be helpful to create a
133
+ wrapper script. For example see [trello.sh](https://gist.github.com/weavenet/af002bde11adc8fb7b31).
134
+
119
135
  ## Contributing
120
136
 
121
137
  1. Fork it
@@ -31,7 +31,7 @@ module TrelloCli
31
31
  puts TrelloCli::VERSION
32
32
  else
33
33
  puts "Unkown target: '#{target}'." unless target == '-h'
34
- puts "trello [#{targets.join('|')}] [command] OPTIONS"
34
+ puts "trello [#{targets.sort.join('|')}] [command] OPTIONS"
35
35
  puts "Append -h for help on specific target."
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module TrelloCli
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -6,8 +6,8 @@ require 'trello_cli/version'
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "trello_cli"
8
8
  gem.version = TrelloCli::VERSION
9
- gem.authors = ["Brett Weaver"]
10
- gem.email = ["brett@weav.net"]
9
+ gem.authors = ["weavenet"]
10
+ gem.email = ["user@example.com"]
11
11
  gem.description = %q{Simple Trello Command Line Interface}
12
12
  gem.summary = %q{Simple Trello Command Line Interface}
13
13
  gem.homepage = "https://github.com/brettweavnet/trello_cli"
@@ -18,8 +18,8 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_development_dependency "rspec", "~> 2.14"
22
- gem.add_development_dependency "rake", "~> 10.1"
21
+ gem.add_development_dependency "rspec", "~> 3.6.0"
22
+ gem.add_development_dependency "rake", "~> 12.1.0"
23
23
 
24
- gem.add_runtime_dependency 'ruby-trello', '1.1.3'
24
+ gem.add_runtime_dependency 'ruby-trello', '2.0.0'
25
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.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
- - Brett Weaver
7
+ - weavenet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-25 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -16,45 +16,45 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.14'
19
+ version: 3.6.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.14'
26
+ version: 3.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.1'
33
+ version: 12.1.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.1'
40
+ version: 12.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ruby-trello
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.3
47
+ version: 2.0.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.3
54
+ version: 2.0.0
55
55
  description: Simple Trello Command Line Interface
56
56
  email:
57
- - brett@weav.net
57
+ - user@example.com
58
58
  executables:
59
59
  - trello
60
60
  extensions: []
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.4.5
134
+ rubygems_version: 2.6.13
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Simple Trello Command Line Interface