ttl2html 0.2.4 → 0.2.5

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: 9bdd357d1345b47610b9515e83a361ce3ec33a5337b8e030dbe2a8ff6edeb493
4
- data.tar.gz: c676fb6d068308a68944c7e1c4ae266ad76bf6b4d76dac310de6da0e2175b6da
3
+ metadata.gz: 8253fb9f2a102241a54b8669eef14520eca1eef8953504d471f570165621a97d
4
+ data.tar.gz: 49ea8c61479232fdb208dc6436d2d05753addfea86e30dfe98409431c0d53f66
5
5
  SHA512:
6
- metadata.gz: d438dd3e87795c2264de8a600ec57a6fbfeafd068882466ead7e6939d4f6826b5c9b3370343929c42e63ffd8df60acc8dfb7307e20a64a2acd6bd7e5fbaa5986
7
- data.tar.gz: 514a37320bb0a6c3679e31bbece2019d69712d817236e5b706d750dbc5bbb9de23ece3bb66e878ba1f6e128ffed0ea1694e64c42893890235cb3d023248efd9c
6
+ metadata.gz: fa2c26496eeaa3e08b759c42504f83b4ce4e96e06d56a0c81d32388418fbef6087b6fc4b62fb88aa9f35d58ada17600c412326f19ddfb53d5cf781dadf9d1757
7
+ data.tar.gz: f46b8faf70dc2593501c8ca8c4f1f14c0ef0617ca031df4eaa50a566714e974864e66fcd0f52aa65fa4fadd664ae1651d10804080342a88568d58598db035f75
@@ -1 +1 @@
1
- TTL2HTML::VERSION = "0.2.4"
1
+ TTL2HTML::VERSION = "0.2.5"
data/lib/ttl2html.rb CHANGED
@@ -126,6 +126,8 @@ module TTL2HTML
126
126
  param[:title] = template.get_title(v)
127
127
  if @data.keys.find{|e| e.start_with?(uri + "/") }
128
128
  file = uri + "/index.html"
129
+ elsif uri.end_with?("/")
130
+ file = uri + "index.html"
129
131
  else
130
132
  file = uri + ".html"
131
133
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ttl2html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masao Takaku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-17 00:00:00.000000000 Z
11
+ date: 2020-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri