rails_admin_json_editor 0.0.23 → 0.0.24

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
  SHA1:
3
- metadata.gz: faf0f8e4b43b5f36176e97bcb22e99defecf3069
4
- data.tar.gz: 0ef78a75b9007a6521bf9ac1e3a2e599e060561b
3
+ metadata.gz: 80616545cbd8e15804d798ec6bde20b529363355
4
+ data.tar.gz: 2e7c6f669da13d75868edec8a9e56a49b90ed545
5
5
  SHA512:
6
- metadata.gz: 231f45b52ea5e337b66ea8e667df78a48b4da4c0390de6465d15fc95ed233f0729fb0df65cf102445b2f7d0ee1b881a94c5e13bcb7da3efdcddb9edc993ece58
7
- data.tar.gz: 375b1170c81175cd18a8ac7826c7bdf609db1906a07888c229c5d98c1d08c23130aa43b5c1d713980c0432467e296fa9abf01c7825c4e43e2be539c9ba41ca04
6
+ metadata.gz: 29871295c6f022ab816f8bd3bd0e22d0364c589340aa6209e66c1f9bf77281034dcde1606383d7559c1340806aeb1257a644b4b93c2a2252b86af945f4f04c97
7
+ data.tar.gz: 58f0d95407eec864e82a2ac5ac29f6f63e0ff87bae4471ed1bd617caf60dd01e3c6cb10d87baca3f75ce7c77e35d32808f7fb49849c49f0ab5d134005bf8aa50
@@ -134,9 +134,9 @@ $(document).on('rails_admin.dom_ready', function() {
134
134
  },
135
135
  computed: {
136
136
  result: function() {
137
- var result = JSON.stringify({ components: this.components });
137
+ var result = { components: this.components };
138
138
  $(this.$el).trigger('json-editor:changed', result);
139
- return result;
139
+ return JSON.stringify(result);
140
140
  }
141
141
  },
142
142
  components: components
@@ -1,3 +1,3 @@
1
1
  module RailsAdminJsonEditor
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_json_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jasper Haggenburg