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: edd6e9afd1a7efdf658b22ee6c1d5fb8d404d885
4
- data.tar.gz: 2cefab9b3051eb3e99baedbc3fc81c4196aadf97
3
+ metadata.gz: 451685a00389d54c63e5c8f309de1741500e57ad
4
+ data.tar.gz: 59f07f3ecf913afa131cc89039240fd9e5cb44f5
5
5
  SHA512:
6
- metadata.gz: 213dcb3607112de64364c9f5c301bf804d321eb1a1aedee626a17db38fa5b2d792c881915b2fadff2315ec74573f5cc01abcbb32aba28bb051ff073d08e227e5
7
- data.tar.gz: a4e81449531d328e96d75db1014fb7dd86f9f44e73312054ae2f2e7bcd124bbca3b7e55ea7781b0116ddd634ae9bf1ba1fc214c69ca41582b4d860b8ad4f215c
6
+ metadata.gz: 83ab065105a64bfb0c2f276c4d27ac6b8ba616679b8eac02fed08176943d02b2ca0b23149ab926163e229d52f0c36fdf5fd019fae7429a034390e323b5cde2b8
7
+ data.tar.gz: 1a235a69b2757fa129fe14afca242306512cc210390e11030f0339ca0463e45d1f19f7fe70a82fdbdee7fe6a71c66c50124f3740405c202692c3e498b399f45b
@@ -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? File.mtime(path)
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, 'w') do |f|
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
  {}
@@ -1,3 +1,3 @@
1
1
  module Jekyll
2
- VERSION = '3.0.0.pre.beta5'
2
+ VERSION = '3.0.0.pre.beta6'
3
3
  end
@@ -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’s dedicated Help repository][jekyll-help].
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-help]: https://github.com/jekyll/jekyll-help
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.beta5
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-05-19 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid