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 +4 -4
- data/app/models/tramway/event/event.rb +0 -2
- data/lib/tramway/event/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 272ccb2552ee3c51554049f491fabc6354d27704a70855b0e936bd09eadbe8c6
|
4
|
+
data.tar.gz: f1f60419661c3117c62709533369993916b0800183a57236f79cce874a7d4d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
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:
|
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.
|
138
|
+
rubygems_version: 3.1.6
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Rails engine for events
|