uniqush-rb 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f708c4f51493c8cba5a1159c3d4b2cf2a983e999
4
- data.tar.gz: 5da4f9470d6f6e3c66cc0033a9e43a503f13ec50
3
+ metadata.gz: 80f0966c8e6948c4b8b6851f6e1634459937f877
4
+ data.tar.gz: fa52bfd441df395be58433d2ea126a5807a23f8b
5
5
  SHA512:
6
- metadata.gz: b64ccaffeadcefa168634dea00de7b0b67a9ad73a208276a8a7e1f3b347606ddcb352aa43282b2cbecb5f68c3faad470d385bbd1b44a36c0876743fdd0ae4467
7
- data.tar.gz: 5909e315dac60a9f147b81143f413dea277cea16886bb9838aa6fde6fae120f6000d1d7296d186f1a6100e89b4965f19fd1282c6e0e2f22d3f451016dc74806c
6
+ metadata.gz: 538d71f7c9f5461c80244e6a807022a7dfe446f1e1311b4b4ed860f193a6a0e770d38a9e4a3fb7841ae13b0d838d0270c8f94a092e51acbbf94274b1fd9cae36
7
+ data.tar.gz: 86697414d766576aca6b5e211c2465f2916ca2302fb5f13f6701c3c2265b453ebb603526e57317ad35ca1957381d0dd47a769a40eaffa6b80f931419f58a62cc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- uniqush-rb (0.0.1)
4
+ uniqush-rb (0.0.2)
5
5
  rest-client (~> 1.7.2)
6
6
 
7
7
  GEM
@@ -9,7 +9,7 @@ module Uniqush
9
9
  remove_service: [:delete, "push_service_providers"],
10
10
  subscribe_device: [:post, "subscribers"],
11
11
  unsubscribe_device: [:delete, "subscribers"],
12
- push: [:post, "push"]
12
+ push: [:post, "push_notifications"]
13
13
  }.freeze
14
14
 
15
15
  def initialize(base_url)
@@ -1,3 +1,3 @@
1
1
  module Uniqush
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -22,7 +22,7 @@ describe Uniqush::RestfulClient do
22
22
  describe "pushing" do
23
23
  it "pushes" do
24
24
  expect { client.push(a_hash) }.
25
- to request(:post, "#{base_url}/push").with(body: a_hash.to_json)
25
+ to request(:post, "#{base_url}/push_notifications").with(body: a_hash.to_json)
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniqush-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Bandeira