idonethis-official-cli 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +51 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/idt +5 -0
- data/bin/setup +8 -0
- data/idonethis_cli.gemspec +37 -0
- data/lib/idonethis_cli/cli.rb +32 -0
- data/lib/idonethis_cli/client/auth.rb +12 -0
- data/lib/idonethis_cli/client/entry.rb +28 -0
- data/lib/idonethis_cli/client/team.rb +16 -0
- data/lib/idonethis_cli/command.rb +47 -0
- data/lib/idonethis_cli/entry.rb +58 -0
- data/lib/idonethis_cli/settings.rb +45 -0
- data/lib/idonethis_cli/team.rb +46 -0
- data/lib/idonethis_cli/version.rb +3 -0
- data/lib/idonethis_cli.rb +15 -0
- metadata +152 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 335e22bcbd570763eee684b1fbfbdfb46a09c6b0
|
4
|
+
data.tar.gz: 7546bfd968a32e323697d7d5f65970bffc019e37
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2fc4a5b38c1dac1627b62caaa554dd9bc9147964ac3310c8efc69e4186dd321dd20cce880b92e9f9d44d1e8d0e76cc2b2fdd0b05f41fc20985f576345acf107c
|
7
|
+
data.tar.gz: 22d473fda34163d10e24fa5ced34ac9871502c77a5da94fa955ff92678645b07c931448770c4575246da2312c40107d9f75b41fc8a07d65150fb3f4ae97c8509
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at shane@mingins.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Shane Mingins
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
TODO: Fill this out!
|
2
|
+
|
3
|
+
# IdonethisCli
|
4
|
+
|
5
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/idonethis_cli`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
|
+
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'idonethis_cli'
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install idonethis_cli
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
idt help
|
28
|
+
idt authorize
|
29
|
+
idt team set
|
30
|
+
idt entry new Just setup the iDT CLI
|
31
|
+
idt entries
|
32
|
+
|
33
|
+
## Development
|
34
|
+
|
35
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
36
|
+
|
37
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
38
|
+
|
39
|
+
You'll want to see:
|
40
|
+
https://i-done-this.readme.io/docs/
|
41
|
+
|
42
|
+
## Contributing
|
43
|
+
|
44
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/idonethis_cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
45
|
+
|
46
|
+
|
47
|
+
## License
|
48
|
+
|
49
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
50
|
+
|
51
|
+
# idonethis-cli
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "idonethis_cli"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/idt
ADDED
data/bin/setup
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'idonethis_cli/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "idonethis-official-cli"
|
8
|
+
spec.version = IdonethisCli::VERSION
|
9
|
+
spec.authors = ["Shane Mingins"]
|
10
|
+
spec.email = ["shane@idonethis.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Initial CLI for I DONE THIS Beta.}
|
13
|
+
spec.description = %q{Allows easy access to listing and entering dones.}
|
14
|
+
spec.homepage = "http://beta.idonethis.com"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "bin"
|
27
|
+
spec.executables = ["idt"]
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency 'thor'
|
31
|
+
spec.add_dependency 'highline'
|
32
|
+
spec.add_dependency 'oauth2'
|
33
|
+
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
35
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
37
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'oauth2'
|
2
|
+
require "idonethis_cli/command"
|
3
|
+
require 'idonethis_cli/team'
|
4
|
+
require 'idonethis_cli/entry'
|
5
|
+
require "idonethis_cli/client/auth"
|
6
|
+
|
7
|
+
module IdonethisCli
|
8
|
+
|
9
|
+
class Cli < Command
|
10
|
+
desc "team COMMANDS", "Team commands"
|
11
|
+
subcommand "team", IdonethisCli::Team
|
12
|
+
|
13
|
+
desc "entry COMMANDS", "Entry commands"
|
14
|
+
subcommand "entry", IdonethisCli::Entry
|
15
|
+
|
16
|
+
# TODO not sure how to separate this out as a class like the subcommands to
|
17
|
+
# Obviiously could have subcommands for user like idt user login annd idt user logout
|
18
|
+
desc "authorize", "you will be prompted to authorize with your iDoneThis credentials"
|
19
|
+
def authorize
|
20
|
+
url = oauth2_client.auth_code.authorize_url(redirect_uri: 'urn:ietf:wg:oauth:2.0:oob')
|
21
|
+
code = cli.ask ("Enter code from this URL:\n #{url}").chomp.strip
|
22
|
+
|
23
|
+
oauth2_token = oauth2_client.auth_code.get_token(code, redirect_uri: 'urn:ietf:wg:oauth:2.0:oob')
|
24
|
+
if oauth2_token
|
25
|
+
settings.save_oauth2_token(oauth2_token.to_hash)
|
26
|
+
cli.say "Login successful"
|
27
|
+
else
|
28
|
+
cli.say "Login failed #{oauth2_token.error}"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module IdonethisCli
|
2
|
+
module Client
|
3
|
+
class Entry
|
4
|
+
attr_reader :error, :token
|
5
|
+
|
6
|
+
def initialize(token)
|
7
|
+
@token = token
|
8
|
+
end
|
9
|
+
|
10
|
+
def create(team_id, body)
|
11
|
+
response = token.post(API_PATH + '/entries',
|
12
|
+
params: { body: body, team_id: team_id})
|
13
|
+
JSON.parse(response.body)
|
14
|
+
rescue => e
|
15
|
+
@error = e.response
|
16
|
+
false
|
17
|
+
end
|
18
|
+
|
19
|
+
def list(team_id)
|
20
|
+
response = token.get(API_PATH + '/entries', { team_id: team_id })
|
21
|
+
entries = JSON.parse(response.body)
|
22
|
+
rescue => e
|
23
|
+
@error = e.response
|
24
|
+
false
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'thor'
|
2
|
+
require "idonethis_cli/settings"
|
3
|
+
require 'highline'
|
4
|
+
|
5
|
+
module IdonethisCli
|
6
|
+
class Command < Thor
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
def cli
|
11
|
+
@cli ||= HighLine.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def settings
|
15
|
+
@settings ||= Settings.new
|
16
|
+
end
|
17
|
+
|
18
|
+
# Oauth2 Client
|
19
|
+
def oauth2_client
|
20
|
+
OAuth2::Client.new(CLIENT_ID, CLIENT_SECRET, site: BASE_URL)
|
21
|
+
end
|
22
|
+
|
23
|
+
# This token is used to access things
|
24
|
+
def token
|
25
|
+
OAuth2::AccessToken.from_hash(oauth2_client, settings.oauth2_token)
|
26
|
+
end
|
27
|
+
|
28
|
+
def authenticated?
|
29
|
+
if settings.oauth2_token
|
30
|
+
true
|
31
|
+
else
|
32
|
+
cli.say("You are not authenticated. Please run 'idt authorize'")
|
33
|
+
false
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def team_set?
|
38
|
+
if settings.team
|
39
|
+
true
|
40
|
+
else
|
41
|
+
cli.say("You have not set a team. Please run 'idt team_set'")
|
42
|
+
false
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require "idonethis_cli/client/entry"
|
2
|
+
|
3
|
+
module IdonethisCli
|
4
|
+
class Entry < Command
|
5
|
+
desc "new BODY", "enter a single entry"
|
6
|
+
long_desc "create an entry for your set team"
|
7
|
+
def new(body)
|
8
|
+
return nil unless authenticated?
|
9
|
+
return nil unless team_set?
|
10
|
+
post_entry body
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "prompt", "enter multiple entries"
|
14
|
+
long_desc "prompts for your entries"
|
15
|
+
def prompt
|
16
|
+
return nil unless authenticated?
|
17
|
+
return nil unless team_set?
|
18
|
+
|
19
|
+
cli.say "Enter your entries. Hit <enter> when done."
|
20
|
+
|
21
|
+
body = cli.ask "What did you get done?"
|
22
|
+
|
23
|
+
while body.length > 1
|
24
|
+
post_entry body
|
25
|
+
body = cli.ask "What did you get done?"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
desc "list", "list your entries"
|
30
|
+
long_desc "list the entries for the team you belong to"
|
31
|
+
def list
|
32
|
+
return nil unless authenticated?
|
33
|
+
return nil unless team_set?
|
34
|
+
# {"body"=>"Here it is", "created_at"=>"2016-07-22T07:17:12.688Z", "updated_at"=>"2016-07-22T07:17:12.688Z", "occurred_on"=>"2016-07-22", "status"=>"done", "hash_id"=>"b074cb2ff", "completed_on"=>nil, "archived_at"=>nil, "team"=>{"name"=>"Team Name", "hash_id"=>"6fbb"}, "user"=>{"email_address"=>"user@domain.com", "full_name"=>"Jonathan Siegel", "hash_id"=>"3e35"}}
|
35
|
+
entries.each.with_index(1) do |entry, idx|
|
36
|
+
cli.say "#{entry['created_at']} : #{entry['status']} : #{entry['body']}"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
def entry_client
|
42
|
+
@client ||= IdonethisCli::Client::Entry.new(token)
|
43
|
+
end
|
44
|
+
|
45
|
+
def entries
|
46
|
+
entry_client.list(settings.team['hash_id'])
|
47
|
+
end
|
48
|
+
|
49
|
+
def post_entry(body)
|
50
|
+
response = entry_client.create(settings.team['hash_id'], body)
|
51
|
+
if response
|
52
|
+
cli.say "Entry created for #{response['user']['full_name']} on #{settings.team['name']}"
|
53
|
+
else
|
54
|
+
cli.say "Entry could not be created #{entry_client.error}"
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module IdonethisCli
|
2
|
+
class Settings
|
3
|
+
def oauth2_token
|
4
|
+
settings['oauth2_token']
|
5
|
+
end
|
6
|
+
|
7
|
+
def team
|
8
|
+
settings['team']
|
9
|
+
end
|
10
|
+
|
11
|
+
|
12
|
+
def settings
|
13
|
+
file = "#{Dir.home}/.idonethis"
|
14
|
+
|
15
|
+
if File.exist?(file)
|
16
|
+
JSON.parse(File.read(file))
|
17
|
+
else
|
18
|
+
{}
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def set_team(team)
|
23
|
+
settings = {
|
24
|
+
"team" => team
|
25
|
+
}
|
26
|
+
save_settings(settings)
|
27
|
+
end
|
28
|
+
|
29
|
+
def save_settings(new_settings)
|
30
|
+
file = "#{Dir.home}/.idonethis"
|
31
|
+
|
32
|
+
settings = self.settings.merge(new_settings)
|
33
|
+
|
34
|
+
File.open(file,"w") do |f|
|
35
|
+
f.write(settings.to_json)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def save_oauth2_token(opts)
|
40
|
+
settings = { oauth2_token: opts }
|
41
|
+
save_settings(settings)
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require "idonethis_cli/client/team"
|
2
|
+
|
3
|
+
module IdonethisCli
|
4
|
+
class Team < Command
|
5
|
+
desc "list", "list your teams"
|
6
|
+
long_desc "list the teams that you belong to"
|
7
|
+
def list
|
8
|
+
return nil unless authenticated?
|
9
|
+
|
10
|
+
teams.each.with_index(1) do |team, idx|
|
11
|
+
cli.say "#{idx}. #{team['name']}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
desc "set", "set your team"
|
16
|
+
long_desc "you will be prompted to set the team that you wish to create entries to"
|
17
|
+
def set
|
18
|
+
return nil unless authenticated?
|
19
|
+
|
20
|
+
cli.choose do |menu|
|
21
|
+
menu.prompt = "Please select the team you wish to set:"
|
22
|
+
teams.each do |team|
|
23
|
+
menu.choice(team['name']) do
|
24
|
+
cli.say("#{team['name']} set")
|
25
|
+
settings.set_team(team)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
desc "current", "show your current set team"
|
32
|
+
long_desc "show the current team that you will create entries to"
|
33
|
+
def current
|
34
|
+
cli.say "#{settings.team['name']}"
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
def team_client
|
39
|
+
@team_client ||= IdonethisCli::Client::Team.new(token)
|
40
|
+
end
|
41
|
+
|
42
|
+
def teams
|
43
|
+
team_client.list
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require "idonethis_cli/version"
|
2
|
+
require "idonethis_cli/cli"
|
3
|
+
|
4
|
+
# Can override:
|
5
|
+
# IDONETHIS_CLIENT_ID (from oauth/applications)
|
6
|
+
# IDONETHIS_CLIENT_SECRET
|
7
|
+
# IDONETHIS_URL (e.g. https://beta.idonethis.com)
|
8
|
+
module IdonethisCli
|
9
|
+
CLIENT_ID = ENV['IDONETHIS_CLIENT_ID'] ||
|
10
|
+
"bb73ffdf5672cd968bc6794d7b43b71d610695eb39c752da08a5b006af0920d4"
|
11
|
+
CLIENT_SECRET = ENV['IDONETHIS_CLIENT_SECRET'] ||
|
12
|
+
"86750e6ccaab1e88eec1cc51c2d81fb9ab3e9506532ea09dce077fa4dc5dbb90"
|
13
|
+
BASE_URL = ENV['IDONETHIS_URL'] || 'https://beta.idonethis.com/'
|
14
|
+
API_PATH = 'api/v2'
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: idonethis-official-cli
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shane Mingins
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: highline
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: oauth2
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.12'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
description: Allows easy access to listing and entering dones.
|
98
|
+
email:
|
99
|
+
- shane@idonethis.com
|
100
|
+
executables:
|
101
|
+
- idt
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".rspec"
|
107
|
+
- ".travis.yml"
|
108
|
+
- CODE_OF_CONDUCT.md
|
109
|
+
- Gemfile
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/console
|
114
|
+
- bin/idt
|
115
|
+
- bin/setup
|
116
|
+
- idonethis_cli.gemspec
|
117
|
+
- lib/idonethis_cli.rb
|
118
|
+
- lib/idonethis_cli/cli.rb
|
119
|
+
- lib/idonethis_cli/client/auth.rb
|
120
|
+
- lib/idonethis_cli/client/entry.rb
|
121
|
+
- lib/idonethis_cli/client/team.rb
|
122
|
+
- lib/idonethis_cli/command.rb
|
123
|
+
- lib/idonethis_cli/entry.rb
|
124
|
+
- lib/idonethis_cli/settings.rb
|
125
|
+
- lib/idonethis_cli/team.rb
|
126
|
+
- lib/idonethis_cli/version.rb
|
127
|
+
homepage: http://beta.idonethis.com
|
128
|
+
licenses:
|
129
|
+
- MIT
|
130
|
+
metadata:
|
131
|
+
allowed_push_host: https://rubygems.org
|
132
|
+
post_install_message:
|
133
|
+
rdoc_options: []
|
134
|
+
require_paths:
|
135
|
+
- lib
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
requirements: []
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.5.1
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: Initial CLI for I DONE THIS Beta.
|
152
|
+
test_files: []
|