effective_reports 0.4.6 → 0.4.7

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: 6d17b2b5fa09430885fdf6cbb66abfd0e082189ad50a23b2a4787d4db6d6a9a3
4
- data.tar.gz: f5b5d85079e66a31df655e261723c20f186afbb5e5959d85cc19460e8a24714e
3
+ metadata.gz: 72c4899782bb1f08e5db2cea07f9f5572d496cbd754ccc2905df308b46d19d61
4
+ data.tar.gz: 7b500e62c9796dcfa5cf5be4fdade189f5863bf129b74f3b0c08a759e7508af2
5
5
  SHA512:
6
- metadata.gz: 0e415977ddf36b30114f8bf9c2646fb8c71fa6b8e735208e94baf7b76ff58374f5a46dfb7bb1e7ad6833f3947afe938ac7e5c0a69efd12b058f17c0b7c590c61
7
- data.tar.gz: e80d08319c8f0f99afe66da49f73c2943beec2f573ff9475724c17ff8b42eaff909cf798a6efbc163bbfede1f215bd1aab4ec8635dc94b806a89a8fe001fd19e
6
+ metadata.gz: 36c6c329a44d8822fe1a3eec1cd528bea7045f4b51b8c2064ccc0ef0c6766cd093bd4530fa6f9a86f5eb8bf376b21ca33acab79ce0fb37253584fffccd855c73
7
+ data.tar.gz: 63001d87f4d6eb913f30173f4c5dffff0dfe10278d68c42b7a7cf32fbc88c7a804c7596ad2ce475cfb0155a31954e500f6ebe7e98957fcdcd07ce4c0135ffb65
@@ -84,10 +84,12 @@ module Effective
84
84
  report_columns.find { |column| column.name == 'email' } || report_columns.find { |column| column.name.include?('email') }
85
85
  end
86
86
 
87
- def user_report_column
87
+ def emailable_report_column
88
88
  report_columns.find { |column| column.name == 'user' } ||
89
89
  report_columns.find { |column| column.name == 'owner' } ||
90
- report_columns.find { |column| column.name.include?('user') }
90
+ report_columns.find { |column| column.name.include?('user') } ||
91
+ report_columns.find { |column| column.name == 'organization' } ||
92
+ report_columns.find { |column| column.name.include?('organization') }
91
93
  end
92
94
 
93
95
  # Used to build the Reports form
@@ -1,3 +1,3 @@
1
1
  module EffectiveReports
2
- VERSION = '0.4.6'.freeze
2
+ VERSION = '0.4.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails