tramway-event 1.12.3.4 → 1.12.3.5

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: 6c1ada06651814637cc6554ec7c936bed5bcac349aa69aa9c93df3748088e311
4
- data.tar.gz: '008bd950893f2d754a5331a5dd41ba2e50f4c2ffd4f7e3e5e9924e1caa536afb'
3
+ metadata.gz: '072972cdb9e96ea40f272e8cdba1f0fcd8c90f74b8a2c6322c7013454c7abaf8'
4
+ data.tar.gz: eed9b89ebaf9a79a937159830d9000fedfaa527ffd59746c65ac5ab3046939d5
5
5
  SHA512:
6
- metadata.gz: 90a7c1ce458054d2b8693caa160f4a2f339687f4b07d82de0b23908610ab53b55701fcf67e0697e083cd3dbf252e70bdeb5146fa7fa25c0b3a0e54a30766e6c7
7
- data.tar.gz: 41ea934bf3dd57d87c18ba3a579a77ab341d265784710cbe65f228d98a4543d7ac250497e9376cf9620ff8b308067cdbe59bd906b8e07c14238891061cecb82f
6
+ metadata.gz: f6f6094ee1da88a967d89904a2c7aa8b5d20cdff337dbe01d1ee86ecfd8db54d091c85f467bc778610e94a287f29e64b0866187689378a0d068836a7aa23c7e0
7
+ data.tar.gz: 6992e10900c76bbc6ae5dddbace85232ffeac7684c76dac9762f85d2d1f3c03266c5d7a4233db8eb3f80141b13222d4bd65cc7773838801f7254577b00b531d7
@@ -10,6 +10,10 @@ class Tramway::Event::ActionDecorator < Tramway::Core::ApplicationDecorator
10
10
  "#{object.title} - #{date_view(object.deadline)} - #{state_machine_view(object, :action_state)}"
11
11
  end
12
12
 
13
+ def title
14
+ object.title
15
+ end
16
+
13
17
  def action_state_button_color(event)
14
18
  case event
15
19
  when :do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.12.3.4'
5
+ VERSION = '1.12.3.5'
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.12.3.4
4
+ version: 1.12.3.5
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-05-02 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus