pushy-api 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/pushy/application.rb +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -29,7 +29,7 @@ module Pushy
29
29
  params = {}
30
30
 
31
31
  params[:token] = device_token
32
- params[:alias] = device_alias unless device_alias.empty?
32
+ params[:alias] = device_alias if device_alias
33
33
 
34
34
  self.class.post('/devices.json', :body => params)
35
35
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Charlie Melbye