remetric 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a72285e53afb79845fec86bef31a76373937d840
4
- data.tar.gz: 74ca903ede6d0ca027b7f9089f1a7a2cc0b0689e
3
+ metadata.gz: 8716a0009895906cfca99f833e1c084e392c9317
4
+ data.tar.gz: 440a7e94f61909efabdd510f4e38d41ac1734e28
5
5
  SHA512:
6
- metadata.gz: 76d8f98e325067c8f1b4e2cc2d29acae2f4778861fd1ec104f528e9a2dbcc2b2f38d37fba9b63241db26b08121cb4abdd286443803afd69f262ba78c66d309bf
7
- data.tar.gz: 4a8fa36f79b97082fd700064deafd78588da869ed2bd0c96a5da754ab7acc2ab69e480ffc74e23040f208dae27913bcbf52760b4d25d7f3d986508cdf0755570
6
+ metadata.gz: 04b242bb4421f6f3bbb6c39c88f032d3e2a57dbe6424d02c001bbcbe3839672add8f8e506526cd1b060e7d85647f041a2056db2a6bd3139f96238dcab8cf324a
7
+ data.tar.gz: 6fcd8150dab6a8878e79f3b2fc4edcbe9ac25f8b28cf7fbfedaaf48ae70ec20fe9f31b0c5f04963693b071fa962e2602e4efe876fc7b259fef87c3c2bf7f91c6
@@ -15,20 +15,20 @@ class Remetric
15
15
 
16
16
  def track data = {}
17
17
  begin
18
- RestClient.get "#{endpoint}/track/img/#{to_base64 data}";
18
+ RestClient.get "#{endpoint}/track/img/#{to_base64 data}"
19
19
  rescue
20
20
  { errors: "You are unauthorized." }
21
21
  end
22
22
  end
23
23
 
24
24
  def img data = {}
25
- src = "#{endpoint}/track/img/#{to_base64 data}";
26
- img = "<img src=\"#{src}\" style=\"display: none; \">";
25
+ src = "#{endpoint}/track/img/#{to_base64 data}"
26
+ img = "<img src=\"#{src}\" style=\"display: none; \">"
27
27
  img
28
28
  end
29
29
 
30
30
  def redirect data = {}
31
- "#{endpoint}/track/redirect/#{to_base64 data}";
31
+ "#{endpoint}/track/redirect/#{to_base64 data}"
32
32
  end
33
33
 
34
34
  def to_base64 data = {}
@@ -1,3 +1,3 @@
1
1
  class Remetric
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remetric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dallas Read