simple_record 1.1.59 → 1.1.60

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,11 +26,11 @@ module SimpleRecord
26
26
  end
27
27
 
28
28
  def [](*i)
29
- puts 'i.inspect=' + i.inspect
30
- puts i.size.to_s
31
- i.each do |x|
32
- puts 'x=' + x.inspect + " -- " + x.class.name
33
- end
29
+ # puts 'i.inspect=' + i.inspect
30
+ # puts i.size.to_s
31
+ # i.each do |x|
32
+ # puts 'x=' + x.inspect + " -- " + x.class.name
33
+ # end
34
34
  if i.size == 1
35
35
  # either fixnum or range
36
36
  x = i[0]
@@ -98,7 +98,7 @@ module SimpleRecord
98
98
  limit = options[:limit]
99
99
 
100
100
  @items[i..@items.size].each do |v|
101
- puts "i=" + i.to_s
101
+ # puts "i=" + i.to_s
102
102
  yield v
103
103
  i += 1
104
104
  if !limit.nil? && i >= limit
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.59
4
+ version: 1.1.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder