dude-cli 0.2.1

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: f02315720e15482265874ba01bfc392dd99629d1
4
+ data.tar.gz: a95af1edff51e7d4b463768200503df64e9dbc17
5
+ SHA512:
6
+ metadata.gz: 843a5ae8a1329cf13dae40fb8fe8db799ed8d70f4e30a215f9c0490fdb9c9e52054b170b49946baeb1961df7d174156735d4c0a083cb21df8591f53414842d84
7
+ data.tar.gz: 61f0ef2295c0f751576edf8ff9a3eb4e4a9f430ff6577203c3326f165f779ec596a1814ea29b71bb11e99be1ada5002b41ba3bda4eb3cf16dde91b13d14fe80c
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ before_install: gem install bundler -v 1.16.0
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in dude.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,71 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dude (0.1.0)
5
+ colorize
6
+ git
7
+ gitlab
8
+ motivator
9
+ rest-client
10
+ thor
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ byebug (9.1.0)
16
+ colorize (0.8.1)
17
+ diff-lcs (1.3)
18
+ domain_name (0.5.20170404)
19
+ unf (>= 0.0.5, < 1.0.0)
20
+ git (1.3.0)
21
+ gitlab (4.2.0)
22
+ httparty
23
+ terminal-table
24
+ http-cookie (1.0.3)
25
+ domain_name (~> 0.5)
26
+ httparty (0.15.6)
27
+ multi_xml (>= 0.5.2)
28
+ mime-types (3.1)
29
+ mime-types-data (~> 3.2015)
30
+ mime-types-data (3.2016.0521)
31
+ motivator (1.0.4)
32
+ multi_xml (0.6.0)
33
+ netrc (0.11.0)
34
+ rake (10.0.4)
35
+ rest-client (2.0.2)
36
+ http-cookie (>= 1.0.2, < 2.0)
37
+ mime-types (>= 1.16, < 4.0)
38
+ netrc (~> 0.8)
39
+ rspec (3.7.0)
40
+ rspec-core (~> 3.7.0)
41
+ rspec-expectations (~> 3.7.0)
42
+ rspec-mocks (~> 3.7.0)
43
+ rspec-core (3.7.0)
44
+ rspec-support (~> 3.7.0)
45
+ rspec-expectations (3.7.0)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-mocks (3.7.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.7.0)
51
+ rspec-support (3.7.0)
52
+ terminal-table (1.8.0)
53
+ unicode-display_width (~> 1.1, >= 1.1.1)
54
+ thor (0.20.0)
55
+ unf (0.1.4)
56
+ unf_ext
57
+ unf_ext (0.0.7.4)
58
+ unicode-display_width (1.3.0)
59
+
60
+ PLATFORMS
61
+ ruby
62
+
63
+ DEPENDENCIES
64
+ bundler (~> 1.16)
65
+ byebug
66
+ dude!
67
+ rake (~> 10.0)
68
+ rspec (~> 3.0)
69
+
70
+ BUNDLED WITH
71
+ 1.16.0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Nikita Pupko
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,39 @@
1
+ # Dude
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/dude`. 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 'dude'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install dude
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 spec` 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]/dude.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "dude"
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(__FILE__)
data/bin/dude ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "dude/cli"
4
+
5
+ Dude::CLI.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/dude.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "dude/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "dude-cli"
7
+ spec.version = Dude::VERSION
8
+ spec.authors = ["Nikita Pupko"]
9
+ spec.email = ["lazynick7@gmail.com"]
10
+ spec.summary = %q{Daily assistant}
11
+ spec.description = %q{A daily assistant in the hard work of a programmer}
12
+ spec.homepage = "https://github.com/Random4405/dude"
13
+ spec.license = "MIT"
14
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
15
+ f.match(%r{^(test|spec|features)/})
16
+ end
17
+ spec.bindir = "bin"
18
+ # spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.executables = ["dude"]
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.16"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "byebug"
25
+ spec.add_development_dependency "rspec", "~> 3.0"
26
+
27
+ spec.add_runtime_dependency "thor"
28
+ spec.add_runtime_dependency "colorize"
29
+ spec.add_runtime_dependency "gitlab"
30
+ spec.add_runtime_dependency "git"
31
+ spec.add_runtime_dependency "rest-client"
32
+ end
data/lib/dude/cli.rb ADDED
@@ -0,0 +1,72 @@
1
+ require 'thor'
2
+ require 'byebug'
3
+ require_relative 'gitlab'
4
+ require_relative 'git'
5
+ require_relative 'toggl'
6
+ require_relative 'settings'
7
+ require_relative 'interface'
8
+
9
+ module Dude
10
+ class CLI < Thor
11
+ include Settings
12
+ desc 'install', 'create .duderc file in your home directory'
13
+ def install
14
+ path = File.join(Dir.home, Settings::CONFIG_FILE)
15
+ if File.exist?(path)
16
+ puts "Config file already exists"
17
+ else
18
+ File.open(path, 'w') {|f| f.write(duderc_file_content) }
19
+ puts ".duderc created in your HOME directory"
20
+ end
21
+ end
22
+
23
+ desc 'checkout [ISSUE_ID]', 'checkout to branch with name "ID-issue-title"'
24
+ def checkout(issue_id, project_title = folder_name)
25
+ issue_title = Gitlab.new(
26
+ issue_id: issue_id, project_title: project_title
27
+ ).call
28
+ Git.new(branch_name: git_branch_name(issue_title, issue_id)).call
29
+ end
30
+
31
+ desc 'start [ISSUE_ID]', 'start task in Toggl with issue title and checkout to branch'
32
+ def start(issue_id, project_title = folder_name)
33
+ checkout(issue_id, project_title)
34
+ issue_title = Gitlab.new(
35
+ issue_id: issue_id, project_title: project_title
36
+ ).call
37
+ Toggl.new(title: "##{issue_id} #{issue_title}").start_time_entry
38
+ puts "Starting Toggl task"
39
+ end
40
+
41
+ desc 'tasks', 'Show issues in current project assigned to you'
42
+ def tasks(project_title = folder_name)
43
+ issues = Gitlab.new(project_title: project_title).my_issues
44
+ Interface.new.issues_list(issues)
45
+ end
46
+
47
+ desc 'stop', 'stop current time entry in Toggl'
48
+ def stop
49
+ Toggl.new.stop_current_time_entry
50
+ end
51
+
52
+ desc 'stats', 'display your stats from Toggl'
53
+ def stats
54
+ Toggl.new.report
55
+ end
56
+ private
57
+
58
+ def duderc_file_content
59
+ "TOGGL_EMAIL=\nTOGGL_TOKEN=\nTOGGL_WORKSPACE_ID=\n" \
60
+ "GITLAB_ENDPOINT=https://gitlab.yoursite.com/api/v4/\n" \
61
+ "GITLAB_TOKEN=\nHOURS_PER_DAY=8\nHOURS_PER_WEEK=40"
62
+ end
63
+
64
+ def folder_name
65
+ @folder_name ||= File.basename(Dir.getwd)
66
+ end
67
+
68
+ def git_branch_name(issue_title, issue_id)
69
+ issue_title.downcase.split(' ').unshift(issue_id).join('-')
70
+ end
71
+ end
72
+ end
data/lib/dude/git.rb ADDED
@@ -0,0 +1,15 @@
1
+ require 'git'
2
+
3
+ module Dude
4
+ class Git
5
+ attr_accessor :options
6
+
7
+ def initialize(options = {})
8
+ @options = options
9
+ end
10
+
11
+ def call
12
+ ::Git.init.branch(options[:branch_name]).checkout if options[:branch_name]
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,35 @@
1
+ require 'gitlab'
2
+ require_relative 'settings'
3
+
4
+ module Dude
5
+ class Gitlab
6
+ include Dude::Settings
7
+ attr_accessor :options
8
+
9
+ def initialize(options = {})
10
+ @options = options
11
+ ::Gitlab.configure do |config|
12
+ config.endpoint = settings['GITLAB_ENDPOINT']
13
+ config.private_token = settings['GITLAB_TOKEN']
14
+ end
15
+ end
16
+
17
+ def call
18
+ ::Gitlab.issue(project_id, options[:issue_id]).title
19
+ rescue StandardError
20
+ puts "Issue ##{options[:issue_id]} not found " \
21
+ "in project #{options[:project_title]}\n" \
22
+ "Please, check the entered issue_id and project"
23
+ end
24
+
25
+ def my_issues
26
+ ::Gitlab.issues(project_id).select.map {|a| [a.iid, a.title, a.labels]}
27
+ end
28
+
29
+ private
30
+
31
+ def project_id
32
+ @project_id ||= ::Gitlab.project_search(options[:project_title])[0].id
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,66 @@
1
+ require 'colorize'
2
+ require_relative 'settings'
3
+
4
+ module Dude
5
+ class Interface
6
+ include Settings
7
+
8
+ def initialize
9
+ end
10
+
11
+ def report(worked_week, worked_today)
12
+ report_weekly(worked_week)
13
+ puts ''
14
+ report_daily(worked_today, worked_week)
15
+ end
16
+
17
+ def issues_list(issues)
18
+ [['To Do', :yellow], ['Doing', :green], ['To Verify', :blue]].each do |group, color|
19
+ puts "#{group}:".colorize(color).bold
20
+ grouped = issues.select {|i| i.last.include?(group)}
21
+ if grouped.length.zero?
22
+ puts 'Nothing'
23
+ else
24
+ grouped.each do |id, issue, labels|
25
+ puts "#{id}:".colorize(color) + " #{issue} #{labels.compact.to_s.gsub('"', "")}"
26
+ end
27
+ end
28
+ puts ''
29
+ end
30
+ end
31
+
32
+ private
33
+
34
+ def report_weekly(worked_week)
35
+ puts "Week".center(15).colorize(:green).bold
36
+ puts '-' * 15
37
+ puts "Worked:".colorize(:yellow).bold +
38
+ " #{seconds_to_time(worked_week)} / #{settings['HOURS_PER_WEEK']}:00:00 (#{worked_week * 100 / 144000}%)"
39
+ puts "Time left:".colorize(:yellow).bold +
40
+ " #{seconds_to_time(144000 - worked_week)}"
41
+ end
42
+
43
+ def report_daily(worked_today, worked_week)
44
+ puts "Today".center(15).colorize(:green).bold
45
+ puts '-' * 15
46
+ puts "Worked:".colorize(:yellow).bold +
47
+ " #{seconds_to_time(worked_today)} / #{settings['HOURS_PER_DAY']}:00:00 (#{worked_today * 100 / 28800}%)"
48
+ puts "Time left:".colorize(:yellow).bold +
49
+ " #{seconds_to_time(seconds_for_today - worked_week)}"
50
+ end
51
+
52
+ def seconds_to_time(s)
53
+ hms = [60,60].reduce([s]) { |m,o| m.unshift(m.shift.divmod(o)).flatten }
54
+ "#{sprintf '%02d', hms[0]}:#{sprintf '%02d', hms[1]}:#{sprintf '%02d', hms[2]}"
55
+ end
56
+
57
+ def seconds_for_today
58
+ Time.now.wday * settings['HOURS_PER_DAY'].to_i * 3600
59
+ end
60
+
61
+ def term
62
+ term_size = IO.console.winsize
63
+ @terminal = OpenStruct.new(h: term_size[0], w: term_size[1])
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,18 @@
1
+ module Dude
2
+ module Settings
3
+ CONFIG_FILE = '.duderc'
4
+
5
+ def settings
6
+ @settings ||= read(file).strip.split("\n").
7
+ map {|a| a.split('=').map(&:strip) }.to_h
8
+ end
9
+
10
+ def file
11
+ @file = File.join(Dir.home, CONFIG_FILE)
12
+ end
13
+
14
+ def read(file)
15
+ IO.read(file)
16
+ end
17
+ end
18
+ end
data/lib/dude/toggl.rb ADDED
@@ -0,0 +1,67 @@
1
+ require 'rest-client'
2
+ require_relative 'settings'
3
+
4
+ module Dude
5
+ class Toggl
6
+ include Settings
7
+ attr_accessor :options
8
+
9
+ def initialize(options = {})
10
+ @options = options
11
+ end
12
+
13
+ def report
14
+ report = toggl_report.get params: report_params
15
+ time_worked = JSON.parse(report.body)['total_grand'] / 1000
16
+ today_time_worked = JSON.parse(report.body)['week_totals'].compact.map {|a| a / 1000}[Time.now.wday - 1]
17
+ Interface.new.report(time_worked, today_time_worked)
18
+ end
19
+
20
+ def start_time_entry
21
+ toggl_api['time_entries/start'].post time_entry_params(options[:title]).to_json, content_type: :json
22
+ end
23
+
24
+ def stop_current_time_entry
25
+ toggl_api["time_entries/#{current_time_entry['id']}/stop"].put ''
26
+ end
27
+
28
+ private
29
+
30
+ def report_params
31
+ {
32
+ workspace_id: settings['TOGGL_WORKSPACE_ID'],
33
+ user_agent: settings['TOGGL_EMAIL']
34
+ }
35
+ end
36
+
37
+ def time_entry_params(title)
38
+ {
39
+ time_entry: {
40
+ description: title,
41
+ created_with: "dude"
42
+ }
43
+ }
44
+ end
45
+
46
+ def current_time_entry
47
+ JSON.parse(toggl_api['time_entries/current'].get)['data']
48
+ end
49
+
50
+ def toggl_api
51
+ @toggl_api ||= RestClient::Resource.new(
52
+ 'https://www.toggl.com/api/v8',
53
+ settings['TOGGL_TOKEN'],
54
+ 'api_token'
55
+ )
56
+ end
57
+
58
+ def toggl_report
59
+ # site['posts/1/comments'].post 'Good article.', :content_type => 'text/plain'
60
+ @toggl_report ||= RestClient::Resource.new(
61
+ 'https://www.toggl.com/reports/api/v2/weekly',
62
+ settings['TOGGL_TOKEN'],
63
+ 'api_token'
64
+ )
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,3 @@
1
+ module Dude
2
+ VERSION = "0.2.1"
3
+ end
data/lib/dude.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "dude/version"
2
+ require "dude/gitlab"
3
+ require "gitlab"
4
+
5
+ module Dude
6
+ end
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dude-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ platform: ruby
6
+ authors:
7
+ - Nikita Pupko
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-12-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: byebug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
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: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.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.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: thor
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: colorize
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: gitlab
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
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: git
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rest-client
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: A daily assistant in the hard work of a programmer
140
+ email:
141
+ - lazynick7@gmail.com
142
+ executables:
143
+ - dude
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".gitignore"
148
+ - ".rspec"
149
+ - ".travis.yml"
150
+ - Gemfile
151
+ - Gemfile.lock
152
+ - LICENSE.txt
153
+ - README.md
154
+ - Rakefile
155
+ - bin/console
156
+ - bin/dude
157
+ - bin/setup
158
+ - dude.gemspec
159
+ - lib/dude.rb
160
+ - lib/dude/cli.rb
161
+ - lib/dude/git.rb
162
+ - lib/dude/gitlab.rb
163
+ - lib/dude/interface.rb
164
+ - lib/dude/settings.rb
165
+ - lib/dude/toggl.rb
166
+ - lib/dude/version.rb
167
+ homepage: https://github.com/Random4405/dude
168
+ licenses:
169
+ - MIT
170
+ metadata: {}
171
+ post_install_message:
172
+ rdoc_options: []
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubyforge_project:
187
+ rubygems_version: 2.6.13
188
+ signing_key:
189
+ specification_version: 4
190
+ summary: Daily assistant
191
+ test_files: []