vue-rails-form-builder 0.6.0 → 0.7.0

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: 211bbcaf159e3c95ae46f5d35d0fba7832163dec
4
- data.tar.gz: 28a332752a4d67590f813b093afd22d56e5a54fa
3
+ metadata.gz: fb60b602f0b4bf94d40f088362b3fdeef4ca89a7
4
+ data.tar.gz: a3725747492dfd19ddf8caf961d1f7828c301f57
5
5
  SHA512:
6
- metadata.gz: a07b28dcf78327fc6135f32ce14aacf1a8b1765272d45a4afc23c13317f39dbd187b13002e3de1156abefd575b1780223fb1a89088134f53155372dc41cc4a69
7
- data.tar.gz: 298767defa387e395159788a5e94b00e4879b647f7e52aff9a598c96594cbc8d14060e9ca7e4fb9e10fef109aff70376ba230abff9027eaaf03393b037f65ecd
6
+ metadata.gz: '0768d856715debf23597021ed7e2d4db8b835eb93363bf5541d6c0896d929bc414354dd48f029dfc9173e3131403ea567f5e395a5ddf434cdf083d71ff607a76'
7
+ data.tar.gz: fa2b5fdf2dcc72e8045f97bd3ddd62a36a04acea6485791c958a3df412831ef36383c9a8f56b045c8e7d7f578b700229aa8fa1165cd89a62531530fe32d126f8
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG - vue-rails-form-builder
2
2
 
3
+ ## 0.7.0 (2017-11-11)
4
+
5
+ * Support nested attributes.
6
+
3
7
  ## 0.6.0 (2017-05-14)
4
8
 
5
9
  * Add `vue_scope` option to `vue_form_for` and `vue_form_with` methods.
@@ -45,6 +45,7 @@ module VueRailsFormBuilder
45
45
  path[0] = @options[:vue_scope]
46
46
  end
47
47
  options[:"v-model"] ||= (path + [ method ]).join(".")
48
+ options[:"v-model"].gsub!(/\.(\d+)/, '[\1]')
48
49
  end
49
50
  end
50
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vue-rails-form-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tsutomu KURODA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-14 00:00:00.000000000 Z
11
+ date: 2017-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview