art-gun 0.1.5 → 0.1.6
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 +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b05e0eada9af737c8b4854789320c33338673ab7
|
4
|
+
data.tar.gz: 9cc6f1fbb4b5789ea4785994dce416f6c4e05a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fe1f422bb6e4c65e847e94603aa3db6e89f23407a12d5d566cea5ac77d41afc86615c0e808aa1c6ab66749051b78fe2bfb8438677fafd43144c0f66069dcc53
|
7
|
+
data.tar.gz: 118198ffbc90913a3a4c06122eaa345b7b773e2c423ebaaaac4c89f3e5f99c394662de9ee88df1954ab8bbfa764f4b347ac708e78f5c73b638e27e5eb041766e
|
@@ -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)}, if: ->(a) { a.type == 'DigitalPrint' }
|
12
|
+
validates :location, inclusion: {in: %w(CF 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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: art-gun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Kluge
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -141,9 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.4.5
|
144
|
+
rubygems_version: 2.4.5.1
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Ruby wrapper for Art-Gun's API
|
148
148
|
test_files: []
|
149
|
-
has_rdoc:
|