opium 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/opium/push.rb +2 -0
- data/lib/opium/version.rb +1 -1
- data/spec/opium/push_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df649015596245c055a437ab8d6946fa2c6badd7
|
4
|
+
data.tar.gz: 35c58b1cc03b4bc34c4ea74fae80eafa691fa1e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bd35e1c4a44a923d3bbc1a2b76800b8e166b98ad450a33ec0a32b3708063224dd283e28bf4ecf5b576d1f783bd57120a556732bf659a654506fe5749957732e
|
7
|
+
data.tar.gz: 71c2ab4dcc1457000e07abfac7e28165568212b86bdd61564950a605a80cd61c93c28ed82bcde2c68c122815e99b23023c749093e13a53cb4348235764640f62
|
data/CHANGELOG.md
CHANGED
data/lib/opium/push.rb
CHANGED
data/lib/opium/version.rb
CHANGED
data/spec/opium/push_spec.rb
CHANGED
@@ -66,7 +66,7 @@ describe Opium::Push do
|
|
66
66
|
before do
|
67
67
|
stub_request(:post, "https://api.parse.com/1/push").
|
68
68
|
with(body: "{\"channels\":[\"Penguins\",\"PolarBears\"],\"data\":{\"alert\":\"Zoo animals are fighting!\"}}",
|
69
|
-
headers: {'Content-Type'=>'application/json', 'X-Parse-Application-Id'=>'PARSE_APP_ID', 'X-Parse-
|
69
|
+
headers: {'Content-Type'=>'application/json', 'X-Parse-Application-Id'=>'PARSE_APP_ID', 'X-Parse-Master-Key' => 'PARSE_MASTER_KEY'}).
|
70
70
|
to_return(:status => 200, :body => { result: true }.to_json, :headers => {content_type: 'application/json'})
|
71
71
|
end
|
72
72
|
|