mangdown 0.17.4 → 0.17.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
  SHA1:
3
- metadata.gz: 2de9ee49588056cdfa5f156a9f78f73f85204c87
4
- data.tar.gz: 63781843abfe1be71a9af98261e78c8018d6b3b8
3
+ metadata.gz: 5cfc7286573cbf76d3a970d404c28cae3df14fa9
4
+ data.tar.gz: 7632ff0d23fbc2a957c1dc906c22d3dd8bfb0d39
5
5
  SHA512:
6
- metadata.gz: 6f96dbb9e48c327eee7420a3e00d343953bbe6b10b99185d0d0aa4e556945145bff618e59050a3ef58345a1b8aa2ea8a22d2b54d0cf46dc9dce35ffe81e5f232
7
- data.tar.gz: 4cfdacee63c16692ac7e1ca2976cb51f6e833216ba4bc62b3d0ec350fee73425e111bbf2c310e7134da666144cf39b4e7fb94cb1f981faf5799ec9e5c30099ae
6
+ metadata.gz: 024fd523c89c29df2d92f6bf77a88c88c46e371ad58931e914730fc7e8eef6aa8bbba7d09f55952a131d2a4803523b5442dc70b4b776c5a26e08f54785588c5f
7
+ data.tar.gz: afe445ef654dd458a2ae0237ebf7f96ff509e0b9f374fa9f122b2bee3d5be38e19ab2f584652ab5912e559ad96aac5c3718d6ff727d6dd93ec0572bed4de16f2
@@ -55,7 +55,7 @@ module Mangdown
55
55
  each_dir_or_page(dir) do |filename|
56
56
  rename_with_valid_name(filename)
57
57
  end
58
- rename_with_valid_name(dir) if validate_main_dir
58
+ validate_main_dir ? rename_with_valid_name(dir) : dir
59
59
  end
60
60
 
61
61
  def rename_with_valid_name(filename)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mangdown
4
- VERSION = '0.17.4'
4
+ VERSION = '0.17.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mangdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.4
4
+ version: 0.17.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jphager2
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-11 00:00:00.000000000 Z
11
+ date: 2018-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable