scaffold_plus 1.7.12 → 1.7.13

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: 68e37c27b55f89e963f4135fc076b3e92c119ea8
4
- data.tar.gz: 46e9036dd0ec3d01918448fa064bbc15be53d014
3
+ metadata.gz: 4d2698f0edfe0972cf4be6a92b1c4390fa2148d1
4
+ data.tar.gz: 409532c06960f54339dd7e496eddeba112f37a6c
5
5
  SHA512:
6
- metadata.gz: cd081c84f87ba43b0845affee828c8f448444d9a2d16759cee0be65f383afeecc531799259ae8b2b1c3dc6218b50a2a446fb8c1935b166544ee28d70a8c6f0cb
7
- data.tar.gz: 3c655044bbe338171fceb4c8406f28dd813a23a98f384f264a6cd2a7549d66ac5e1822ec75e04ac26711e98a081197b4d9f07900cb56e0e59f0cc1eb3d10a40e
6
+ metadata.gz: f2cf3e501cebfc685e8a3bd6b161a005647851978e7669d43308ab2eef71ccb7a57659e93aba1f597c6fb5badb04d4a4df75b9e9ff73df3a65c043215e99ad44
7
+ data.tar.gz: 79b419ec66d6d74d1e9f7ff5cb006bf2b386f452698902f3b306cfa4a4fdcd28ec1da2ce8fcd9834ba6c993f74fff61b7cdf20aa8802ae483a802598d35f8538
@@ -63,7 +63,7 @@ module ScaffoldPlus
63
63
  def update_controller
64
64
  return unless options.permit?
65
65
  text = ":#{options.latitude}, :#{options.latitude}"
66
- text << ":address, :country" if options.address?
66
+ text << ", :address, :country" if options.address?
67
67
  file = "app/controllers/#{table_name}_controller.rb"
68
68
  gsub_file file, /(permit\(.*)\)/, "\\1, #{text})"
69
69
  # Special case: no previous permit
@@ -1,3 +1,3 @@
1
1
  module ScaffoldPlus
2
- VERSION = "1.7.12"
2
+ VERSION = "1.7.13"
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.7.12
4
+ version: 1.7.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand