tramway-event 1.12.6.3 → 1.12.6.4

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
  SHA256:
3
- metadata.gz: ed98922babffdc1a3de30a4ba9fdaa0a7ee7d27a8ca99e6410f6a78efa69acac
4
- data.tar.gz: 9e4a42ece100b7438e90e91a4f0173d111ca04acbe269206432bc2402d6d90ae
3
+ metadata.gz: 272ccb2552ee3c51554049f491fabc6354d27704a70855b0e936bd09eadbe8c6
4
+ data.tar.gz: f1f60419661c3117c62709533369993916b0800183a57236f79cce874a7d4d68
5
5
  SHA512:
6
- metadata.gz: adeb3d5a0efceb9e0d6d3c764cd1445c266aa7049337bd872886c2e07f215eb4a3eb406ee139c091ead1406d42062c7e50662162aa9ee9e7fb04d7ce1b94436e
7
- data.tar.gz: 320a9180d27c0c5b874ac69a4dc0a8f28aca96d66d6d9715535af4669253b638284e7bc2aad53326dde91a89d90e946fcbc0e808eeb973d36e32b10a0f856ca4
6
+ metadata.gz: 0d918788e1a99e936554c870eb33865d2aa6debb844c6e3c303cfeca81afbc48f375580df3fc72ca186de09db6404083b0820cc6d238501e7e095a007647f763
7
+ data.tar.gz: f8381014deb9219d64cd60024a2621f6a862b7abc670b8ec1ef249ba82b11a22ecc24e0c2570033e53f1e7882701c8a81245a3105f8d8a6041496d3ecf44b5d4
@@ -8,8 +8,6 @@ class Tramway::Event::Event < ::Tramway::Core::ApplicationRecord
8
8
  def check_dimensions
9
9
  if photo.present?
10
10
  errors.add :photo, :too_small_image if photo.width.present? && (photo.width < 1920 || photo.height < 1080)
11
- else
12
- errors.add :photo, :is_not_present
13
11
  end
14
12
  end
15
13
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.12.6.3'
5
+ VERSION = '1.12.6.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.6.3
4
+ version: 1.12.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-19 00:00:00.000000000 Z
11
+ date: 2022-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubygems_version: 3.0.3.1
138
+ rubygems_version: 3.1.6
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Rails engine for events