alego_functions 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. data/lib/alego_functions.rb +9 -3
  2. metadata +4 -4
@@ -1,9 +1,15 @@
1
1
  module Funcoes
2
2
 
3
3
  def self.tratar_status(status)
4
- "FINALIZADO" if status == 1
5
- "NÃO ENTREGUE" if status == 2
6
- "INCOMPLETO" if status == 3
4
+
5
+ if status == 1
6
+ "FINALIZADO"
7
+ elsif status == 2
8
+ "NÃO ENTREGUE"
9
+ else
10
+ "INCOMPLETO"
11
+ end
12
+
7
13
  end
8
14
 
9
15
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alego_functions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Gustavo Gomes da F\xC3\xA9"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-23 00:00:00 Z
18
+ date: 2012-11-26 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: "Tem a funcionalidade de prover m\xC3\xA9todos prontos de manipula\xC3\xA7\xC3\xA3o de data, moeda e outros"