tramway-core 1.0.1.5 → 1.0.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: 603b885b9f8a300019f0fa8ff3b15f9c2817f82e0d955b156dac1e1c676ff097
4
- data.tar.gz: 6678bd6efe78c7cc445652cc468a041af4541ce97ab7395f303814418edd173f
3
+ metadata.gz: d3b3078393a75fb28760b88d774ddd5967e53a83b7c692d3b35f9be366a42d68
4
+ data.tar.gz: 222356bc044bf88885c5d5087fcec223f25c4020baa885f0f0e71ab24f58bb1c
5
5
  SHA512:
6
- metadata.gz: 8c923039f2cea72a4f8d80e685cf3d6d4c7da19e83d9fca5d63be144bf7c292ed813364cd4340b7b08d9558444979c0d543d4165d6a0c2700582d37679fbcfeb
7
- data.tar.gz: 3407c0efa6d878f3121e9ee9173ce833ee07aa1cdc44b4bdde0c90d93d94b9134c6efc045665605710dcf4ea5af00a1fd53806e8d977dda6dffd6f13e8053b64
6
+ metadata.gz: 1cfd661b42c01b98e8996e7d03d7ef8191bbf2b1d9a332d55e93e0684aecfaca75a5c3cf6d508c750c70571bea9058bb8cff6ea92d3a73d9c143647637ad4e22
7
+ data.tar.gz: b92c2b6eb26550ccbb7529445cd86c2aea0c451316f70bcaee5238065ace52808281e81a5f7cec77b82bdccf1cadacaa8c9a814357482aea9cea647d7d1081e2
@@ -32,6 +32,10 @@ class Tramway::Core::ApplicationDecorator
32
32
  delegate :class, to: :object
33
33
  delegate :human_state_name, to: :object
34
34
 
35
+ def link
36
+ object.file.url
37
+ end
38
+
35
39
  def model
36
40
  object
37
41
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.0.1.5'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.5
4
+ version: 1.0.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: 2018-04-27 00:00:00.000000000 Z
11
+ date: 2018-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reform-rails