art-gun 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/art_gun/order_item_attribute.rb +1 -1
- data/lib/art_gun/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcc39af57e7b9b3d369486a2c15f9856ad64c7a9
|
4
|
+
data.tar.gz: 5aecd943986aae350eee5881abed42b47bad1753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5241636de5110bbdecf37c5bf5e08c1c7aaed855afb8a6ed113c9011155a228aec807a88c21ada53f9dd405b0ff00019ee41ca72a37e52b20859a4472d0ecc7
|
7
|
+
data.tar.gz: 68631fa711af8b30db2f02c68989d944ae5af5b2a3a813669edb16dc4a4db0451e6ef2d9c73dd7203a5dc39f1caf8009d1cd943090de9024a66982c88da20c37
|
@@ -9,7 +9,7 @@ module ArtGun
|
|
9
9
|
|
10
10
|
validates :type, :location, :thumbnail, :preview, presence: true
|
11
11
|
validates :type, inclusion: {in: %w(DigitalPrint HeatTransfer HangTag)}
|
12
|
-
validates :location, inclusion: {in: %w(CF FB LS RS)}, if: ->(a) { a.type == 'DigitalPrint' }
|
12
|
+
validates :location, inclusion: {in: %w(CF LC FB LS RS)}, if: ->(a) { a.type == 'DigitalPrint' }
|
13
13
|
validates :location, inclusion: {in: %w(FNL)}, if: ->(a) { a.type == 'HeatTransfer' }
|
14
14
|
validates :location, inclusion: {in: %w(FN)}, if: ->(a) { a.type == 'HangTag' }
|
15
15
|
validates :file_url, :file_extension, presence: true, if: ->(a) { a.type == 'DigitalPrint' }
|
data/lib/art_gun/version.rb
CHANGED