dynarex 0.7.6 → 0.7.7

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.
Files changed (2) hide show
  1. data/lib/dynarex.rb +1 -1
  2. metadata +1 -1
@@ -285,7 +285,7 @@ end))
285
285
  end
286
286
 
287
287
  if @fields then
288
- @default_key = @fields[0] unless @default_key
288
+ @default_key = @fields.keys[0] unless @default_key
289
289
  # load the record query handler methods
290
290
  attach_record_methods
291
291
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors: []
7
7