lightek_vpm 0.4.4 → 0.4.5

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
  SHA256:
3
- metadata.gz: a5174bea46cd8b8348263d99d112459aa2b086bb53ca3afbb020415955ee9b21
4
- data.tar.gz: 3bfa433d289aa16fbc0d9936d51749985eb82120bdc7d4e5507f73b86f4ffd92
3
+ metadata.gz: b46483be2f5ea132db9ff69dcbefd1eeb8e9e1b053de942ca40634d0ee4242f4
4
+ data.tar.gz: b774dd4f74adcd6ae1ad2dac84cac621dd2fa3c45042401256a546ad603c6ba0
5
5
  SHA512:
6
- metadata.gz: b11e45ab39914c5550ed5fd4f182f9af62ff5c40e78089a2c515ad387d4c862a4ed71e959765af403035be8505d6afdf646df379889269b1ff60a4952f17d176
7
- data.tar.gz: 1ffdf21efe7e20048e0a38c79ba1ce57fccab9e034dd6e617bc3a2e21dbecc0c6b6f816c5c16c9b00f3257661d2a46c96d1c8f51ad29aa2444d22fae36e7e12d
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.4"
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.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marlon Henry