Comments (7)
I had the same issue; running under Windows. I just used a hack to get past it (wrapped the response in JSON.parse()) and didn't dig in any further but my fix seems to mesh with your understanding of the issue.
Edit: I have the same issue in the job itself. I'm using "response = JSON.parse(client.get "rtm.tasks.getList", filter: filter)" to make it work.
from milkman.
I've actually been using JSON.parse
myself as well.
from milkman.
Was this ever merged in? seems a pretty big deal that the authorize method doesn't work when such an easy fix?
from milkman.
@estiens There's nothing to merge (there's no pull request for it). Like I said a long while ago, I've been using JSON.parse
myself, but I can add the format to the HTTParty method if that's easier (or you can submit a pull request if you want to).
from milkman.
for sure, it's easy enough to fix, it just means I have to unpack the gem and use it that way rather than follow the (excellent!) documentation on the dashing widget site, which a lot of people won't or won't be able to do.
from milkman.
@estiens I've updated the gem to version 0.0.2. I've also pushed it to Rubygems, so format: :json
is now included in the get
class method. This also fixes issue #1 with authorizing the gem.
from milkman.
thanks so much! was just about to fork and do the same when I saw your code in there.
from milkman.
Related Issues (4)
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 milkman.