dynamic_query 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
  <% or_val.each_with_index do |(and_key, and_val), idx2| %>
6
6
  <tr>
7
7
  <td>
8
- <%= submit_tag '', :name => "query[add_or]", :style => 'color: purple;' if idx1 == 0 && idx2 == 0 %>
8
+ <%= submit_tag 'ǁ', :name => "query[add_or]", :style => 'color: purple;', :title => 'OR' if idx1 == 0 && idx2 == 0 %>
9
9
  <%= submit_tag '-', :name => "query[remove_#{or_key}]", :style => 'color: red;' if idx1 != 0 && idx2 == 0 %>
10
10
  </td>
11
11
  <td><%= select_tag "query[#{or_key}][#{and_key}][column]", options_for_select(panel[:columns].keys, and_val[:column]) %></td>
@@ -25,7 +25,7 @@
25
25
  <% end %>
26
26
  </td>
27
27
  <td>
28
- <%= submit_tag '+', :name => "query[#{or_key}-and]", :style => 'color: blue;' if idx2 == 0 %>
28
+ <%= submit_tag '+', :name => "query[#{or_key}-and]", :style => 'color: blue;', :title => 'AND' if idx2 == 0 %>
29
29
  <%= submit_tag 'x', :name => "query[#{or_key}-#{and_key}]", :style => 'color: green;' if idx2 != 0 %>
30
30
  </td>
31
31
  </tr>
@@ -5,7 +5,7 @@
5
5
  <% or_val.each_with_index do |(and_key, and_val), idx2| %>
6
6
  <tr>
7
7
  <td>
8
- <%= submit_tag '', :name => "query[add_or]", :style => 'color: purple;' if idx1 == 0 && idx2 == 0 %>
8
+ <%= submit_tag 'ǁ', :name => "query[add_or]", :style => 'color: purple;', :title => 'OR' if idx1 == 0 && idx2 == 0 %>
9
9
  <%= submit_tag '-', :name => "query[remove_#{or_key}]", :style => 'color: red;' if idx1 != 0 && idx2 == 0 %>
10
10
  </td>
11
11
  <td><%= select_tag "query[#{or_key}][#{and_key}][column]", options_for_select(panel[:columns].keys, and_val[:column]) %></td>
@@ -25,7 +25,7 @@
25
25
  <% end %>
26
26
  </td>
27
27
  <td>
28
- <%= submit_tag '+', :name => "query[#{or_key}-and]", :style => 'color: blue;' if idx2 == 0 %>
28
+ <%= submit_tag '+', :name => "query[#{or_key}-and]", :style => 'color: blue;', :title => 'AND' if idx2 == 0 %>
29
29
  <%= submit_tag 'x', :name => "query[#{or_key}-#{and_key}]", :style => 'color: green;' if idx2 != 0 %>
30
30
  </td>
31
31
  </tr>
@@ -3,7 +3,7 @@ class DynamicQuery
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- PATCH = 3
6
+ PATCH = 4
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-21 00:00:00.000000000 Z
12
+ date: 2012-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  segments:
145
145
  - 0
146
- hash: 1730957928545005888
146
+ hash: 3050679975131115800
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  none: false
149
149
  requirements:
@@ -155,5 +155,5 @@ rubyforge_project:
155
155
  rubygems_version: 1.8.24
156
156
  signing_key:
157
157
  specification_version: 3
158
- summary: dynamic_query-0.1.3
158
+ summary: dynamic_query-0.1.4
159
159
  test_files: []