appoxy-simple_record 1.0.27 → 1.0.28

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/lib/results_array.rb CHANGED
@@ -5,7 +5,7 @@ module SimpleRecord
5
5
 
6
6
  def initialize(clz=nil, params=[], items=[], next_token=nil)
7
7
  @clz = clz
8
- puts 'class=' + clz.inspect
8
+ #puts 'class=' + clz.inspect
9
9
  @params = params
10
10
  #puts 'params in ra=' + params.inspect
11
11
  @items = items
@@ -44,7 +44,7 @@ module SimpleRecord
44
44
  return if clz.nil?
45
45
 
46
46
  unless next_token.nil?
47
- puts 'finding more items...'
47
+ #puts 'finding more items...'
48
48
  #puts 'params in block=' + params.inspect
49
49
  options[:next_token] = next_token
50
50
  res = clz.find(*params)
data/lib/simple_record.rb CHANGED
@@ -351,7 +351,7 @@ module SimpleRecord
351
351
 
352
352
  # Define reader method
353
353
  send(:define_method, arg) do
354
- attribute = defined_attributes[arg]
354
+ attribute = defined_attributes_local[arg]
355
355
  options2 = attribute.options # @@belongs_to_map[arg]
356
356
  class_name = options2[:class_name] || arg.to_s[0...1].capitalize + arg.to_s[1...arg.to_s.length]
357
357
 
@@ -843,7 +843,7 @@ This is done on getters now
843
843
  end
844
844
 
845
845
  def self.find(*params)
846
- puts 'params=' + params.inspect
846
+ #puts 'params=' + params.inspect
847
847
  reload=true
848
848
  first=false
849
849
  all=false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appoxy-simple_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.27
4
+ version: 1.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-07-30 00:00:00 -07:00
13
+ date: 2009-07-31 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16