tramway-event 1.8.3 → 1.8.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: 3a58d92f7c0ad7e517b69e5a87634ad7b7fa81ccec8209672e317775d4dbba48
4
- data.tar.gz: a49ae5fc1af05fbc725ee1ec929a71694242f14de160a8ca5f66bc2a7aebf623
3
+ metadata.gz: 640fb69ee78f8db21a877ab541641056dd50449aa1da402bf96f9ebb8bc65aab
4
+ data.tar.gz: 9eb469eaa6743015ed38e156c3722d1f234777d9ea572a0d577ba530b3e24254
5
5
  SHA512:
6
- metadata.gz: bf0ec8f8f74aa036fcc61859b9d57b08852b45498eb0234520ba87d37eef7904464cd6777309bf5cb329ab02025aa03e1e9ea0e7dd7d2d14890496e54add5dae
7
- data.tar.gz: 448e3f6a9bf3a43797353748675c5f9b06dd0b73a41106a6125939d0b7694e7a8d60a1d52296a80d6554ebf6ef2c5b5788cc5d3f31cd1cb862ca658582af1a32
6
+ metadata.gz: d630455419b567ba90f37be955dbd296f8f846da5896db29d53d13edc109e50b8d11b28cc383570889f739d45c7d44f7919a76688a95efa9dab672224f32a536
7
+ data.tar.gz: 036f4a1b7a22d7f86a538fc2ebca72a1841195cd98c546d3947ebbde30960f9ee5563f1488c48de8ec80818d2ba29c06ce178b9fe97d7a4dd9b503d29094774a
@@ -14,6 +14,6 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
14
14
  return :not_initialized unless request_collecting_begin_date.present? || request_collecting_end_date.present?
15
15
  return :will_begin_soon if request_collecting_begin_date > DateTime.now
16
16
  return :is_over if request_collecting_end_date < DateTime.now
17
- return :are_being_right_now if begin_date&.past? && end_date&.future?
17
+ return :are_being_right_now if request_collecting_begin_date&.past? && request_collecting_end_date&.future?
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.8.3'
3
+ VERSION = '1.8.4'
4
4
  end
5
5
  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.8.3
4
+ version: 1.8.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: 2018-10-20 00:00:00.000000000 Z
11
+ date: 2018-10-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: