tramway-core 2.0.0.3 → 2.0.0.8

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: 8cb5f162d7f0c25e14716d625868a33da89c697af2ec591d7f7979a1be186ec3
4
- data.tar.gz: '09d897ed92f6a1231178781b82bcf2b670887287f04e1d73404750db13ce44a2'
3
+ metadata.gz: 1b4f2ffeb13dc706999347f1eddd9d4c641246001ed9bf8a17f788f1f3446a04
4
+ data.tar.gz: 5fbc456d9e56b81ce63de7ea747495a1c7ad7733b392bfbf0b96e58069f4bd51
5
5
  SHA512:
6
- metadata.gz: 91fa7227004fdd8703de213ac2bdef4d82235389cc807da5ebce079e31549d00543fc01693405bc20784817e2e7ce2e4d4ea36ec8be7451c9244c1979d2e5bfb
7
- data.tar.gz: d8ebf4899596a26019744c1a93070aa8229d160bec462ea9951e37dfc2faecd57e861fbef4f5bfe2989c133a9b3b8e2cb1c908f1bf794c9f95e538f3dd418581
6
+ metadata.gz: 6e05acf41bfb8507c783712e40744d578cd2ae77e9b7aef6bbc1e00ff00ee0ea61e055d2098f9e6dafae4bcd098b81be98dbcb62a3c4672d9579391eb6729f22
7
+ data.tar.gz: 384ace393037db031d02c021739ba71cb68ef19da4c5170c1ba3daa52c14f7d70326518a13d7108e5d58c3cedf40c70363e431b04ac562f24fad16dfa2491bee
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '2.0.0.3'
5
+ VERSION = '2.0.0.8'
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.3
4
+ version: 2.0.0.8
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-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: audited
@@ -418,7 +418,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
418
418
  - !ruby/object:Gem::Version
419
419
  version: '0'
420
420
  requirements: []
421
- rubygems_version: 3.1.2
421
+ rubygems_version: 3.1.4
422
422
  signing_key:
423
423
  specification_version: 4
424
424
  summary: Core for all Tramway Rails Engines