ididthis 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/.env +1 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +18 -0
- data/exe/ididthis +4 -0
- data/ididthis.gemspec +29 -0
- data/lib/ididthis/api.rb +89 -0
- data/lib/ididthis/cli/done.rb +12 -0
- data/lib/ididthis/cli.rb +68 -0
- data/lib/ididthis/config.rb +63 -0
- data/lib/ididthis/version.rb +3 -0
- data/lib/ididthis.rb +24 -0
- metadata +174 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d96d5a0d64ef05567ce8088722435629e3ce11b9
|
4
|
+
data.tar.gz: c3694cebc2b4b2c03670d4cb1ee468ad7fa7335e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 349d940206ae53410b28f008aba853b432e30f32111ce2a78b727cd8b8a615a35d484d8ad15686f71ecefb81e283d32925e83244edb19c1043619c774a9b12e9
|
7
|
+
data.tar.gz: 394ed3a088aa9efa69970b16fdcb20008732c5a0fd09339b358f715c2d359093607efd3de9399880dffc289fd2892ffa883efb5532cae1d28c6a9831ecf4bd24
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
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. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Patrick Aikens
|
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,41 @@
|
|
1
|
+
# Ididthis
|
2
|
+
|
3
|
+
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/ididthis`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'ididthis'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install ididthis
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
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).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ididthis. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
3
|
+
require "rubygems/tasks"
|
4
|
+
require "dotenv/tasks"
|
5
|
+
|
6
|
+
lib_dir = File.expand_path('lib', File.dirname(__FILE__))
|
7
|
+
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
|
8
|
+
|
9
|
+
RSpec::Core::RakeTask.new(:spec)
|
10
|
+
Gem::Tasks.new(
|
11
|
+
build: {gem: true, tar: true, zip:true},
|
12
|
+
sign: {checksum: true, pgp: false}
|
13
|
+
) do |tasks|
|
14
|
+
tasks.console.command = 'pry'
|
15
|
+
end
|
16
|
+
|
17
|
+
task :default => :spec
|
18
|
+
task :test => :spec
|
data/exe/ididthis
ADDED
data/ididthis.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ididthis/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ididthis"
|
8
|
+
spec.version = Ididthis::VERSION
|
9
|
+
spec.authors = ["Patrick Aikens"]
|
10
|
+
spec.email = ["paikens@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Command line interface to iDoneThis using the API}
|
13
|
+
spec.homepage = "https://github.com/duckpuppy/ididthis.git"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "highline"
|
22
|
+
spec.add_dependency "rest-client"
|
23
|
+
spec.add_dependency "thor"
|
24
|
+
spec.add_development_dependency "dotenv"
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
26
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
spec.add_development_dependency "rspec"
|
28
|
+
spec.add_development_dependency "pry"
|
29
|
+
end
|
data/lib/ididthis/api.rb
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
require 'rest-client'
|
2
|
+
|
3
|
+
module Ididthis
|
4
|
+
module API
|
5
|
+
class Client
|
6
|
+
def validate_token(token)
|
7
|
+
RestClient.get(ENDPOINTS[:noop], {:content_type => :json, :accept => :json, :Authorization => tokenize(token)}) { |response, request, result, &block|
|
8
|
+
case response.code
|
9
|
+
when 200
|
10
|
+
return true
|
11
|
+
else
|
12
|
+
return false
|
13
|
+
end
|
14
|
+
}
|
15
|
+
end
|
16
|
+
|
17
|
+
def get_teams(token)
|
18
|
+
RestClient.get(
|
19
|
+
ENDPOINTS[:team],
|
20
|
+
{:content_type => :json, :accept => :json, :Authorization => tokenize(token)}
|
21
|
+
) do |response, request, result, &block|
|
22
|
+
case response.code
|
23
|
+
when 200
|
24
|
+
resp = JSON.parse(response.body, :symbolize_names => true)
|
25
|
+
# TODO This is not right, need to throw an error when no teams are found
|
26
|
+
resp[:ok] ? resp[:results] : []
|
27
|
+
else
|
28
|
+
response.return!(request, result, &block)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def get_team(token)
|
34
|
+
RestClient.get(
|
35
|
+
Ididthis::Config[:team],
|
36
|
+
{:content_type => :json, :accept => :json, :Authorization => tokenize(token)}
|
37
|
+
) do |response, request, result, &block|
|
38
|
+
case response.code
|
39
|
+
when 200
|
40
|
+
resp = JSON.parse(response.body, :symbolize_names => true)
|
41
|
+
resp[:ok] ? resp[:result] : {}
|
42
|
+
else
|
43
|
+
response.return!(request, result, &block)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def post_done(token, done, team, options)
|
49
|
+
payload = {:raw_text => done, :team => team}
|
50
|
+
payload[:done_date] = options[:date] if options[:date]
|
51
|
+
payload[:meta_data] = options[:metadata] if options[:metadata]
|
52
|
+
|
53
|
+
RestClient.post(
|
54
|
+
ENDPOINTS[:dones],
|
55
|
+
payload.to_json,
|
56
|
+
{:content_type => :json, :accept => :json, :Authorization => tokenize(token)}
|
57
|
+
) do |response, request, result, &block|
|
58
|
+
case response.code
|
59
|
+
when 201
|
60
|
+
puts "Posted your done!"
|
61
|
+
else
|
62
|
+
puts "Something went wrong, HTTP status code was #{response.code}."
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def get_dones(token, options)
|
68
|
+
RestClient.get(
|
69
|
+
ENDPOINTS[:dones],
|
70
|
+
{:content_type => :json, :accept => :json, :Authorization => tokenize(token), :params => options},
|
71
|
+
) do |response, request, result, &block|
|
72
|
+
case response.code
|
73
|
+
when 200
|
74
|
+
resp = JSON.parse(response, :symbolize_names => true)
|
75
|
+
resp[:ok] ? resp[:results] : {}
|
76
|
+
else
|
77
|
+
response.return!(request, result, &block)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
private
|
83
|
+
def tokenize(token)
|
84
|
+
"Token #{token}"
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
data/lib/ididthis/cli.rb
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'thor'
|
3
|
+
require 'ididthis'
|
4
|
+
|
5
|
+
module Ididthis
|
6
|
+
class CommandLine < Thor
|
7
|
+
desc "configure", "(Re)configure the client."
|
8
|
+
long_desc <<-CONFIGURE
|
9
|
+
|
10
|
+
`configure` will (re)create your configuration file for you. It will
|
11
|
+
prompt you for your iDoneThis API Token, which you can retrieve from
|
12
|
+
https://idonethis.com/api/token/
|
13
|
+
CONFIGURE
|
14
|
+
def configure
|
15
|
+
Config.configure!
|
16
|
+
puts "Config file created at #{Config::PATH.inspect}"
|
17
|
+
end
|
18
|
+
|
19
|
+
desc "post [OPTIONS] DONE", "Post a new done"
|
20
|
+
long_desc <<-POST
|
21
|
+
|
22
|
+
`post` will post a new done or goal to iDoneThis.
|
23
|
+
To tag the done, simply include the tags in the done using #hashtags. If any tag doesn't already exist, it will be created.
|
24
|
+
POST
|
25
|
+
option :date, :aliases => "-d", :type => :string, :banner => "YYYY-MM-DD", :desc => "The date for this done."
|
26
|
+
option :team, :aliases => "-t", :type => :string, :default => Ididthis::Config[:team], :banner => "SHORT_NAME", :desc => "The team to post to."
|
27
|
+
option :goal, :aliases => "-g", :type => :boolean, :desc => "Post a goal rather than a done"
|
28
|
+
def post(done)
|
29
|
+
c = Ididthis::API::Client.new
|
30
|
+
c.post_done(Ididthis::Config[:token], options[:goal] ? "[] #{done}" : done, options[:team], options)
|
31
|
+
end
|
32
|
+
|
33
|
+
desc "dones [OPTIONS]", "List dones"
|
34
|
+
long_desc <<-DONES
|
35
|
+
DONES
|
36
|
+
option :team, :aliases => "-t", :type => :string, :default => Ididthis::Config[:team], :banner => "SHORT_NAME", :desc => "Show only dones from TEAM"
|
37
|
+
option :owner, :aliases => "-o", :type => :string, :banner => "USERNAME", :desc => "Show only dones belonging to USERNAME"
|
38
|
+
option :date, :aliases => "-d", :type => :string, :banner => "YYYY-MM-DD, yesterday, or today", :desc => "Show only dones from DATE"
|
39
|
+
option :after, :type => :string, :banner => "YYYY-MM-DD", :desc => "Show only dones on or after DATE"
|
40
|
+
option :before, :type => :string, :banner => "YYYY-MM-DD", :desc => "Show only dones on or before DATE"
|
41
|
+
option :tags, :type => :string, :banner => "TAG...", :desc => "Show only dones tagged with TAGs. Comma separated list."
|
42
|
+
option :order, :type => :string, :banner => "ORDER", :enum => ['created', 'done_date', '-created', '-done_date'], :desc => "Order results by ORDER."
|
43
|
+
option :limit, :aliases => "-l", :type => :numeric, :banner => "LIMIT", :desc => "Limit the number of results returned. Maximum of 100."
|
44
|
+
option :page, :aliases => "-p", :type => :numeric, :banner => "PAGE", :desc => "Used in conjunction with --limit to get more results."
|
45
|
+
def dones
|
46
|
+
query_mappings = { date: "done_date", after: "done_date_after", before: "done_date_before", order: "order_by", limit: "page_size" }
|
47
|
+
params = Hash[options.map { |k, v| [query_mappings[k] || k, v] }]
|
48
|
+
c = Ididthis::API::Client.new
|
49
|
+
dones = c.get_dones(Ididthis::Config[:token], params)
|
50
|
+
dones.each do |done|
|
51
|
+
puts "#{yellow(done[:done_date])} #{green(done[:owner])}\t#{done[:raw_text]}".gsub(/(#\b[^\s]+\b)/, "\e[31m\\1\e[0m")
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
desc "teams", "Update your team list from the server."
|
56
|
+
def teams
|
57
|
+
end
|
58
|
+
|
59
|
+
private
|
60
|
+
def colorize(text, color_code)
|
61
|
+
"#{color_code}#{text}\e[0m"
|
62
|
+
end
|
63
|
+
|
64
|
+
def red(text); colorize(text, "\e[31m"); end
|
65
|
+
def green(text); colorize(text, "\e[32m"); end
|
66
|
+
def yellow(text); colorize(text, "\e[33m"); end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'highline/import'
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
module Ididthis
|
5
|
+
module Config
|
6
|
+
extend self
|
7
|
+
PATH = ENV['IDIDTHIS_CONFIG_FILE'] || File.join(ENV['HOME'], '.ididthis.yml')
|
8
|
+
|
9
|
+
def defaults
|
10
|
+
{
|
11
|
+
teams: {},
|
12
|
+
team: '',
|
13
|
+
token: ''
|
14
|
+
}
|
15
|
+
end
|
16
|
+
|
17
|
+
def [](key)
|
18
|
+
configs[key]
|
19
|
+
rescue => e
|
20
|
+
warn 'invalid config file'
|
21
|
+
warn e.message
|
22
|
+
defaults[key]
|
23
|
+
end
|
24
|
+
|
25
|
+
def configure!
|
26
|
+
current = configs
|
27
|
+
client = Ididthis::API::Client.new
|
28
|
+
|
29
|
+
token = ask("iDoneThis API Token: ") do |token|
|
30
|
+
token.default = current[:token]
|
31
|
+
token.whitespace = :strip
|
32
|
+
token.responses[:not_valid] = "The token you have entered cannot be validated. Please try again."
|
33
|
+
token.responses[:ask_on_error] = :question
|
34
|
+
token.validate = lambda do |t|
|
35
|
+
client.validate_token(t)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
teams = client.get_teams(token)
|
40
|
+
team = choose do |menu|
|
41
|
+
menu.prompt = "Which team will you be posting dones to? "
|
42
|
+
menu.select_by = :index_or_name
|
43
|
+
teams.each do |team|
|
44
|
+
menu.choice(team[:name]) {
|
45
|
+
team
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
File.open(PATH, 'w') do |f|
|
51
|
+
f << { :token => token, :team => team[:short_name], :teams => teams }.to_yaml
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def configs
|
56
|
+
if File.exist?(PATH)
|
57
|
+
defaults.merge(YAML.load_file(PATH))
|
58
|
+
else
|
59
|
+
defaults
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
data/lib/ididthis.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
begin
|
3
|
+
require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32/
|
4
|
+
rescue LoadError
|
5
|
+
raise "You must gem install win32console to use color on Windows"
|
6
|
+
end
|
7
|
+
|
8
|
+
require "ididthis/version"
|
9
|
+
require "ididthis/config"
|
10
|
+
require "ididthis/api"
|
11
|
+
require "ididthis/cli"
|
12
|
+
require "highline/import"
|
13
|
+
require "json"
|
14
|
+
|
15
|
+
module Ididthis
|
16
|
+
CONFIG_FILE = File.expand_path("~/.ididthis")
|
17
|
+
API_VERSION = "0.1"
|
18
|
+
API_ROOT = "https://idonethis.com/api/v#{API_VERSION}"
|
19
|
+
|
20
|
+
ENDPOINTS = {}
|
21
|
+
ENDPOINTS[:team] = "#{API_ROOT}/teams/"
|
22
|
+
ENDPOINTS[:dones] = "#{API_ROOT}/dones/"
|
23
|
+
ENDPOINTS[:noop] = "#{API_ROOT}/noop/"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ididthis
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Patrick Aikens
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: highline
|
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: rest-client
|
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: thor
|
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: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.10'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.10'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description:
|
126
|
+
email:
|
127
|
+
- paikens@gmail.com
|
128
|
+
executables:
|
129
|
+
- ididthis
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".env"
|
134
|
+
- ".gitignore"
|
135
|
+
- ".rspec"
|
136
|
+
- ".travis.yml"
|
137
|
+
- CODE_OF_CONDUCT.md
|
138
|
+
- Gemfile
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.md
|
141
|
+
- Rakefile
|
142
|
+
- exe/ididthis
|
143
|
+
- ididthis.gemspec
|
144
|
+
- lib/ididthis.rb
|
145
|
+
- lib/ididthis/api.rb
|
146
|
+
- lib/ididthis/cli.rb
|
147
|
+
- lib/ididthis/cli/done.rb
|
148
|
+
- lib/ididthis/config.rb
|
149
|
+
- lib/ididthis/version.rb
|
150
|
+
homepage: https://github.com/duckpuppy/ididthis.git
|
151
|
+
licenses:
|
152
|
+
- MIT
|
153
|
+
metadata: {}
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
requirements: []
|
169
|
+
rubyforge_project:
|
170
|
+
rubygems_version: 2.4.6
|
171
|
+
signing_key:
|
172
|
+
specification_version: 4
|
173
|
+
summary: Command line interface to iDoneThis using the API
|
174
|
+
test_files: []
|