extjs-mvc 0.3.2 → 0.3.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -9,7 +9,7 @@ module ExtJS::Controller
9
9
  #
10
10
  module ClassMethods
11
11
 
12
- def extjs_reader(model, fieldset = nil)
12
+ def extjs_reader(model, fieldset)
13
13
  {
14
14
  "successProperty" => extjs_success_property,
15
15
  "root" => extjs_root,
@@ -18,7 +18,7 @@ module ExtJS::Data
18
18
  @model = self.get_model(options[:controller], options[:model])
19
19
 
20
20
  # Merge Reader/Proxy config
21
- @config.merge!(@controller.extjs_reader(@model, options[:fieldset]))
21
+ @config.merge!(@controller.extjs_reader(@model, options[:fieldset] || :default))
22
22
  @config.merge!(@controller.extjs_proxy(options))
23
23
  @config["format"] = @format
24
24
 
data/lib/model/base.rb CHANGED
@@ -97,7 +97,6 @@ module ExtJS
97
97
  #
98
98
  def extjs_record(*fields)
99
99
  fieldset, fields = self.extjs_extract_fieldset! fields
100
-
101
100
  if fields.empty?
102
101
  fields = self.extjs_get_fields_for_fieldset(fieldset)
103
102
  else
@@ -233,7 +232,6 @@ module ExtJS
233
232
  raise ArgumentError, "encountered a Hash that I don't know anyting to do with `#{f.inspect}:#{f.class}`"
234
233
  end
235
234
  else # should be a String or Symbol
236
- puts params.inspect if f.nil?
237
235
  fields << {:name => f.to_sym}
238
236
  end
239
237
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extjs-mvc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Scott