kirgudu_base 0.0.16 → 0.0.17

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 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5eed012253449435da389b7967bb620a236ef398
4
- data.tar.gz: 0f8c03807a54b43327e6ba3e70eac72ecef2c71b
3
+ metadata.gz: 8ff58617544cf0388338b665e2c9d489e6fb444d
4
+ data.tar.gz: 54886858f18f96e1cfe570f9231d955e4de99964
5
5
  SHA512:
6
- metadata.gz: 6c9dc0932e092681f4e8620d16436030392db78384b7fe632870f22d668645e63de3574756ad270fb25c1129fbcc5f38acf895be2251ce82194470a7ebd0f28f
7
- data.tar.gz: 86f3bf07d68167c297bcb40c21f2ca35ae14904b901db5e9efa425bf95b6fdde6df5633b0b0a4e4fb9a38f57057403c8e4daee73a9b90bc0ffafaca8b61c8c85
6
+ metadata.gz: 7a7ac029fdb38ab1e365d6a36de936e9e0974e567e047a9d9394a874dbe1f0c878a9db3d704827fb5b89581b6b64256b898ad00f57876a24a50f1c4d987b8890
7
+ data.tar.gz: 623522d71e003161cd3aa6479d41f334b214d401a46b6eab76d27f1e59218a988430aac6013b9b9151439cb0b93f4f9e526c18485c5eb92efce914e1326e58b4
@@ -4,8 +4,12 @@ module KirguduBase
4
4
  isolate_namespace KirguduBase
5
5
 
6
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
10
+
7
11
  initializer "static assets" do |app|
8
- app.middleware.use ::ActionDispatch::Static, "#{root}/public"
12
+ app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
9
13
  end
10
14
  end
11
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kirgudu_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitrofanov Dmitry