herodot 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.rubocop.yml +7 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +72 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/herodot +5 -0
- data/herodot.gemspec +35 -0
- data/lib/herodot/commands.rb +31 -0
- data/lib/herodot/configuration.rb +44 -0
- data/lib/herodot/parser.rb +22 -0
- data/lib/herodot/table.rb +37 -0
- data/lib/herodot/version.rb +3 -0
- data/lib/herodot/worklog.rb +82 -0
- data/lib/herodot.rb +62 -0
- data/post-checkout +6 -0
- metadata +206 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9d271bdd095d68414ea0ba7f6a89c6cdeb4c9172
|
4
|
+
data.tar.gz: 3209c0c6f40cc1897f31d15046ac7e7abd67f140
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b0cd808b0ca16ce2fcd01fc3ffb54407b951ac6cc4d67210d24d9ca80f4ccd70d0cd5fc57f12fe931a82b4ca6f495c3a0e44b08f459dfe8cbb65981d61373a04
|
7
|
+
data.tar.gz: 68cf8e83d777bf0d5fdc6a49e1ad953ee89365f23e26cc533c89a17226a9d48cb343d3710ad1e7e70710a8da9575a59f8ca083aab953ad965d9714a97081281a
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Andreas Knöpfle
|
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,72 @@
|
|
1
|
+
# Herodot
|
2
|
+
|
3
|
+
Tracks your work based on git branch checkouts and commits. With herodot every time you switch branches or commit into a branch,
|
4
|
+
the brach name, time and project is logged into a worklog file. Herodot can then parse that worklog file and show you a *rough
|
5
|
+
estimate* on which branch in which folder you worked on and how long. This can aid you with your personal time tracking.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Install with:
|
10
|
+
|
11
|
+
$ gem install herodot
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
Track a git repository:
|
16
|
+
|
17
|
+
$ herodot track [path=.]
|
18
|
+
|
19
|
+
|
20
|
+
Show your worklogs this week:
|
21
|
+
|
22
|
+
$ herodot show
|
23
|
+
|
24
|
+
or shorter
|
25
|
+
|
26
|
+
$ herodot
|
27
|
+
|
28
|
+
Show last week
|
29
|
+
|
30
|
+
$ herodot show last week
|
31
|
+
|
32
|
+
Show worklogs from 19-12-2016
|
33
|
+
|
34
|
+
$ herodot show 19-12-2016
|
35
|
+
|
36
|
+
Herodot uses Chronic (https://github.com/mojombo/chronic) under the hood so you can enter anything that chronic supports.
|
37
|
+
|
38
|
+
|
39
|
+
Show Help:
|
40
|
+
|
41
|
+
$ herodot help
|
42
|
+
$ herodot help track
|
43
|
+
$ herodot help show
|
44
|
+
|
45
|
+
## Configuration
|
46
|
+
|
47
|
+
Herodot writes a configuration yaml to `~/.herodot.yml` with something like this:
|
48
|
+
|
49
|
+
```
|
50
|
+
---
|
51
|
+
projects_directory: "~" # Directory where you checkout your projects. Used to shorten paths
|
52
|
+
work_times: # Your work times that are used for guessing the times.
|
53
|
+
work_start: '9:30'
|
54
|
+
lunch_break_start: '13:00'
|
55
|
+
lunch_break_end: '13:30'
|
56
|
+
work_end: '18:00'
|
57
|
+
```
|
58
|
+
|
59
|
+
## Development
|
60
|
+
|
61
|
+
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.
|
62
|
+
|
63
|
+
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).
|
64
|
+
|
65
|
+
## Contributing
|
66
|
+
|
67
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/bitcrowd/herodot.
|
68
|
+
|
69
|
+
|
70
|
+
## License
|
71
|
+
|
72
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'herodot'
|
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/setup
ADDED
data/exe/herodot
ADDED
data/herodot.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'herodot/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'herodot'
|
8
|
+
spec.version = Herodot::VERSION
|
9
|
+
spec.authors = ['bitcrowd']
|
10
|
+
spec.email = ['info@bitcrowd.net']
|
11
|
+
spec.summary = 'Track your work with your git activity.'
|
12
|
+
spec.description = 'With herodot you can track the times you spend on a '\
|
13
|
+
'git branch. When using a branch for each ticket you '\
|
14
|
+
'work on, herodot helps you with your time tracking.'
|
15
|
+
spec.homepage = 'https://github.com/bitcrowd/herodot'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
+
f.match(%r{^(test|spec|features)/})
|
20
|
+
end
|
21
|
+
spec.bindir = 'exe'
|
22
|
+
spec.executables = %w(herodot)
|
23
|
+
spec.require_paths = %w(lib)
|
24
|
+
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.14'
|
26
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
|
+
spec.add_development_dependency 'rubocop'
|
29
|
+
spec.add_development_dependency 'rubocop-rspec'
|
30
|
+
spec.add_development_dependency 'rubocop-bitcrowd'
|
31
|
+
spec.add_dependency 'pry'
|
32
|
+
spec.add_dependency 'terminal-table'
|
33
|
+
spec.add_dependency 'chronic'
|
34
|
+
spec.add_dependency 'commander'
|
35
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'chronic'
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
class Herodot::Commands
|
5
|
+
SCRIPT = "#!/bin/bash\n"\
|
6
|
+
"echo 'Logging into worklog'\n"\
|
7
|
+
"project=$(pwd)\n"\
|
8
|
+
"branch=$(git rev-parse --abbrev-ref HEAD)\n"\
|
9
|
+
'echo "$(date);$project;$branch" >> ~/worklog'.freeze
|
10
|
+
DEFAULT_RANGE = 'this week'.freeze
|
11
|
+
|
12
|
+
def self.show(args, config)
|
13
|
+
subject = args.empty? ? DEFAULT_RANGE : args.join(' ')
|
14
|
+
range = Chronic.parse(subject, guess: false, context: :past)
|
15
|
+
abort "Date not parsable: #{args.join(' ')}" unless range
|
16
|
+
worklog = Herodot::Parser.parse(range, config)
|
17
|
+
output = Herodot::Table.print(worklog.totals)
|
18
|
+
puts output
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.track(path, config)
|
22
|
+
path = '.' if path.nil?
|
23
|
+
puts "Start tracking of `#{File.expand_path(path)}` into `#{config.worklog_file}`."
|
24
|
+
hooks = "#{path}/.git/hooks"
|
25
|
+
abort('Path is not a git repository.') unless File.exist?(hooks)
|
26
|
+
%w(post-checkout post-commit).each do |name|
|
27
|
+
File.open("#{hooks}/#{name}", 'w') { |file| file.write(SCRIPT) }
|
28
|
+
File.chmod(0o755, "#{hooks}/#{name}")
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
class Herodot::Configuration
|
4
|
+
CONFIG_FILE = File.expand_path('~/.herodot.yml').freeze
|
5
|
+
DEFAULT_CONFIGURATION = {
|
6
|
+
'projects_directory' => '~',
|
7
|
+
'work_times' => {
|
8
|
+
'work_start' => '9:30',
|
9
|
+
'lunch_break_start' => '13:00',
|
10
|
+
'lunch_break_end' => '13:30',
|
11
|
+
'work_end' => '18:00'
|
12
|
+
}
|
13
|
+
}.freeze
|
14
|
+
|
15
|
+
def initialize
|
16
|
+
@worklog_file = '~/worklog'
|
17
|
+
if File.exist?(CONFIG_FILE)
|
18
|
+
@config = load_configuration
|
19
|
+
else
|
20
|
+
@config = DEFAULT_CONFIGURATION
|
21
|
+
save_configuration
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def worklog_file
|
26
|
+
File.expand_path(@worklog_file)
|
27
|
+
end
|
28
|
+
|
29
|
+
def projects_directory
|
30
|
+
File.expand_path(@config['projects_directory'])
|
31
|
+
end
|
32
|
+
|
33
|
+
def work_times
|
34
|
+
@config['work_times'].map { |k, v| [k.to_sym, v.split(':').map(&:to_i)] }
|
35
|
+
end
|
36
|
+
|
37
|
+
def save_configuration
|
38
|
+
File.open(CONFIG_FILE, 'w') { |f| YAML.dump(@config, f) }
|
39
|
+
end
|
40
|
+
|
41
|
+
def load_configuration
|
42
|
+
File.open(CONFIG_FILE) { |f| YAML.safe_load(f) }
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'csv'
|
2
|
+
require 'pry'
|
3
|
+
|
4
|
+
class Herodot::Parser
|
5
|
+
class << self
|
6
|
+
def parse(range, config)
|
7
|
+
worklog = Herodot::Worklog.new(config)
|
8
|
+
from, to = from_to_from_range(range)
|
9
|
+
CSV.foreach(config.worklog_file, col_sep: ';') do |row|
|
10
|
+
next if row[2] == 'HEAD'
|
11
|
+
time = Time.parse(row[0])
|
12
|
+
worklog.add_entry(time, row[1], row[2]) if time >= from && time <= to
|
13
|
+
end
|
14
|
+
worklog
|
15
|
+
end
|
16
|
+
|
17
|
+
def from_to_from_range(range)
|
18
|
+
return [range, Time.now] unless range.respond_to?(:begin) && range.respond_to?(:end)
|
19
|
+
[range.begin, range.end + 3600]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require 'terminal-table'
|
2
|
+
|
3
|
+
class Herodot::Table
|
4
|
+
HEADERS = %w(Project Branch Time).freeze
|
5
|
+
|
6
|
+
class << self
|
7
|
+
def format_time(time_is_seconds)
|
8
|
+
total_seconds = time_is_seconds.to_i
|
9
|
+
seconds = total_seconds % 60
|
10
|
+
minutes = (total_seconds / 60) % 60
|
11
|
+
hours = total_seconds / (60 * 60)
|
12
|
+
"#{hours}:#{minutes.to_s.rjust(2, '0')}:#{seconds.to_s.rjust(2, '0')}"
|
13
|
+
end
|
14
|
+
|
15
|
+
def print(worklogs_totals_per_day)
|
16
|
+
Terminal::Table.new(headings: HEADERS) do |table|
|
17
|
+
worklogs_totals_per_day.each do |date, times|
|
18
|
+
table.add_separator
|
19
|
+
table << [date]
|
20
|
+
table.add_separator
|
21
|
+
print_day(times).each { |row| table << row }
|
22
|
+
table.add_separator
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def print_day(times)
|
30
|
+
times.values.group_by { |log| log[:project] }.flat_map do |_, logs|
|
31
|
+
logs.map do |log|
|
32
|
+
[log[:project], log[:branch], format_time(log[:time])]
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
class Herodot::Worklog
|
2
|
+
attr_reader :branches
|
3
|
+
END_TRACK_EVENTS = [:work_end, :lunch_break_start, :after_last_dates_end].freeze
|
4
|
+
START_TRACK_EVNETS = [:work_start, :lunch_break_end, :before_first_dates_start].freeze
|
5
|
+
EVENTS = (END_TRACK_EVENTS + START_TRACK_EVNETS).freeze
|
6
|
+
|
7
|
+
def initialize(config)
|
8
|
+
@raw_logs = []
|
9
|
+
@branches = {}
|
10
|
+
@dates = []
|
11
|
+
@config = config
|
12
|
+
end
|
13
|
+
|
14
|
+
def add_entry(time, project_path, branch)
|
15
|
+
project = project_path.gsub(@config.projects_directory.to_s, '')
|
16
|
+
id = "#{project}:#{branch}"
|
17
|
+
@raw_logs << { time: time, id: id }
|
18
|
+
@branches[id] = { branch: branch, project: project }
|
19
|
+
end
|
20
|
+
|
21
|
+
def logs_with_events
|
22
|
+
filtered_logs = @raw_logs.chunk { |x| x[:id] }.map(&:last).map(&:first)
|
23
|
+
filtered_logs += work_time_events
|
24
|
+
filtered_logs << { time: Time.new(0), id: :before_first_dates_start }
|
25
|
+
filtered_logs << { time: Time.now, id: :after_last_dates_end }
|
26
|
+
filtered_logs.sort_by { |log| log[:time] }
|
27
|
+
end
|
28
|
+
|
29
|
+
def logs_with_times
|
30
|
+
current_id = nil
|
31
|
+
logs_with_events.each_cons(2).map do |log, following_log|
|
32
|
+
current_id = log[:id] unless EVENTS.include?(log[:id])
|
33
|
+
log.merge id: actual_id(current_id, log[:id]),
|
34
|
+
time: time_between(log, following_log),
|
35
|
+
date: log[:time].to_date
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def logs_with_times_cleaned
|
40
|
+
logs_with_times.reject { |log| EVENTS.include?(log[:id]) }
|
41
|
+
end
|
42
|
+
|
43
|
+
def totals
|
44
|
+
grouped = logs_with_times_cleaned.group_by { |time| time[:date] }
|
45
|
+
dates.map do |date|
|
46
|
+
time_sums = grouped[date].each_with_object({}) do |time, sums|
|
47
|
+
id = time[:id]
|
48
|
+
sums[id] ||= { time: 0, project: @branches.dig(id, :project), branch: @branches.dig(id, :branch) }
|
49
|
+
sums[id][:time] += time[:time]
|
50
|
+
end
|
51
|
+
[date, time_sums]
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def dates
|
56
|
+
@raw_logs.map { |log| log[:time].to_date }.uniq.sort
|
57
|
+
end
|
58
|
+
|
59
|
+
def work_time_events
|
60
|
+
dates.flat_map do |date|
|
61
|
+
@config.work_times.map do |event, (hour, minute)|
|
62
|
+
{
|
63
|
+
id: event,
|
64
|
+
time: Time.new(date.year, date.month, date.day, hour, minute)
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def same_date?(log_entry, other_log_entry)
|
71
|
+
log_entry[:time].to_date == other_log_entry[:time].to_date
|
72
|
+
end
|
73
|
+
|
74
|
+
def time_between(log_entry, following_entry)
|
75
|
+
return 0 unless same_date?(log_entry, following_entry)
|
76
|
+
following_entry[:time] - log_entry[:time]
|
77
|
+
end
|
78
|
+
|
79
|
+
def actual_id(current_id, id)
|
80
|
+
END_TRACK_EVENTS.include?(id) ? id : current_id || id
|
81
|
+
end
|
82
|
+
end
|
data/lib/herodot.rb
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler/setup'
|
3
|
+
require 'herodot/version'
|
4
|
+
require 'herodot/configuration'
|
5
|
+
require 'herodot/worklog'
|
6
|
+
require 'herodot/parser'
|
7
|
+
require 'herodot/commands'
|
8
|
+
require 'herodot/table'
|
9
|
+
require 'commander'
|
10
|
+
|
11
|
+
class Herodot::Application
|
12
|
+
include Commander::Methods
|
13
|
+
USER_HOME = File.expand_path('~').to_s
|
14
|
+
|
15
|
+
def run
|
16
|
+
program :name, 'herodot'
|
17
|
+
program :version, Herodot::VERSION
|
18
|
+
program :description, 'Tracks your work based on git branch checkouts'
|
19
|
+
|
20
|
+
config = Herodot::Configuration.new
|
21
|
+
track_command(config)
|
22
|
+
show_command(config)
|
23
|
+
default_command :show
|
24
|
+
run!
|
25
|
+
end
|
26
|
+
|
27
|
+
TRACK_DESCRIPTION = 'This command sets up post commit and post checkout hooks'\
|
28
|
+
', that will log the current branch into the worklog file.'.freeze
|
29
|
+
def track_command(config)
|
30
|
+
command :track do |c|
|
31
|
+
c.syntax = 'herodot track <repository path>'
|
32
|
+
c.summary = 'Start tracking a repository'
|
33
|
+
c.description = TRACK_DESCRIPTION
|
34
|
+
c.example 'Start tracking current repository', 'herodot track'
|
35
|
+
c.action do |args, _|
|
36
|
+
Herodot::Commands.track(args[0], config)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
SHOW_DESCRIPTION = 'This command parses the worklog file and returns the'\
|
42
|
+
'git branch based worklog according to the'\
|
43
|
+
'work times specified in the `~/.herodot.yml`.'.freeze
|
44
|
+
def show_command(config)
|
45
|
+
command :show do |c|
|
46
|
+
c.syntax = 'herodot show [<time range>]'
|
47
|
+
c.summary = 'Shows worklogs'
|
48
|
+
c.description = SHOW_DESCRIPTION
|
49
|
+
show_command_examples(c)
|
50
|
+
c.action do |args, _options|
|
51
|
+
Herodot::Commands.show(args, config)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
def show_command_examples(c)
|
57
|
+
c.example 'Shows this weeks worklogs', 'herodot show'
|
58
|
+
c.example 'Shows last weeks worklogs', 'herodot show last week'
|
59
|
+
c.example 'Shows worklogs for last monday', 'herodot show monday'
|
60
|
+
c.example 'Shows worklogs for 12-12-2016', 'herodot show 12-12-2016'
|
61
|
+
end
|
62
|
+
end
|
data/post-checkout
ADDED
metadata
ADDED
@@ -0,0 +1,206 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: herodot
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- bitcrowd
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-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.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
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: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
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: rubocop-rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
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: rubocop-bitcrowd
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
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: pry
|
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: terminal-table
|
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: chronic
|
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
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: commander
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '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'
|
153
|
+
description: With herodot you can track the times you spend on a git branch. When
|
154
|
+
using a branch for each ticket you work on, herodot helps you with your time tracking.
|
155
|
+
email:
|
156
|
+
- info@bitcrowd.net
|
157
|
+
executables:
|
158
|
+
- herodot
|
159
|
+
extensions: []
|
160
|
+
extra_rdoc_files: []
|
161
|
+
files:
|
162
|
+
- ".gitignore"
|
163
|
+
- ".rspec"
|
164
|
+
- ".rubocop.yml"
|
165
|
+
- ".travis.yml"
|
166
|
+
- Gemfile
|
167
|
+
- LICENSE.txt
|
168
|
+
- README.md
|
169
|
+
- Rakefile
|
170
|
+
- bin/console
|
171
|
+
- bin/setup
|
172
|
+
- exe/herodot
|
173
|
+
- herodot.gemspec
|
174
|
+
- lib/herodot.rb
|
175
|
+
- lib/herodot/commands.rb
|
176
|
+
- lib/herodot/configuration.rb
|
177
|
+
- lib/herodot/parser.rb
|
178
|
+
- lib/herodot/table.rb
|
179
|
+
- lib/herodot/version.rb
|
180
|
+
- lib/herodot/worklog.rb
|
181
|
+
- post-checkout
|
182
|
+
homepage: https://github.com/bitcrowd/herodot
|
183
|
+
licenses:
|
184
|
+
- MIT
|
185
|
+
metadata: {}
|
186
|
+
post_install_message:
|
187
|
+
rdoc_options: []
|
188
|
+
require_paths:
|
189
|
+
- lib
|
190
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
requirements: []
|
201
|
+
rubyforge_project:
|
202
|
+
rubygems_version: 2.6.10
|
203
|
+
signing_key:
|
204
|
+
specification_version: 4
|
205
|
+
summary: Track your work with your git activity.
|
206
|
+
test_files: []
|