old_sql 1.18.0 → 1.19.0
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.
- data/README.md +6 -0
- data/lib/generators/old_sql/templates/reports.yml.example +6 -0
- metadata +2 -2
data/README.md
CHANGED
|
@@ -95,6 +95,9 @@ Configure your reports config/old_sql/report.yml. An example configuration is cr
|
|
|
95
95
|
# 'report_view' is optional. It overrides the default_report_view defined in the initializer. It
|
|
96
96
|
# can be set to jqgrid, table, or chart.
|
|
97
97
|
#
|
|
98
|
+
# 'query_vars' are variables that are passed into the SQL file and can be parsed using ERB.
|
|
99
|
+
# E.g. <%=foo%>
|
|
100
|
+
#
|
|
98
101
|
# Optionally use 'report_db' to specify a class that extends ActiveRecord::Base. Use the require
|
|
99
102
|
# path for your class. E.g. foo/my_alternative_db.
|
|
100
103
|
#
|
|
@@ -105,6 +108,9 @@ Configure your reports config/old_sql/report.yml. An example configuration is cr
|
|
|
105
108
|
report_sql: user_old_sql_demo
|
|
106
109
|
report_design: user_old_sql_demo.CSV
|
|
107
110
|
report_view: jqgrid
|
|
111
|
+
query_vars:
|
|
112
|
+
-
|
|
113
|
+
foo: bar
|
|
108
114
|
fields:
|
|
109
115
|
- 'id'
|
|
110
116
|
- 'name'
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
# 'report_view' is optional. It overrides the default_report_view defined in the initializer. It
|
|
19
19
|
# can be set to jqgrid, table, or chart.
|
|
20
20
|
#
|
|
21
|
+
# 'query_vars' are variables that are passed into the SQL file and can be parsed using ERB.
|
|
22
|
+
# E.g. <%=foo%>
|
|
23
|
+
#
|
|
21
24
|
# Optionally use 'report_db' to specify a class that extends ActiveRecord::Base. Use the require
|
|
22
25
|
# path for your class. E.g. foo/my_alternative_db.
|
|
23
26
|
#
|
|
@@ -28,6 +31,9 @@ user_jqgrid:
|
|
|
28
31
|
report_sql: user_old_sql_demo
|
|
29
32
|
report_design: user_old_sql_demo.csv
|
|
30
33
|
report_view: jqgrid
|
|
34
|
+
query_vars:
|
|
35
|
+
-
|
|
36
|
+
foo: bar
|
|
31
37
|
fields:
|
|
32
38
|
- 'id'
|
|
33
39
|
- 'name'
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: old_sql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.
|
|
5
|
+
version: 1.19.0
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Eddie Gonzales
|
|
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
193
193
|
requirements:
|
|
194
194
|
- - ">="
|
|
195
195
|
- !ruby/object:Gem::Version
|
|
196
|
-
hash:
|
|
196
|
+
hash: -4313948363484833511
|
|
197
197
|
segments:
|
|
198
198
|
- 0
|
|
199
199
|
version: "0"
|