cruj_cruj_cruj_visagio 1.0.5 → 1.0.6

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
  SHA256:
3
- metadata.gz: 37cbabd2008ce9320cf86f7157283701a062b21a0f5ca32c42dfe4a19570b74c
4
- data.tar.gz: 2caea412ce625e05bc0b65a0f6ab4f13b358cdb5641b5602afaf585d5529b9a8
3
+ metadata.gz: ce74d578d9c053b19922fc0ede3bc55f18ead413799ae59acd868d52cb1c1ae4
4
+ data.tar.gz: e1492be6699e682cf252a9e4693bb38717a7da1c1f1cf590952e3edd09a95aa5
5
5
  SHA512:
6
- metadata.gz: 0e34145f7349a745bc15948850435497790d6f9447459dc1569d63057126a12dd84e565f6ab207631798730c1d8e79e1eea9f8df9262947f4f65568e1f81489b
7
- data.tar.gz: 3e8e5529334621fe075e60d51bcbe610bbcd2c649a8e50a47239eeb10fe71a6555a2045c0113715619c7c086eb29959378580ab5bf598a92a2d8cf2b6185fb13
6
+ metadata.gz: fae9e50d46d085364adf3153518eaac4d13c41a7dea09c1a80261e344310933f43154efe1839740a3b63757431c01c8691c321edf7d0f54a3cce1447663b347f
7
+ data.tar.gz: e7ee1644a1e586b531eb718eda9aadc44add939d692e6c0d2da00415fe0dcbedd6b318169e2c103affa315963c0dd75f32bae1c61794f6062b69c9c585de08b6
@@ -220,6 +220,10 @@ class CrujCrujCrujController < ApplicationController
220
220
  "#{attribute}_cont"
221
221
  end
222
222
 
223
+ def filter_for_integer(attribute)
224
+ "#{attribute}_eq"
225
+ end
226
+
223
227
  def filter_for_boolean(attribute)
224
228
  "#{attribute}_true"
225
229
  end
@@ -15,7 +15,7 @@
15
15
  <%= f.select attribute_name, attribute_values.map { |k,v| [v,k] }, { include_blank: t(:all_field), selected: params[:q] ? params[:q][attribute_name] : '' } %>
16
16
  <% elsif attribute_name =~ /true/ %>
17
17
  <%= f.select attribute_name, [[t(:true_field), 1], [t(:false_field), 0]], { include_blank: t(:all_field), selected: params[:q] ? params[:q][attribute_name] : '' } %>
18
- <% elsif attribute_name =~ /cont/ %>
18
+ <% elsif attribute_name =~ /cont|eq/ %>
19
19
  <%= f.search_field attribute_name %>
20
20
  <% else %>
21
21
  <%= render "#{attribute_name}_filter" %>
@@ -4,6 +4,9 @@ en:
4
4
  all_field: All
5
5
  label_principal: Assigned To
6
6
  label_issue_status: 'Status'
7
+ label_status_from: Status From
8
+ label_status_to: Status To
9
+ label_name: Name
7
10
  label_type: Type
8
11
 
9
12
  project_name_cont: Project Name contains
@@ -4,6 +4,9 @@ pt-BR:
4
4
  all_field: Todos
5
5
  label_principal: 'Atribuído para'
6
6
  label_issue_status: 'Status'
7
+ label_status_from: Status De
8
+ label_status_to: Status Para
9
+ label_name: Nome
7
10
  label_type: Tipo
8
11
 
9
12
  project_name_cont: Nome do projeto contém
@@ -1,3 +1,3 @@
1
1
  module CrujCrujCruj
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cruj_cruj_cruj_visagio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Visagio