old_sql 0.48.0 → 0.49.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/lib/generators/old_sql/templates/old_sql.rb +7 -0
- data/lib/old_sql.rb +13 -0
- metadata +2 -2
|
@@ -4,4 +4,11 @@ OldSql.setup do |config|
|
|
|
4
4
|
# Configure the default report view. This setting will be used unless overridden
|
|
5
5
|
# in config/old_sql/reports.yml.
|
|
6
6
|
config.default_report_view = "jqgrid"
|
|
7
|
+
|
|
8
|
+
# ==> jqGrid Report View Configuration
|
|
9
|
+
# Height of the jqGrid component in the jqGrid report view.
|
|
10
|
+
config.jqgrid_height = 630
|
|
11
|
+
|
|
12
|
+
# Width of the jqGrid component in the jqGrid report view.
|
|
13
|
+
config.jqgrid_height = 800
|
|
7
14
|
end
|
data/lib/old_sql.rb
CHANGED
|
@@ -6,6 +6,19 @@ module OldSql
|
|
|
6
6
|
mattr_accessor :default_report_view
|
|
7
7
|
@@default_report_view = 'jqgrid'
|
|
8
8
|
|
|
9
|
+
# The default report view. This setting will be used unless overridden in
|
|
10
|
+
# config/old_sql/reports.yml.
|
|
11
|
+
mattr_accessor :default_report_view
|
|
12
|
+
@@default_report_view = 'jqgrid'
|
|
13
|
+
|
|
14
|
+
# Width of the jqGrid component in the jqGrid report view.
|
|
15
|
+
mattr_accessor :jqgrid_width
|
|
16
|
+
@@jqgrid_width = 800
|
|
17
|
+
|
|
18
|
+
# Height of the jqGrid component in the jqGrid report view.
|
|
19
|
+
mattr_accessor :jqgrid_height
|
|
20
|
+
@@jqgrid_width = 630
|
|
21
|
+
|
|
9
22
|
# Default way to setup Old SQL. Run rails generate old_sql:install to create
|
|
10
23
|
# a fresh initializer with all configuration values.
|
|
11
24
|
def self.setup
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: old_sql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.49.0
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Eddie Gonzales
|
|
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
199
199
|
requirements:
|
|
200
200
|
- - ">="
|
|
201
201
|
- !ruby/object:Gem::Version
|
|
202
|
-
hash:
|
|
202
|
+
hash: 4169290534530978021
|
|
203
203
|
segments:
|
|
204
204
|
- 0
|
|
205
205
|
version: "0"
|