extjsizable 2.0.0 → 2.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb2e80339d73a927753e3dc3691539f5f9ca1ff3dda6abdbe4d5bfa9a8f7a7c8
4
- data.tar.gz: ca0d741559ce744977f20b62420de4cec5ab3fbba9b68a425c3a507d4a8eec94
3
+ metadata.gz: bac2c92dea83747fd84dbb7e4dd1a1faf8d274b2075f8ad648a80d92ccba2d68
4
+ data.tar.gz: 0b92f326214bb307538449a6ea7b1a7807a31b3909c0124c366ab4be55280f16
5
5
  SHA512:
6
- metadata.gz: 72498413e2a372b916423228586a9ef8b483eae545f3eae1e102d105d134a171bc4430fa8bc0f5c445fa1976e39c1e3fb54df7242627725c1f19bdaef05069eb
7
- data.tar.gz: 376316f0b369ef94e2b39691bd340c3b4b9ce56bccbfe430110d3e6f2b90d56230b156ad4b0ea1bec2122fa8ee0301e4ed654756ab3cae2f215b2a924e66ad13
6
+ metadata.gz: b9a58fc0453523e7984421b4cd57e42eb5ca18045dfcf56f0d594075ba101b5c4da84858a7eec07ff58f9d20a11aac3caf5fb852865daca64aa84bfb6cbc8dc2
7
+ data.tar.gz: 89ee1d2a0fd4f60fb444dded7f5b84a857fd381edbe592dd4d90403df4c831ac1b79e2a4a7b4b13e5bda3096c894b5620ce2d0af55ce0ec0295517d770b3c7c2
@@ -46,7 +46,7 @@ module Extjsizable
46
46
  # "success": true
47
47
  # }
48
48
 
49
- h_json_data = as_json(options)
49
+ h_json_data = self.as_json(options)
50
50
  h_json_data = { :data => h_json_data } unless ::ActiveRecord::Base.include_root_in_json?
51
51
  h_json_data[h_json_data.keys.first] = wrap_hash_with_brackets(h_json_data.values.first, underscored_class_name) if ::ActiveRecord::Base.wrap_with_brackets?
52
52
 
@@ -20,7 +20,7 @@ module Extjsizable
20
20
  # }
21
21
 
22
22
  def to_extjs(options = {})
23
- array_json_data = as_json(options)
23
+ array_json_data = self.as_json(options)
24
24
 
25
25
  if ::Array.dasherize_keys?
26
26
  array_json_data.map! { |h| dasherize_hash_keys(h) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extjsizable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ungue