extjs-mvc 0.3.8 → 0.3.9

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 (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/model/base.rb +2 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.8
1
+ 0.3.9
data/lib/model/base.rb CHANGED
@@ -356,8 +356,8 @@ module ExtJS
356
356
  elsif arguments[0].is_a?(Hash)
357
357
  options.update(arguments[0])
358
358
  end
359
- elsif arguments.size == 1 && arguments[0].is_a?(Symbol)
360
- fieldset = arguments.shift
359
+ elsif arguments.size == 1 && (arguments[0].is_a?(Symbol) || arguments[0].is_a?(String))
360
+ fieldset = arguments.shift.to_sym
361
361
  elsif arguments.size == 1 && arguments[0].is_a?(Hash)
362
362
  fieldset = arguments[0].delete(:fieldset) || :default
363
363
  options.update(arguments[0])
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 8
9
- version: 0.3.8
8
+ - 9
9
+ version: 0.3.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Chris Scott