sdoc_live 0.1.10 → 0.1.11

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: 01316e7563fe0c297ff8ee3304b86fcab074251063ab2c503369a8288362210c
4
- data.tar.gz: d4d839d93250944f290f0157282213c8888daf1c4bfbb2872c17b0ff1034b0b7
3
+ metadata.gz: 2632d4b9ea967fd91af45d93010c1f507813c88ed9665a1592ff9667fd65d300
4
+ data.tar.gz: 5160265deb94355bf35d442f192cc2917f4900e887e69911039755af4135508a
5
5
  SHA512:
6
- metadata.gz: 0fed3626046989a0448f0368d0d3d65d3889e82ec71cb43775969e832824f156dc773f25b2c9a0e7c92c284f6d76227045fc46e8bbd4e6052f397f99c1cbbf15
7
- data.tar.gz: 7b73e3fe0c6aecc0414120f1af80e4e92ecde9ddc314939ce3165ace61398c31d5a2f85238aec220395b2bd57ed78c4f3e949862eb0d5b85841fd163ead4af75
6
+ metadata.gz: ab62868d6ea0993036eb970cee004df241813b6b7183784893a329774238496045e9f5af87fe747015bb302d733e0c6b638a105c8d0e32562934037a914f4a95
7
+ data.tar.gz: 3c864f88b8eebe761424c695ee85ba0bad5659e51ee3e5bc38d5fdbaa16a929f085cb2c5a7df572d161ba64ce71a635d1a186c732ddfc045183b369c5604fc83
@@ -11,7 +11,7 @@ module SdocLive
11
11
  doc_root = (config.output_dir || Rails.root.join("tmp", "doc")).to_s
12
12
  mount_path = config.mount_path
13
13
 
14
- app.middleware.use(SdocLive::StaticFiles, doc_root, mount_path)
14
+ Rails.application.middleware.insert_before(Rails::Rack::Logger, SdocLive::StaticFiles, doc_root, mount_path)
15
15
  end
16
16
 
17
17
  end
@@ -1,5 +1,5 @@
1
1
  module SdocLive
2
2
 
3
- VERSION = "0.1.10"
3
+ VERSION = "0.1.11"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdoc_live
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - 16554289+optimuspwnius@users.noreply.github.com