effective_reports 0.4.6 → 0.4.8

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: d7ea5b90ff5c51c8f710cc07b94be3f58fc426fd801493b113016751da05c2fd
4
+ data.tar.gz: 70c807d92de70c506ae6e012208fd77d310adfaab06534090cb4d2c0e7405164
5
5
  SHA512:
6
- metadata.gz: 0e415977ddf36b30114f8bf9c2646fb8c71fa6b8e735208e94baf7b76ff58374f5a46dfb7bb1e7ad6833f3947afe938ac7e5c0a69efd12b058f17c0b7c590c61
7
- data.tar.gz: e80d08319c8f0f99afe66da49f73c2943beec2f573ff9475724c17ff8b42eaff909cf798a6efbc163bbfede1f215bd1aab4ec8635dc94b806a89a8fe001fd19e
6
+ metadata.gz: 0f4f36760d826d45f98ee6ac8e150e443c812a7f8bc07e187155c0c540f2caeb54f0eebb6b4a287f6ee6c7473ef0c4647ddb8d7e973454f23db0120bda627694
7
+ data.tar.gz: f3e1c04be12ecdd57cad091c9421712de6fc4782b8141e4b440bdada9d47975051e35271fe1023ca19228027834106608682d989ce18f988c3348fb38870ac0a
@@ -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
@@ -0,0 +1,4 @@
1
+ en:
2
+ activerecord:
3
+ models:
4
+ effective/report: 'Custom Report'
@@ -1,3 +1,3 @@
1
1
  module EffectiveReports
2
- VERSION = '0.4.6'.freeze
2
+ VERSION = '0.4.8'.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.8
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-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -193,6 +193,7 @@ files:
193
193
  - app/views/admin/reports/_layout.html.haml
194
194
  - app/views/admin/reports/_report.html.haml
195
195
  - config/effective_reports.rb
196
+ - config/locales/effective_reports.en.yml
196
197
  - config/routes.rb
197
198
  - db/migrate/101_create_effective_reports.rb
198
199
  - db/seeds.rb