nested_editor_for 0.1.0 → 0.1.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: ca3f776538ef3cac0f158b79dcb420d84a222383
4
- data.tar.gz: 09f9a2c066e686e94a6352a2b370e10e7541077a
3
+ metadata.gz: 7bdc245a02d44831adb23d305b1cd64fb6c43780
4
+ data.tar.gz: a2fca80700bbeea5fd171b4953fcaf1db6afe46b
5
5
  SHA512:
6
- metadata.gz: 1c9ac93bf8cfe6b1be98e279871291910d61f0e2eaa8d957e237255b070efbfbd31acdbd8599fbf6a7c535c502cbd9499226ee43acdd9c5a557ec421505deec0
7
- data.tar.gz: e1f6df80b5919a2d832e3ff82521dfbf94a224e609227f58edeb04a935a6459b1c16e61a7f2f90141b3b5a67f9d634cc41e95fd7b0310c65b5847c7766e5801e
6
+ metadata.gz: e83ad010bdbc57b1c59604accd89157d4d73805051974bfbc259146da928b2ecbf0bb313f5d1bb46a44dcbda756e083370c909d211342ed2670ba5787de3ddf4
7
+ data.tar.gz: 414ae8f440b60a4bbae2325e7cc3588c58f677768af521ed8ffc9c140885297590cff16696b15c820a90299295fdc990344ef4d1589e1ed5c3c950bac8b41c75
@@ -1,3 +1,3 @@
1
1
  module NestedEditorFor
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,8 +1,9 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'nested_editor_for/version'
1
+ $:.push File.expand_path("../lib", __FILE__)
5
2
 
3
+ # Maintain your gem's version:
4
+ require "nested_editor_for/version"
5
+
6
+ # Describe your gem and declare its dependencies:
6
7
  Gem::Specification.new do |spec|
7
8
  spec.name = "nested_editor_for"
8
9
  spec.version = NestedEditorFor::VERSION
@@ -13,9 +14,8 @@ Gem::Specification.new do |spec|
13
14
  spec.homepage = "https://github.com/boblail/nested_editor_for"
14
15
 
15
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
- spec.bindir = "exe"
17
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
17
  spec.require_paths = ["lib"]
18
+ spec.test_files = Dir["test/**/*"]
19
19
 
20
20
  spec.add_development_dependency "bundler", "~> 1.10"
21
21
  spec.add_development_dependency "rake", "~> 10.0"
@@ -196,6 +196,8 @@
196
196
  for(var i=0, ii=nested_editors.length; i<ii; i++) {
197
197
  resetNestedEditor(nested_editors[i]);
198
198
  }
199
+
200
+ $(parent).trigger('nested-editor.reset');
199
201
  }
200
202
 
201
203
  function selectFirstFieldIn(parent) {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nested_editor_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-07 00:00:00.000000000 Z
11
+ date: 2016-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.2.2
80
+ rubygems_version: 2.5.1
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Extends FormBuilder to support editing child records