tramway-core 1.14.3.2 → 1.14.4

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: 41b8714571b061188c54741750ce6ad4eceebc697eae2a0aeb37fe50ce17ee7c
4
- data.tar.gz: 1c5733a543f3bd94a5f167a14b244d47a0ef642712ba725239e80481274d0b27
3
+ metadata.gz: 403640e1fa3e37979b6c8c2dc99479f9d19707dd3706773f16efbb4ccc3feaa3
4
+ data.tar.gz: 0c907e27554fef7d6e10695cdc2f400164b35254e593bd0399a0f48d2d95f2b4
5
5
  SHA512:
6
- metadata.gz: c5b44f24790288d22365809ad3e3a109e456d6d227478dca60858961ca7fc5ac7396c7808be81431836089073b6c50b5a84f9827b0da69e48b07754a25011649
7
- data.tar.gz: 9bac4146b38de71ba75212791e5d77049d840e75623ed3183acb27d98f83399dcbd384a6f8b20db7345286352499f76311cdca88f41a5f0bda891c9d5e809a26
6
+ metadata.gz: fd26c611cffc17ff0797b73c6404fd8cd0c3a6db61ea5e91f96e916ec93e827a801c180876bf3b529dd205a81dbc6754c604571f1931297ad385fe1140e921eb
7
+ data.tar.gz: e99eeb1790216da4b8d15836238c89f79afc602a58ced2a332ab9661aa4778d54eaf4710ecdd89794539e196005afdeebca64a0cee469d23e615442922c6bb28
@@ -19,6 +19,10 @@ module Tramway
19
19
  end
20
20
  end
21
21
 
22
+ def application_object
23
+ @application.model_class.present? ? @application.model_class.first : @application
24
+ end
25
+
22
26
  attr_reader :application
23
27
  end
24
28
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '1.14.3.2'
5
+ VERSION = '1.14.4'
6
6
  end
7
7
  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.14.3.2
4
+ version: 1.14.4
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-12-30 00:00:00.000000000 Z
11
+ date: 2020-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: audited
@@ -90,22 +90,22 @@ dependencies:
90
90
  name: haml-rails
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- version: 1.0.0
96
93
  - - "~>"
97
94
  - !ruby/object:Gem::Version
98
95
  version: '1.0'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 1.0.0
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: 1.0.0
106
103
  - - "~>"
107
104
  - !ruby/object:Gem::Version
108
105
  version: '1.0'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 1.0.0
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: kaminari
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -144,22 +144,22 @@ dependencies:
144
144
  name: mini_magick
145
145
  requirement: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- version: 4.8.0
150
147
  - - "~>"
151
148
  - !ruby/object:Gem::Version
152
149
  version: '4.8'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 4.8.0
153
153
  type: :runtime
154
154
  prerelease: false
155
155
  version_requirements: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: 4.8.0
160
157
  - - "~>"
161
158
  - !ruby/object:Gem::Version
162
159
  version: '4.8'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 4.8.0
163
163
  - !ruby/object:Gem::Dependency
164
164
  name: pg_search
165
165
  requirement: !ruby/object:Gem::Requirement
@@ -206,22 +206,22 @@ dependencies:
206
206
  name: rmagick
207
207
  requirement: !ruby/object:Gem::Requirement
208
208
  requirements:
209
- - - ">="
210
- - !ruby/object:Gem::Version
211
- version: 2.16.0
212
209
  - - "~>"
213
210
  - !ruby/object:Gem::Version
214
211
  version: '2.16'
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: 2.16.0
215
215
  type: :runtime
216
216
  prerelease: false
217
217
  version_requirements: !ruby/object:Gem::Requirement
218
218
  requirements:
219
- - - ">="
220
- - !ruby/object:Gem::Version
221
- version: 2.16.0
222
219
  - - "~>"
223
220
  - !ruby/object:Gem::Version
224
221
  version: '2.16'
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: 2.16.0
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: sass-rails
227
227
  requirement: !ruby/object:Gem::Requirement
@@ -400,7 +400,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
400
400
  - !ruby/object:Gem::Version
401
401
  version: '0'
402
402
  requirements: []
403
- rubygems_version: 3.0.3
403
+ rubygems_version: 3.1.2
404
404
  signing_key:
405
405
  specification_version: 4
406
406
  summary: Core for all Tramway Rails Engines