gilgamesh 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab28d0d967971cf54f328b363c2014bbd5cdbb15
4
- data.tar.gz: c197497452a91ebcb184362752ad6083d27f33cf
3
+ metadata.gz: 46dbd870caa38acbcc48e629756052f3685e1f9b
4
+ data.tar.gz: a3f870981a6917ae52d9518da70070247de0af3b
5
5
  SHA512:
6
- metadata.gz: f49d1478967eb5038746fccf8d7282ed4bdc1f0eda6238a024ac5cc14c2edcfd9a145aa625a78a41e1643c0619ae25cc56a52b04680fc7c42835ef7751ec2d7d
7
- data.tar.gz: 8133dc871cea13b97e72a92022cd60fdcc24d5c1ffb0314fd6386cf64203c77b70e55c15b84e7e03f1f1ed17f765a6f17256d9e939810c7a3e6410757fc068b5
6
+ metadata.gz: 78a2a3a742267011522617320db16909d2ade4e11c3ee6dbcf17184b270a4ef9c562d2f21eba6d1d989a1a506fc0b71876d47b6f0a393e6f34fc2efbce080102
7
+ data.tar.gz: 3f7fe5413a90afdaa5e8f0227f83c0fe98e5c5daec426e27cf8d48dd7cf47213491cbf7c8ffaf71da752e1400cdcee8dd3812aa16dedfbbb65aa2f87baca3f1e
@@ -17,7 +17,7 @@ class Gilgamesh
17
17
  end
18
18
  end
19
19
 
20
- def message(registration_token, title:, text:)
20
+ def push(registration_token, title:, text:)
21
21
  body = {
22
22
  to: registration_token,
23
23
  notification: {
@@ -32,7 +32,7 @@ class Gilgamesh
32
32
  req.body = body.to_json
33
33
  end
34
34
 
35
- case response.status of
35
+ case response.status
36
36
  when 200
37
37
  "Success"
38
38
  when 400
@@ -1,3 +1,3 @@
1
1
  class Gilgamesh
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gilgamesh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ecuageo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-08 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday