hydra-editor 3.2.1 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c8be8799bfe9a91d9013c140a6b44cceaeb2d15
4
- data.tar.gz: 7bb324b15e777c05c5c6e6fc480621b5eae6cd4c
3
+ metadata.gz: 483516ed526d6a67b385e0e68bdcc09d67654943
4
+ data.tar.gz: c54e1eb9a3c3ab157e03bced6e0a19bddcb8d463
5
5
  SHA512:
6
- metadata.gz: 9f6f8adfee0b0eeca4661aa04c3b7197c272e8814c01d1ef1c121d66679bf6e55cd4010eb48fd26901ff4c1a5181a48ae74a415faa2034142464574953dcd692
7
- data.tar.gz: 27989c5d6b9160b9afe8d4df7c961c0ead09d6fd59994397743a6ea8f00ecc47a59f9e37dc0161addf5f8f95b20c445ee9cbcd14071e16e6ffa379e840e380a2
6
+ metadata.gz: b69df85c3c3f58083db84b61e606fdbea630ba91c8febe8f8408eee7129732074923036c9041570084917543e8b8fd303d0dc54308cb3ffbf231145e34b40fbd
7
+ data.tar.gz: bb2a3636961a894beb9ce36d47fd36461264ce042a3bb02a7450ed144e44df14b1b0d73c13e12f3cfaccf4e205e4820055350c34a5732f3e9785974539abe5cf
@@ -89,13 +89,6 @@ export class FieldManager {
89
89
  return $newField;
90
90
  }
91
91
 
92
- _changeControlsToRemove($activeField) {
93
- var $removeControl = this.remover.clone();
94
- $activeFieldControls = $activeField.children('.field-controls');
95
- $('.add', $activeFieldControls).remove();
96
- $activeFieldControls.prepend($removeControl);
97
- }
98
-
99
92
  clearEmptyWarning() {
100
93
  let $listing = $(this.listClass, this.element)
101
94
  $listing.children(this.warningClass).remove();
@@ -12,7 +12,7 @@ module RecordsHelperBehavior
12
12
  end
13
13
 
14
14
  def render_edit_field_partial(field_name, locals)
15
- collection = ActiveSupport::Inflector.tableize(locals[:f].object.class.to_s)
15
+ collection = locals[:f].object.model_name.collection
16
16
  render_edit_field_partial_with_action(collection, field_name, locals)
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module HydraEditor
2
- VERSION = '3.2.1'.freeze
2
+ VERSION = '3.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-01 00:00:00.000000000 Z
12
+ date: 2017-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  version: '0'
300
300
  requirements: []
301
301
  rubyforge_project:
302
- rubygems_version: 2.6.11
302
+ rubygems_version: 2.6.12
303
303
  signing_key:
304
304
  specification_version: 4
305
305
  summary: A basic metadata editor for hydra-head