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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ef776e85a8e3d3228ab60527785ca5e44c62317cec77605a96538a06628a4f3
4
- data.tar.gz: e206926ec49c2f5b06e4be1fc25aea6f3da94620f5569e13af25f13f09434693
3
+ metadata.gz: 93bc58cd7df860dbf9ba85c35df682c37b9ca9e14342f233ab464fb91d3b896a
4
+ data.tar.gz: a89eafa0d5497ccc3002d7ea1645e9cbaf897356ccf31166b2e188e4b86e0bc5
5
5
  SHA512:
6
- metadata.gz: cfcac46d6fdad8680646692e57292e71701dba53a040ca72b88278b3c8fe33d87b535a09873c65b786cde9e10a1d9296affb9396746b0a4c1fd9a3fc16681af7
7
- data.tar.gz: 7b42aebeb2379362df3f286b12630b7aaf613ac4e4b7021d06d951b690c5d1fcb7a7280969b5802a576f1fe02cfd6824707df9ea597d19fb8f156707c70ef014
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.11.2.1'
5
+ VERSION = '1.11.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.11.2.1
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-13 00:00:00.000000000 Z
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.2
138
+ rubygems_version: 3.0.1
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Rails engine for events