dito 0.0.1 → 0.0.2

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: a5586a032255652b802a1b879e712d7e1bb03ebf
4
- data.tar.gz: 68b68d9bac75b9aa1af029b78a4ad75e327ca0e9
3
+ metadata.gz: b3e27a16d5e3ea5d150934ddf9c7aa94db3ca734
4
+ data.tar.gz: 82a0f60be974128ecaf7cb14cdf1641e75688354
5
5
  SHA512:
6
- metadata.gz: e7f253467c2dc4fc2eced2efa5c52db457f5d2cd955d54c08d5577c37fdc8e46cd739e45c85eda87f48d9b24e9d04ef73b4ed10e0033843ed25616696a412943
7
- data.tar.gz: 65531263f7bc5e11530e5d1d5f7ea0aecc006141c890ea35df28a7b2f01001cd42cb904bc5b030cba85073d1ffe343c4052fee0cb2e081e86e7c360bfa89e1d5
6
+ metadata.gz: ae3b571a2cabb87c00abc578a77fc0346c0ce293a0bd0668960d4c376aba3e27f0d8b799a7e7f36cf5f65cc8600399154d56e59ed12bf3083c02048715a8fcb4
7
+ data.tar.gz: 637dee709da57a2e5a70723a22787650aaa93b8b5278ad7d8d2ad1a3feabc5b9ddff076bbdef428651230a4d4387326af0c63e1e8adaab0648372770f29200d3
data/lib/dito/identify.rb CHANGED
@@ -23,7 +23,7 @@ module Dito
23
23
  id = user[:id]
24
24
  params[:network_name] = 'pt'
25
25
  else
26
- return { error: { message: 'Missing the user id param. See the available options here: http://developers.dito.com.br/docs/sdks/ruby' } }
26
+ return { :error => { :message => 'Missing the user id param. See the available options here: http://developers.dito.com.br/docs/sdks/ruby' } }
27
27
  end
28
28
 
29
29
  params[:user_data] = {}
data/lib/dito/track.rb CHANGED
@@ -20,10 +20,10 @@ module Dito
20
20
  id = options[:id]
21
21
  id_type = 'id'
22
22
  else
23
- return { error: { message: 'Missing the user id param. See the available options here: http://developers.dito.com.br/docs/sdks/ruby' } }
23
+ return { :error => { :message => 'Missing the user id param. See the available options here: http://developers.dito.com.br/docs/sdks/ruby' } }
24
24
  end
25
25
 
26
- params = { event: options[:event].to_json }
26
+ params = { :event => options[:event].to_json }
27
27
  params[:id_type] = id_type if id_type.present?
28
28
 
29
29
  Dito::Request.post 'events', "/users/#{id}/", params
data/lib/dito/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  module Dito
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dito
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
  - Marcos Nogueira