analytico 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/analytico/client.rb +2 -2
  3. metadata +3 -13
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -65,7 +65,7 @@ module Analytico
65
65
 
66
66
  def post(endpoint, data=nil)
67
67
  unless production_env?
68
- warn "%%% Analytico %%% Skipping while not in production. Would have sent (async: #{@@async ? 'on' : 'off' }): #{data.inspect}"
68
+ Rails.logger.warn "%%% Analytico %%% Skipping while not in production. Would have sent (async: #{@@async ? 'on' : 'off' }): #{data.inspect}"
69
69
  return nil
70
70
  end
71
71
  if @@async
@@ -79,7 +79,7 @@ module Analytico
79
79
  begin
80
80
  @@connection.post(endpoint, data)
81
81
  rescue
82
- warn "%%% Analytico %%% There was an error communicating with Analytico"
82
+ Rails.logger.warn "%%% Analytico %%% There was an error communicating with Analytico"
83
83
  end
84
84
  end
85
85
 
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analytico
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 3
9
- - 2
10
- version: 0.3.2
8
+ - 3
9
+ version: 0.3.3
11
10
  platform: ruby
12
11
  authors:
13
12
  - Mauricio Gomes
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-11-13 00:00:00 -05:00
17
+ date: 2010-11-18 00:00:00 -08:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 13
30
28
  segments:
31
29
  - 0
32
30
  - 7
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 15
46
43
  segments:
47
44
  - 1
48
45
  - 6
@@ -58,7 +55,6 @@ dependencies:
58
55
  requirements:
59
56
  - - ">"
60
57
  - !ruby/object:Gem::Version
61
- hash: 23
62
58
  segments:
63
59
  - 1
64
60
  - 0
@@ -74,7 +70,6 @@ dependencies:
74
70
  requirements:
75
71
  - - ">="
76
72
  - !ruby/object:Gem::Version
77
- hash: 3
78
73
  segments:
79
74
  - 0
80
75
  version: "0"
@@ -88,7 +83,6 @@ dependencies:
88
83
  requirements:
89
84
  - - ">="
90
85
  - !ruby/object:Gem::Version
91
- hash: 3
92
86
  segments:
93
87
  - 0
94
88
  version: "0"
@@ -102,7 +96,6 @@ dependencies:
102
96
  requirements:
103
97
  - - <
104
98
  - !ruby/object:Gem::Version
105
- hash: 11
106
99
  segments:
107
100
  - 2
108
101
  - 1
@@ -118,7 +111,6 @@ dependencies:
118
111
  requirements:
119
112
  - - <
120
113
  - !ruby/object:Gem::Version
121
- hash: 15
122
114
  segments:
123
115
  - 2
124
116
  - 0
@@ -163,7 +155,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
155
  requirements:
164
156
  - - ">="
165
157
  - !ruby/object:Gem::Version
166
- hash: 3
167
158
  segments:
168
159
  - 0
169
160
  version: "0"
@@ -172,7 +163,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
163
  requirements:
173
164
  - - ">="
174
165
  - !ruby/object:Gem::Version
175
- hash: 3
176
166
  segments:
177
167
  - 0
178
168
  version: "0"