dataisland 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dataisland.rb +2 -2
  2. metadata +3 -5
data/lib/dataisland.rb CHANGED
@@ -96,7 +96,7 @@ class DataIsland
96
96
  Range.new(0,rpp - 1)
97
97
  end
98
98
 
99
- records = flat_records[range] if range
99
+ records = range ? flat_records[range] : flat_records
100
100
 
101
101
  if sort_by then
102
102
  if sort_by[/^-/].nil? then
@@ -105,7 +105,7 @@ class DataIsland
105
105
  recs = records.sort_by {|record| record[sort_by[1..-1]] }.reverse
106
106
  end
107
107
  else
108
- recs = records
108
+ recs = flat_records
109
109
  end
110
110
 
111
111
  recs.each do |record|
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dataisland
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-30 00:00:00 +01:00
14
- default_executable:
13
+ date: 2012-06-06 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: dynarex
@@ -45,7 +44,6 @@ extra_rdoc_files: []
45
44
 
46
45
  files:
47
46
  - lib/dataisland.rb
48
- has_rdoc: true
49
47
  homepage:
50
48
  licenses: []
51
49
 
@@ -69,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
67
  requirements: []
70
68
 
71
69
  rubyforge_project:
72
- rubygems_version: 1.5.2
70
+ rubygems_version: 1.8.23
73
71
  signing_key:
74
72
  specification_version: 3
75
73
  summary: dataisland