tramway-event 1.9.11.1 → 1.9.11.2

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: 0e6786800a6a1d619edefb336074ff5dda38667a5785c00174dcbaa118e6d26e
4
- data.tar.gz: a55d029250a3e35167f9ddbd2ec38f025a33aa11175f961fb30cf2b081238d06
3
+ metadata.gz: a264dfd85c5b13ea448ab750ef72fe19107f2e17b4b5683e3baa501bf0bcec4c
4
+ data.tar.gz: 793a7f928e10a34e410902e30cc70956b011e30ad08158d377bf354325daa9e2
5
5
  SHA512:
6
- metadata.gz: 5ac851c99ade8c0d1f787b7906ceaa5411fb04aad419df5396bde2a679a80b18a08482f90efb0e56619e996605a27e77d77175e74510f083be734ab7dd4ca5b3
7
- data.tar.gz: 70f8c5b1beb290c16b6d67c09cd593190900a50b669b92dc438faba25f4eda1d27fc201b1ebbb6f9af3b1697e9455ec724eea6975fb99f89b5ed5142af79591d
6
+ metadata.gz: 547f9d45a157682bf95ddedbbe1017b4ee47000c10b1009aad0fbe95803e98fd64929c729c7db3dea4e28c01b1cf1e32ec4c325bfbf80776876d15c15a456fd4
7
+ data.tar.gz: 5bac60310e328be77c49a409697be6ad35fb06afe5de92464a1c2cdc0f8ea238e632cfc698198b0207d3039771b8ca5d6026fb422d6a1b3018084f6058f3b867
@@ -8,6 +8,7 @@ class Tramway::Event::ParticipantDecorator < ::Tramway::Core::ApplicationDecorat
8
8
  def list_attributes
9
9
  [:list_fields]
10
10
  end
11
+ delegate :human_participation_state_event_name, to: :model_class
11
12
  end
12
13
 
13
14
  decorate_association :event
@@ -8,7 +8,6 @@ class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
8
8
  has_many :partnerships, class_name: 'Tramway::Partner::Partnership', as: :partner
9
9
  has_many :organizations, as: :partners, through: :partnerships, class_name: 'Tramway::Partner::Organization'
10
10
 
11
-
12
11
  enumerize :status, default: :common, in: [ :common, :main ]
13
12
 
14
13
  scope :main_event, -> { where(status: :main) }
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.9.11.1'
3
+ VERSION = '1.9.11.2'
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.9.11.1
4
+ version: 1.9.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-06-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: