trellist 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8e670941391f761cc8237ef0b79f0cbaf11a3e65
4
+ data.tar.gz: 937c90e0450203bb45c791f8b634b8f017118e98
5
+ SHA512:
6
+ metadata.gz: 388cc7a947ff104fbfbea194a41a7f07e8e0d0bfcb0a4800d264d01287835c2663832dbd658d3285554ad49f003ea73bae44e63c856a4da79f90f6241f9f699e
7
+ data.tar.gz: 47820c8cf10e9809962e4fc9199b75759b45fe1cd79b4f7661bbfe82560eaf17765d32ce67c1dc9c7b194834887979457989d17f1be10a7f0e1a9342ba674792
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --require spec_helper
3
+ --format documentation
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.4.0
4
+ - 2.3.0
5
+ install: bundle install
6
+ script: bundle exec rspec spec
@@ -0,0 +1,46 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ * Using welcoming and inclusive language
12
+ * Being respectful of differing viewpoints and experiences
13
+ * Gracefully accepting constructive criticism
14
+ * Focusing on what is best for the community
15
+ * Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [@chaserx](https://github.com/chaserx). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44
+
45
+ [homepage]: http://contributor-covenant.org
46
+ [version]: http://contributor-covenant.org/version/1/4/
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,13 @@
1
+ # Contributing to trellist
2
+
3
+ 1. `git clone git@github.com:chaserx/trellist.git`
4
+ 1. Create a branch to add your feature/fix a bug: `git checkout -b my-new-feature`.
5
+ 1. Add your feature/fix while following the [style guide](http://learning-things.cirrusmio.com/style-guides/ruby.html).
6
+ 1. Check your style with rubocop `bundle exec rubocop`.
7
+ 1. Commit and push your changes to the branch to Github.
8
+ 1. [Create a new Pull Request](https://github.com/chaserx/trellist/compare).
9
+
10
+ # Code of Conduct
11
+
12
+ This project adheres to the [Contributor Covenant](CODE_OF_CONDUCT.md) code of conduct. By participating, you are expected to uphold this code.
13
+
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,121 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ trellist (0.1.0)
5
+ gli (= 2.14.0)
6
+ highline (= 1.7.8)
7
+ paint (= 2.0.0)
8
+ ruby-trello (= 1.6.0)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (5.0.1)
14
+ activesupport (= 5.0.1)
15
+ activesupport (5.0.1)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (~> 0.7)
18
+ minitest (~> 5.1)
19
+ tzinfo (~> 1.1)
20
+ addressable (2.5.0)
21
+ public_suffix (~> 2.0, >= 2.0.2)
22
+ aruba (0.14.2)
23
+ childprocess (~> 0.5.6)
24
+ contracts (~> 0.9)
25
+ cucumber (>= 1.3.19)
26
+ ffi (~> 1.9.10)
27
+ rspec-expectations (>= 2.99)
28
+ thor (~> 0.19)
29
+ builder (3.2.2)
30
+ childprocess (0.5.9)
31
+ ffi (~> 1.0, >= 1.0.11)
32
+ concurrent-ruby (1.0.4)
33
+ contracts (0.14.0)
34
+ crack (0.4.3)
35
+ safe_yaml (~> 1.0.0)
36
+ cucumber (2.4.0)
37
+ builder (>= 2.1.2)
38
+ cucumber-core (~> 1.5.0)
39
+ cucumber-wire (~> 0.0.1)
40
+ diff-lcs (>= 1.1.3)
41
+ gherkin (~> 4.0)
42
+ multi_json (>= 1.7.5, < 2.0)
43
+ multi_test (>= 0.1.2)
44
+ cucumber-core (1.5.0)
45
+ gherkin (~> 4.0)
46
+ cucumber-wire (0.0.1)
47
+ diff-lcs (1.2.5)
48
+ domain_name (0.5.20161129)
49
+ unf (>= 0.0.5, < 1.0.0)
50
+ ffi (1.9.14)
51
+ gherkin (4.0.0)
52
+ gli (2.14.0)
53
+ hashdiff (0.3.2)
54
+ highline (1.7.8)
55
+ http-cookie (1.0.3)
56
+ domain_name (~> 0.5)
57
+ i18n (0.7.0)
58
+ json (2.0.2)
59
+ mime-types (3.1)
60
+ mime-types-data (~> 3.2015)
61
+ mime-types-data (3.2016.0521)
62
+ minitest (5.10.1)
63
+ multi_json (1.12.1)
64
+ multi_test (0.1.2)
65
+ netrc (0.11.0)
66
+ oauth (0.5.1)
67
+ paint (2.0.0)
68
+ public_suffix (2.0.5)
69
+ rake (12.0.0)
70
+ rdoc (5.0.0)
71
+ rest-client (2.0.0)
72
+ http-cookie (>= 1.0.2, < 2.0)
73
+ mime-types (>= 1.16, < 4.0)
74
+ netrc (~> 0.8)
75
+ rspec (3.5.0)
76
+ rspec-core (~> 3.5.0)
77
+ rspec-expectations (~> 3.5.0)
78
+ rspec-mocks (~> 3.5.0)
79
+ rspec-core (3.5.4)
80
+ rspec-support (~> 3.5.0)
81
+ rspec-expectations (3.5.0)
82
+ diff-lcs (>= 1.2.0, < 2.0)
83
+ rspec-support (~> 3.5.0)
84
+ rspec-mocks (3.5.0)
85
+ diff-lcs (>= 1.2.0, < 2.0)
86
+ rspec-support (~> 3.5.0)
87
+ rspec-support (3.5.0)
88
+ ruby-trello (1.6.0)
89
+ activemodel (>= 3.2.0)
90
+ addressable (~> 2.3)
91
+ json
92
+ oauth (>= 0.4.5)
93
+ rest-client (>= 1.8.0)
94
+ safe_yaml (1.0.4)
95
+ thor (0.19.4)
96
+ thread_safe (0.3.5)
97
+ tzinfo (1.2.2)
98
+ thread_safe (~> 0.1)
99
+ unf (0.1.4)
100
+ unf_ext
101
+ unf_ext (0.0.7.2)
102
+ vcr (3.0.3)
103
+ webmock (2.3.2)
104
+ addressable (>= 2.3.6)
105
+ crack (>= 0.3.2)
106
+ hashdiff
107
+
108
+ PLATFORMS
109
+ ruby
110
+
111
+ DEPENDENCIES
112
+ aruba (= 0.14.2)
113
+ rake (= 12.0.0)
114
+ rdoc (= 5.0.0)
115
+ rspec (= 3.5.0)
116
+ trellist!
117
+ vcr (= 3.0.3)
118
+ webmock (= 2.3.2)
119
+
120
+ BUNDLED WITH
121
+ 1.13.7
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Chase Southard
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # trellist
2
+
3
+ A CLI tool for getting Trello card information in various
4
+ formats (default: markdown).
5
+
6
+ ![](https://travis-ci.org/chaserx/trellist.svg?branch=master)
7
+
8
+ ## Usage
9
+
10
+ The following [Trello API](https://developers.trello.com/) credentials are
11
+ required from your account:
12
+
13
+ - TRELLO_DEVELOPER_PUBLIC_KEY
14
+ - TRELLO_MEMBER_TOKEN
15
+
16
+ Run the following command to create a config file
17
+
18
+ `trellist initconfig`
19
+
20
+ Supply your Trello creds to that `~/.trellist` file in your home directory.
21
+ Otherwise you'll need to supply your key and token as flags such as:
22
+
23
+ `trellist -k TRELLO_DEVELOPER_PUBLIC_KEY -t TRELLO_MEMBER_TOKEN -b TRELLO_BOARD_ID cards`
24
+
25
+ `trellist help` to display help.
26
+
27
+ ### Getting list cards as links
28
+
29
+ - `trellist cards` **mardown format**
30
+ - `trellist cards --format=markdown` **same as above**
31
+ - `trellist cards --format=plain` **just links**
32
+ - `trellist cards --format=html` **html**
33
+
34
+ ## Development
35
+
36
+ - `bundle install`
37
+ - `bundle exec bin/trellist cards`
38
+
39
+ ## Contribution
40
+
41
+ Pull requests welcome. Please follow the [contribution guide](contributing.md).
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/clean'
3
+ require 'rubygems'
4
+ require 'rubygems/package_task'
data/bin/trellist ADDED
@@ -0,0 +1,115 @@
1
+ #!/usr/bin/env ruby
2
+ require 'gli'
3
+ require 'trellist'
4
+
5
+ include GLI::App
6
+
7
+ program_desc 'Trellist retreives a list from specified Trello board and ' \
8
+ 'formatting the card data in Markdown or simlar for use elsewhere.'
9
+
10
+ version Trellist::VERSION
11
+
12
+ subcommand_option_handling :normal
13
+ arguments :strict
14
+
15
+ config_file '.trellist'
16
+
17
+ # could maybe have a verbose mode with this switch
18
+ # desc 'Describe some switch here'
19
+ # switch [:s,:switch]
20
+
21
+ # Global flags
22
+ desc 'your Trello board id; like: ABC123XR'
23
+ default_value '' # empty we'll raise if empty
24
+ arg_name 'board'
25
+ flag [:b,:board], required: true
26
+
27
+ desc 'your Trello TRELLO_DEVELOPER_PUBLIC_KEY'
28
+ default_value '' # empty we'll raise if empty
29
+ arg_name 'TRELLO_DEVELOPER_PUBLIC_KEY'
30
+ flag [:k,:key], required: true
31
+
32
+ desc 'your Trello TRELLO_MEMBER_TOKEN'
33
+ default_value '' # empty we'll raise if empty
34
+ arg_name 'TRELLO_MEMBER_TOKEN'
35
+ flag [:t,:token], required: true
36
+
37
+ desc 'Get cards from list'
38
+ command :cards do |c|
39
+ c.desc 'Gets cards from a selection of lists from the provided Trello board'
40
+ c.default_value 'markdown'
41
+ c.flag [:f, :format], :must_match => ["markdown","plain","html"]
42
+ c.action do |global_options,options,args|
43
+ puts Paint["fetching lists...", :blue]
44
+ @client = Client.new(key: global_options[:key],
45
+ token: global_options[:token],
46
+ board_id: global_options[:board])
47
+
48
+ # this sets @client.lists
49
+ @client.get_board_lists
50
+
51
+ # iterate on @client.lists printing an index and the list name
52
+ if @client.lists.empty?
53
+ raise "There were no lists for #{global_options[:board]}"
54
+ end
55
+
56
+ @client.lists.each_with_index do |list, index|
57
+ puts "#{index}. #{list.name}"
58
+ end
59
+ # ask for which list or to quit
60
+ @answer = ''
61
+ until @answer == 'q'
62
+ prompt = "Select from 0..#{@client.lists.size - 1} or (q)uit ---> "
63
+ choices = Paint[prompt, :blue]
64
+ @answer = ask(choices, String) do |response|
65
+ response.case = :downcase
66
+ response.validate = /\A\d+\w?|q\z/
67
+ end
68
+
69
+ case @answer
70
+ when /\d+\w?/
71
+ @answer.scan(/\d+/) do |stringed_number|
72
+ if list=@client.lists[stringed_number.to_i]
73
+ puts Paint["OK. Here are the cards for #{list.name}:", :blue]
74
+ puts Paint["---", :blue]
75
+ @client.list_cards(list.id)
76
+ @client.generate_links(format: options[:format])
77
+ puts Paint["---", :blue]
78
+ break
79
+ else
80
+ error_prompt = "Your choice, #{@answer}," \
81
+ " is not in the list 0..#{@client.lists.size - 1}"
82
+ puts Paint[error_prompt, :red]
83
+ end
84
+ end
85
+ when 'q'
86
+ puts Paint['Later.', :yellow]
87
+ else
88
+ puts Paint["Sorry. Unknown option: #{@answer.chomp}", :red]
89
+ end
90
+ end
91
+ end
92
+ end
93
+
94
+ pre do |global,command,options,args|
95
+ # Pre logic here
96
+ # Return true to proceed; false to abort and not call the
97
+ # chosen command
98
+ # Use skips_pre before a command to skip this block
99
+ # on that command only
100
+ true
101
+ end
102
+
103
+ post do |global,command,options,args|
104
+ # Post logic here
105
+ # Use skips_post before a command to skip this
106
+ # block on that command only
107
+ end
108
+
109
+ on_error do |exception|
110
+ # Error logic here
111
+ # return false to skip default error handling
112
+ true
113
+ end
114
+
115
+ exit run(ARGV)
data/lib/trellist.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'highline/import'
2
+ require 'paint'
3
+ require 'trellist/version.rb'
4
+ require 'trellist/client.rb'
5
+
6
+ # Add requires for other files you add to your project here, so
7
+ # you just need to require this one file in your bin file
@@ -0,0 +1,63 @@
1
+ require 'bundler/setup'
2
+ require 'trello'
3
+
4
+ # 1. authorize client
5
+ # 2. invoke client with board id
6
+ # 3. present list of lists to choose from
7
+ # 4. receive choice
8
+ # 5. output list as markdown
9
+
10
+ # could put this module in /ext and require relative
11
+ module TrelloCardRefinements
12
+ refine Trello::Card do
13
+ # Note(chaserx): we could add a prefix and suffix here
14
+ # if the user wanted to make lists or bold items or whatever
15
+ #
16
+ def as_markdown
17
+ "[#{name}](#{short_url})"
18
+ end
19
+
20
+ def as_html
21
+ "<a href=\"#{short_url}\">#{name}</a>"
22
+ end
23
+ end
24
+ end
25
+
26
+ class Client
27
+ using TrelloCardRefinements
28
+ attr_accessor :lists, :cards, :board
29
+
30
+ def initialize(board_id:, key:, token:)
31
+ @board = board_id
32
+ @key = key
33
+ @token = token
34
+
35
+ Trello.configure do |config|
36
+ config.developer_public_key = key
37
+ config.member_token = token
38
+ end
39
+ end
40
+
41
+ def get_board_lists
42
+ @lists = Trello::Board.find(@board).lists
43
+ end
44
+
45
+ def list_cards(list_id)
46
+ @cards = Trello::List.find(list_id).cards
47
+ end
48
+
49
+ def generate_links(format: 'markdown')
50
+ @cards.each do |card|
51
+ case format
52
+ when 'markdown'
53
+ puts card.as_markdown
54
+ when 'plain'
55
+ puts card.short_url
56
+ when 'html'
57
+ puts card.as_html
58
+ else
59
+ puts card.inspect
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,3 @@
1
+ module Trellist
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,5 @@
1
+ RSpec.describe "Addition" do
2
+ it "works" do
3
+ expect(1 + 1).to eq(2)
4
+ end
5
+ end
@@ -0,0 +1,90 @@
1
+ require 'spec_helper'
2
+ require_relative '../../../lib/trellist/client.rb'
3
+
4
+ RSpec.describe 'Client' do
5
+ describe 'a new client', record: :skip do
6
+ context 'without the proper arguments' do
7
+ it 'requires a board_id' do
8
+ expect{Client.new(key: 'foo', token: 'foo_token')}.
9
+ to raise_error(ArgumentError)
10
+ end
11
+
12
+ it 'requires a key' do
13
+ expect{Client.new(board_id: 'my_board', token: 'foo_token')}.
14
+ to raise_error(ArgumentError)
15
+ end
16
+
17
+ it 'requires a token' do
18
+ expect{Client.new(board_id: 'my_board', key: 'foo')}.
19
+ to raise_error(ArgumentError)
20
+ end
21
+
22
+ it 'requires arguments' do
23
+ expect{Client.new()}.to raise_error(ArgumentError)
24
+ end
25
+ end
26
+
27
+ context 'with all of the proper arguments' do
28
+ it 'does not raise an argument error' do
29
+ expect{Client.new(board_id: 'foo',
30
+ key: 'blah123blah',
31
+ token: 'xzypdq')}.not_to raise_error
32
+ end
33
+ end
34
+ end
35
+
36
+ describe 'get board lists' do
37
+ it 'sets @client.lists' do
38
+ @client = Client.new(board_id: 't3anNqoJ',
39
+ token: 'myTRELLOtoken',
40
+ key: 'myTRELLOkey')
41
+ @client.get_board_lists
42
+ expect(@client.lists).not_to be_nil
43
+ expect(@client.lists.size).to eq(1)
44
+ end
45
+ end
46
+
47
+ describe 'get list cards' do
48
+ it 'sets @client.cards' do
49
+ @client = Client.new(board_id: 't3anNqoJ',
50
+ token: 'myTRELLOtoken',
51
+ key: 'myTRELLOkey')
52
+ @client.list_cards('5883d2c40c15260ae897621d')
53
+ expect(@client.cards).not_to be_nil
54
+ expect(@client.cards.size).to eq(3)
55
+ end
56
+ end
57
+
58
+ describe 'generate links' do
59
+ before do
60
+ @client = Client.new(board_id: 'foo',
61
+ key: 'blah123blah',
62
+ token: 'xzypdq')
63
+ card = Trello::Card.new(name: 'mock card title')
64
+ @client.cards = [card]
65
+ allow_any_instance_of(Trello::Card).
66
+ to receive(:short_url).and_return('http://example.com/foobar')
67
+ end
68
+
69
+ context 'format: markdown' do
70
+ it 'prints link in markdown' do
71
+ expect{@client.generate_links(format: 'markdown')}.
72
+ to output("[mock card title](http://example.com/foobar)\n").to_stdout
73
+ end
74
+ end
75
+
76
+ context 'format: plain' do
77
+ it 'prints link plainly' do
78
+ expect{@client.generate_links(format: 'plain')}.
79
+ to output("http://example.com/foobar\n").to_stdout
80
+ end
81
+ end
82
+
83
+ context 'format: html' do
84
+ it 'prints link like markdown' do
85
+ expect{@client.generate_links(format: 'html')}.
86
+ to output("<a href=\"http://example.com/foobar\">mock card title</a>\n").to_stdout
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,130 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+
3
+ ::Dir.glob(::File.expand_path('../support/*.rb', __FILE__)).each do |f|
4
+ require_relative f
5
+ end
6
+ ::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each do |f|
7
+ require_relative f
8
+ end
9
+
10
+ require 'vcr'
11
+
12
+ VCR.configure do |config|
13
+ config.cassette_library_dir = "spec/vcr_cassettes"
14
+ config.hook_into :webmock
15
+ config.default_cassette_options = { record: :new_episodes }
16
+ end
17
+
18
+ # This file was generated by the `rspec --init` command. Conventionally, all
19
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
20
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
21
+ # this file to always be loaded, without a need to explicitly require it in any
22
+ # files.
23
+ #
24
+ # Given that it is always loaded, you are encouraged to keep this file as
25
+ # light-weight as possible. Requiring heavyweight dependencies from this file
26
+ # will add to the boot time of your test suite on EVERY test run, even for an
27
+ # individual file that may not need all of that loaded. Instead, consider making
28
+ # a separate helper file that requires the additional dependencies and performs
29
+ # the additional setup, and require it from the spec files that actually need
30
+ # it.
31
+ #
32
+ # The `.rspec` file also contains a few flags that are not defaults but that
33
+ # users commonly want.
34
+ #
35
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
36
+ RSpec.configure do |config|
37
+ # rspec-expectations config goes here. You can use an alternate
38
+ # assertion/expectation library such as wrong or the stdlib/minitest
39
+ # assertions if you prefer.
40
+ config.expect_with :rspec do |expectations|
41
+ # This option will default to `true` in RSpec 4. It makes the `description`
42
+ # and `failure_message` of custom matchers include text for helper methods
43
+ # defined using `chain`, e.g.:
44
+ # be_bigger_than(2).and_smaller_than(4).description
45
+ # # => "be bigger than 2 and smaller than 4"
46
+ # ...rather than:
47
+ # # => "be bigger than 2"
48
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
49
+ end
50
+
51
+ # rspec-mocks config goes here. You can use an alternate test double
52
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
53
+ config.mock_with :rspec do |mocks|
54
+ # Prevents you from mocking or stubbing a method that does not exist on
55
+ # a real object. This is generally recommended, and will default to
56
+ # `true` in RSpec 4.
57
+ mocks.verify_partial_doubles = true
58
+ end
59
+
60
+ config.around(:each) do |example|
61
+ options = example.metadata[:vcr] || {}
62
+ if options[:record] == :skip
63
+ VCR.turned_off(&example)
64
+ else
65
+ name = example.metadata[:full_description].split(/\s+/, 2).join('/').underscore.gsub(/\./,'/').gsub(/[^\w\/]+/, '_').gsub(/\/$/, '')
66
+ VCR.use_cassette(name, options, &example)
67
+ end
68
+ end
69
+
70
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
71
+ # have no way to turn it off -- the option exists only for backwards
72
+ # compatibility in RSpec 3). It causes shared context metadata to be
73
+ # inherited by the metadata hash of host groups and examples, rather than
74
+ # triggering implicit auto-inclusion in groups with matching metadata.
75
+ config.shared_context_metadata_behavior = :apply_to_host_groups
76
+
77
+ # The settings below are suggested to provide a good initial experience
78
+ # with RSpec, but feel free to customize to your heart's content.
79
+ =begin
80
+ # This allows you to limit a spec run to individual examples or groups
81
+ # you care about by tagging them with `:focus` metadata. When nothing
82
+ # is tagged with `:focus`, all examples get run. RSpec also provides
83
+ # aliases for `it`, `describe`, and `context` that include `:focus`
84
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
85
+ config.filter_run_when_matching :focus
86
+
87
+ # Allows RSpec to persist some state between runs in order to support
88
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
89
+ # you configure your source control system to ignore this file.
90
+ config.example_status_persistence_file_path = "spec/examples.txt"
91
+
92
+ # Limits the available syntax to the non-monkey patched syntax that is
93
+ # recommended. For more details, see:
94
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
95
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
96
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
97
+ config.disable_monkey_patching!
98
+
99
+ # This setting enables warnings. It's recommended, but in some cases may
100
+ # be too noisy due to issues in dependencies.
101
+ config.warnings = true
102
+
103
+ # Many RSpec users commonly either run the entire suite or an individual
104
+ # file, and it's useful to allow more verbose output when running an
105
+ # individual spec file.
106
+ if config.files_to_run.one?
107
+ # Use the documentation formatter for detailed output,
108
+ # unless a formatter has already been configured
109
+ # (e.g. via a command-line flag).
110
+ config.default_formatter = 'doc'
111
+ end
112
+
113
+ # Print the 10 slowest examples and example groups at the
114
+ # end of the spec run, to help surface which specs are running
115
+ # particularly slow.
116
+ config.profile_examples = 10
117
+
118
+ # Run specs in random order to surface order dependencies. If you find an
119
+ # order dependency and want to debug it, you can fix the order by providing
120
+ # the seed, which is printed after each run.
121
+ # --seed 1234
122
+ config.order = :random
123
+
124
+ # Seed global randomization in this process using the `--seed` CLI option.
125
+ # Setting this allows you to use `--seed` to deterministically reproduce
126
+ # test failures related to randomization by passing the same `--seed` value
127
+ # as the one that triggered the failure.
128
+ Kernel.srand config.seed
129
+ =end
130
+ end
@@ -0,0 +1 @@
1
+ require 'aruba/rspec'
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe 'Trellist Cards Command', type: :aruba do
4
+ describe 'cards' do
5
+ xit 'returns a list of markdown formatted links' do
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe 'First Run', type: :aruba do
4
+ let(:file) { 'file.txt' }
5
+ let(:content) { 'Hello World' }
6
+
7
+ before(:each) { write_file file, content }
8
+
9
+ it { expect(read(file)).to eq [content] }
10
+ end
@@ -0,0 +1,133 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.trello.com/1/boards/t3anNqoJ?key=myTRELLOkey&token=myTRELLOtoken
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.4.0p0
16
+ Host:
17
+ - api.trello.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Cache-Control:
24
+ - max-age=0, must-revalidate, no-cache, no-store
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Strict-Transport-Security:
28
+ - max-age=15768000
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Frame-Options:
32
+ - DENY
33
+ X-Trello-Version:
34
+ - 1.871.0
35
+ X-Trello-Environment:
36
+ - Production
37
+ Access-Control-Allow-Origin:
38
+ - "*"
39
+ Access-Control-Allow-Methods:
40
+ - GET, PUT, POST, DELETE
41
+ Access-Control-Allow-Headers:
42
+ - Authorization, Accept, Content-Type
43
+ X-Server-Time:
44
+ - '1485035502121'
45
+ Expires:
46
+ - Thu, 01 Jan 1970 00:00:00
47
+ X-Trello-Index-Last-Update:
48
+ - '10'
49
+ Content-Type:
50
+ - application/json; charset=utf-8
51
+ Content-Length:
52
+ - '750'
53
+ Etag:
54
+ - W/"2ee-d851b2bd"
55
+ Vary:
56
+ - Accept-Encoding
57
+ Date:
58
+ - Sat, 21 Jan 2017 21:51:42 GMT
59
+ Connection:
60
+ - keep-alive
61
+ Set-Cookie:
62
+ - dsc=ffd937a3e75e1f6df5c6f45d84248cd330165c308a0129e7272c5daeac3aaf3a; Path=/;
63
+ Expires=Tue, 24 Jan 2017 21:51:42 GMT; Secure
64
+ body:
65
+ encoding: UTF-8
66
+ string: '{"id":"5883d2bb4482996b47dbe2a5","name":"testing","desc":"","descData":null,"closed":false,"idOrganization":null,"pinned":false,"url":"https://trello.com/b/t3anNqoJ/testing","shortUrl":"https://trello.com/b/t3anNqoJ","prefs":{"permissionLevel":"public","voting":"disabled","comments":"members","invitations":"members","selfJoin":false,"cardCovers":true,"cardAging":"regular","calendarFeedEnabled":false,"background":"blue","backgroundImage":null,"backgroundImageScaled":null,"backgroundTile":false,"backgroundBrightness":"dark","backgroundColor":"#0079BF","canBePublic":true,"canBeOrg":true,"canBePrivate":true,"canInvite":true},"labelNames":{"green":"","yellow":"","orange":"","red":"","purple":"","blue":"","sky":"","lime":"","pink":"","black":""}}'
67
+ http_version:
68
+ recorded_at: Sat, 21 Jan 2017 21:51:42 GMT
69
+ - request:
70
+ method: get
71
+ uri: https://api.trello.com/1/boards/5883d2bb4482996b47dbe2a5/lists?filter=open&key=myTRELLOkey&token=myTRELLOtoken
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ Accept:
77
+ - "*/*"
78
+ Accept-Encoding:
79
+ - gzip, deflate
80
+ User-Agent:
81
+ - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.4.0p0
82
+ Host:
83
+ - api.trello.com
84
+ response:
85
+ status:
86
+ code: 200
87
+ message: OK
88
+ headers:
89
+ Cache-Control:
90
+ - max-age=0, must-revalidate, no-cache, no-store
91
+ X-Content-Type-Options:
92
+ - nosniff
93
+ Strict-Transport-Security:
94
+ - max-age=15768000
95
+ X-Xss-Protection:
96
+ - 1; mode=block
97
+ X-Frame-Options:
98
+ - DENY
99
+ X-Trello-Version:
100
+ - 1.871.0
101
+ X-Trello-Environment:
102
+ - Production
103
+ Access-Control-Allow-Origin:
104
+ - "*"
105
+ Access-Control-Allow-Methods:
106
+ - GET, PUT, POST, DELETE
107
+ Access-Control-Allow-Headers:
108
+ - Authorization, Accept, Content-Type
109
+ X-Server-Time:
110
+ - '1485035504516'
111
+ Expires:
112
+ - Thu, 01 Jan 1970 00:00:00
113
+ Content-Type:
114
+ - application/json; charset=utf-8
115
+ Content-Length:
116
+ - '143'
117
+ Etag:
118
+ - W/"8f-3b826f66"
119
+ Vary:
120
+ - Accept-Encoding
121
+ Date:
122
+ - Sat, 21 Jan 2017 21:51:44 GMT
123
+ Connection:
124
+ - keep-alive
125
+ Set-Cookie:
126
+ - dsc=882e24748f2e18740c2fe63cd0f5d2f385c2ff94b1c9ec4f7d15ef4e44213eec; Path=/;
127
+ Expires=Tue, 24 Jan 2017 21:51:42 GMT; Secure
128
+ body:
129
+ encoding: UTF-8
130
+ string: '[{"id":"5883d2c40c15260ae897621d","name":"test list alpha","closed":false,"idBoard":"5883d2bb4482996b47dbe2a5","pos":65535,"subscribed":false}]'
131
+ http_version:
132
+ recorded_at: Sat, 21 Jan 2017 21:51:44 GMT
133
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,134 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.trello.com/1/lists/5883d2c40c15260ae897621d?key=myTRELLOkey&token=myTRELLOtoken
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.4.0p0
16
+ Host:
17
+ - api.trello.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Cache-Control:
24
+ - max-age=0, must-revalidate, no-cache, no-store
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Strict-Transport-Security:
28
+ - max-age=15768000
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Frame-Options:
32
+ - DENY
33
+ X-Trello-Version:
34
+ - 1.871.0
35
+ X-Trello-Environment:
36
+ - Production
37
+ Access-Control-Allow-Origin:
38
+ - "*"
39
+ Access-Control-Allow-Methods:
40
+ - GET, PUT, POST, DELETE
41
+ Access-Control-Allow-Headers:
42
+ - Authorization, Accept, Content-Type
43
+ X-Server-Time:
44
+ - '1485035754340'
45
+ Expires:
46
+ - Thu, 01 Jan 1970 00:00:00
47
+ Content-Type:
48
+ - application/json; charset=utf-8
49
+ Content-Length:
50
+ - '122'
51
+ Etag:
52
+ - W/"7a-aa799eec"
53
+ Vary:
54
+ - Accept-Encoding
55
+ Date:
56
+ - Sat, 21 Jan 2017 21:55:54 GMT
57
+ Connection:
58
+ - keep-alive
59
+ Set-Cookie:
60
+ - dsc=e687e900e9769ac2e510fe3c10566417d69ae1e90c1ac9fb301860a171e5ae0b; Path=/;
61
+ Expires=Tue, 24 Jan 2017 21:55:54 GMT; Secure
62
+ body:
63
+ encoding: UTF-8
64
+ string: '{"id":"5883d2c40c15260ae897621d","name":"test list alpha","closed":false,"idBoard":"5883d2bb4482996b47dbe2a5","pos":65535}'
65
+ http_version:
66
+ recorded_at: Sat, 21 Jan 2017 21:55:54 GMT
67
+ - request:
68
+ method: get
69
+ uri: https://api.trello.com/1/lists/5883d2c40c15260ae897621d/cards?filter=open&key=myTRELLOkey&token=myTRELLOtoken
70
+ body:
71
+ encoding: US-ASCII
72
+ string: ''
73
+ headers:
74
+ Accept:
75
+ - "*/*"
76
+ Accept-Encoding:
77
+ - gzip, deflate
78
+ User-Agent:
79
+ - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.4.0p0
80
+ Host:
81
+ - api.trello.com
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ Cache-Control:
88
+ - max-age=0, must-revalidate, no-cache, no-store
89
+ X-Content-Type-Options:
90
+ - nosniff
91
+ Strict-Transport-Security:
92
+ - max-age=15768000
93
+ X-Xss-Protection:
94
+ - 1; mode=block
95
+ X-Frame-Options:
96
+ - DENY
97
+ X-Trello-Version:
98
+ - 1.871.0
99
+ X-Trello-Environment:
100
+ - Production
101
+ Access-Control-Allow-Origin:
102
+ - "*"
103
+ Access-Control-Allow-Methods:
104
+ - GET, PUT, POST, DELETE
105
+ Access-Control-Allow-Headers:
106
+ - Authorization, Accept, Content-Type
107
+ X-Server-Time:
108
+ - '1485035754641'
109
+ Expires:
110
+ - Thu, 01 Jan 1970 00:00:00
111
+ Content-Type:
112
+ - application/json; charset=utf-8
113
+ Etag:
114
+ - W/"H0g0jyBnypTIKYs5LKo4Tw=="
115
+ Vary:
116
+ - Accept-Encoding
117
+ Content-Encoding:
118
+ - gzip
119
+ Content-Length:
120
+ - '544'
121
+ Date:
122
+ - Sat, 21 Jan 2017 21:55:54 GMT
123
+ Connection:
124
+ - keep-alive
125
+ Set-Cookie:
126
+ - dsc=dd34eb809f1244f777fadc817acc2cd004fdf4adf012a7eca8394a3fcc9a7b6b; Path=/;
127
+ Expires=Tue, 24 Jan 2017 21:55:54 GMT; Secure
128
+ body:
129
+ encoding: ASCII-8BIT
130
+ string: !binary |-
131
+ H4sIAAAAAAAAA+2SW2vbMBTHv4uek9iSZcv2W5aNUZYVRreOrfRBNycishUsOWUt+e6T4jiXURiBPPShb0dH5/o/v4cXoAQoQZrniUA8x7JiFYEZz4kkhEEwAnwp+erGyfrOUSctKJtOa+/WxkqfWlFt5QgI/zen1k25Uxvl/viaKIZkHMMxgt8RLFFRYjxJMPztawppuY/YWx+po0NZJT4Y2h5HYgzjHBVFxjARTCKaghA0V9Ydx8YxhynKYirzgmQIil3MV1kz2dp748KcD4/Bd7c0rU+EwZ46R/mylo2bmY1shwlq2nRU71zHiMOevjVlUtu+YENr6ceojPEd18Z7szRN0hGwoc9cNSv/e/tpyldP8WcfwqhYBAlfwMbstIxHYKPkk2oW/bT7YffNbMcsbxU7cVVmwbrFcy/e4TR9peNzFqyQFbymDhv0IfSwUf8O8rdq7ZRpjqfs5KCFN2emXmvp5P57+5rzLEeJXXftL2QH2fen6J/6RMCdTj9a7fdZOre2ZRS5VmptJn7siEcn2r0iRvf/xAiOw3W2o3PQC0Y5iZMUQUwowkl1XdDTCUnytwA6ui7ojLYD6DCBMYHnpP/8dbuObzbf3km/nPQT7S4jfUiM0Dic51/SOc7SSlZxQkUFRSWK65KeT3BG3gLpybVJfz6QXmRZTM5J5458WRVeunfSLyb9RLvLSB8So2QczrN9/As2+3kYvggAAA==
132
+ http_version:
133
+ recorded_at: Sat, 21 Jan 2017 21:55:54 GMT
134
+ recorded_with: VCR 3.0.3
data/trellist.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # Ensure we require the local version and not one we might have installed already
2
+ require File.join([File.dirname(__FILE__),'lib','trellist','version.rb'])
3
+ spec = Gem::Specification.new do |s|
4
+ s.name = 'trellist'
5
+ s.version = Trellist::VERSION
6
+ s.author = 'Chase Southard'
7
+ s.email = 'chase.southard@gmail.com'
8
+ s.homepage = 'https://github.com/chaserx/trellist'
9
+ s.platform = Gem::Platform::RUBY
10
+ s.summary = 'Retrieve Trello lists and list cards. Capture card data in various useful formats.'
11
+ s.files = `git ls-files`.split(" ")
12
+ s.license = 'MIT'
13
+ s.post_install_message = "You can install config file: `trellist initconfig` \n then update your ~/.trellist with Trello credentials"
14
+ s.require_paths << 'lib'
15
+ s.bindir = 'bin'
16
+ s.executables << 'trellist'
17
+ s.required_ruby_version = '>= 2.3.0'
18
+
19
+ s.add_development_dependency('rake', '12.0.0')
20
+ s.add_development_dependency('rdoc', '5.0.0')
21
+ s.add_development_dependency('aruba', '0.14.2')
22
+ s.add_development_dependency('rspec', '3.5.0')
23
+ s.add_development_dependency('vcr', '3.0.3')
24
+ s.add_development_dependency('webmock', '2.3.2')
25
+ s.add_runtime_dependency('gli','2.14.0')
26
+ s.add_runtime_dependency('ruby-trello','1.6.0')
27
+ s.add_runtime_dependency('highline','1.7.8')
28
+ s.add_runtime_dependency('paint','2.0.0')
29
+ end
metadata ADDED
@@ -0,0 +1,210 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: trellist
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Chase Southard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 12.0.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 12.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 5.0.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 5.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: aruba
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.14.2
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.14.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 3.5.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 3.5.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 3.0.3
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 3.0.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: webmock
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 2.3.2
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 2.3.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: gli
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 2.14.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 2.14.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: ruby-trello
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 1.6.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 1.6.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: highline
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 1.7.8
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 1.7.8
139
+ - !ruby/object:Gem::Dependency
140
+ name: paint
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '='
144
+ - !ruby/object:Gem::Version
145
+ version: 2.0.0
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '='
151
+ - !ruby/object:Gem::Version
152
+ version: 2.0.0
153
+ description:
154
+ email: chase.southard@gmail.com
155
+ executables:
156
+ - trellist
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".travis.yml"
163
+ - CODE_OF_CONDUCT.md
164
+ - CONTRIBUTING.md
165
+ - Gemfile
166
+ - Gemfile.lock
167
+ - LICENSE
168
+ - README.md
169
+ - Rakefile
170
+ - bin/trellist
171
+ - lib/trellist.rb
172
+ - lib/trellist/client.rb
173
+ - lib/trellist/version.rb
174
+ - spec/addition_spec.rb
175
+ - spec/lib/trellist/client_spec.rb
176
+ - spec/spec_helper.rb
177
+ - spec/support/aruba.rb
178
+ - spec/trellist_cards_command_spec.rb
179
+ - spec/use_aruba_with_rspec_spec.rb
180
+ - spec/vcr_cassettes/client/get_board_lists_sets_client/lists.yml
181
+ - spec/vcr_cassettes/client/get_list_cards_sets_client/cards.yml
182
+ - trellist.gemspec
183
+ homepage: https://github.com/chaserx/trellist
184
+ licenses:
185
+ - MIT
186
+ metadata: {}
187
+ post_install_message: "You can install config file: `trellist initconfig` \n then
188
+ update your ~/.trellist with Trello credentials"
189
+ rdoc_options: []
190
+ require_paths:
191
+ - lib
192
+ - lib
193
+ required_ruby_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: 2.3.0
198
+ required_rubygems_version: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ requirements: []
204
+ rubyforge_project:
205
+ rubygems_version: 2.6.8
206
+ signing_key:
207
+ specification_version: 4
208
+ summary: Retrieve Trello lists and list cards. Capture card data in various useful
209
+ formats.
210
+ test_files: []