Giter Club home page Giter Club logo

Comments (7)

LordVenom1 avatar LordVenom1 commented on September 26, 2024

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.

kevintuhumury avatar kevintuhumury commented on September 26, 2024

I've actually been using JSON.parse myself as well.

from milkman.

estiens avatar estiens commented on September 26, 2024

Was this ever merged in? seems a pretty big deal that the authorize method doesn't work when such an easy fix?

from milkman.

kevintuhumury avatar kevintuhumury commented on September 26, 2024

@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.

estiens avatar estiens commented on September 26, 2024

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.

kevintuhumury avatar kevintuhumury commented on September 26, 2024

@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.

estiens avatar estiens commented on September 26, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.