effective_datatables 4.35.5 → 4.35.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae823103d326ec830fd7dc31bab97a82de73857501741671af1a08802c37c444
|
|
4
|
+
data.tar.gz: 782d83cf2df3553ce0afb8fbc1c75ae830aa969755f03b306a600cf32c96fc37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e756e4d82e7b6f075886ad4949ae3f237da5c3874787b71fe49f7fd4b08e6229510c992b86ef3373f3994e86a01f3b52cdd92931801b11d196ef482c2caad57
|
|
7
|
+
data.tar.gz: 716b530ec0b35768954e6a7197caf264110bfc9b3907b89a43c3ec044088f6cc774b52c5225c242aea15f865d1e86f5cb3ab5c2a0a5d14cf5e7633940b1d0e09
|
|
@@ -235,9 +235,9 @@ module Effective
|
|
|
235
235
|
when :current_year
|
|
236
236
|
(now.beginning_of_year..now.end_of_day)
|
|
237
237
|
when :month
|
|
238
|
-
(start_date || now).all_month
|
|
238
|
+
(start_date || now).in_time_zone.all_month
|
|
239
239
|
when :year
|
|
240
|
-
(start_date || now).all_year
|
|
240
|
+
(start_date || now).in_time_zone.all_year
|
|
241
241
|
when :custom
|
|
242
242
|
(start_date&.beginning_of_day..end_date&.end_of_day)
|
|
243
243
|
when :all
|
|
@@ -29,6 +29,8 @@ module Effective
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
def csv_file
|
|
32
|
+
view.lookup_context.formats = [:html]
|
|
33
|
+
|
|
32
34
|
CSV.generate do |csv|
|
|
33
35
|
csv << csv_header()
|
|
34
36
|
|
|
@@ -60,6 +62,8 @@ module Effective
|
|
|
60
62
|
end
|
|
61
63
|
|
|
62
64
|
def csv_stream
|
|
65
|
+
view.lookup_context.formats = [:html]
|
|
66
|
+
|
|
63
67
|
EffectiveResources.with_resource_enumerator do |lines|
|
|
64
68
|
lines << CSV.generate_line(csv_header)
|
|
65
69
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_datatables
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.35.
|
|
4
|
+
version: 4.35.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: 2026-
|
|
11
|
+
date: 2026-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|