luxafor-toggl 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e008e5f5cdb90b0a8fbf5fff16a62de4a8587d50e828fe59db7dfd1e401c48b2
4
+ data.tar.gz: 6d7c7490fd2ba3ba815baa80b4b540ac341cee73238c25e69bb33110112b0af2
5
+ SHA512:
6
+ metadata.gz: c7d4435141f9986048a031c01b23b6d359f14af630ed2a44b7a09e1bb39bf1530a5ef667cd9450abbc2cf9b9af48332715a82604fed0f59a2f5a987aac3aee64
7
+ data.tar.gz: 6bb066191cb050aceda7efd50fa57c73ff5b27a185e3161f5841bf3fadafff6c7af6909a071c059ad32f3e9b3abd091a26abfcbca23a635b7fd60ed4aa58d8e4
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.3
7
+ before_install: gem install bundler -v 2.0.2
@@ -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 gabriel@zero-one.io. 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
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in luxafor-toggl.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # Luxafor Toggl Syncer
2
+
3
+ This is a small utility to synchronise your [Luxafor Flag](https://luxafor.com/flag-usb-busylight-availability-indicator/) with your [Toggl activity](https://toggl.com)
4
+
5
+ * The utility will turn your flag red if you're busy tracking time to indicate that you're busy
6
+ * The utility will turn your flag green you have stopped tracking time to indicate that you're free
7
+ * The utility will switch off your flag if you haven't tracked any time within 2 hours to indicate that you're idle
8
+
9
+ **NOTE** It might work with other webhook enabled Luxafor devices. I don't have any other ones besides the flag, which is a pretty cool gadget.
10
+
11
+ ## Installation
12
+
13
+ This gem is not meant for integration into a project via a Gemfile. It is meant for running as a standalone utility.
14
+
15
+ ```shell
16
+ gem install luxafor-toggl
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```shell
22
+ export LUXAFOR_KEY=abc123 # Get me from your luxafor app webhook settings
23
+ export TOGGL_KEY=123abc # Get me from your toggl user account
24
+
25
+ luxafor-toggl
26
+ ```
27
+
28
+ ### Cron Usage
29
+
30
+ Have it sync once every 2 minutes
31
+
32
+ ```cron
33
+ */2 * * * * LUXAFOR_KEY=abc123 TOGGL_KEY=123abc /path/to/luxafor-toggl
34
+ ```
35
+
36
+ ### Configuration
37
+
38
+ You can control certain aspects of the utility by setting a few environment variables:
39
+
40
+ * `LUXAFOR_KEY`: Required for controlling your Luxafor flag
41
+ * `TOGGL_KEY`: Required for reading from your Toggl account
42
+ * `LUXAFOR_TOGGL_STATE_FILE`: Optional. Default: `/tmp/myuser-luxafor-toggl-state.json`. Keeps state between runs. Delete this file to reset the utility's state.
43
+ * `LUXAFOR_TOGGL_IDLE_TIME`: Optional. Default: `7200`. Time in seconds before you're considered idle.
44
+
45
+ ## Development
46
+
47
+ 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.
48
+
49
+ 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).
50
+
51
+ ## Contributing
52
+
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/gee-forr/luxafor-toggl. 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.
54
+
55
+ ## Code of Conduct
56
+
57
+ Everyone interacting in the Luxafor::Toggl project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/gee-forr/luxafor-toggl/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "awesome_print"
6
+ require "luxafor/toggl"
7
+
8
+ def client
9
+ @client ||= Luxafor::Toggl::Client.new
10
+ end
11
+
12
+ # (If you use this, don't forget to add pry to your Gemfile!)
13
+ require "pry"
14
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/luxafor-toggl ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'luxafor/toggl'
4
+
5
+ client = Luxafor::Toggl::Client.new
6
+
7
+ client.execute!
@@ -0,0 +1,63 @@
1
+ require "awesome_print"
2
+ require "date"
3
+ require "value_semantics"
4
+
5
+ require 'luxafor'
6
+ require 'togglv8'
7
+
8
+ require "luxafor/toggl/version"
9
+ require "luxafor/toggl/client"
10
+ require "luxafor/toggl/state"
11
+
12
+ # As of Apr 2020, because of a 1/2 removed awesome print dep in the gem which hasnt been released.
13
+ # See https://github.com/kanet77/togglv8/issues/17
14
+ class Logger
15
+ def ap(*args, **kwargs, &block)
16
+ true
17
+ end
18
+ end
19
+
20
+ module Luxafor
21
+ module Toggl
22
+ class Error < StandardError; end
23
+
24
+ extend self
25
+
26
+ EXPECTED_ERRORS = [
27
+ # Filelock::ExecTimeout,
28
+ # Filelock::WaitTimeout,
29
+ # KeyError,
30
+ # Oj::Error,
31
+ # Oj::ParseError,
32
+ # Oj::DepthError,
33
+ # Oj::LoadError,
34
+ # ValueSemantics::MissingAttributes,
35
+ ].freeze
36
+
37
+ attr_writer :toggl_key, :luxafor_key, :state_file, :idle_time
38
+
39
+ def toggl_key
40
+ @toggl_key || ENV.fetch('TOGGL_KEY')
41
+ end
42
+
43
+ def luxafor_key
44
+ @luxafor_key || ENV.fetch('LUXAFOR_KEY')
45
+ end
46
+
47
+ def state_file
48
+ @state ||= ENV.fetch("LUXAFOR_TOGGL_STATE_FILE", "/tmp/#{Etc.getpwuid(Process.euid).name}-luxafor-toggl-state.json")
49
+ end
50
+
51
+ def idle_time
52
+ @idle_time ||= ENV.fetch("LUXAFOR_TOGGL_IDLE_TIME", 60 * 60 * 2).to_i # Default is 2 hours before you're idle
53
+ end
54
+
55
+ def toggl_client
56
+ @toggl_client ||= TogglV8::API.new(toggl_key)
57
+ end
58
+
59
+ def luxafor_client
60
+ @luxafor_client ||= Luxafor::Client.new(luxafor_key)
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,43 @@
1
+ module Luxafor
2
+ module Toggl
3
+ class Client
4
+ def initialize(toggl: Luxafor::Toggl.toggl_client, luxafor: Luxafor::Toggl.luxafor_client, state: Luxafor::Toggl::state_file)
5
+ @toggl = toggl
6
+ @luxafor = luxafor
7
+ @state_file = state
8
+ end
9
+
10
+ def execute!
11
+ return false unless current_state.sufficiently_different_from?(stored_state)
12
+
13
+ luxafor.on(current_state.colour)
14
+
15
+ current_state.store!(state_file)
16
+
17
+ true
18
+ end
19
+
20
+ private
21
+
22
+ attr_reader :toggl, :luxafor, :state_file
23
+
24
+ def latest_task
25
+ start = DateTime.now - 1
26
+ @_latest_task = toggl.get_time_entries(start_date: start).last
27
+ end
28
+
29
+ def current_state
30
+ @_current_state ||= State.new_from_task(latest_task)
31
+ end
32
+
33
+ def stored_state
34
+ return State.new unless File.exist?(state_file)
35
+
36
+ file_contents = File.new(state_file).read.to_s
37
+ state_json = Oj.load(file_contents)
38
+
39
+ State.new(state: state_json['state'], as_of: state_json['as_of'])
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,92 @@
1
+ module Luxafor
2
+ module Toggl
3
+ class State
4
+ DEFAULT_TIME = DateTime.parse('2000-01-01 00:00:00')
5
+
6
+ include ValueSemantics.for_attributes {
7
+ state Symbol, default: :idle, coerce: true
8
+ as_of DateTime, default: DEFAULT_TIME, coerce: true
9
+ }
10
+
11
+ def self.coerce_state(value)
12
+ value.to_sym
13
+ end
14
+
15
+ def self.coerce_as_of(value)
16
+ return value if value.is_a? DateTime
17
+
18
+ DateTime.parse(value)
19
+ end
20
+
21
+ def self.new_from_task(task)
22
+ instance = allocate
23
+
24
+ instance.initialize_from_task(task)
25
+ instance
26
+ end
27
+
28
+ def initialize_from_task(task)
29
+ @state = determine_state_from_task(task)
30
+ @as_of = determine_as_of_from_task(task)
31
+ end
32
+
33
+ def sufficiently_different_from?(other_state)
34
+ return true if @state != other_state.state
35
+
36
+ false
37
+ end
38
+
39
+ def colour
40
+ case state
41
+ when :idle
42
+ '000000'
43
+ when :busy
44
+ 'FF0000'
45
+ when :available
46
+ '00FF00'
47
+ end
48
+ end
49
+
50
+ def store!(destination)
51
+ data = {
52
+ 'state' => state,
53
+ 'as_of' => as_of.to_s,
54
+ }
55
+
56
+ File.unlink(destination) if File.exist?(destination)
57
+
58
+ File.open(destination, 'w') do |f|
59
+ f.write(Oj.dump(data))
60
+ end
61
+ end
62
+
63
+ private
64
+
65
+ def determine_state_from_task(task)
66
+ return :idle if task.nil? # There is no latest task at all...
67
+ return :busy unless task.key? 'stop' # There's a task with no stop time, still in progress.
68
+
69
+ now = DateTime.now.to_time.to_i
70
+ stopped_at = DateTime.parse(task['stop']).to_time.to_i
71
+
72
+ (now - stopped_at) >= Luxafor::Toggl.idle_time ? :idle : :available
73
+ end
74
+
75
+ def determine_as_of_from_task(task)
76
+ state = determine_state_from_task(task)
77
+
78
+ if state == :busy
79
+ DateTime.parse(task['start'])
80
+ elsif state == :available
81
+ DateTime.parse(task['stop'])
82
+ elsif state == :idle
83
+ return DEFAULT_TIME if task.nil?
84
+
85
+ DateTime.parse(task['stop'])
86
+ else
87
+ raise "Cannot determine as_of from task in state #{state}: #{task}"
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,5 @@
1
+ module Luxafor
2
+ module Toggl
3
+ VERSION = '1.0.0'.freeze
4
+ end
5
+ end
@@ -0,0 +1,42 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "luxafor/toggl/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "luxafor-toggl"
7
+ spec.version = Luxafor::Toggl::VERSION
8
+ spec.authors = ["Gabriel Fortuna"]
9
+ spec.email = ["gabriel@zero-one.io"]
10
+
11
+ spec.summary = "Integrate your Luxafor flag with your toggl account"
12
+ spec.description = "A simple utility to integrate and sync your Toggl activity with your Luxafor flag"
13
+ spec.homepage = "https://www.zero-one.io"
14
+ spec.licenses = "MIT"
15
+
16
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "https://github.com/gee-forr/luxafor-toggl"
20
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
27
+
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_development_dependency 'awesome_print', '~> 1'
33
+ spec.add_development_dependency 'bundler', '~> 2.0'
34
+ spec.add_development_dependency 'pry', '0.13.1'
35
+ spec.add_development_dependency 'rake', '~> 10.0'
36
+ spec.add_development_dependency 'rspec', '~> 3.0'
37
+
38
+ spec.add_dependency 'luxafor', '~> 0.1.0'
39
+ spec.add_dependency 'oj', '~> 3.10', '>= 3.10.6'
40
+ spec.add_dependency 'togglv8', '~> 1.2', '>= 1.2.1'
41
+ spec.add_dependency 'value_semantics', '~> 3.2'
42
+ end
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: luxafor-toggl
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Gabriel Fortuna
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-04-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: awesome_print
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.13.1
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.13.1
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: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: luxafor
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.1.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.1.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: oj
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.10'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 3.10.6
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '3.10'
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 3.10.6
117
+ - !ruby/object:Gem::Dependency
118
+ name: togglv8
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '1.2'
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 1.2.1
127
+ type: :runtime
128
+ prerelease: false
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '1.2'
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 1.2.1
137
+ - !ruby/object:Gem::Dependency
138
+ name: value_semantics
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '3.2'
144
+ type: :runtime
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '3.2'
151
+ description: A simple utility to integrate and sync your Toggl activity with your
152
+ Luxafor flag
153
+ email:
154
+ - gabriel@zero-one.io
155
+ executables:
156
+ - luxafor-toggl
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".travis.yml"
163
+ - CODE_OF_CONDUCT.md
164
+ - Gemfile
165
+ - README.md
166
+ - Rakefile
167
+ - bin/console
168
+ - bin/setup
169
+ - exe/luxafor-toggl
170
+ - lib/luxafor/toggl.rb
171
+ - lib/luxafor/toggl/client.rb
172
+ - lib/luxafor/toggl/state.rb
173
+ - lib/luxafor/toggl/version.rb
174
+ - luxafor-toggl.gemspec
175
+ homepage: https://www.zero-one.io
176
+ licenses:
177
+ - MIT
178
+ metadata:
179
+ allowed_push_host: https://rubygems.org
180
+ homepage_uri: https://www.zero-one.io
181
+ source_code_uri: https://github.com/gee-forr/luxafor-toggl
182
+ post_install_message:
183
+ rdoc_options: []
184
+ require_paths:
185
+ - lib
186
+ required_ruby_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ requirements: []
197
+ rubyforge_project:
198
+ rubygems_version: 2.7.6
199
+ signing_key:
200
+ specification_version: 4
201
+ summary: Integrate your Luxafor flag with your toggl account
202
+ test_files: []