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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5acd4d3ff187681501c9697623e533469fbd078
4
- data.tar.gz: 3db1b1ccb842236be1bfbb67892057048e9ca222
3
+ metadata.gz: 0e3e876f07fe44ab1c4fa16a524b2366e024e179
4
+ data.tar.gz: 9cdf5f844983e0da852123982545c990bc4993a0
5
5
  SHA512:
6
- metadata.gz: c5e55119b3145df92dcc7fd9c5d650e065c03225ed70a2e4a61af3576dcc4e62f08f0a85f6b554dc5e842b3d32f77bbd82413e9c29ec54e9c59364c3ac8a2df0
7
- data.tar.gz: a8717325444256c633c35fc8ae49dad9e3fc5ca6263edd39a1256e525a04b124d424fbe50f3a322d21d43378c0fbf735c09df4ee65575acc62c32dd075b6977d
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])
@@ -1,3 +1,3 @@
1
1
  module CrujCrujCruj
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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-23 00:00:00.000000000 Z
11
+ date: 2016-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails