urbanairship / ruby-library

A Ruby wrapper for the Urban Airship API.
Other
200 stars 117 forks source link

Compatibility with API v3 #39

Closed nmondollot closed 9 years ago

nmondollot commented 11 years ago

Urbanairship introduced API v3 on 2013-07-22 : http://docs.urbanairship.com/reference/api/v3/api-v3-migration-guide.html

V2 end of life scheduled for February 2014. Any plans to make the gem work with v3?

We've been using urbanairship gem in production with great success, thanks to you guys! Keep up the great work!

mechiland commented 11 years ago

+1.

qzio commented 11 years ago

:+1:

remosiegwart commented 11 years ago

+1

itamar commented 11 years ago

+1

anthonator commented 11 years ago

Put this together over the last week. It implements all but the report endpoints for the v3 API. Needs some additional documentation and testing.

https://github.com/anthonator/dirigible

manishnath commented 10 years ago

is there v3 support for this gem? stopped working for me

abedra commented 10 years ago

v3 support was added and a new version of the gem needs to be pushed. We will comment on this once the new version is available.

MarkMurphy commented 9 years ago

Is this done? Urbanairship.push(notification, version: 3) doesn't work because Urbanairship.push() only takes 0..1 parameters.

alexchee commented 9 years ago

It's been over a year since this issue was opened, is there a problem with the current code on master?

alexchee commented 9 years ago

Actually I just looked in the code, looks like the :version option should be part of the notification hash. https://github.com/groupon/urbanairship/blob/master/lib/urbanairship.rb#L51-L54

Maybe this issue should be closed?

pdxmele commented 9 years ago

Hi folks, Mele from Urban Airship here. We're going to be turning off v1 support pretty soon now (July 31, 2015), and we're seeing if we have the resources to put together an official Ruby library soon. Please email support@urbanairship.com if you're interested to help us figure out where to prioritize the work. Thanks!

trek commented 9 years ago

@pdxmele we've been trying (without success) to find a new owner for this gem. We don't use Urban Airship via ruby any longer. Someone from Urban Airship even offered to follow up on taking it over #59, but that lead went dead. If you'd like to take it over, that'd be great. We still use Urban Airship in general, but are no longer the right owners for this code.

dogweather commented 9 years ago

Hi @trek. I commented back on the other issue about the library. Urban Airship has now decided to commit the resources to taking over ownership for this gem, and I'll be doing the transition. I'm excited to finally be able to move this forward.

abedra commented 9 years ago

@dogweather that's great news! We can initiate a transfer of the project if you like. Just let us know.

dogweather commented 9 years ago

@abedra Great. I just sent @trek an email: yes, please go ahead an initiate the transfer to the urban airship organization. I'll check and make sure it worked.

abedra commented 9 years ago

@dogweather It looks like I can't initiate the transfer request because I don't have rights to the urbanairship org. Is there a better way to do this or do I need temporary permission?

dogweather commented 9 years ago

Good question. I forked it to see what would happen, and that works fine, but it doesn't transfer the PR's and issues. I'll look into it more.

dogweather commented 9 years ago

@abedra Ok, github handles transfers differently depending on whether it's user-user or user-org. Here's the easiest way for us: Transfer it to me (i.e., to my user account @dogweather); you should be able to do that. Then I'll be able to transfer it to the urban airship organization account.

abedra commented 9 years ago

Ok thanks. I'll do that in a few.

trek commented 9 years ago

Looks like @abedra has it handled. Our only real ask is that you retain the "copyright Groupon" stuff in the license, adding your own name as desired. It should keep the lawyers happy.

abedra commented 9 years ago

@dogweather Ok I think I've got it. I had to transfer it to my personal account, then to you. What a mess this transfer business is. Let me know if it didn't work.

trek commented 9 years ago

Thanks for taking this over!

dogweather commented 9 years ago

You're welcome! Thanks for helping make the transition smooth. Nearly done.

trek commented 9 years ago

@dogweather is there an email we can use to transfer the gem ownership to you as well? http://guides.rubygems.org/command-reference/#gem-owner

dogweather commented 9 years ago

yes - robb.shecter@urbanairship.com. that's the email for the rubygems profile, https://rubygems.org/profiles/UrbanAirship

dogweather commented 9 years ago

Oh, it looks like you already got that. Excellent.

pdxmele commented 9 years ago

New release is out! Please let us know if you have any problems by emailing support@urbanairship.com. This version only supports pushy things so far, not device info, tagging, reports, etc., but feel free to submit requests for other features either to support or in the issues here.