art-gun 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: b05e0eada9af737c8b4854789320c33338673ab7
4
- data.tar.gz: 9cc6f1fbb4b5789ea4785994dce416f6c4e05a50
3
+ metadata.gz: fcc39af57e7b9b3d369486a2c15f9856ad64c7a9
4
+ data.tar.gz: 5aecd943986aae350eee5881abed42b47bad1753
5
5
  SHA512:
6
- metadata.gz: 0fe1f422bb6e4c65e847e94603aa3db6e89f23407a12d5d566cea5ac77d41afc86615c0e808aa1c6ab66749051b78fe2bfb8438677fafd43144c0f66069dcc53
7
- data.tar.gz: 118198ffbc90913a3a4c06122eaa345b7b773e2c423ebaaaac4c89f3e5f99c394662de9ee88df1954ab8bbfa764f4b347ac708e78f5c73b638e27e5eb041766e
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' }
@@ -1,3 +1,3 @@
1
1
  module ArtGun
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: art-gun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kluge