scaffold_plus 1.4.6 → 1.4.7

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: 1f3677379c215a0c304965c6ac5b502b6fa5f7de
4
- data.tar.gz: b8201a2f5f7c6fc982efc900a223070e2e3d8258
3
+ metadata.gz: c6035777cfdafc5a2c80c9136090ce1631751c31
4
+ data.tar.gz: 6e5d126c06bbbfe1b7ec6ac935cd1f5f63e72b15
5
5
  SHA512:
6
- metadata.gz: 058c4629b77624d4c937ce80167b913d076589d111bf248167a1bc1e86854f9b75d8623ed99d5063e8cbf5e1392c2548c784318bca300b48b35e0155de546951
7
- data.tar.gz: 3fd999421926d09422fa8095171593345989d2c276ee1e4f29e251b4189eae4a6694986e88700a77c2a1d3df7d02ab6cb3fa57a655b2fe63c84478668b4bb49a
6
+ metadata.gz: d21bea63bb5c8b7b60207d98e057d85c3aa5fe82e77dcfd03e6aa56f67f7d22d20e85633148a19f916039319d073b111f96a02231c02c921bfca108fe6a06b06
7
+ data.tar.gz: d2b327bce2469327e04c6c10328afc69005b736954ed3309e8e57cfb30a6e975b36abd01dc0bff8ebd977596a9c829bdbbc899640571795e3d7ca404c0699ae3
@@ -24,7 +24,7 @@ module ScaffoldPlus
24
24
  def add_to_model
25
25
  [ "created", "updated" ].each do |action|
26
26
  user_name = "#{user.camelize}.find(#{action}_by).try('name')"
27
- user_mail = "#{user.camelize}.find(#{action}_by).try('email')"
27
+ user_email = "#{user.camelize}.find(#{action}_by).try('email')"
28
28
  lines = options.before? ? [ "" ] : []
29
29
  lines << [
30
30
  " def #{action}_by_name",
@@ -1,3 +1,3 @@
1
1
  module ScaffoldPlus
2
- VERSION = "1.4.6"
2
+ VERSION = "1.4.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scaffold_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand