toggl-jobcan 0.4.3 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9a0d29a172b5206dab2feaa6ebd94642eb46dbb19769efebfb5d332fef57f58
4
- data.tar.gz: 3a0be46fb0e34dcb1869c929f308a26f66ed38017c9385012e7db21c710d4217
3
+ metadata.gz: 36eae63941b0dee9f41420d544f5cd974be16c955e65fe30f4a7b2fa242e979a
4
+ data.tar.gz: 5d0e32e6fd5e474d41edb5440bddfed62e1600ad82edcd07d64fe852a998c9e3
5
5
  SHA512:
6
- metadata.gz: 7f5efffcc023cfc684ab8fe4412ce214f9007a0386c880b28edca8580dfa1e3203c978631bc840c2c006b5f71d7018546ffc5b2d5f13e91018f05e0cde321092
7
- data.tar.gz: e2c2425c0a7604467d27cc61f466141722db85f73ec45131aa1503fdeb3101f25cebfd111c721cd48abff7a78b477481cb6c793618ca4af43e08e52b24fa485a
6
+ metadata.gz: f1ea1917a1298429755f82fa2b567600159c0f86e13e846769735e0066f34444fa911099c2a97b55dd589e2d9858264e212b1f89ddd2134cabd5319684f123c7
7
+ data.tar.gz: 023b5d74a1e592c9f080cbb54d6efdec5712d10128aa09597c049187640b81812466990b26fae4b254e9b0e8d29140741edad62f12c6ecd4190085fd70d9e73d
@@ -0,0 +1,25 @@
1
+ name: Run RSpec tests
2
+ on: [push]
3
+ jobs:
4
+ test:
5
+ strategy:
6
+ fail-fast: false
7
+ matrix:
8
+ os:
9
+ - ubuntu-latest
10
+ ruby:
11
+ - 3.2
12
+ - 3.3
13
+ - 3.4
14
+ runs-on: ${{ matrix.os }}
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: ${{ matrix.ruby }}
21
+ bundler: latest
22
+ bundler-cache: true
23
+ - name: Run tests
24
+ run: |
25
+ bundle exec rake spec
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
 
13
13
  /vendor/
14
14
  *~
15
+ Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -1,8 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## [0.4.3](https://github.com/limitusus/toggl-jobcan/tree/0.4.3) (2023-05-07)
3
+ ## [0.5.0](https://github.com/limitusus/toggl-jobcan/tree/0.5.0) (2024-06-02)
4
4
 
