lightek_vpm 0.4.3 → 0.4.5

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
  SHA256:
3
- metadata.gz: 1cef9e0f5b9a834cab185b0710b31ce5ac8b249590a88cb40d28802d1751fb5a
4
- data.tar.gz: 8a00fbd3660b97c73b686d4fc086204ba7e7706375cd8c352a4ea81c4818484d
3
+ metadata.gz: b46483be2f5ea132db9ff69dcbefd1eeb8e9e1b053de942ca40634d0ee4242f4
4
+ data.tar.gz: b774dd4f74adcd6ae1ad2dac84cac621dd2fa3c45042401256a546ad603c6ba0
5
5
  SHA512:
6
- metadata.gz: 9afa936e042e525b62f646ef733d3bf8a44d5ea9ea31441b370fd2254175f262c4ae57e8943a3583e49aa9989ecc08486ac2d390c451504e7de3011589dd3194
7
- data.tar.gz: 0d399b1fab0d122291fb598ee447b3a2d4c97f2fdb2114cc0515d407f53bdd5e35153cd1a1a0f6c53d42318e1074d5ec82400627dea05623e98ea3c589b625fb
6
+ metadata.gz: 7cc1e2bd7dff0ca01f70977c337c11adb0ccdd67c010e33700f440ebe70727fedf40b39406bcb6edb01295c77ae71e6469b18bfb867cde944ed5a4f44f68b91d
7
+ data.tar.gz: 00d8b00581ed7693294f9cb7f996e3ba16dde4c7a5f6c4de22630d7b9bffc1740b165d332316e2013691a5864b42b71bd50a5b4b50959a80a5749109dc3629ff
@@ -14,6 +14,7 @@ module LightekVpm
14
14
  desc 'Generates controller, controller_spec, and views for the model with the given NAME.'
15
15
 
16
16
  def copy_controller_and_spec_files
17
+ @editable_attribute_names = editable_attributes.map(&:name).map { |attr| ":#{attr}" }.join(', ')
17
18
  template 'controller.rb', File.join('app/controllers', "#{controller_file_name}_controller.rb")
18
19
  end
19
20
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LightekVpm
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightek_vpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marlon Henry