tramway-event 1.9.27.5 → 1.9.27.6

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: c249109b5116699d48174ff4b48b57d6d584fef2232f9a658285f2f893cec805
4
- data.tar.gz: b295724487ae1f0a637aea4a7aa11b37c38037105cafdc044a43220bc2220557
3
+ metadata.gz: 241c264a182d5ca87776f79cc40d2377b152cd8c518d881ecfa1bac2b9f85a50
4
+ data.tar.gz: 7e6c0ffa780c771a29310bc6a9e0a9266d7c324098c40a571c7f76874a438227
5
5
  SHA512:
6
- metadata.gz: 990511a6a9c9eade64d987c9d131d34164353e938e516512d3af1ae7e5da81c54ffa15f2f92b628ad2c72b986da9550a00510c6554f0bd6bd32d540d9a856d07
7
- data.tar.gz: cf4c2a0ede66ef23017c4f1fbbe52d35cb5954490da5e96ac36fc7fa175c5dfa0309454289ed228141693b7803b096253457092066ab5b04ceda1b70d571edea
6
+ metadata.gz: 8769df93fe84e0cbfc9214bc5a8b137027ad998918dafa0bb74f4834b0e365730e37f3973a9525934e309382854e3a0de7e4ffd0952985309d26cf2ae4d5d5be
7
+ data.tar.gz: eece803bfc35d6ab469df22309503ad4838247ec0669bc52e247eee9a5503bdd6ff06dc92731a93545db6c7560b70e9939848813af7c63ab3fc67794379a6da8
@@ -13,7 +13,7 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
13
13
 
14
14
  enumerize :status, default: :common, in: %i[common main]
15
15
 
16
- scope :main_event, -> { where(status: :main) }
16
+ scope :main_event, -> { active.where(status: :main) }
17
17
  scope :actual, -> { where 'end_date > ?', DateTime.now }
18
18
  scope :past, -> { where 'end_date < ?', DateTime.now }
19
19
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.9.27.5'
5
+ VERSION = '1.9.27.6'
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.9.27.5
4
+ version: 1.9.27.6
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-01-31 00:00:00.000000000 Z
11
+ date: 2020-02-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: