diff --git a/CHANGELOG b/CHANGELOG index 9b1b69d..cccb5ea 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,20 @@ +-------------------- +9.1.0 +-------------------- +- All requests will now automatically attempt to authenticate with bearer token auth if a +token is included in the instantiation of the client. Previously, only custom events requests +could use bearer token auth in this library. You can find more information about how to use +bearer token auth in the README. +- Also fixes an issue where a secret was required even when bearer token auth was being used +(it is no longer required). + +-------------------- 9.0.0 -------------------- - Adds Tag List API Support - Removes location lookup endpoints - Removes location-based audience selectors + -------------------- 8.0.1 -------------------- diff --git a/docs/index.rst b/docs/index.rst index d011e4e..78bb178 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,9 +1,8 @@ Airship Ruby Library -========================== +==================== ``urbanairship`` is a Ruby library for using the `Airship -`_ web service API for push notifications and -rich app pages. +`_ web service API for messaging. Installation @@ -29,8 +28,7 @@ The library is intended to be used with the small footprint of a single import. To get started, import the package, and create an :rb:class:`Airship` object representing a single Airship project. -Note that channels are preferred over ``device_token`` and ``apid``. See: -`documentation on channels `_. +The library uses `rest-client `_ for communication with the Airship API. .. code-block:: ruby @@ -43,15 +41,20 @@ Note that channels are preferred over ``device_token`` and ``apid``. See: p.device_types = UA.device_types(['ios','android']) p.send_push -The library uses `unirest`_ for communication with the UA API. +We in the process of migrating code examples away from these docs and into the +regular `Airship API reference `_ +(select "Ruby Library"), so please check there for more examples. + +Please also see `the README `_ +for detailed instructions on how to use bearer token auth and alternative servers. Development ----------- -The library source code is `available on GitHub `_. +The library source code is `available on GitHub `_. -Tests can be run with rspec_: +Tests can be run with `rspec `_. Contents: @@ -84,9 +87,3 @@ Indices and tables * :ref:`genindex` * :ref:`modindex` * :ref:`search` - - -.. _channels: http://docs.airship.com/topic-guides/channels.html -.. _unirest: http://unirest.io/ruby.html -.. _github: https://github.com/urbanairship/ruby-library -.. _rspec: https://nose.readthedocs.org/en/latest/ diff --git a/lib/urbanairship/version.rb b/lib/urbanairship/version.rb index dff32d9..3174925 100644 --- a/lib/urbanairship/version.rb +++ b/lib/urbanairship/version.rb @@ -1,3 +1,3 @@ module Urbanairship - VERSION = '9.0.0' + VERSION = '9.1.0' end