tempest-time 0.5.0
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/.ruby-version +1 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +133 -0
- data/LICENSE +21 -0
- data/README.md +8 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bin/tempest +18 -0
- data/lib/tempest_time.rb +4 -0
- data/lib/tempest_time/api/authorization.rb +17 -0
- data/lib/tempest_time/api/jira_api/authorization.rb +27 -0
- data/lib/tempest_time/api/jira_api/models/issue.rb +28 -0
- data/lib/tempest_time/api/jira_api/request.rb +40 -0
- data/lib/tempest_time/api/jira_api/requests/get_issue.rb +29 -0
- data/lib/tempest_time/api/jira_api/requests/get_user_issues.rb +36 -0
- data/lib/tempest_time/api/jira_api/response.rb +5 -0
- data/lib/tempest_time/api/jira_api/responses/get_issue.rb +16 -0
- data/lib/tempest_time/api/jira_api/responses/get_user_issues.rb +14 -0
- data/lib/tempest_time/api/request.rb +87 -0
- data/lib/tempest_time/api/response.rb +34 -0
- data/lib/tempest_time/api/tempo_api/authorization.rb +23 -0
- data/lib/tempest_time/api/tempo_api/models/worklog.rb +36 -0
- data/lib/tempest_time/api/tempo_api/request.rb +35 -0
- data/lib/tempest_time/api/tempo_api/requests/create_worklog.rb +51 -0
- data/lib/tempest_time/api/tempo_api/requests/delete_worklog.rb +29 -0
- data/lib/tempest_time/api/tempo_api/requests/get_worklog.rb +29 -0
- data/lib/tempest_time/api/tempo_api/requests/list_worklogs.rb +41 -0
- data/lib/tempest_time/api/tempo_api/requests/report.rb +0 -0
- data/lib/tempest_time/api/tempo_api/requests/submit_timesheet.rb +49 -0
- data/lib/tempest_time/api/tempo_api/response.rb +5 -0
- data/lib/tempest_time/api/tempo_api/responses/create_worklog.rb +28 -0
- data/lib/tempest_time/api/tempo_api/responses/delete_worklog.rb +8 -0
- data/lib/tempest_time/api/tempo_api/responses/get_worklog.rb +22 -0
- data/lib/tempest_time/api/tempo_api/responses/list_worklogs.rb +40 -0
- data/lib/tempest_time/api/tempo_api/responses/submit_timesheet.rb +13 -0
- data/lib/tempest_time/cli.rb +92 -0
- data/lib/tempest_time/command.rb +60 -0
- data/lib/tempest_time/commands/config.rb +30 -0
- data/lib/tempest_time/commands/config/edit.rb +38 -0
- data/lib/tempest_time/commands/config/setup.rb +55 -0
- data/lib/tempest_time/commands/delete.rb +31 -0
- data/lib/tempest_time/commands/issues.rb +37 -0
- data/lib/tempest_time/commands/list.rb +32 -0
- data/lib/tempest_time/commands/report.rb +83 -0
- data/lib/tempest_time/commands/submit.rb +26 -0
- data/lib/tempest_time/commands/teams.rb +30 -0
- data/lib/tempest_time/commands/teams/add.rb +29 -0
- data/lib/tempest_time/commands/teams/delete.rb +32 -0
- data/lib/tempest_time/commands/teams/edit.rb +49 -0
- data/lib/tempest_time/commands/track.rb +70 -0
- data/lib/tempest_time/helpers/formatting_helper.rb +16 -0
- data/lib/tempest_time/helpers/time_helper.rb +63 -0
- data/lib/tempest_time/models/report.rb +58 -0
- data/lib/tempest_time/services/generate_report.rb +54 -0
- data/lib/tempest_time/setting.rb +47 -0
- data/lib/tempest_time/settings/authorization.rb +19 -0
- data/lib/tempest_time/settings/teams.rb +19 -0
- data/lib/tempest_time/templates/config/.gitkeep +1 -0
- data/lib/tempest_time/templates/config/auth/.gitkeep +1 -0
- data/lib/tempest_time/templates/config/setup/.gitkeep +1 -0
- data/lib/tempest_time/templates/config/teams/.gitkeep +1 -0
- data/lib/tempest_time/templates/delete/.gitkeep +1 -0
- data/lib/tempest_time/templates/issue/.gitkeep +1 -0
- data/lib/tempest_time/templates/issues/.gitkeep +1 -0
- data/lib/tempest_time/templates/list/.gitkeep +1 -0
- data/lib/tempest_time/templates/report/.gitkeep +1 -0
- data/lib/tempest_time/templates/setup/.gitkeep +1 -0
- data/lib/tempest_time/templates/submit/.gitkeep +1 -0
- data/lib/tempest_time/templates/teams/.gitkeep +1 -0
- data/lib/tempest_time/templates/track/.gitkeep +1 -0
- data/lib/tempest_time/templates/view/.gitkeep +1 -0
- data/lib/tempest_time/version.rb +3 -0
- data/tempest-time.gemspec +62 -0
- metadata +517 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
require_relative '../helpers/time_helper'
|
2
|
+
require_relative '../api/tempo_api/requests/list_worklogs'
|
3
|
+
require_relative '../models/report'
|
4
|
+
|
5
|
+
module TempestTime
|
6
|
+
module Services
|
7
|
+
class GenerateReport
|
8
|
+
include TempestTime::Helpers::TimeHelper
|
9
|
+
|
10
|
+
attr_reader :users, :week_number, :reports
|
11
|
+
|
12
|
+
def initialize(users, week_number)
|
13
|
+
@users = users
|
14
|
+
@week_number = week_number || Date.today.cweek
|
15
|
+
@reports = build_reports if valid?
|
16
|
+
end
|
17
|
+
|
18
|
+
def projects
|
19
|
+
@projects ||= reports.flat_map(&:projects).uniq
|
20
|
+
end
|
21
|
+
|
22
|
+
def aggregate
|
23
|
+
@aggregate ||= TempestTime::Models::Report.new(
|
24
|
+
'TOTAL',
|
25
|
+
reports.flat_map(&:worklogs),
|
26
|
+
users.count
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
30
|
+
def start_date
|
31
|
+
@start_date ||= beginning_of_week(week_number)
|
32
|
+
end
|
33
|
+
|
34
|
+
def end_date
|
35
|
+
@end_date ||= start_date + 6
|
36
|
+
end
|
37
|
+
|
38
|
+
private
|
39
|
+
|
40
|
+
def valid?
|
41
|
+
return false unless week_number <= Date.today.cweek
|
42
|
+
true
|
43
|
+
end
|
44
|
+
|
45
|
+
def build_reports
|
46
|
+
users.map do |user|
|
47
|
+
request = TempoAPI::Requests::ListWorklogs.new(start_date, end_date, user)
|
48
|
+
request.send_request
|
49
|
+
TempestTime::Models::Report.new(user, request.response.worklogs)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
module TempestTime
|
4
|
+
class Setting
|
5
|
+
class << self
|
6
|
+
def contents
|
7
|
+
file.map do |key, value|
|
8
|
+
{ key => value }
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def read(key)
|
13
|
+
file[key]
|
14
|
+
end
|
15
|
+
|
16
|
+
def keys
|
17
|
+
file.keys&.sort || []
|
18
|
+
end
|
19
|
+
|
20
|
+
def update(key, value)
|
21
|
+
temp = file
|
22
|
+
temp[key] = value
|
23
|
+
File.open(file_path, 'w') { |f| f.write temp.to_yaml }
|
24
|
+
end
|
25
|
+
|
26
|
+
def delete(key)
|
27
|
+
temp = file.tap { |f| f.delete(key) }
|
28
|
+
File.open(file_path, 'w') { |f| f.write temp.to_yaml }
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
def file
|
34
|
+
Dir.mkdir(directory_path) unless Dir.exist?(directory_path)
|
35
|
+
File.exist?(file_path) ? YAML.load_file(file_path) : {}
|
36
|
+
end
|
37
|
+
|
38
|
+
def file_path
|
39
|
+
[directory_path, file_name].join('/')
|
40
|
+
end
|
41
|
+
|
42
|
+
def directory_path
|
43
|
+
"#{Dir.home}/.tempest"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require_relative '../setting'
|
2
|
+
|
3
|
+
module TempestTime
|
4
|
+
module Settings
|
5
|
+
class Authorization < TempestTime::Setting
|
6
|
+
class << self
|
7
|
+
private
|
8
|
+
|
9
|
+
def file_name
|
10
|
+
'auth.yml'
|
11
|
+
end
|
12
|
+
|
13
|
+
def file_path
|
14
|
+
[directory_path, file_name].join('/')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require_relative '../setting'
|
2
|
+
|
3
|
+
module TempestTime
|
4
|
+
module Settings
|
5
|
+
class Teams < TempestTime::Setting
|
6
|
+
class << self
|
7
|
+
def members(team)
|
8
|
+
read(team)&.sort
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def file_name
|
14
|
+
'teams.yml'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1 @@
|
|
1
|
+
#
|
@@ -0,0 +1,62 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tempest_time/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'tempest-time'
|
8
|
+
spec.version = TempestTime::VERSION
|
9
|
+
spec.licenses = ['MIT']
|
10
|
+
|
11
|
+
spec.authors = ['Devan Hurst']
|
12
|
+
spec.email = ['devan.hurst@gmail.com']
|
13
|
+
|
14
|
+
spec.summary = %q{Smart console-based Tempo time tracking!}
|
15
|
+
spec.description = %q{Log your Tempo hours directly from the command line!}
|
16
|
+
spec.homepage = 'https://github.com/devanhurst/tempest_time'
|
17
|
+
|
18
|
+
spec.post_install_message = <<-MESSAGE
|
19
|
+
! The 'tempest-time' gem has been deprecated and has been replaced by 'tempest_time'.
|
20
|
+
! Please uninstall this gem and install tempest_time to stay updated!
|
21
|
+
! See: https://rubygems.org/gems/tempest_time
|
22
|
+
! And: https://github.com/devanhurst/tempest_time
|
23
|
+
MESSAGE
|
24
|
+
|
25
|
+
spec.required_ruby_version = '~> 2.3'
|
26
|
+
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
28
|
+
f.match(%r{^(test|spec|features)/})
|
29
|
+
end
|
30
|
+
spec.executables = ['tempest']
|
31
|
+
spec.require_paths = ['lib']
|
32
|
+
|
33
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
34
|
+
spec.add_development_dependency 'byebug', '~> 10.0'
|
35
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
36
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
37
|
+
|
38
|
+
spec.add_dependency 'git', '~>1.5'
|
39
|
+
spec.add_dependency 'httparty', '~>0.16'
|
40
|
+
spec.add_dependency 'pastel', '~> 0.7.2'
|
41
|
+
spec.add_dependency 'ruby-git', '~>0.2'
|
42
|
+
spec.add_dependency 'thor', '~> 0.20.0'
|
43
|
+
spec.add_dependency 'tty-box', '~> 0.3.0'
|
44
|
+
spec.add_dependency 'tty-color', '~> 0.4'
|
45
|
+
spec.add_dependency 'tty-command', '~> 0.8.0'
|
46
|
+
spec.add_dependency 'tty-config', '~> 0.3.0'
|
47
|
+
spec.add_dependency 'tty-cursor', '~> 0.6'
|
48
|
+
spec.add_dependency 'tty-editor', '~> 0.5.0'
|
49
|
+
spec.add_dependency 'tty-file', '~> 0.7.0'
|
50
|
+
spec.add_dependency 'tty-font', '~> 0.2.0'
|
51
|
+
spec.add_dependency 'tty-markdown', '~> 0.5.0'
|
52
|
+
spec.add_dependency 'tty-pager', '~> 0.12.0'
|
53
|
+
spec.add_dependency 'tty-pie', '~> 0.1.0'
|
54
|
+
spec.add_dependency 'tty-platform', '~> 0.2.0'
|
55
|
+
spec.add_dependency 'tty-progressbar', '~> 0.16.0'
|
56
|
+
spec.add_dependency 'tty-prompt', '~> 0.18.0'
|
57
|
+
spec.add_dependency 'tty-screen', '~> 0.6'
|
58
|
+
spec.add_dependency 'tty-spinner', '~> 0.9.0'
|
59
|
+
spec.add_dependency 'tty-table', '~> 0.10.0'
|
60
|
+
spec.add_dependency 'tty-tree', '~> 0.2.0'
|
61
|
+
spec.add_dependency 'tty-which', '~> 0.4'
|
62
|
+
end
|
metadata
ADDED
@@ -0,0 +1,517 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tempest-time
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Devan Hurst
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-03 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: byebug
|
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: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: git
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.5'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.5'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: httparty
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.16'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.16'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pastel
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.7.2
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.7.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: ruby-git
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.2'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.2'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: thor
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.20.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.20.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: tty-box
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.3.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.3.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: tty-color
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.4'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.4'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: tty-command
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.8.0
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.8.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: tty-config
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.3.0
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.3.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: tty-cursor
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.6'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.6'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: tty-editor
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 0.5.0
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 0.5.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: tty-file
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.7.0
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.7.0
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: tty-font
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: 0.2.0
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 0.2.0
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: tty-markdown
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: 0.5.0
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: 0.5.0
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: tty-pager
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: 0.12.0
|
272
|
+
type: :runtime
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - "~>"
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: 0.12.0
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: tty-pie
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - "~>"
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: 0.1.0
|
286
|
+
type: :runtime
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - "~>"
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: 0.1.0
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: tty-platform
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: 0.2.0
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: 0.2.0
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: tty-progressbar
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - "~>"
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: 0.16.0
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: 0.16.0
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: tty-prompt
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - "~>"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: 0.18.0
|
328
|
+
type: :runtime
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - "~>"
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: 0.18.0
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: tty-screen
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - "~>"
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0.6'
|
342
|
+
type: :runtime
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - "~>"
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '0.6'
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: tty-spinner
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - "~>"
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: 0.9.0
|
356
|
+
type: :runtime
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - "~>"
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: 0.9.0
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: tty-table
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - "~>"
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: 0.10.0
|
370
|
+
type: :runtime
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - "~>"
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: 0.10.0
|
377
|
+
- !ruby/object:Gem::Dependency
|
378
|
+
name: tty-tree
|
379
|
+
requirement: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - "~>"
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: 0.2.0
|
384
|
+
type: :runtime
|
385
|
+
prerelease: false
|
386
|
+
version_requirements: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - "~>"
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: 0.2.0
|
391
|
+
- !ruby/object:Gem::Dependency
|
392
|
+
name: tty-which
|
393
|
+
requirement: !ruby/object:Gem::Requirement
|
394
|
+
requirements:
|
395
|
+
- - "~>"
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '0.4'
|
398
|
+
type: :runtime
|
399
|
+
prerelease: false
|
400
|
+
version_requirements: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - "~>"
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: '0.4'
|
405
|
+
description: Log your Tempo hours directly from the command line!
|
406
|
+
email:
|
407
|
+
- devan.hurst@gmail.com
|
408
|
+
executables:
|
409
|
+
- tempest
|
410
|
+
extensions: []
|
411
|
+
extra_rdoc_files: []
|
412
|
+
files:
|
413
|
+
- ".gitignore"
|
414
|
+
- ".ruby-version"
|
415
|
+
- ".travis.yml"
|
416
|
+
- Gemfile
|
417
|
+
- Gemfile.lock
|
418
|
+
- LICENSE
|
419
|
+
- README.md
|
420
|
+
- Rakefile
|
421
|
+
- bin/console
|
422
|
+
- bin/setup
|
423
|
+
- bin/tempest
|
424
|
+
- lib/tempest_time.rb
|
425
|
+
- lib/tempest_time/api/authorization.rb
|
426
|
+
- lib/tempest_time/api/jira_api/authorization.rb
|
427
|
+
- lib/tempest_time/api/jira_api/models/issue.rb
|
428
|
+
- lib/tempest_time/api/jira_api/request.rb
|
429
|
+
- lib/tempest_time/api/jira_api/requests/get_issue.rb
|
430
|
+
- lib/tempest_time/api/jira_api/requests/get_user_issues.rb
|
431
|
+
- lib/tempest_time/api/jira_api/response.rb
|
432
|
+
- lib/tempest_time/api/jira_api/responses/get_issue.rb
|
433
|
+
- lib/tempest_time/api/jira_api/responses/get_user_issues.rb
|
434
|
+
- lib/tempest_time/api/request.rb
|
435
|
+
- lib/tempest_time/api/response.rb
|
436
|
+
- lib/tempest_time/api/tempo_api/authorization.rb
|
437
|
+
- lib/tempest_time/api/tempo_api/models/worklog.rb
|
438
|
+
- lib/tempest_time/api/tempo_api/request.rb
|
439
|
+
- lib/tempest_time/api/tempo_api/requests/create_worklog.rb
|
440
|
+
- lib/tempest_time/api/tempo_api/requests/delete_worklog.rb
|
441
|
+
- lib/tempest_time/api/tempo_api/requests/get_worklog.rb
|
442
|
+
- lib/tempest_time/api/tempo_api/requests/list_worklogs.rb
|
443
|
+
- lib/tempest_time/api/tempo_api/requests/report.rb
|
444
|
+
- lib/tempest_time/api/tempo_api/requests/submit_timesheet.rb
|
445
|
+
- lib/tempest_time/api/tempo_api/response.rb
|
446
|
+
- lib/tempest_time/api/tempo_api/responses/create_worklog.rb
|
447
|
+
- lib/tempest_time/api/tempo_api/responses/delete_worklog.rb
|
448
|
+
- lib/tempest_time/api/tempo_api/responses/get_worklog.rb
|
449
|
+
- lib/tempest_time/api/tempo_api/responses/list_worklogs.rb
|
450
|
+
- lib/tempest_time/api/tempo_api/responses/submit_timesheet.rb
|
451
|
+
- lib/tempest_time/cli.rb
|
452
|
+
- lib/tempest_time/command.rb
|
453
|
+
- lib/tempest_time/commands/config.rb
|
454
|
+
- lib/tempest_time/commands/config/edit.rb
|
455
|
+
- lib/tempest_time/commands/config/setup.rb
|
456
|
+
- lib/tempest_time/commands/delete.rb
|
457
|
+
- lib/tempest_time/commands/issues.rb
|
458
|
+
- lib/tempest_time/commands/list.rb
|
459
|
+
- lib/tempest_time/commands/report.rb
|
460
|
+
- lib/tempest_time/commands/submit.rb
|
461
|
+
- lib/tempest_time/commands/teams.rb
|
462
|
+
- lib/tempest_time/commands/teams/add.rb
|
463
|
+
- lib/tempest_time/commands/teams/delete.rb
|
464
|
+
- lib/tempest_time/commands/teams/edit.rb
|
465
|
+
- lib/tempest_time/commands/track.rb
|
466
|
+
- lib/tempest_time/helpers/formatting_helper.rb
|
467
|
+
- lib/tempest_time/helpers/time_helper.rb
|
468
|
+
- lib/tempest_time/models/report.rb
|
469
|
+
- lib/tempest_time/services/generate_report.rb
|
470
|
+
- lib/tempest_time/setting.rb
|
471
|
+
- lib/tempest_time/settings/authorization.rb
|
472
|
+
- lib/tempest_time/settings/teams.rb
|
473
|
+
- lib/tempest_time/templates/config/.gitkeep
|
474
|
+
- lib/tempest_time/templates/config/auth/.gitkeep
|
475
|
+
- lib/tempest_time/templates/config/setup/.gitkeep
|
476
|
+
- lib/tempest_time/templates/config/teams/.gitkeep
|
477
|
+
- lib/tempest_time/templates/delete/.gitkeep
|
478
|
+
- lib/tempest_time/templates/issue/.gitkeep
|
479
|
+
- lib/tempest_time/templates/issues/.gitkeep
|
480
|
+
- lib/tempest_time/templates/list/.gitkeep
|
481
|
+
- lib/tempest_time/templates/report/.gitkeep
|
482
|
+
- lib/tempest_time/templates/setup/.gitkeep
|
483
|
+
- lib/tempest_time/templates/submit/.gitkeep
|
484
|
+
- lib/tempest_time/templates/teams/.gitkeep
|
485
|
+
- lib/tempest_time/templates/track/.gitkeep
|
486
|
+
- lib/tempest_time/templates/view/.gitkeep
|
487
|
+
- lib/tempest_time/version.rb
|
488
|
+
- tempest-time.gemspec
|
489
|
+
homepage: https://github.com/devanhurst/tempest_time
|
490
|
+
licenses:
|
491
|
+
- MIT
|
492
|
+
metadata: {}
|
493
|
+
post_install_message: |
|
494
|
+
! The 'tempest-time' gem has been deprecated and has been replaced by 'tempest_time'.
|
495
|
+
! Please uninstall this gem and install tempest_time to stay updated!
|
496
|
+
! See: https://rubygems.org/gems/tempest_time
|
497
|
+
! And: https://github.com/devanhurst/tempest_time
|
498
|
+
rdoc_options: []
|
499
|
+
require_paths:
|
500
|
+
- lib
|
501
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
502
|
+
requirements:
|
503
|
+
- - "~>"
|
504
|
+
- !ruby/object:Gem::Version
|
505
|
+
version: '2.3'
|
506
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
507
|
+
requirements:
|
508
|
+
- - ">="
|
509
|
+
- !ruby/object:Gem::Version
|
510
|
+
version: '0'
|
511
|
+
requirements: []
|
512
|
+
rubyforge_project:
|
513
|
+
rubygems_version: 2.7.3
|
514
|
+
signing_key:
|
515
|
+
specification_version: 4
|
516
|
+
summary: Smart console-based Tempo time tracking!
|
517
|
+
test_files: []
|