tramway-event 1.8.7 → 1.8.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 295af73c18fe1ac83321d139aaeb99b79158381809e0f7accebdeb985af5732d
|
4
|
+
data.tar.gz: 9641cf0c80da81a7b346f42ec775d3a488c7a7a84b1a242d9d68d97bb1ef623e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24407bc8a2d7bd6a852340c41faab1721838b54a5586fee4e66fde191c34d14e89d164a6f181c3a012058ed7516493e3390c4eed319b0e3a91c67185421aa5a4
|
7
|
+
data.tar.gz: 5fb5a64ab2f56d1a9601b7dfce5c6e1556e6dd83b1771b1baa1ae5968a3e20cda9b36eba5ca2c857ff800154b10f919f14d6a9ba4648a36d2dbc5639ef1f3f36
|
@@ -10,6 +10,7 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
|
|
10
10
|
|
11
11
|
scope :main_event, -> { where(status: :main) }
|
12
12
|
scope :actual, -> { where 'end_date > ?', DateTime.now }
|
13
|
+
scope :past, -> { where 'end_date < ?', DateTime.now }
|
13
14
|
|
14
15
|
def request_collecting_state
|
15
16
|
return :not_initialized unless request_collecting_begin_date.present? || request_collecting_end_date.present?
|
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.8
|
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-11-
|
11
|
+
date: 2018-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rails engine for events
|
14
14
|
email:
|