effective_reports 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/report.rb +1 -1
- data/app/models/effective/report_column.rb +1 -1
- data/app/models/effective/report_scope.rb +1 -1
- data/config/effective_reports.rb +0 -4
- data/db/migrate/{01_create_effective_reports.rb.erb → 101_create_effective_reports.rb} +3 -3
- data/lib/effective_reports/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cced3e68526e1530349ac707cdfc6be8464c375c2f6cd3c6ebe2533ddfd7b06
|
4
|
+
data.tar.gz: 40086ff7a170ce7e7271c672523248367457fe4986d9fa79743d82c4359aced4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3b6fe097d2ae0f7a168ba9daa53df29f2528a56b02b5e6ed88b87c8f08686924dcfb36b3483b67a36ad38d26e705719d09e8b8bbd1278038631a2399a41f031
|
7
|
+
data.tar.gz: 9b96c0c343fd4bd32e379dbd85cddddfb22df466ef1dec680aeba7a3d294effe912d3784cedebe522c5f36ad3deee3b0050755723fc8cf70fc600f32e11fd73a
|
data/config/effective_reports.rb
CHANGED
@@ -1,8 +1,4 @@
|
|
1
1
|
EffectiveReports.setup do |config|
|
2
|
-
config.reports_table_name = :reports
|
3
|
-
config.report_columns_table_name = :report_columns
|
4
|
-
config.report_scopes_table_name = :report_scopes
|
5
|
-
|
6
2
|
# Layout Settings
|
7
3
|
# Configure the Layout per controller, or all at once
|
8
4
|
# config.layout = { application: 'application', admin: 'admin' }
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class CreateEffectiveReports < ActiveRecord::Migration[6.0]
|
2
2
|
def change
|
3
|
-
create_table
|
3
|
+
create_table :reports do |t|
|
4
4
|
t.integer :created_by_id
|
5
5
|
t.string :created_by_type
|
6
6
|
|
@@ -12,7 +12,7 @@ class CreateEffectiveReports < ActiveRecord::Migration[6.0]
|
|
12
12
|
t.timestamps
|
13
13
|
end
|
14
14
|
|
15
|
-
create_table
|
15
|
+
create_table :report_columns do |t|
|
16
16
|
t.integer :report_id
|
17
17
|
|
18
18
|
t.string :name
|
@@ -34,7 +34,7 @@ class CreateEffectiveReports < ActiveRecord::Migration[6.0]
|
|
34
34
|
t.timestamps
|
35
35
|
end
|
36
36
|
|
37
|
-
create_table
|
37
|
+
create_table :report_scopes do |t|
|
38
38
|
t.integer :report_id
|
39
39
|
|
40
40
|
t.string :name
|
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
|
+
version: 0.3.0
|
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: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -194,7 +194,7 @@ files:
|
|
194
194
|
- app/views/admin/reports/_report.html.haml
|
195
195
|
- config/effective_reports.rb
|
196
196
|
- config/routes.rb
|
197
|
-
- db/migrate/
|
197
|
+
- db/migrate/101_create_effective_reports.rb
|
198
198
|
- db/seeds.rb
|
199
199
|
- lib/effective_reports.rb
|
200
200
|
- lib/effective_reports/engine.rb
|