dude-cli 2.0.4 → 2.1.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/verify.yml +32 -0
- data/.rspec +0 -1
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +7 -3
- data/Gemfile +3 -1
- data/Gemfile.lock +48 -9
- data/LICENCE +20 -0
- data/README.md +32 -6
- data/Rakefile +5 -3
- data/bin/console +4 -3
- data/bin/dude +2 -2
- data/dude.gemspec +25 -18
- data/lib/dude.rb +9 -9
- data/lib/dude/code_management.rb +10 -0
- data/lib/dude/code_management/github/client.rb +23 -0
- data/lib/dude/code_management/github/create_pull_request.rb +53 -0
- data/lib/dude/commands.rb +24 -17
- data/lib/dude/commands/checkout.rb +4 -2
- data/lib/dude/commands/install.rb +32 -18
- data/lib/dude/commands/move.rb +5 -3
- data/lib/dude/commands/pr.rb +11 -0
- data/lib/dude/commands/pr/create.rb +49 -0
- data/lib/dude/commands/pr/remove.rb +15 -0
- data/lib/dude/commands/start.rb +9 -3
- data/lib/dude/commands/stop.rb +4 -2
- data/lib/dude/commands/tasks.rb +6 -3
- data/lib/dude/commands/track.rb +5 -3
- data/lib/dude/commands/version.rb +3 -1
- data/lib/dude/git.rb +3 -0
- data/lib/dude/git/checkout.rb +20 -1
- data/lib/dude/git/current_branch_name.rb +3 -1
- data/lib/dude/git/remote_name.rb +21 -0
- data/lib/dude/project_management/client.rb +14 -6
- data/lib/dude/project_management/entities/issue.rb +10 -7
- data/lib/dude/project_management/jira.rb +2 -1
- data/lib/dude/project_management/jira/client.rb +14 -7
- data/lib/dude/project_management/jira/fetch_current_task.rb +37 -0
- data/lib/dude/project_management/jira/fetch_current_tasks.rb +48 -0
- data/lib/dude/project_management/jira/get_task_name_by_id.rb +1 -1
- data/lib/dude/project_management/jira/move_task_to_list.rb +15 -13
- data/lib/dude/project_management/trello.rb +5 -3
- data/lib/dude/project_management/trello/client.rb +40 -21
- data/lib/dude/project_management/trello/fetch_current_task.rb +43 -0
- data/lib/dude/project_management/trello/fetch_current_tasks.rb +53 -0
- data/lib/dude/project_management/trello/fetch_lists.rb +24 -0
- data/lib/dude/project_management/trello/get_task_name_by_id.rb +25 -0
- data/lib/dude/project_management/trello/move_task_to_list.rb +55 -0
- data/lib/dude/settings.rb +3 -0
- data/lib/dude/templates/pull_request_template +7 -0
- data/lib/dude/time_trackers/toggl.rb +2 -0
- data/lib/dude/time_trackers/toggl/base.rb +4 -0
- data/lib/dude/time_trackers/toggl/start_time_entry.rb +3 -2
- data/lib/dude/time_trackers/toggl/stop_time_entry.rb +3 -1
- data/lib/dude/version.rb +3 -1
- metadata +77 -21
- data/lib/dude/project_management/entities/board.rb +0 -9
- data/lib/dude/project_management/jira/get_current_tasks.rb +0 -40
- data/lib/dude/project_management/trello/checkout.rb +0 -4
- data/lib/dude/project_management/trello/get_current_tasks.rb +0 -24
- data/lib/dude/project_management/trello/get_lists.rb +0 -15
- data/lib/dude/project_management/trello/move_tasks_to_list.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6031769a356f360e4c2dcc232c0018aec9b00353908c4158e3fe3e7c030f8a6d
|
4
|
+
data.tar.gz: 5e8697a8d8606d30029996965b347c00e025de94570366804fe9e2f29285a295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14ec971a8a01102bbca10813e4e3603d0a8bb132f7055f463016532cc9a28e170fdff23bb99749c0616cd800033d252a1a0eaac3800f093f7329b42dab3e60af
|
7
|
+
data.tar.gz: 8ff94ed54537ea464c7f747d5a572ae98807081ad71ae8e7aa9ac2976c4d002c06af9004a6f8b48d787d87439df6517923a7a4ab113d340a23b45f0899dfb494
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Put this in the file: .github/workflows/verify.yml
|
2
|
+
|
3
|
+
name: Verify
|
4
|
+
on: [push, pull_request]
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
rubocop:
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@v2
|
11
|
+
- uses: ruby/setup-ruby@v1
|
12
|
+
with:
|
13
|
+
ruby-version: 2.6 # Not needed with a .ruby-version file
|
14
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
15
|
+
- name: Run Rubocop
|
16
|
+
run: bundle exec rubocop
|
17
|
+
|
18
|
+
rspec:
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v2
|
22
|
+
- uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: 2.6 # Not needed with a .ruby-version file
|
25
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
26
|
+
- name: Run RSpec
|
27
|
+
run: COVERAGE=true bundle exec rspec
|
28
|
+
- name: Run codacy-coverage-reporter
|
29
|
+
uses: codacy/codacy-coverage-reporter-action@master
|
30
|
+
with:
|
31
|
+
project-token: "8c564cf8054e4575b20b580d47020f52"
|
32
|
+
coverage-reports: coverage/coverage.xml
|
data/.rspec
CHANGED
data/.rubocop.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Style/Documentation:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
NewCops: enable
|
6
|
+
SuggestExtensions: false
|
7
|
+
TargetRubyVersion: 2.5
|
8
|
+
|
9
|
+
Metrics/BlockLength:
|
10
|
+
IgnoredMethods: ['describe', 'context']
|
11
|
+
|
12
|
+
Layout/FirstHashElementIndentation:
|
13
|
+
EnforcedStyle: consistent
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [2.0.7] - 2021-04-02
|
4
4
|
|
5
5
|
### Added
|
6
|
-
|
7
|
-
-
|
6
|
+
- RSpec and coverage
|
7
|
+
- Rubocop style changes
|
8
|
+
- Fixed #15
|
9
|
+
- Fixed README errors
|
10
|
+
- Changed requires to relatives
|
8
11
|
|
9
12
|
## [2.0.0] - 2021-03-10
|
10
13
|
|
@@ -23,3 +26,4 @@
|
|
23
26
|
|
24
27
|
[2.0.0]: https://github.com/npupko/dude/releases/tag/2.0.0
|
25
28
|
[1.0.2]: https://github.com/npupko/dude/releases/tag/1.0.2
|
29
|
+
[1.0.6]: https://github.com/npupko/dude/releases/tag/1.0.6
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dude-cli (2.0.
|
4
|
+
dude-cli (2.1.0.alpha2)
|
5
5
|
colorize (~> 0.8.1)
|
6
6
|
dry-cli (~> 0.6)
|
7
7
|
faraday (~> 1.1)
|
@@ -10,26 +10,35 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.1.3)
|
13
|
+
activesupport (6.1.3.2)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 1.6, < 2)
|
16
16
|
minitest (>= 5.1)
|
17
17
|
tzinfo (~> 2.0)
|
18
18
|
zeitwerk (~> 2.3)
|
19
|
+
ast (2.4.2)
|
19
20
|
atlassian-jwt (0.2.0)
|
20
21
|
jwt (~> 2.1.0)
|
21
22
|
coderay (1.1.3)
|
22
23
|
colorize (0.8.1)
|
23
24
|
concurrent-ruby (1.1.8)
|
24
25
|
diff-lcs (1.4.4)
|
25
|
-
|
26
|
-
|
27
|
-
faraday (1.
|
26
|
+
docile (1.3.5)
|
27
|
+
dry-cli (0.7.0)
|
28
|
+
faraday (1.4.2)
|
29
|
+
faraday-em_http (~> 1.0)
|
30
|
+
faraday-em_synchrony (~> 1.0)
|
31
|
+
faraday-excon (~> 1.1)
|
28
32
|
faraday-net_http (~> 1.0)
|
33
|
+
faraday-net_http_persistent (~> 1.1)
|
29
34
|
multipart-post (>= 1.2, < 3)
|
30
|
-
ruby2_keywords
|
35
|
+
ruby2_keywords (>= 0.0.4)
|
36
|
+
faraday-em_http (1.0.0)
|
37
|
+
faraday-em_synchrony (1.0.0)
|
38
|
+
faraday-excon (1.1.0)
|
31
39
|
faraday-net_http (1.0.1)
|
32
|
-
|
40
|
+
faraday-net_http_persistent (1.1.0)
|
41
|
+
i18n (1.8.10)
|
33
42
|
concurrent-ruby (~> 1.0)
|
34
43
|
jira-ruby (2.1.5)
|
35
44
|
activesupport
|
@@ -40,11 +49,17 @@ GEM
|
|
40
49
|
method_source (1.0.0)
|
41
50
|
minitest (5.14.4)
|
42
51
|
multipart-post (2.1.1)
|
43
|
-
oauth (0.5.
|
44
|
-
|
52
|
+
oauth (0.5.6)
|
53
|
+
parallel (1.20.1)
|
54
|
+
parser (3.0.1.1)
|
55
|
+
ast (~> 2.4.1)
|
56
|
+
pry (0.14.1)
|
45
57
|
coderay (~> 1.1)
|
46
58
|
method_source (~> 1.0)
|
59
|
+
rainbow (3.0.0)
|
47
60
|
rake (13.0.3)
|
61
|
+
regexp_parser (2.1.1)
|
62
|
+
rexml (3.2.5)
|
48
63
|
rspec (3.10.0)
|
49
64
|
rspec-core (~> 3.10.0)
|
50
65
|
rspec-expectations (~> 3.10.0)
|
@@ -58,9 +73,30 @@ GEM
|
|
58
73
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
74
|
rspec-support (~> 3.10.0)
|
60
75
|
rspec-support (3.10.2)
|
76
|
+
rubocop (1.15.0)
|
77
|
+
parallel (~> 1.10)
|
78
|
+
parser (>= 3.0.0.0)
|
79
|
+
rainbow (>= 2.2.2, < 4.0)
|
80
|
+
regexp_parser (>= 1.8, < 3.0)
|
81
|
+
rexml
|
82
|
+
rubocop-ast (>= 1.5.0, < 2.0)
|
83
|
+
ruby-progressbar (~> 1.7)
|
84
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
85
|
+
rubocop-ast (1.5.0)
|
86
|
+
parser (>= 3.0.1.1)
|
87
|
+
ruby-progressbar (1.11.0)
|
61
88
|
ruby2_keywords (0.0.4)
|
89
|
+
simplecov (0.21.2)
|
90
|
+
docile (~> 1.1)
|
91
|
+
simplecov-html (~> 0.11)
|
92
|
+
simplecov_json_formatter (~> 0.1)
|
93
|
+
simplecov-cobertura (1.4.2)
|
94
|
+
simplecov (~> 0.8)
|
95
|
+
simplecov-html (0.12.3)
|
96
|
+
simplecov_json_formatter (0.1.2)
|
62
97
|
tzinfo (2.0.4)
|
63
98
|
concurrent-ruby (~> 1.0)
|
99
|
+
unicode-display_width (2.0.0)
|
64
100
|
zeitwerk (2.4.2)
|
65
101
|
|
66
102
|
PLATFORMS
|
@@ -71,6 +107,9 @@ DEPENDENCIES
|
|
71
107
|
pry (~> 0.14.0)
|
72
108
|
rake (~> 13.0)
|
73
109
|
rspec (~> 3.0)
|
110
|
+
rubocop (~> 1.12)
|
111
|
+
simplecov (~> 0.21.2)
|
112
|
+
simplecov-cobertura (~> 1.4)
|
74
113
|
|
75
114
|
BUNDLED WITH
|
76
115
|
2.1.4
|
data/LICENCE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020-2021 Nikita Pupko
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
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, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
# Dude
|
1
|
+
# Dude
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/dude-cli.svg)](https://badge.fury.io/rb/dude-cli)
|
4
|
+
![Codacy coverage](https://img.shields.io/codacy/coverage/8c564cf8054e4575b20b580d47020f52)
|
5
|
+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a02f0a87f88542c89ac5bf62d1a7d0f7)](https://www.codacy.com/gh/npupko/dude/dashboard?utm_source=github.com&utm_medium=referral&utm_content=npupko/dude&utm_campaign=Badge_Grade)
|
6
|
+
![Gem](https://img.shields.io/gem/dv/dude-cli/stable)
|
7
|
+
![GitHub](https://img.shields.io/github/license/npupko/dude)
|
2
8
|
|
3
9
|
A daily assistant in the hard work of a programmer
|
4
10
|
|
@@ -26,7 +32,10 @@ After that create .duderc file in your HOME directory by command:
|
|
26
32
|
|
27
33
|
And configure all variables in this file
|
28
34
|
|
29
|
-
`PROJECT_MANAGEMENT_TOOL=jira` - Project management (Now only Jira supported)
|
35
|
+
`PROJECT_MANAGEMENT_TOOL=jira|trello` - Project management (Now only Jira and Trello supported)
|
36
|
+
|
37
|
+
##### Jira setup
|
38
|
+
|
30
39
|
`ATLASSIAN_EMAIL` - Your Jira email
|
31
40
|
|
32
41
|
`ATLASSIAN_TOKEN` - How to create Atlassian token: https://support.siteimprove.com/hc/en-gb/articles/360004317332-How-to-create-an-API-token-from-your-Atlassian-account
|
@@ -40,6 +49,12 @@ Just open your atlassian main board and copy id from the url after rapidView=*ID
|
|
40
49
|
|
41
50
|
Example: https://dealmakerns.atlassian.net/secure/RapidBoard.jspa?rapidView=23&projectKey=DT - 23 is the id
|
42
51
|
|
52
|
+
##### Trello setup
|
53
|
+
You could generate your key and token here: https://trello.com/app-key
|
54
|
+
|
55
|
+
`TRELLO_KEY`
|
56
|
+
|
57
|
+
`TRELLO_TOKEN`
|
43
58
|
|
44
59
|
#### Replace it with your project list names. Skip for empty lists
|
45
60
|
|
@@ -57,19 +72,28 @@ DONE_LIST_NAME=Done
|
|
57
72
|
|
58
73
|
`TOGGL_WORKSPACE_ID` - Can be copied from url here: https://toggl.com/app/projects/. Example: 123456
|
59
74
|
|
60
|
-
#### Use the *id* and *title* and specify format for the task titles in
|
75
|
+
#### Use the *id* and *title* and specify format for the task titles in Toggl or keep it as it is
|
61
76
|
`TOGGL_TASK_FORMAT=[id] title`
|
62
77
|
|
63
78
|
## Usage
|
64
79
|
|
80
|
+
#### Using RVM
|
81
|
+
|
82
|
+
To run gem in any folder using RVM just install gem to the global default ruby version and add alias to ~/.bashrc or ~/.zshrc
|
83
|
+
(Replace 2.7.2 to your ruby version and/or gemset)
|
84
|
+
|
85
|
+
```bash
|
86
|
+
alias dude="rvm 2.7.2 do dude"
|
87
|
+
```
|
88
|
+
|
65
89
|
| Command | Required parameters | Optional parameters | Description |
|
66
90
|
|:-------------:|:-------------------|:-------------------|:--------------------------------------------------------------------------------------|
|
67
91
|
| dude install | - | - | Create .duderc file in your home directory |
|
68
92
|
| dude checkout | ISSUE_ID | - | Checkout to branch with name "ID-issue-title" |
|
69
93
|
| dude track | ISSUE_ID | - | Start time entry in Toggl with issue project, title and id |
|
70
|
-
| dude tasks |
|
94
|
+
| dude tasks | - | - | Show all issues in current project (For current sprint) |
|
71
95
|
| dude stop | - | - | Stop current time entry in Toggl |
|
72
|
-
| dude start |
|
96
|
+
| dude start | ISSUE_ID | - | Do `checkout`, `track` and `move` actions |
|
73
97
|
| dude move | ISSUE_ID | --list=NAME | Move issue to another column (Will provide options if called without --list parameter) |
|
74
98
|
| dude version | - | - | Display gem version |
|
75
99
|
|
@@ -83,4 +107,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/npupko
|
|
83
107
|
|
84
108
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
85
109
|
|
86
|
-
##
|
110
|
+
## Changelog
|
111
|
+
|
112
|
+
https://github.com/npupko/dude/blob/master/CHANGELOG.md
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'dude'
|
5
6
|
|
6
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +11,5 @@ require "dude"
|
|
10
11
|
# require "pry"
|
11
12
|
# Pry.start
|
12
13
|
|
13
|
-
require
|
14
|
+
require 'irb'
|
14
15
|
IRB.start(__FILE__)
|
data/bin/dude
CHANGED
data/dude.gemspec
CHANGED
@@ -1,35 +1,42 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
2
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
5
|
require_relative 'lib/dude/version'
|
4
6
|
|
5
7
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name =
|
8
|
+
spec.name = 'dude-cli'
|
7
9
|
spec.version = Dude::VERSION
|
8
|
-
spec.authors = [
|
9
|
-
spec.email = [
|
10
|
+
spec.authors = ['Nikita Pupko']
|
11
|
+
spec.email = ['work.pupko@gmail.com']
|
10
12
|
|
11
|
-
spec.summary =
|
12
|
-
spec.description =
|
13
|
-
|
14
|
-
|
15
|
-
spec.
|
13
|
+
spec.summary = 'A daily assistant in the hard work of a programmer.'
|
14
|
+
spec.description = <<~DESC
|
15
|
+
This program helps to combine such services as Jira, Toggl and git and replace most routine activities with one simple CLI utility.
|
16
|
+
DESC
|
17
|
+
spec.homepage = 'https://github.com/npupko/dude'
|
18
|
+
spec.license = 'MIT'
|
19
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
|
16
20
|
|
17
|
-
spec.metadata[
|
18
|
-
spec.metadata[
|
19
|
-
spec.metadata[
|
21
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
22
|
+
spec.metadata['source_code_uri'] = 'https://github.com/npupko/dude'
|
23
|
+
spec.metadata['changelog_uri'] = 'https://github.com/npupko/dude/blob/master/CHANGELOG.md'
|
20
24
|
|
21
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
26
|
|
23
|
-
spec.bindir =
|
24
|
-
spec.executables = [
|
25
|
-
spec.require_paths = [
|
27
|
+
spec.bindir = 'bin'
|
28
|
+
spec.executables = ['dude']
|
29
|
+
spec.require_paths = ['lib']
|
26
30
|
|
31
|
+
spec.add_runtime_dependency 'colorize', '~> 0.8.1'
|
27
32
|
spec.add_runtime_dependency 'dry-cli', '~> 0.6'
|
28
|
-
spec.add_runtime_dependency
|
29
|
-
spec.add_runtime_dependency
|
30
|
-
spec.add_runtime_dependency "jira-ruby", "~> 2.1"
|
33
|
+
spec.add_runtime_dependency 'faraday', '~> 1.1'
|
34
|
+
spec.add_runtime_dependency 'jira-ruby', '~> 2.1'
|
31
35
|
|
32
36
|
spec.add_development_dependency 'pry', '~> 0.14.0'
|
33
37
|
spec.add_development_dependency 'rake', '~> 13.0'
|
34
38
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
39
|
+
spec.add_development_dependency 'rubocop', '~> 1.12'
|
40
|
+
spec.add_development_dependency 'simplecov', '~> 0.21.2'
|
41
|
+
spec.add_development_dependency 'simplecov-cobertura', '~> 1.4'
|
35
42
|
end
|
data/lib/dude.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
require 'colorize'
|
4
|
+
|
5
|
+
require_relative './dude/settings'
|
6
|
+
require_relative './dude/version'
|
7
|
+
require_relative './dude/commands'
|
8
|
+
require_relative './dude/git'
|
9
|
+
require_relative './dude/code_management'
|
10
10
|
|
11
11
|
module Dude
|
12
12
|
class ToBeImplementedError < StandardError; end
|
13
13
|
|
14
|
-
LIST_OF_AVAILABLE_PROJECT_MANAGEMENT_TOOLS = %w[jira]
|
14
|
+
LIST_OF_AVAILABLE_PROJECT_MANAGEMENT_TOOLS = %w[jira trello].freeze
|
15
15
|
end
|