cruj_cruj_cruj 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/cruj_cruj_cruj_controller.rb +4 -0
- data/lib/cruj_cruj_cruj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e3e876f07fe44ab1c4fa16a524b2366e024e179
|
4
|
+
data.tar.gz: 9cdf5f844983e0da852123982545c990bc4993a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db4b466fce2f5452a8f7f377b3b1c23c36cbe7da579f394ab8eef89d6d040b3ad1cf557dc9ab287baab38842a355d086bd730493285d9b491da4208a1e31b021
|
7
|
+
data.tar.gz: 7e6a1367e7927574fc6cae67e26ac45bee3c5f1d80c1a44a88b6615abaa0f06ad60ba5a64ba4edcfbeee3f2730486deaa9acf016c3eb30858ffcfb7d49031c96
|
@@ -101,6 +101,10 @@ class CrujCrujCrujController < ApplicationController
|
|
101
101
|
number_with_delimiter(field)
|
102
102
|
end
|
103
103
|
|
104
|
+
def format_field_float(field)
|
105
|
+
number_with_precision(field)
|
106
|
+
end
|
107
|
+
|
104
108
|
def filter_for(attribute)
|
105
109
|
if attribute.is_a? Array
|
106
110
|
send("filter_for_enum", attribute[0], attribute[1])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cruj_cruj_cruj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Campos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|