epuber 0.7.0 → 0.7.1

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
  SHA256:
3
- metadata.gz: 6560c1375c0b773b66e5938c09a94767ad7a9e8dae29b670e469028828e88db9
4
- data.tar.gz: e6c72d1f60af9ea5b2f60b7bd9ee044d8896abe0d3e0a8ebead44965a1971876
3
+ metadata.gz: d5f0a0a9ea184becf56e460ca8440c93808f3f36fc517ff98e7e573b49f3df0f
4
+ data.tar.gz: 3070d122e6a5a6dda0755d0a15f5df756896318150e39e9708db986ce6d755c8
5
5
  SHA512:
6
- metadata.gz: 40f4c800bb62695192e7934402dae40c34540b0eebc175cc951bce8d669e4e9d61c855864281b134945d9e5b51f41467fb329a1a66ca47b326af2383151b2956
7
- data.tar.gz: aa8ad6eeba9f8f0223dc3a4a62aef8477a0a6c7444441f871eb3a4d7138f60f3891e27227c49f96076669b9842a87c9e10e271822cb78a03f80712b237bf74cb
6
+ metadata.gz: 8a010e7d5ce0554f6b22f0c28edd4454a53f9253753f4f9a350a420211ae0506843508ad074c09d5617aef79dbb2f4fed9321f3d6dfd34a413801ead3b1e515f
7
+ data.tar.gz: 53031c9e1abd696a24727c37d24e1907466d50587efb83843eafded9469b608e0ad9caec0553b9635bd4c623b2e90fa3f4ca333456ed4fd4c402c70d5b3dcc85
data/lib/epuber/server.rb CHANGED
@@ -570,6 +570,7 @@ module Epuber
570
570
 
571
571
  case File.extname(full_path)
572
572
  when '.xhtml'
573
+ content_type :xhtml
573
574
  handle_xhtml_file(full_path)
574
575
  else
575
576
  handle_file(full_path)
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Epuber
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
 
6
6
  HOME_URL = 'https://github.com/epuber-io/epuber'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epuber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Kříž
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport