clark_kent 0.2.0 → 0.2.1

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: 1f928ab14e59d5cc836d2498eb09f1e3a729c1e9
4
- data.tar.gz: 56aaf490a772b70d5c86e628e40d68236194d23a
3
+ metadata.gz: b029e3ac2518fb41b409f6288e6f90ba35d7ecdd
4
+ data.tar.gz: 4d82f431463da33156e6aba58c0f5b6700ebff13
5
5
  SHA512:
6
- metadata.gz: 042e664b3c850a141286586ae7397795edc4fceb11ceb17aa5023f4695f5044bf1601fa0387311294835bd6327170cd7950c6e921272808e3927ffbbd8fef6d6
7
- data.tar.gz: 0ae82aaa60759afde5ecd424e23d319ea502b1e408bf8bb89c7cc392a728d145463a442bafd18c8f055c350ee0ada55c14ac47d26699d7af6e535c95635ddf1c
6
+ metadata.gz: 7928410041cb5af435389a090ab4571c5c9e296b484737ccf58831ee2836e5138417e86aaf80e37a987cecb6765efa0d2b5fa8e6b355c072ddfe00402ae42f53
7
+ data.tar.gz: 3631d7a0007f0d7a162b6740ee14b56b05d207ef7942fbce25fe10c88bd300c3cfbfd2d66462b60ccc097ff144aceed6c498128531f1ac2dbcc42f0fe6de1729
@@ -157,7 +157,7 @@ module ClarkKent
157
157
  @selects = []
158
158
  self.report_columns.each do |report_column|
159
159
  column_option = self.column_options_for(report_column.column_name)
160
- @selects.push column_option.custom_select
160
+ @selects.push column_option.custom_select if column_option.present? && column_option.custom_select.present?
161
161
  end
162
162
  self.report_filters.each do |report_filter|
163
163
  column_option = self.column_options_for(report_filter.filter_name.to_sym)
@@ -110,7 +110,6 @@ module ClarkKent
110
110
  @groups.uniq.each do |grouper|
111
111
  query = query.group(grouper)
112
112
  end if @groups.any?
113
-
114
113
  if count == true
115
114
  return query.count
116
115
  else
@@ -36,7 +36,7 @@
36
36
  <td><%= display_for_value(row[column.column_name], column) %></td>
37
37
  <% end %>
38
38
  </tr>
39
- <% end if @rows.present? %>
39
+ <% end %>
40
40
  </table>
41
41
  </div>
42
42
  <div class="ih-row margin-top">
@@ -1,3 +1,3 @@
1
1
  module ClarkKent
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clark_kent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-12 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: foreign_office
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: aws-sdk
85
99
  requirement: !ruby/object:Gem::Requirement