Permalink
Commits on Jan 29, 2018
  1. Merge pull request #18 from groupme/variable_token_len

    miroslavstoklasa committed Jan 29, 2018
    Removing APN token length check
Commits on Nov 4, 2016
Commits on Nov 3, 2016
  1. Merge pull request #17 from groupme/connection_manager

    miroslavstoklasa committed Nov 3, 2016
    Connection manager
  2. small cleanup

    miroslavstoklasa committed Nov 3, 2016
Commits on Oct 27, 2016
  1. Adding missing file

    miroslavstoklasa committed Oct 27, 2016
Commits on Oct 26, 2016
Commits on Mar 31, 2016
  1. Fixing tests

    pavelsmejkal committed Mar 31, 2016
Commits on Mar 30, 2016
  1. Cleaning

    pavelsmejkal committed Mar 30, 2016
Commits on Oct 27, 2014
  1. Merge pull request #16 from dfried/increase_push_notification_size

    daveyeu committed Oct 27, 2014
    Change push notification size limit from 256 to 2048
Commits on Oct 15, 2014
Commits on Jan 2, 2014
  1. Merge pull request #11 from groupme/make-truncate-method-less-dumb

    jpignata committed Jan 2, 2014
    Make truncate_alert! method handle symbol keys
Commits on Dec 28, 2013
  1. Normalize APS keys to strings

    jpignata committed Dec 28, 2013
    We need to access these keys in order to massage the payload so convert each
    key to a string on initialization.
    
    * Avoid ActiveSupport dependency and use our own Hash#stringify_keys! shim
    * Change specs to be positive to avoid confusing failure messages
    * Minor clean-up of Notification initializer
  2. Replace explicit Yajl dependency with MultiJson

    jpignata committed Dec 28, 2013
    @lexer had a pull request open for this for two years. Boo on us.
  3. Fix #on_open spec

    jpignata committed Dec 28, 2013
    Since we don't have port 2195 open, EM::Client#connection_completed never
    fires.  This change opens a socket on the APNS port so the test can actually
    complete end-to-end.
Commits on Nov 6, 2012
  1. Merge pull request #9 from arielo/feature/open_callback

    cmdrkeene committed Nov 6, 2012
    Added a callback when the connection is established succesfully.
Commits on Nov 5, 2012
Commits on Apr 11, 2012
  1. Update README with truncate_alert! details

    daveyeu committed Apr 11, 2012
    A previous commit mentioned that truncation happened automatically.
    Wrong. Very wrong. You must call #truncate_alert! on the notification
    to make it happen.
  2. Alerts are now automatically truncated

    daveyeu committed Apr 11, 2012
    Previously, the client of the API needed to truncate alerts to the proper
    size, lest they trigger PayloadTooLarge exceptions. Now, however, the APN
    notification will automatically truncate the alert to fit within the limit.
Commits on Dec 2, 2011
  1. Merge pull request #6 from groupme/simplified-interface

    jpignata committed Dec 2, 2011
    Separate client and connection classes
Commits on Dec 1, 2011
  1. Update README

    daveyeu committed Dec 1, 2011
  2. Split connection and client classes

    daveyeu committed Dec 1, 2011
    This is a breaking change, API-wise. The library no longer exposes the simple
    `EM::APN.push` method. Instead, an `EM::APN::Client` object is instantiated
    and `EM::APN::Notification` objects are passed to #deliver.
    
    Error callbacks can be attached to the Client instance, as well as callbacks
    when the connection closes.
Commits on Oct 13, 2011
  1. Merge pull request #3 from groupme/disconnect_tests_from_apns

    daveyeu committed Oct 13, 2011
    Don't connect to APNS in tests
  2. Don't connect to APNS in tests

    jpignata committed Oct 13, 2011
    The unit suite was hitting Apple's sandbox servers. This
    change defaults the gatway to localhost which allows for
    the suite to run while disconnected from the Internet.
    
    * Set APN_GATEWAY environment variable to localhost before each
    * Remove unused EM::APN::Client#connect override noop
    * Remove unused EM::APN::Client.gateway method
Commits on Oct 3, 2011
  1. Update logging

    daveyeu committed Oct 3, 2011
    * Don't display payload details.
    * Details for error responses.
Commits on Sep 8, 2011
  1. Fix UTF-8 encoding issue

    cmdrkeene committed Sep 8, 2011