kirgudu_base 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kirgudu_base/engine.rb +5 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef4d42bbc9eaf6bca31367b5281f0968d7fa1bf0
4
- data.tar.gz: d429c3d9c25735f101a90b62d44f26d77558fa63
3
+ metadata.gz: 5eed012253449435da389b7967bb620a236ef398
4
+ data.tar.gz: 0f8c03807a54b43327e6ba3e70eac72ecef2c71b
5
5
  SHA512:
6
- metadata.gz: 572be8df26eef1d1b86474517f3d1449b1bf3f934a78b448c9982a5cf535a9f5c596fdc06047df471a7c7c4f64d619dcd239499188708f861c4aaa86688444f0
7
- data.tar.gz: bfde41f9a91f0df83766dec1f3b28b20a4b8ad6bf8ecfe2a0383f7258927a8cfc0bef18a4c3707bf6b8d6cabe518eeff0efefa07a75a26982646561d16599d02
6
+ metadata.gz: 6c9dc0932e092681f4e8620d16436030392db78384b7fe632870f22d668645e63de3574756ad270fb25c1129fbcc5f38acf895be2251ce82194470a7ebd0f28f
7
+ data.tar.gz: 86f3bf07d68167c297bcb40c21f2ca35ae14904b901db5e9efa425bf95b6fdde6df5633b0b0a4e4fb9a38f57057403c8e4daee73a9b90bc0ffafaca8b61c8c85
@@ -2,5 +2,10 @@
2
2
  module KirguduBase
3
3
  class Engine < ::Rails::Engine
4
4
  isolate_namespace KirguduBase
5
+
6
+ # Initializer to combine this engines static assets with the static assets of the hosting site.
7
+ initializer "static assets" do |app|
8
+ app.middleware.use ::ActionDispatch::Static, "#{root}/public"
9
+ end
5
10
  end
6
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kirgudu_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitrofanov Dmitry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
11
+ date: 2014-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails