toggl-worktime 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.rubocop.yml +10 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +63 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/exe/toggle-worktime +31 -0
- data/lib/toggl/worktime/driver.rb +46 -0
- data/lib/toggl/worktime/merger.rb +53 -0
- data/lib/toggl/worktime/time.rb +17 -0
- data/lib/toggl/worktime/version.rb +7 -0
- data/lib/toggl/worktime.rb +14 -0
- data/toggl-worktime.gemspec +36 -0
- metadata +203 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 256cca99041a13fef58fb424eb16b00239756366
|
4
|
+
data.tar.gz: 6e29f02581c73026b8a63d05a0a2a7f25fa65a11
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1df46eb775b15f3e364729089237c88fdf0701cde43c7913001bd23ea955eb7cc22407478000b1f7582b4fec1375fca5377d5a7bca101c5dca8b2583c44fb260
|
7
|
+
data.tar.gz: cc7fc4a6d780c567c553afaa608f0aacd429414d8f2ba859db8dc7c2882a93bbba2f8c3e969e271ca9061d788e6427cc6ca66d2123004019b7031b161ed3055f
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at limit.usus@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 limitusus
|
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,63 @@
|
|
1
|
+
# Toggl::Worktime
|
2
|
+
|
3
|
+
This gem provides a command `toggl-worktime`, that summarises your Toggl time entries into working time chunks, which is useful for reporting your working hours.
|
4
|
+
You can easily report your working hours from its output.
|
5
|
+
|
6
|
+
Weekday
|
7
|
+
|
8
|
+
```console
|
9
|
+
$ toggle-worktime 6 12
|
10
|
+
Tomoya Kabe
|
11
|
+
worktime
|
12
|
+
2017-06-12 09:54:34 - 2017-06-12 12:40:45
|
13
|
+
2017-06-12 13:29:09 - 2017-06-12 19:23:23
|
14
|
+
```
|
15
|
+
|
16
|
+
Weekend
|
17
|
+
|
18
|
+
```console
|
19
|
+
$ toggle-worktime 6 10
|
20
|
+
Tomoya Kabe
|
21
|
+
worktime
|
22
|
+
nil - nil
|
23
|
+
```
|
24
|
+
|
25
|
+
## Installation
|
26
|
+
|
27
|
+
Add this line to your application's Gemfile:
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
gem 'toggl-worktime'
|
31
|
+
```
|
32
|
+
|
33
|
+
And then execute:
|
34
|
+
|
35
|
+
$ bundle
|
36
|
+
|
37
|
+
Or install it yourself as:
|
38
|
+
|
39
|
+
$ gem install toggl-worktime
|
40
|
+
|
41
|
+
## Usage
|
42
|
+
|
43
|
+
```console
|
44
|
+
toggl-worktime MONTH DAY
|
45
|
+
```
|
46
|
+
|
47
|
+
## Development
|
48
|
+
|
49
|
+
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.
|
50
|
+
|
51
|
+
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).
|
52
|
+
|
53
|
+
## Contributing
|
54
|
+
|
55
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/limitusus/toggl-worktime. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
56
|
+
|
57
|
+
## License
|
58
|
+
|
59
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
60
|
+
|
61
|
+
## Code of Conduct
|
62
|
+
|
63
|
+
Everyone interacting in the Toggl::Worktime project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/limitusus/toggl-worktime/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'toggl/worktime'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/toggle-worktime
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
$LOAD_PATH << File.expand_path("#{File.dirname __FILE__}/../lib")
|
5
|
+
|
6
|
+
require 'bundler'
|
7
|
+
Bundler.require
|
8
|
+
|
9
|
+
require 'rubygems'
|
10
|
+
require 'toggl/worktime'
|
11
|
+
|
12
|
+
Version = Toggl::Worktime::VERSION
|
13
|
+
MAX_WORKING_INTERVAL = 10
|
14
|
+
DAY_BEGIN_HOUR = 6
|
15
|
+
DEFAULT_TIMEZONE = 'Asia/Tokyo'
|
16
|
+
ONE_DAY_MINUTES = 24 * 60
|
17
|
+
|
18
|
+
driver = Toggl::Worktime::Driver.new
|
19
|
+
|
20
|
+
month = ARGV[0].to_i
|
21
|
+
day = ARGV[1].to_i
|
22
|
+
hour = DAY_BEGIN_HOUR
|
23
|
+
timezone = DEFAULT_TIMEZONE
|
24
|
+
|
25
|
+
driver.merge!(month, day, hour, timezone)
|
26
|
+
user = driver.me
|
27
|
+
|
28
|
+
puts user['fullname']
|
29
|
+
puts 'worktime'
|
30
|
+
|
31
|
+
driver.write
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Toggl
|
4
|
+
module Worktime
|
5
|
+
# Toggle API driver
|
6
|
+
class Driver
|
7
|
+
attr_reader :toggl
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
@toggl = TogglV8::API.new
|
11
|
+
@merger = nil
|
12
|
+
@work_time = nil
|
13
|
+
end
|
14
|
+
|
15
|
+
def time_entries(month, day, hour, timezone)
|
16
|
+
now = DateTime.now
|
17
|
+
offset = Toggl::Worktime::Time.zone_offset(timezone)
|
18
|
+
beginning_day = DateTime.new(now.year, month, day, hour, 0, 0, offset)
|
19
|
+
ending_day = beginning_day + 1
|
20
|
+
toggl.get_time_entries(start_date: beginning_day.iso8601, end_date: ending_day.iso8601)
|
21
|
+
end
|
22
|
+
|
23
|
+
def me
|
24
|
+
@toggl.me(true)
|
25
|
+
end
|
26
|
+
|
27
|
+
def merge!(month, day, hour, timezone)
|
28
|
+
time_entries = time_entries(month, day, hour, timezone)
|
29
|
+
@merger = Toggl::Worktime::Merger.new(time_entries)
|
30
|
+
@work_time = @merger.merge
|
31
|
+
end
|
32
|
+
|
33
|
+
def write
|
34
|
+
@work_time.each do |span|
|
35
|
+
begin_s = time_expr(span[0])
|
36
|
+
end_s = time_expr(span[1])
|
37
|
+
puts "#{begin_s} - #{end_s}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def time_expr(t)
|
42
|
+
t ? t.strftime('%F %T') : 'nil'
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Toggl
|
4
|
+
module Worktime
|
5
|
+
# Time-entries merger
|
6
|
+
class Merger
|
7
|
+
def initialize(time_entries)
|
8
|
+
@time_entries = time_entries
|
9
|
+
@current_start = nil
|
10
|
+
@current_stop = nil
|
11
|
+
@continuing = true
|
12
|
+
@last_stop = nil
|
13
|
+
end
|
14
|
+
|
15
|
+
def merge
|
16
|
+
work_time = []
|
17
|
+
time_entries_each do |start, stop|
|
18
|
+
if continuing(start)
|
19
|
+
@current_stop = stop
|
20
|
+
next
|
21
|
+
end
|
22
|
+
work_time << [@current_start, @current_stop]
|
23
|
+
@current_start = start
|
24
|
+
@current_stop = nil
|
25
|
+
end
|
26
|
+
work_time << [@current_start, @last_stop]
|
27
|
+
work_time
|
28
|
+
end
|
29
|
+
|
30
|
+
def time_entries_each
|
31
|
+
zone_offset = Toggl::Worktime::Time.zone_offset(DEFAULT_TIMEZONE)
|
32
|
+
@time_entries.each do |te|
|
33
|
+
start = parse_date(te['start'], zone_offset)
|
34
|
+
stop = parse_date(te['stop'], zone_offset)
|
35
|
+
@last_stop = stop
|
36
|
+
@current_start = start if @current_start.nil?
|
37
|
+
@current_stop = stop if @current_stop.nil?
|
38
|
+
yield [start, stop]
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def parse_date(date, zone_offset)
|
43
|
+
return nil if date.nil?
|
44
|
+
DateTime.parse(date).new_offset(zone_offset)
|
45
|
+
end
|
46
|
+
|
47
|
+
def continuing(start)
|
48
|
+
interval = (start - @current_stop) * ONE_DAY_MINUTES
|
49
|
+
@continuing = interval < MAX_WORKING_INTERVAL
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Toggl
|
4
|
+
module Worktime
|
5
|
+
# Timezone
|
6
|
+
module Time
|
7
|
+
# rational
|
8
|
+
def self.zone_offset(timezone)
|
9
|
+
tz = ENV['TZ']
|
10
|
+
ENV['TZ'] = timezone
|
11
|
+
offset = DateTime.now.offset
|
12
|
+
ENV['TZ'] = tz
|
13
|
+
offset
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'togglv8'
|
4
|
+
require 'json'
|
5
|
+
require 'toggl/worktime/version'
|
6
|
+
require 'toggl/worktime/merger'
|
7
|
+
require 'toggl/worktime/time'
|
8
|
+
require 'toggl/worktime/driver'
|
9
|
+
|
10
|
+
module Toggl
|
11
|
+
# Main module
|
12
|
+
module Worktime
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
lib = File.expand_path('../lib', __FILE__)
|
5
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
require 'toggl/worktime/version'
|
7
|
+
|
8
|
+
Gem::Specification.new do |spec|
|
9
|
+
spec.name = 'toggl-worktime'
|
10
|
+
spec.version = Toggl::Worktime::VERSION
|
11
|
+
spec.authors = ['Tomoya KABE']
|
12
|
+
spec.email = ['limit.usus@gmail.com']
|
13
|
+
|
14
|
+
spec.summary = 'Summarise Toggl Time Entries',
|
15
|
+
spec.description = 'Summarise Toggl Time Entries',
|
16
|
+
spec.homepage = 'https://github.com/limitusus/toggl-worktime'
|
17
|
+
spec.license = 'MIT'
|
18
|
+
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
|
+
f.match(%r{^(test|spec|features)/})
|
21
|
+
end
|
22
|
+
spec.bindir = 'exe'
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
+
spec.require_paths = ['lib']
|
25
|
+
|
26
|
+
spec.add_dependency 'togglv8'
|
27
|
+
spec.add_dependency 'tzinfo'
|
28
|
+
spec.add_dependency 'time_with_zone'
|
29
|
+
spec.add_development_dependency 'awesome_print'
|
30
|
+
spec.add_development_dependency 'pry'
|
31
|
+
spec.add_development_dependency 'rb-readline'
|
32
|
+
spec.add_development_dependency 'rubocop'
|
33
|
+
spec.add_development_dependency 'bundler', '~> 1.15'
|
34
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
35
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: toggl-worktime
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tomoya KABE
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-07-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: togglv8
|
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: tzinfo
|
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: time_with_zone
|
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: awesome_print
|
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: pry
|
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: rb-readline
|
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: rubocop
|
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: bundler
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.15'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.15'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '10.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '10.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
description: Summarise Toggl Time Entries
|
154
|
+
email:
|
155
|
+
- limit.usus@gmail.com
|
156
|
+
executables:
|
157
|
+
- toggle-worktime
|
158
|
+
extensions: []
|
159
|
+
extra_rdoc_files: []
|
160
|
+
files:
|
161
|
+
- ".gitignore"
|
162
|
+
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
164
|
+
- ".travis.yml"
|
165
|
+
- CODE_OF_CONDUCT.md
|
166
|
+
- Gemfile
|
167
|
+
- LICENSE.txt
|
168
|
+
- README.md
|
169
|
+
- Rakefile
|
170
|
+
- bin/console
|
171
|
+
- bin/setup
|
172
|
+
- exe/toggle-worktime
|
173
|
+
- lib/toggl/worktime.rb
|
174
|
+
- lib/toggl/worktime/driver.rb
|
175
|
+
- lib/toggl/worktime/merger.rb
|
176
|
+
- lib/toggl/worktime/time.rb
|
177
|
+
- lib/toggl/worktime/version.rb
|
178
|
+
- toggl-worktime.gemspec
|
179
|
+
homepage: https://github.com/limitusus/toggl-worktime
|
180
|
+
licenses:
|
181
|
+
- MIT
|
182
|
+
metadata: {}
|
183
|
+
post_install_message:
|
184
|
+
rdoc_options: []
|
185
|
+
require_paths:
|
186
|
+
- lib
|
187
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
requirements: []
|
198
|
+
rubyforge_project:
|
199
|
+
rubygems_version: 2.6.11
|
200
|
+
signing_key:
|
201
|
+
specification_version: 4
|
202
|
+
summary: '["Summarise Toggl Time Entries", "Summarise Toggl Time Entries", "https://github.com/limitusus/toggl-worktime"]'
|
203
|
+
test_files: []
|