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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b4183956d4c5d364392ce2a1f356674545806fb
4
- data.tar.gz: 78ebc0f4ea08f493dec4b89e1842124f98e27bfa
3
+ metadata.gz: b05e0eada9af737c8b4854789320c33338673ab7
4
+ data.tar.gz: 9cc6f1fbb4b5789ea4785994dce416f6c4e05a50
5
5
  SHA512:
6
- metadata.gz: e04c9ae69bdef5fbae98649c56419e25062aed0241291e4fcb6a06f5a16a2df00ca623728f5aac3a02b4d57f237ee25e0673ba3ec929fbe9e912487c11942514
7
- data.tar.gz: 8d2264af8923459bcd7a4457b57c9e4ccc762de9bdc1d2a48e6e3667225f856671bcc61660467b96ddb2637c487018067f46d202b69cbfce3085058c489fa7ce
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' }
@@ -1,3 +1,3 @@
1
1
  module ArtGun
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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-08-27 00:00:00.000000000 Z
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: