middleman-mdocs 0.1.3 → 0.1.4

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: 4d3e5aa226603a693728e8b541240b3df84de0361adc8fe8756b0200800851c2
4
- data.tar.gz: a34c44c0e2c3e9d654dfb4cf4bbc8b103315cf00f82afb015410a9da0c471d67
3
+ metadata.gz: ea22551635800798a10393754e186bbc9e04e5b13c897df96e16ea45f4c422cb
4
+ data.tar.gz: d6807edc2bddaf740bdfda08b8e407fb4b8193935923925caebbaea0d6fe60f1
5
5
  SHA512:
6
- metadata.gz: c71997abb7f942182e827d7a22ac91bb1df96c4a4568dd5fa0d91946c11c98dae6b505f5ba67f88b7801e424a620fd96420fc4ce1e1380300e67ba98c6c578e0
7
- data.tar.gz: 8a2daa0fbb03f2b5edaee5dc10b792f6119693b4c3153f72bf7b64516e4ba2b5643c7b7920add7d6c3a7b1512eb00f90e7b287db928055862f1a3699f8560f84
6
+ metadata.gz: 8250c745dc121fc4832435168d95fd18af293e123f957bc833c65d77609be398bae0d165bfb29dc4e57908fd79fc017d7ed9dcf1885084fb34c45920e167e977
7
+ data.tar.gz: cd88fa5f8355059e8e662fc8adf19db05f3f36c407ecc55c44c878459efc9e58dde4137b4b37c47ad951f37010503195a319d5e0f360174ebe0e7428fa6f3115
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- middleman-mdocs (0.1.3)
4
+ middleman-mdocs (0.1.4)
5
5
  activesupport
6
6
  awesome_print
7
7
  kramdown
@@ -67,8 +67,7 @@ module MiddlemanMdocs
67
67
  end
68
68
 
69
69
  def timestamp
70
- timestamp_source = File.symlink?(source_file) ? File.realdirpath(source_file) : source_file
71
- (mdocs.dependencies(self).map(&:timestamp) + [File.mtime(timestamp_source)]).max
70
+ (mdocs.dependencies(self).map(&:timestamp) + [File.mtime(File.realdirpath(source_file)), File.mtime(source_file)]).max
72
71
  end
73
72
 
74
73
  def cache_key
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiddlemanMdocs
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-mdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoylenko Yuri