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 +4 -4
- data/app/models/tramway/event/event.rb +1 -1
- data/lib/tramway/event/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 640fb69ee78f8db21a877ab541641056dd50449aa1da402bf96f9ebb8bc65aab
|
4
|
+
data.tar.gz: 9eb469eaa6743015ed38e156c3722d1f234777d9ea572a0d577ba530b3e24254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
17
|
+
return :are_being_right_now if request_collecting_begin_date&.past? && request_collecting_end_date&.future?
|
18
18
|
end
|
19
19
|
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.
|
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-
|
11
|
+
date: 2018-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rails engine for events
|
14
14
|
email:
|