old_sql 0.49.0 → 0.50.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.
@@ -11,10 +11,10 @@ jQuery(document).ready(function(){
11
11
  pager: false,
12
12
  colNames: <%=jqgrid_col_names%>,
13
13
  colModel: <%=jqgrid_col_model%>,
14
- rowNum:25,
15
- rowList:[10,20,30],
16
- width: 777,
17
- height: 650,
14
+ rowNum: <%=OldSql.jqgrid_row_num%>,
15
+ rowList: [10,20,30],
16
+ width: <%=OldSql.jqgrid_width%>,
17
+ height: <%=OldSql.jqgrid_height%>,
18
18
  caption: "<%=@reports[@report_name]['value']%> Report"
19
19
  });
20
20
  });
@@ -11,4 +11,7 @@ OldSql.setup do |config|
11
11
 
12
12
  # Width of the jqGrid component in the jqGrid report view.
13
13
  config.jqgrid_height = 800
14
+
15
+ # Number of rows to display in the jqGrid component in the jqGrid report view.
16
+ config.jqgrid_row_num = 25
14
17
  end
data/lib/old_sql.rb CHANGED
@@ -19,6 +19,10 @@ module OldSql
19
19
  mattr_accessor :jqgrid_height
20
20
  @@jqgrid_width = 630
21
21
 
22
+ # Number of rows to display in the jqGrid component in the jqGrid report view.
23
+ mattr_accessor :jqgrid_row_num
24
+ @@jqgrid_row_num = 25
25
+
22
26
  # Default way to setup Old SQL. Run rails generate old_sql:install to create
23
27
  # a fresh initializer with all configuration values.
24
28
  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.49.0
5
+ version: 0.50.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: 4169290534530978021
202
+ hash: -605065847154703162
203
203
  segments:
204
204
  - 0
205
205
  version: "0"