simple_record 1.1.35 → 1.1.36

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/simple_record.rb +2 -2
  2. metadata +2 -2
data/lib/simple_record.rb CHANGED
@@ -275,7 +275,7 @@ module SimpleRecord
275
275
  ret = nil
276
276
  ret = get_attribute(arg)
277
277
  return nil if ret.nil?
278
- return Base.un_offset_if_int(arg, ret)
278
+ return un_offset_if_int(arg, ret)
279
279
  end
280
280
 
281
281
  # define writer method
@@ -841,7 +841,7 @@ module SimpleRecord
841
841
  def self.un_offset_int(x)
842
842
  if x.is_a?(String)
843
843
  x2 = x.to_i
844
- puts 'to_i=' + x2.to_s
844
+ # puts 'to_i=' + x2.to_s
845
845
  x2 -= @@offset
846
846
  # puts 'after subtracting offset='+ x2.to_s
847
847
  x2
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.35
4
+ version: 1.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-11-18 00:00:00 -08:00
14
+ date: 2009-11-19 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency