togglv8-ng 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +49 -32
- data/README.md +12 -7
- data/lib/reportsv2.rb +1 -1
- data/lib/togglv8/connection.rb +1 -1
- data/lib/togglv8/version.rb +1 -1
- data/lib/togglv8.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6e717f94394554ef8a978fac8444efdb11197531573f06a73ed12c11fad3eac
|
4
|
+
data.tar.gz: 7ab9a4791b780c8a838288c8fc2ee37ccbc184e7edf7a2dfea06cc02a124f183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72b3e7ee008cf580ffdbdc8a73bc41d51f1945aaa058011d4cb1969fe1028b30543b12eb860a58cb72005c92c18b290d29b4c54a88e06764fc7a9bb6c91234a7
|
7
|
+
data.tar.gz: daac17176533a1774418edb8f74b35c197d8f80ba35b5378bf20d8d221ab4f7d2fb422865fc3a882bdedf4665b52f21d9a6f0623f425d49f55ecd269a82f53e7
|
data/CHANGELOG.md
CHANGED
@@ -6,89 +6,106 @@ Changes that are not intended to affect usage (e.g. documentation, specs, remova
|
|
6
6
|
|
7
7
|
Version numbers are meant to adhere to [Semantic Versioning](http://semver.org/).
|
8
8
|
|
9
|
-
|
10
9
|
## [Unreleased]
|
11
10
|
|
11
|
+
## [1.4.1] - 2022-05-10
|
12
|
+
|
13
|
+
- Fix pdf report generation wich breaks on encoding
|
14
|
+
- Fix reports API base
|
15
|
+
- Update README to install togglv8-ng
|
16
|
+
- Update CHANGELOG
|
17
|
+
|
18
|
+
## [1.4.0] - 2022-05-10
|
12
19
|
|
13
|
-
## [1.2.1] - 2016-07-25
|
14
20
|
### Changed
|
15
21
|
|
16
|
-
|
17
|
-
|
18
|
-
|
22
|
+
- Fix basic_auth issue with Faraday 2.x
|
23
|
+
- Fix domain to use api.toggl.com instead of www.toggl.com
|
24
|
+
- Rename gem to "togglv8-ng"
|
19
25
|
|
26
|
+
## [1.2.1] - 2016-07-25
|
27
|
+
|
28
|
+
### Changed
|
29
|
+
|
30
|
+
- Fix ReportsV2#project by requiring project_id.
|
31
|
+
- Improve spec code coverage.
|
32
|
+
- Include version in `user_agent` and `created_with` (e.g. TogglV8 v1.2.1)
|
20
33
|
|
21
34
|
## [1.2.0] - 2016-07-24
|
22
|
-
### Added
|
23
35
|
|
24
|
-
|
36
|
+
### Added
|
25
37
|
|
38
|
+
- Add support for [Toggl Reports API v2](https://github.com/toggl/toggl_api_docs/blob/master/reports.md).
|
26
39
|
|
27
40
|
## [1.1.0] - 2016-02-22
|
28
|
-
### Added
|
29
41
|
|
30
|
-
|
42
|
+
### Added
|
31
43
|
|
44
|
+
- Add `tags(workspace_id)`.
|
32
45
|
|
33
46
|
## [1.0.5] - 2016-02-22
|
34
|
-
### Added
|
35
47
|
|
36
|
-
|
48
|
+
### Added
|
37
49
|
|
50
|
+
- Add specs for encoding of ISO8601 times with + UTC offset. (See [1.0.4](#104---2016-01-22))
|
38
51
|
|
39
52
|
## [1.0.4] - 2016-01-22
|
40
|
-
### Fixed
|
41
53
|
|
42
|
-
|
54
|
+
### Fixed
|
43
55
|
|
56
|
+
- Manually encode `+` to `%2B` before every API call. (Fixes #11)
|
44
57
|
|
45
58
|
## [1.0.3] - 2016-01-22
|
59
|
+
|
46
60
|
### Added
|
47
61
|
|
48
|
-
|
62
|
+
- Add `debug()` method to enable debugging output including full API response.
|
49
63
|
|
50
64
|
## [1.0.2] - 2015-12-12
|
65
|
+
|
51
66
|
### Changed
|
52
67
|
|
53
|
-
|
68
|
+
- Require params 'tags' and 'tag_action' in `update_time_entries_tags()`.
|
54
69
|
|
55
70
|
## [1.0.1] - 2015-12-10
|
71
|
+
|
56
72
|
### Fixed
|
57
73
|
|
58
|
-
|
74
|
+
- Fix Toggl API call in `get_project_tasks()`. (Fixes #5)
|
59
75
|
|
60
76
|
### Added
|
61
77
|
|
62
|
-
|
63
|
-
|
78
|
+
- Add `my_tasks()`.
|
79
|
+
- Add null checks to various methods.
|
64
80
|
|
65
81
|
### Changed
|
66
82
|
|
67
|
-
|
83
|
+
- Require params 'name' and 'pid' in `create_task()`.
|
68
84
|
|
69
85
|
## [1.0.0] - 2015-12-06
|
86
|
+
|
70
87
|
### Added
|
71
88
|
|
72
|
-
|
89
|
+
- Add `my_deleted_projects()`.
|
73
90
|
|
74
91
|
### Changed
|
75
92
|
|
76
|
-
|
77
|
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
|
81
|
-
|
82
|
-
-
|
83
|
-
|
93
|
+
- Exclude deleted projects from `my_projects()` results.
|
94
|
+
- Change `get_time_entries()` parameters.
|
95
|
+
- old: `start_timestamp=nil, end_timestamp=nil`
|
96
|
+
- new: `dates = {}`
|
97
|
+
- Raise RuntimeError w/ HTTP Status code if request is not successful.
|
98
|
+
- Handle 429 (Too Many Requests) by pausing for 1 second and retrying up to 3 times.
|
99
|
+
- API calls are limited to 1/sec due to toggl.com limits
|
100
|
+
- Refactor duplication out of GET/POST/PUT/DELETE API calls.
|
84
101
|
|
85
102
|
## [0.2.0] - 2015-08-21
|
86
|
-
### Added
|
87
103
|
|
88
|
-
|
104
|
+
### Added
|
89
105
|
|
106
|
+
- Add Ruby interface to most functions of [Toggl V8 API](https://github.com/toggl/toggl_api_docs/blob/master/toggl_api.md) (as of 2015-08-21).
|
90
107
|
|
91
|
-
[
|
108
|
+
[unreleased]: https://github.com/kanet77/togglv8/compare/v1.2.1...HEAD
|
92
109
|
[1.2.1]: https://github.com/kanet77/togglv8/compare/v1.2.0...v1.2.1
|
93
110
|
[1.2.0]: https://github.com/kanet77/togglv8/compare/v1.1.0...v1.2.0
|
94
111
|
[1.1.0]: https://github.com/kanet77/togglv8/compare/v1.0.5...v1.1.0
|
@@ -98,4 +115,4 @@ Version numbers are meant to adhere to [Semantic Versioning](http://semver.org/)
|
|
98
115
|
[1.0.2]: https://github.com/kanet77/togglv8/compare/v1.0.1...v1.0.2
|
99
116
|
[1.0.1]: https://github.com/kanet77/togglv8/compare/v1.0.0...v1.0.1
|
100
117
|
[1.0.0]: https://github.com/kanet77/togglv8/compare/v0.2.0...v1.0.0
|
101
|
-
[0.2.0]: https://github.com/kanet77/togglv8/compare/a1d5cc5...v0.2.0
|
118
|
+
[0.2.0]: https://github.com/kanet77/togglv8/compare/a1d5cc5...v0.2.0
|
data/README.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
-
|
2
1
|
# Toggl API v8
|
3
2
|
|
3
|
+
## Important notes
|
4
|
+
|
5
|
+
- This is a fork of togglv8, which is not maintained since 2016
|
6
|
+
- This up-to-date gem is now refered as togglv8-ng on rubygems
|
7
|
+
- Thanks to creator and contributors of togglv8, who did the biggest part of work
|
8
|
+
|
4
9
|
[![Gem Version](https://badge.fury.io/rb/togglv8.svg)](https://badge.fury.io/rb/togglv8) [![Build Status](https://api.travis-ci.org/kanet77/togglv8.svg "Build Status")](https://travis-ci.org/kanet77/togglv8) [![Coverage Status](https://coveralls.io/repos/kanet77/togglv8/badge.svg?branch=master&service=github)](https://coveralls.io/github/kanet77/togglv8?branch=master) [![Code Climate](https://codeclimate.com/github/kanet77/togglv8/badges/gpa.svg)](https://codeclimate.com/github/kanet77/togglv8)
|
5
10
|
|
6
11
|
[Toggl](http://www.toggl.com) is a time tracking tool.
|
@@ -18,7 +23,7 @@ See [CHANGELOG](CHANGELOG.md) for a summary of notable changes in each version.
|
|
18
23
|
Add this line to your application's Gemfile:
|
19
24
|
|
20
25
|
```ruby
|
21
|
-
gem 'togglv8'
|
26
|
+
gem 'togglv8-ng'
|
22
27
|
```
|
23
28
|
|
24
29
|
And then execute:
|
@@ -137,11 +142,11 @@ Also available on [DocumentUp](https://documentup.com/kanet77/togglv8)
|
|
137
142
|
## Acknowledgements
|
138
143
|
|
139
144
|
- Thanks to the following contributors (in alphabetical order):
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
+
- [archonic](https://github.com/archonic) ([fork](https://github.com/archonic/togglv8))
|
146
|
+
- [ddiatmb](https://github.com/ddiatmb) ([fork](https://github.com/ddiatmb/togglv8))
|
147
|
+
- [itaymendel](https://github.com/itaymendel)
|
148
|
+
- [ppawlikmb](https://github.com/ppawlikmb) ([fork](https://github.com/ppawlikmb/togglv8))
|
149
|
+
- [worldsmithroy](https://github.com/worldsmithroy) ([fork](https://github.com/worldsmithroy/togglv8))
|
145
150
|
- Thanks to [Koen Van der Auwera](https://github.com/atog) for the [Ruby Wrapper for Toggl API v6](https://github.com/atog/toggl)
|
146
151
|
- Thanks to the Toggl team for exposing the API.
|
147
152
|
|
data/lib/reportsv2.rb
CHANGED
data/lib/togglv8/connection.rb
CHANGED
data/lib/togglv8/version.rb
CHANGED
data/lib/togglv8.rb
CHANGED