third_prestige_rails_admin_charts 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_admin_charts.rb +2 -2
- data/lib/rails_admin_charts/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: 8238989e4a1502df70e418c729f111b60360ab64
|
4
|
+
data.tar.gz: a15a8b578be30226a05ab618e9dda8a9e81e3d17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cdb92172c9e7ceb3025ed97f4989058b2068d66a45e90871ec432fea0170856d8abc73f8e1d1eb6cbed85827da2356a1fc419299b504003b9858ae446511a7b
|
7
|
+
data.tar.gz: 4c38824afdd42aeff0a664020ebbdd5986db50643795ef9db6d41a7ae503b338d57493a5532e605237626ea9e26bcb812e150b085ae20c476022b341d00fa017
|
data/lib/rails_admin_charts.rb
CHANGED
@@ -20,7 +20,7 @@ module RailsAdminCharts
|
|
20
20
|
def graph_data since=30.days.ago
|
21
21
|
[
|
22
22
|
{
|
23
|
-
name: model_name.
|
23
|
+
name: model_name.plural,
|
24
24
|
pointInterval: 1.day * 1000,
|
25
25
|
pointStart: since.to_i * 1000,
|
26
26
|
data: self.total_records_since(since)
|
@@ -30,4 +30,4 @@ module RailsAdminCharts
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
require 'rails_admin_charts/rails_admin/config/actions/charts'
|
33
|
+
require 'rails_admin_charts/rails_admin/config/actions/charts'
|