tramway-event 1.2.5 → 1.2.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: d4aff151386753a77007f8d4842535580063e85f0a483a7b318985309f8c6687
4
- data.tar.gz: ae73cae354765664407fd368d02a9c96f786e9a92e8eecf17cd567cd85987558
3
+ metadata.gz: aeaf1831c90a314a57b6714c03e4b885886d52a7a8eaffb1d8eda77754c75c9f
4
+ data.tar.gz: 908ce7b8500ca72a441891db385b24009c2a70dd863b800fda793f5030b8fd2d
5
5
  SHA512:
6
- metadata.gz: 0c4841bb00d0bfd7b8ae21cc20642647b2b3e8a27758f98ee55cc3cadb1554c2eb52a65633f443d6e1463446da05a9aee444fd2baba2c6dd55be528529cf67b5
7
- data.tar.gz: 3830dbf28b9e6bb985d5c0fd162550a2d162ac1396738dd03db5a2c2cb3110bbc9820b449d57c8f606737045f3ec76d56a72a81cfe3a2a573a4d8df9f312af12
6
+ metadata.gz: 72007c767c2ae711318b0db93799f4165af55ad409d5827c592c72e69edd4884c18f2091242e98238f4c6d356771aa277aaf4673ca2be32bd636d5334da6144d
7
+ data.tar.gz: 046746fe950723ae07fac8f7d6571b7888ef2413e2bf024bf1105473d62a4de6f5691785d02a2ae2e11580719366a123fb069fc39952bce1b893b7c399e8993d
@@ -7,5 +7,5 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
7
7
 
8
8
  enumerize :status, default: :common, in: [ :common, :main ]
9
9
 
10
- scope :main_event, -> { where(status: :main).last }
10
+ scope :main_event, -> { where(status: :main) }
11
11
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.2.5'
3
+ VERSION = '1.2.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov