refinerycms-retailers 3.0.1 → 3.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3cfd05af1ac1034662f381497f2246c3ef4b9a0
|
4
|
+
data.tar.gz: f53cd7446fb38c59dd773a47c0ece788d3eadcd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1a22bd1886606ab5682b36b09643c764154a9f00f44db229664d5fdf9d46cb0d196b372ed4e03b8439631ce24486a07159b57552c9143a144bd2c851bf1addd
|
7
|
+
data.tar.gz: f244f17eebcf7fa6c3b86f44a58c751bec9585c952413801bf98fc8237fb572d6161145d609b4d255c6790d1cd285beae364f049eb6f63fda3f5d7587478a5a9
|
@@ -7,6 +7,7 @@ module Refinery
|
|
7
7
|
|
8
8
|
before_validation :smart_add_url_protocol
|
9
9
|
|
10
|
+
validates :title, presence: true
|
10
11
|
validates :address, presence: true, uniqueness: true
|
11
12
|
|
12
13
|
acts_as_indexed fields: [:title, :contact, :address, :country_code, :state_code, :city] if defined?(Refinery::ActsAsIndexed::Engine)
|