Giter Site home page Giter Site logo

Comments (17)

ericcj avatar ericcj commented on August 11, 2024

a singleton is by no means required and it should be a pretty simple refactor to make Query, Object, etc. buildable via Parse::Client.new.query("ClassName"), having them memoize their @client as a member instead of using the singleton Parse.client and/or let you pass a client into their #get/#save methods.

that's an easy fix that someone should just implement. long term the singleton behavior might actually provide a benefit in the case where the client could manage pooling connections for you via faraday if we could get #88 merged

from parse-ruby-client.

cpjolicoeur avatar cpjolicoeur commented on August 11, 2024

👍 This is becoming a frequent issue for people who use tools like sidekiq. Would love to see this updated to be threadsafe

from parse-ruby-client.

fuJiin avatar fuJiin commented on August 11, 2024

👍 What's the status on the merge?

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

Not sure exactly. Anyone want to step up and test this/ensure adequate test coverage?

from parse-ruby-client.

kwent avatar kwent commented on August 11, 2024

Same issue there ! That suxxx !

from parse-ruby-client.

FilipeAraujo avatar FilipeAraujo commented on August 11, 2024

same here, any news about this issue?

from parse-ruby-client.

jdubs avatar jdubs commented on August 11, 2024

Hi, is there an update on this issue?

from parse-ruby-client.

FilipeAraujo avatar FilipeAraujo commented on August 11, 2024

Hi, to workaround this issue I used the following git and branch:

  • git => git://github.com/chytreg/parse-ruby-client.git
  • branch => feature/faraday-client

Hope this helps.

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

This would require a hefty refactoring that I don't have time to implement. I'd be happy to merge in a PR.

from parse-ruby-client.

ericcj avatar ericcj commented on August 11, 2024

@adelevie #123 should be merged and this and #88 should be closed when you cut a new version of the gem

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

Thanks!

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

@ericcj what version do you want the newly-cut gem to be?

from parse-ruby-client.

ericcj avatar ericcj commented on August 11, 2024

0.3 is fine

On Thu, Jul 31, 2014 at 10:06 AM, Alan deLevie [email protected]
wrote:

@ericcj https://github.com/ericcj what version do you want the
newly-cut gem to be?


Reply to this email directly or view it on GitHub
#104 (comment)
.

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

0.3.0 is released with @chytreg's excellent PR: https://rubygems.org/gems/parse-ruby-client.

Many thanks to @chytreg and everyone else who has helped move this along.

from parse-ruby-client.

ericcj avatar ericcj commented on August 11, 2024

@adelevie to make master green you should probably remove 1.9.2 testing from the travis.yml. i have no idea why it always fails and everything else always succeeds

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

good call. done:
9678d29

On Thu, Jul 31, 2014 at 10:54 AM, Eric Jensen [email protected]
wrote:

@adelevie https://github.com/adelevie to make master green you should
probably remove 1.9.2 testing from the travis.yml. i have no idea why it
always fails and everything else always succeeds


Reply to this email directly or view it on GitHub
#104 (comment)
.

from parse-ruby-client.

rhymes avatar rhymes commented on August 11, 2024

Can you guys please take a look at #165 ?

from parse-ruby-client.

Related Issues (20)

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.