tramway-core 2.0.0.6 → 2.0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 947478181fe473b824cafac9c38ba18b42020116f6192c4a3aa501c6003274e6
4
- data.tar.gz: 58adbfb8ef2f549537c5e9ddf89cede657a003e81a6b21128cd4071841b61401
3
+ metadata.gz: b0d179e8fb2d3957aff22bdb14047df360b1ae48ca8297b4392de41f4f3652fc
4
+ data.tar.gz: 5f75c8b2a1864a08cfc90ef99c87b1f77fe1843c90334c48d773f471106b5eaa
5
5
  SHA512:
6
- metadata.gz: 0dbe1f8a6adbd2551a4689bc47f6c665f8ee10f2a16265425b29a02d3b1c745efd2f4deb8485282689f4e967d863c4fe71fa57415959e045300b87fd8fe7dd54
7
- data.tar.gz: 11509d5851b580f6a65b31bc62076e776d5c935ec40b4202988e38f4237e01c3b39e211c133196bc6caefe1af4bc2e6e1a787c6dd10f84be8a1ef8790ef2596b
6
+ metadata.gz: f2fff66dc7d0728dabdb85dd7e2730da2867df954a59b11cf5cb1de0126b82df7a38e4e7fa07c1a2d4cbbdbd58946ec6c00b96381f9db006749e1aad44d784ab
7
+ data.tar.gz: 804c9d06f143bf021b1d643b784fa26641c573e48cfad0fd75e8e951aa04b9cd0c2f65614f73b610446d1a639a246568d91ecf54a7edace886e6662f74956ab8
@@ -8,7 +8,6 @@
8
8
  //= require bootstrap-datepicker-1.8.0
9
9
  //= require bootstrap-datepicker-1.8.0.ru.min
10
10
  //= require font_awesome5
11
- // require clipboard FIXME should be optional requiring
12
11
  //= require_tree .
13
12
 
14
13
  window.i18n_locale = function(locale) {
@@ -48,6 +47,4 @@ $(document).ready(function() {
48
47
  }
49
48
  };
50
49
  });
51
-
52
- let clipboard = new Clipboard('.clipboard-btn');
53
50
  });
@@ -5,7 +5,9 @@ class Tramway::Core::ApplicationController < ActionController::Base
5
5
  before_action :load_extensions
6
6
 
7
7
  def application
8
- @application = ::Tramway::Core.application_object
8
+ if ::Tramway::Core.application
9
+ @application ||= Tramway::Core.application&.model_class&.first || Tramway::Core.application
10
+ end
9
11
  end
10
12
 
11
13
  def load_extensions
@@ -82,6 +82,13 @@ class Tramway::Core::ApplicationDecorator
82
82
  end
83
83
  end
84
84
 
85
+ def additional_buttons
86
+ {
87
+ show: [],
88
+ index: []
89
+ }
90
+ end
91
+
85
92
  def public_path; end
86
93
 
87
94
  def model
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '2.0.0.6'
5
+ VERSION = '2.0.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.6
4
+ version: 2.0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-06 00:00:00.000000000 Z
12
+ date: 2021-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: audited
@@ -195,9 +195,6 @@ dependencies:
195
195
  name: rmagick
196
196
  requirement: !ruby/object:Gem::Requirement
197
197
  requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '2.16'
201
198
  - - ">="
202
199
  - !ruby/object:Gem::Version
203
200
  version: 2.16.0
@@ -205,9 +202,6 @@ dependencies:
205
202
  prerelease: false
206
203
  version_requirements: !ruby/object:Gem::Requirement
207
204
  requirements:
208
- - - "~>"
209
- - !ruby/object:Gem::Version
210
- version: '2.16'
211
205
  - - ">="
212
206
  - !ruby/object:Gem::Version
213
207
  version: 2.16.0
@@ -418,7 +412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
418
412
  - !ruby/object:Gem::Version
419
413
  version: '0'
420
414
  requirements: []
421
- rubygems_version: 3.1.2
415
+ rubygems_version: 3.2.3
422
416
  signing_key:
423
417
  specification_version: 4
424
418
  summary: Core for all Tramway Rails Engines