rumour-ruby 0.0.8 → 0.1.0

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: 46ad17d4fb6cc20cecbfeb40245953061ff37a06
4
- data.tar.gz: bf9cc35dab1c53b265ae2c589ef19744e59b2e11
3
+ metadata.gz: 85134fa85187c899b6357bd78cf890724a612f86
4
+ data.tar.gz: e91bf845a12b57eaac2a4a93b43cee84f8f9b22f
5
5
  SHA512:
6
- metadata.gz: 26faf381cd5daacbbe5da354afb79e989a69b98939105e76bc9266117f2d85724a232bbfb7b43187df42eff772a5995e1985ee1a005ff5c4f3e5d046ecef3fcc
7
- data.tar.gz: 01cc7d2f3061ce0606b2f934fdde66515726c816d555e2ffc779445936b96d377a6cd50a05638f500513eb300bf3f19cbb18fbc633a7ee944e08f59e29a7a266
6
+ metadata.gz: 2cb91e3d5ba7f36955a4f893514f08b77e2683251379dcb496b54c3638a8aa6ef7a98166d4ff72793991cae24cfae13a76d2bd576a335e65ce8a76ed52357ca3
7
+ data.tar.gz: dcf3e2a9dc621c25d26a694b885a2f85d7d246bd6d230bf20e99820679dbba4381b3f0c417168cc5ce7e5ac80c27990bea62fb4f7e2bc131985d2f84ff90ef2c
@@ -6,7 +6,7 @@ require 'forwardable'
6
6
  module Rumour
7
7
  class Client
8
8
  include HTTParty
9
- base_uri 'rumour.herokuapp.com/api/v1'
9
+ base_uri '188.166.65.141/api/v1'
10
10
 
11
11
  attr_accessor :access_token
12
12
 
@@ -21,7 +21,7 @@ module Rumour
21
21
  end
22
22
 
23
23
  def send_push_notification(recipients, options= {})
24
- recipients = intercept_pn_recipients unless [intercept_pn_recipients].compact.empty?
24
+ recipients = intercept_pn_recipients unless [intercept_pn_recipients].flatten.compact.empty?
25
25
  post('/push_notifications', push_notification: { recipients: [recipients].flatten }.merge(options))
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Rumour
2
- VERSION = '0.0.8'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumour-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joao Diogo Costa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-05 00:00:00.000000000 Z
11
+ date: 2016-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.4.3
97
+ rubygems_version: 2.4.8
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Ruby wrapper for the Rumour REST API