thecore_dataentry_commons 1.2.14 → 1.2.16

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
  SHA1:
3
- metadata.gz: d8009c4b390ff3364b0acc7dee626eacb3425f23
4
- data.tar.gz: 11327a748ab56f7b01a279e5c00282ff28525dec
3
+ metadata.gz: ed8914c5706bfc7ae74e2b0cc7c0f45143c7565a
4
+ data.tar.gz: 4416e7a92c199f9b986510c1c74c5c98615cf40b
5
5
  SHA512:
6
- metadata.gz: b1f8f0757cdc25170c80f651298e42e15d576fb5b8d5af9db1cbe28277cdcf83a64ca9cd1888f0c5875e404423273ab915f540560696f2b442c3b98c56917cf3
7
- data.tar.gz: f99e88bfaa223f8557c12e1e6644e772ea67e66c69c8910bf89e935594e6432694800a38e08b6ac8c5dde3eb8cbf918453b62614b5643b961c037598e8df0d41
6
+ metadata.gz: d31feb0478ce2fb8e8d4286fb86c7476f58d4f3257b448da06a495e0dec19784b9848f0141f0bcf699ee7cdea756ca4f974ab5e91e22b4189185bc1abb3c738e
7
+ data.tar.gz: 3c81b64ceb9fba6c7254f4b35008c118e2b7bf8116543239279c111313028276d8472ff5367659ec043854fb10e57bc033d8cd7569a01ea3b684381e13047573
@@ -1,6 +1,11 @@
1
1
  module ThecoreDataentryCommons
2
2
  class Engine < ::Rails::Engine
3
-
3
+ # This code makes the static assets present in this
4
+ # engine available to main app, even if this gem is
5
+ # just a dependency of another engine
6
+ initializer 'thecore_dataentry_commons.load_static_assets' do |app|
7
+ app.middleware.use ::ActionDispatch::Static, "#{root}/app"
8
+ end
4
9
  initializer 'thecore_dataentry_commons.add_to_migrations' do |app|
5
10
  unless app.root.to_s == root.to_s
6
11
  # APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = '1.2.14'
2
+ VERSION = '1.2.16'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_dataentry_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.14
4
+ version: 1.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-08 00:00:00.000000000 Z
11
+ date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_settings