cruj_cruj_cruj 0.0.1 → 0.0.2

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: 3987ce48a69f2b48914c776342a8743135ee694f
4
- data.tar.gz: b9e5d7cbed4869e6b31b0e3a28999adfc33b4196
3
+ metadata.gz: 880815c873a933717509cc84e1b097a1ce90e04d
4
+ data.tar.gz: 2623dfa7fc8a60531b5b65a5c31996318372badb
5
5
  SHA512:
6
- metadata.gz: 2ef72666a821e6e73cf0d96214949b9c6255de8492d420cbfb2826b1d99a0f3207469d89e1a99b0919575d2e2a9daac405c1f33dcedacf909e875652c42a6494
7
- data.tar.gz: 1b690235773d2f0b59a3e8226d64f47df1f18162067e195c028ed096068b2ee3b0963769a352866e3905c0d6a50435f4d37f7493defc790d43c00c550f117be0
6
+ metadata.gz: 43a0ed033f0604ba91f28aec85dbc7fe4c3485bed2cae43a827e032d864a518861ed93695a41470695d18405034cd80da6ea25ceccd9e09c83d94b2d51d9ddc4
7
+ data.tar.gz: 707698baf4d7a2445eaf16bc74b6844bfb4ec53e98f34e485f4ce224ba9b3810aae1380ee0cac2cd8e326547b39a46c2bfece9ed01cea74c68b6420e66a36a5d
@@ -1,4 +1,6 @@
1
1
  class CrujCrujCrujController < ApplicationController
2
+ include ActionView::Helpers::NumberHelper
3
+
2
4
  before_action :before_index, only: [:index]
3
5
  before_action :find_all_resources, only: [:index]
4
6
 
@@ -90,6 +92,10 @@ class CrujCrujCrujController < ApplicationController
90
92
  t(:false_field)
91
93
  end
92
94
 
95
+ def format_field_fixnum(field)
96
+ number_with_delimiter(field)
97
+ end
98
+
93
99
  def filter_for(attribute)
94
100
  if attribute.is_a? Array
95
101
  send("filter_for_enum", attribute[0], attribute[1])
@@ -1,3 +1,3 @@
1
1
  module CrujCrujCruj
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cruj_cruj_cruj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Campos