lipsiadmin 5.0.2 → 5.0.3

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/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 2009-08-01
2
+ * Improved performance of Ext store_data using length instead of size for count records
3
+
1
4
  2009-07-28
2
5
  * Added cattr_accessor for set view_path, jars_path see doc of Lipsiadmin::Utils::PdfBuilder
3
6
 
@@ -156,7 +156,7 @@ module Lipsiadmin
156
156
  def store_data(params, options={})
157
157
  @model.send(:with_scope, :find => options) do
158
158
  collection = @model.search(params)
159
- collection_count = collection.size
159
+ collection_count = collection.length
160
160
  collection_paginated = collection.paginate(params)
161
161
  { :results => store_data_from(collection_paginated), :count => collection_count }
162
162
  end
@@ -2,7 +2,7 @@ module Lipsiadmin
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 5
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lipsiadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davide D'Agostino
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-28 00:00:00 +02:00
12
+ date: 2009-08-01 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency