reports_kit 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gemfiles/rails_4_mysql.gemfile.lock +1 -1
- data/gemfiles/rails_4_postgresql.gemfile.lock +1 -1
- data/gemfiles/rails_5.1.4_postgresql.gemfile.lock +1 -1
- data/gemfiles/rails_5_mysql.gemfile.lock +1 -1
- data/gemfiles/rails_5_postgresql.gemfile.lock +1 -1
- data/lib/reports_kit/configuration.rb +6 -0
- data/lib/reports_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91c1e89f707ed386d31fbd29b764143a579bd634
|
4
|
+
data.tar.gz: 4afd3e37a4f9d315693e2f8626359ead4ba36870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aecd3b0e784ec878e3cd154f1b16404f3c88b5a4aa910361ffc70c0cbf8c769fb40c90c6adea9069e2a7096d34c95c6f01dfaacff2140cbc8206b6444936298d
|
7
|
+
data.tar.gz: 636e9ba27cef392cb7d22e8ae3ef61606e5e859744490baaad9fe8a5e75767431fb07d8686c5fe989e4072cf9de87d6e82987e94492421cb463ee206e3ee9554
|
@@ -37,6 +37,12 @@ module ReportsKit
|
|
37
37
|
raise ArgumentError.new("Invalid type for custom_methods configuration: #{custom_methods.class}")
|
38
38
|
end
|
39
39
|
|
40
|
+
def context_record_method=(context_record_method)
|
41
|
+
warn "[DEPRECATION] `context_record_method` is deprecated. Please use contextual filters instead: https://www.reportskit.co/subcategories/contextual_filters"
|
42
|
+
|
43
|
+
@context_record_method = context_record_method
|
44
|
+
end
|
45
|
+
|
40
46
|
def context_record(context)
|
41
47
|
return unless context_record_method
|
42
48
|
context.instance_eval(&context_record_method)
|
data/lib/reports_kit/version.rb
CHANGED