doodle_rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/doodle/reports_helper.rb +2 -2
- data/lib/doodle/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce9f190fed1d21360f0438618328df034a661250
|
4
|
+
data.tar.gz: b8e75177756fd8e58d349d4696a89f0a54059c9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c0c9210ad59ebea942c9c4b6f945d4c986543fa23081c328212e96d9d187917a8a16cecbd88c8058d947afb78328aff65cf44e1284427f2e735538ec5eb8f10
|
7
|
+
data.tar.gz: c9d12c84d3b8e53ed5a131589d282a0120022112a0515ef0a218fb2a3fbb6273f9fb97cde0125b7dc0ef990c49bf9c337538091f37f3ac9ae835a34f9b9b41ac
|
@@ -29,8 +29,8 @@ module Doodle
|
|
29
29
|
|
30
30
|
def service_metrics
|
31
31
|
{
|
32
|
-
waiting_time: "#{Doodle::Protocol.average_waiting_time.round / 60.to_f} min",
|
33
|
-
service_time: "#{Doodle::Protocol.average_service_time.round / 60.to_f} min"
|
32
|
+
waiting_time: "#{Doodle::Protocol.average_waiting_time.try(:round) || 0 / 60.to_f} min",
|
33
|
+
service_time: "#{Doodle::Protocol.average_service_time.try(:round) || 0 / 60.to_f} min"
|
34
34
|
}
|
35
35
|
end
|
36
36
|
end
|
data/lib/doodle/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doodle_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Malaquias
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: sqlite3
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
description: A Rails Engine for vists based in Layer Plataform
|
42
28
|
email:
|
43
29
|
- gmalakias@bitbucket.com
|