jekyll 3.0.0.pre.beta5 → 3.0.0.pre.beta6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 451685a00389d54c63e5c8f309de1741500e57ad
|
4
|
+
data.tar.gz: 59f07f3ecf913afa131cc89039240fd9e5cb44f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83ab065105a64bfb0c2f276c4d27ac6b8ba616679b8eac02fed08176943d02b2ca0b23149ab926163e229d52f0c36fdf5fd019fae7429a034390e323b5cde2b8
|
7
|
+
data.tar.gz: 1a235a69b2757fa129fe14afca242306512cc210390e11030f0339ca0463e45d1f19f7fe70a82fdbdee7fe6a71c66c50124f3740405c202692c3e498b399f45b
|
data/lib/jekyll/regenerator.rb
CHANGED
@@ -102,7 +102,7 @@ module Jekyll
|
|
102
102
|
return cache[dependency] = cache[path] = true
|
103
103
|
end
|
104
104
|
end
|
105
|
-
if data["mtime"].eql?
|
105
|
+
if File.exist?(path) && data["mtime"].eql?(File.mtime(path))
|
106
106
|
return cache[path] = false
|
107
107
|
else
|
108
108
|
return add(path)
|
@@ -130,7 +130,7 @@ module Jekyll
|
|
130
130
|
#
|
131
131
|
# Returns nothing.
|
132
132
|
def write_metadata
|
133
|
-
File.open(metadata_file, '
|
133
|
+
File.open(metadata_file, 'wb') do |f|
|
134
134
|
f.write(Marshal.dump(metadata))
|
135
135
|
end
|
136
136
|
end
|
@@ -164,6 +164,9 @@ module Jekyll
|
|
164
164
|
Marshal.load(content)
|
165
165
|
rescue TypeError
|
166
166
|
SafeYAML.load(content)
|
167
|
+
rescue ArgumentError => e
|
168
|
+
Jekyll.logger.warn("Failed to load #{metadata_file}: #{e}")
|
169
|
+
{}
|
167
170
|
end
|
168
171
|
else
|
169
172
|
{}
|
data/lib/jekyll/version.rb
CHANGED
@@ -18,8 +18,8 @@ print_hi('Tom')
|
|
18
18
|
#=> prints 'Hi, Tom' to STDOUT.
|
19
19
|
{% endhighlight %}
|
20
20
|
|
21
|
-
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll
|
21
|
+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
22
22
|
|
23
23
|
[jekyll-docs]: http://jekyllrb.com/docs/home
|
24
24
|
[jekyll-gh]: https://github.com/jekyll/jekyll
|
25
|
-
[jekyll-
|
25
|
+
[jekyll-talk]: https://talk.jekyllrb.com/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.pre.
|
4
|
+
version: 3.0.0.pre.beta6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|