Comments (4)
Today toggl started returning a warning that causes this gem to fail, even after patching the URL...
I have worked around this in a crude way (which is why I have not opened a PR) but it might help others: https://github.com/ErebusBat/togglv8/tree/fix-deprecation
If you are using bundler then you can change your gem line to: gem "togglv8", github: "ErebusBat/togglv8", branch: "fix-deprecation"
and it should work.
from togglv8.
@wielinde thank you for catching the error... I just merged the PR on my branch so my instructions above contain the fix to retrieve the details to reports.
from togglv8.
I've worked around this by doing TogglV8::TOGGL_API_URL = 'https://api.track.toggl.com/api'
from togglv8.
Thanks @ErebusBat for providing that fork. Apparently there is another place to update the URL, at least if you want to retrieve details from reports. I provided a PR against your repo. Find the changes here: wielinde@6d3f893
from togglv8.
Related Issues (17)
- Last time entry in project HOT 4
- Broken method get_time_entries({start_date: @now - 1, end_date: @now + 1}) HOT 6
- Improve initialization
- Support params actual_hours and only_templates in projects()
- Detailed Reports does not return all data HOT 4
- Awesome_print dependency HOT 3
- missing .toggle HOT 1
- 301 Redirect moved permanently
- Remove logger dependency
- Evaluating body of response HOT 1
- NoMethod Error from Faraday http basic HOT 2
- v8 API no longer exists HOT 1
- Catch up with ddiatmb's fork HOT 7
- Wrong api call for getting tasks HOT 1
- Remove tasks from project HOT 4
- `requireParams': params[start] is required, params[duration] is required (ArgumentError) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from togglv8.