octopress-ink 1.0.0.rc.34 → 1.0.0.rc.35

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: 507b7918d8e83fb3b1a1e3adf4920c28b5c34319
4
- data.tar.gz: 7b23080814371a42bbd77fdb8ef4de075b5b910a
3
+ metadata.gz: 00751bfc18969c23eeb88c05210b9e4f3af94460
4
+ data.tar.gz: d5823354c958c15935f23efc57a6adccbbf1a717
5
5
  SHA512:
6
- metadata.gz: 0109231592b6314e714b2a11b941db77e923495d004ef7251ee30b10aee029c9b1fc1e56720b5191eff0ab5e7c250f64f4cdb113318644f177e7c37f6dcddbf7
7
- data.tar.gz: 4783a5ce27fee75dce86c6da535928a1db72282148b496e055f9b130d7d8c76d9c77b70432dc7853059925ff5c8aed4ef03bd29bc5ce18a43e690189fdc1c6f4
6
+ metadata.gz: e8a12ad0d3ea038c70b30b507d2b666da7326025af5aa3d89a75098c3fb22b00b90f69733b39c78b9bb3d98556067d263de397ba5cb4e752b08cf2a89023291e
7
+ data.tar.gz: 4e3dbc1afd2991323f0d37d20a720d2231aaf98a754b291f05c460cc197a52ae1c5d3ae70327eb7b8eb6e591d24adf8d8c4f3d832bf64a04e11f74a08bfa3553
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.0.0 RC35 - 2015-01-28
4
+
5
+ - Fix: Includes nested in sub directories work again. [#40](https://github.com/octopress/ink/issues/40)
6
+
3
7
  ### 1.0.0 RC34 - 2015-01-28
4
8
 
5
9
  - Fix: Don't attempt to remove cached assets if they don't exist.
@@ -133,7 +133,7 @@ module Octopress
133
133
  end
134
134
 
135
135
  def include(file)
136
- @includes.find{|i| i.filename == file }.path
136
+ Pathname.new(@includes.find{|i| i.filename == file }.path)
137
137
  end
138
138
 
139
139
  private
@@ -386,7 +386,7 @@ module Octopress
386
386
  def glob_assets(dir)
387
387
  return [] unless Dir.exist? dir
388
388
  Find.find(dir).to_a.reject do |file|
389
- File.directory?(file) || File.basename(file) =~ /^\./
389
+ File.directory?(file) || File.basename(file).start_with?('.')
390
390
  end
391
391
  end
392
392
 
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Ink
3
- VERSION = "1.0.0.rc.34"
3
+ VERSION = "1.0.0.rc.35"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-ink
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc.34
4
+ version: 1.0.0.rc.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis