tramway-event 1.11.2.1 → 1.11.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 -1
- 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: 93bc58cd7df860dbf9ba85c35df682c37b9ca9e14342f233ab464fb91d3b896a
|
4
|
+
data.tar.gz: a89eafa0d5497ccc3002d7ea1645e9cbaf897356ccf31166b2e188e4b86e0bc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd1703d33a7b25d7ff5962a8a63a7da46e2ea24e281b48817d9c4c602e808ea01e543fdee40564d016f8bf012fa0411cd92b2e816e6f542633a89d71f62bb13e
|
7
|
+
data.tar.gz: 7e9f245a88be1feb5363ae463f8394783f60b78794d93d57761121840ee0897442d477b6701169e2430416b0e647f458d3431b7da93adc6aa0b77a8c9d4a21ee
|
@@ -8,7 +8,6 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
|
|
8
8
|
def check_dimensions
|
9
9
|
if photo.present?
|
10
10
|
errors.add :photo, :too_small_image if photo.width < 1920 || photo.height < 1080
|
11
|
-
errors.add :photo, :image_aspect_ratio if photo.height / photo.width == 16 / 9
|
12
11
|
end
|
13
12
|
end
|
14
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.11.
|
4
|
+
version: 1.11.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: 2020-03-
|
11
|
+
date: 2020-03-15 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.1
|
138
|
+
rubygems_version: 3.0.1
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Rails engine for events
|