5
- [Full Changelog](https://github.com/limitusus/toggl-jobcan/compare/v0.4.2...0.4.3)
5
+ [Full Changelog](https://github.com/limitusus/toggl-jobcan/compare/v0.4.3...0.5.0)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Use the latest toggl-worktime for Toggl API v9 [\#26](https://github.com/limitusus/toggl-jobcan/pull/26) ([limitusus](https://github.com/limitusus))
10
+ - add Dockerfile [\#25](https://github.com/limitusus/toggl-jobcan/pull/25) ([hoshihaya](https://github.com/hoshihaya))
11
+
12
+ ## [v0.4.3](https://github.com/limitusus/toggl-jobcan/tree/v0.4.3) (2023-05-07)
13
+
14
+ [Full Changelog](https://github.com/limitusus/toggl-jobcan/compare/v0.4.2...v0.4.3)
6
15
 
7
16
  **Merged pull requests:**
8
17
 
data/Dockerfile ADDED
@@ -0,0 +1,31 @@
1
+ FROM selenium/standalone-chrome:115.0
2
+
3
+ RUN sudo apt-get update
4
+ RUN sudo apt-get install -y git vim unzip gcc libssl-dev libreadline-dev libz-dev patch build-essential make
5
+
6
+ ENV HOME /home/seluser
7
+ ENV ANYENV_ROOT $HOME/.anyenv
8
+ ENV RBENV_ROOT $HOME/.anyenv/envs/rbenv
9
+ ENV PATH $ANYENV_ROOT/bin:$PATH
10
+ ENV PATH $RBENV_ROOT/bin:$PATH
11
+ ENV PATH $RBENV_ROOT/shims:$PATH
12
+
13
+ # anyenv
14
+ RUN git clone https://github.com/riywo/anyenv $HOME/.anyenv
15
+ RUN mkdir -p $HOME/.config/anyenv
16
+ RUN git clone https://github.com/anyenv/anyenv-install $HOME/.config/anyenv/anyenv-install
17
+
18
+ # rbenv
19
+ RUN anyenv install rbenv
20
+ RUN git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
21
+
22
+ # ruby
23
+ RUN rbenv install 3.1.4
24
+ RUN rbenv global 3.1.4
25
+
26
+ # toggl-jobcan
27
+ RUN gem install selenium-webdriver -v 4.21.1
28
+ RUN gem install toggl-jobcan
29
+
30
+ ENTRYPOINT ["toggl-jobcan"]
31
+ CMD ["version"]
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Toggl::Jobcan
2
2
 
3
3
  ![](https://img.shields.io/gem/v/toggl-jobcan.svg?style=popout)
4
- [![Build Status](https://travis-ci.com/limitusus/toggl-jobcan.svg?branch=main)](https://travis-ci.com/limitusus/toggl-jobcan)
5
4
 
6
5
  This gem provides `toggl-jobcan` command, which synchronises working time data in Toggl to JobCan.
7
6
 
data/Rakefile CHANGED
@@ -12,5 +12,5 @@ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
12
12
  config.user = 'limitusus'
13
13
  config.project = 'toggl-jobcan'
14
14
  config.since_tag = 'v0.1.0'
15
- config.future_release = '0.4.3'
15
+ config.future_release = '0.5.0'
16
16
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Toggl
4
4
  module Jobcan
5
- VERSION = '0.4.3'
5
+ VERSION = '0.6.0'
6
6
  end
7
7
  end
data/toggl-jobcan.gemspec CHANGED
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency 'selenium-webdriver'
26
26
  spec.add_dependency 'thor'
27
- spec.add_dependency 'toggl-worktime', '~> 0.4.0', '>= 0.4.1'
27
+ spec.add_dependency 'toggl-worktime', '~> 0.6.0', '>= 0.6.0'
28
28
  spec.add_dependency 'webdrivers'
29
- spec.add_development_dependency 'bundler', '~> 2.2.0'
29
+ spec.add_development_dependency 'bundler'
30
30
  spec.add_development_dependency 'github_changelog_generator'
31
31
  spec.add_development_dependency 'pry'
32
32
  spec.add_development_dependency 'pry-byebug'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toggl-jobcan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomoya Kabe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-07 00:00:00.000000000 Z
11
+ date: 2025-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -44,20 +44,20 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.0
47
+ version: 0.6.0
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 0.4.1
50
+ version: 0.6.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: 0.4.0
57
+ version: 0.6.0
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 0.4.1
60
+ version: 0.6.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: webdrivers
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -76,16 +76,16 @@ dependencies:
76
76
  name: bundler
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: 2.2.0
81
+ version: '0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - "~>"
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: 2.2.0
88
+ version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: github_changelog_generator
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -164,14 +164,14 @@ executables:
164
164
  extensions: []
165
165
  extra_rdoc_files: []
166
166
  files:
167
+ - ".github/workflows/rspec.yml"
167
168
  - ".gitignore"
168
169
  - ".rspec"
169
170
  - ".rubocop.yml"
170
- - ".travis.yml"
171
171
  - CHANGELOG.md
172
172
  - CODE_OF_CONDUCT.md
173
+ - Dockerfile
173
174
  - Gemfile
174
- - Gemfile.lock
175
175
  - LICENSE.txt
176
176
  - README.md
177
177
  - Rakefile
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  requirements: []
207
- rubygems_version: 3.2.33
207
+ rubygems_version: 3.5.16
208
208
  signing_key:
209
209
  specification_version: 4
210
210
  summary: Sync toggl worktime to JobCan.
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.5.3
5
- - 2.7.3
6
- - 3.0.1
7
- before_install: gem install bundler -v 2.2.21
data/Gemfile.lock DELETED
@@ -1,164 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- toggl-jobcan (0.4.3)
5
- selenium-webdriver
6
- thor
7
- toggl-worktime (~> 0.4.0, >= 0.4.1)
8
- webdrivers
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- activesupport (7.0.4.3)
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 1.6, < 2)
16
- minitest (>= 5.1)
17
- tzinfo (~> 2.0)
18
- addressable (2.8.4)
19
- public_suffix (>= 2.0.2, < 6.0)
20
- async (1.31.0)
21
- console (~> 1.10)
22
- nio4r (~> 2.3)
23
- timers (~> 4.1)
24
- async-http (0.60.1)
25
- async (>= 1.25)
26
- async-io (>= 1.28)
27
- async-pool (>= 0.2)
28
- protocol-http (~> 0.24.0)
29
- protocol-http1 (~> 0.15.0)
30
- protocol-http2 (~> 0.15.0)
31
- traces (>= 0.8.0)
32
- async-http-faraday (0.12.0)
33
- async-http (~> 0.42)
34
- faraday
35
- async-io (1.34.3)
36
- async
37
- async-pool (0.4.0)
38
- async (>= 1.25)
39
- awesome_print (1.9.2)
40
- byebug (11.1.3)
41
- coderay (1.1.3)
42
- concurrent-ruby (1.2.2)
43
- console (1.16.2)
44
- fiber-local
45
- diff-lcs (1.5.0)
46
- faraday (2.7.4)
47
- faraday-net_http (>= 2.0, < 3.1)
48
- ruby2_keywords (>= 0.0.4)
49
- faraday-http-cache (2.5.0)
50
- faraday (>= 0.8)
51
- faraday-net_http (3.0.2)
52
- fiber-local (1.0.0)
53
- github_changelog_generator (1.16.4)
54
- activesupport
55
- async (>= 1.25.0)
56
- async-http-faraday
57
- faraday-http-cache
58
- multi_json
59
- octokit (~> 4.6)
60
- rainbow (>= 2.2.1)
61
- rake (>= 10.0)
62
- i18n (1.13.0)
63
- concurrent-ruby (~> 1.0)
64
- logger (1.5.3)
65
- method_source (1.0.0)
66
- mini_portile2 (2.8.2)
67
- minitest (5.18.0)
68
- multi_json (1.15.0)
69
- nio4r (2.5.9)
70
- nokogiri (1.14.3)
71
- mini_portile2 (~> 2.8.0)
72
- racc (~> 1.4)
73
- octokit (4.25.1)
74
- faraday (>= 1, < 3)
75
- sawyer (~> 0.9)
76
- oj (3.14.3)
77
- pastel (0.8.0)
78
- tty-color (~> 0.5)
79
- protocol-hpack (1.4.2)
80
- protocol-http (0.24.1)
81
- protocol-http1 (0.15.0)
82
- protocol-http (~> 0.22)
83
- protocol-http2 (0.15.1)
84
- protocol-hpack (~> 1.4)
85
- protocol-http (~> 0.18)
86
- pry (0.14.2)
87
- coderay (~> 1.1)
88
- method_source (~> 1.0)
89
- pry-byebug (3.10.1)
90
- byebug (~> 11.0)
91
- pry (>= 0.13, < 0.15)
92
- public_suffix (5.0.1)
93
- racc (1.6.2)
94
- rainbow (3.1.1)
95
- rake (13.0.6)
96
- rexml (3.2.5)
97
- rspec (3.12.0)
98
- rspec-core (~> 3.12.0)
99
- rspec-expectations (~> 3.12.0)
100
- rspec-mocks (~> 3.12.0)
101
- rspec-core (3.12.2)
102
- rspec-support (~> 3.12.0)
103
- rspec-expectations (3.12.3)
104
- diff-lcs (>= 1.2.0, < 2.0)
105
- rspec-support (~> 3.12.0)
106
- rspec-mocks (3.12.5)
107
- diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.12.0)
109
- rspec-support (3.12.0)
110
- ruby2_keywords (0.0.5)
111
- rubyzip (2.3.2)
112
- sawyer (0.9.2)
113
- addressable (>= 2.3.5)
114
- faraday (>= 0.17.3, < 3)
115
- selenium-webdriver (4.9.0)
116
- rexml (~> 3.2, >= 3.2.5)
117
- rubyzip (>= 1.2.2, < 3.0)
118
- websocket (~> 1.0)
119
- strings (0.2.1)
120
- strings-ansi (~> 0.2)
121
- unicode-display_width (>= 1.5, < 3.0)
122
- unicode_utils (~> 1.4)
123
- strings-ansi (0.2.0)
124
- thor (1.2.1)
125
- timers (4.3.5)
126
- toggl-worktime (0.4.2)
127
- awesome_print
128
- togglv8-limitusus (>= 1.2.2)
129
- tty-table
130
- togglv8-limitusus (1.2.2)
131
- faraday (>= 2.0.0)
132
- logger
133
- oj
134
- traces (0.9.1)
135
- tty-color (0.6.0)
136
- tty-screen (0.8.1)
137
- tty-table (0.12.0)
138
- pastel (~> 0.8)
139
- strings (~> 0.2.0)
140
- tty-screen (~> 0.8)
141
- tzinfo (2.0.6)
142
- concurrent-ruby (~> 1.0)
143
- unicode-display_width (2.4.2)
144
- unicode_utils (1.4.0)
145
- webdrivers (5.2.0)
146
- nokogiri (~> 1.6)
147
- rubyzip (>= 1.3.0)
148
- selenium-webdriver (~> 4.0)
149
- websocket (1.2.9)
150
-
151
- PLATFORMS
152
- ruby
153
-
154
- DEPENDENCIES
155
- bundler (~> 2.2.0)
156
- github_changelog_generator
157
- pry
158
- pry-byebug
159
- rake (~> 13.0)
160
- rspec (~> 3.0)
161
- toggl-jobcan!
162
-
163
- BUNDLED WITH
164
- 2.2.28