octopress-tag-helpers 1.0.0 → 1.0.1

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: 0e6606d7dc37bf5dc130e0919411b41f34441e03
4
- data.tar.gz: cea488d88d622bf07273e153e65c0369c02e1d3f
3
+ metadata.gz: cd32c634221e7c23657e1efebeb9e211eb2518e1
4
+ data.tar.gz: 0dd253ad52eaae80e38c952254715ca449530436
5
5
  SHA512:
6
- metadata.gz: 68213ec81a1b24ac4b9f511f4e07998dd062128f9e86ee9d8ab302b2b730c4e4e4afe2c1843a8a5a165a97ea9ead517f35b841c32ec34c635b8c5f4c52ddca15
7
- data.tar.gz: 6b2e8d01438c4ac28d1f9f13140c2439f981d3edc90a60e2fdb1f490362b61f72c7c5612340620d70cd5ed21ca03889c1d04179861fc81f46839abbae9c013c5
6
+ metadata.gz: f3efa57f7060f0d5ad88a0552a328c993285fb8b1b0b09a2fd4f0e5efe7344f4f392fcac7c9001355e069dafdc371c0244223967201e51b67cb3d0afd6da6511
7
+ data.tar.gz: 9f358b457e57839ba4da571a8b9e99e1009c4f7a95752c27c4d2d57c88a9a5baaf5efbd52b399fe711a11c1d1633494ef2d7f02e70cd6f91b3b9829de1edf8f0
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ ## 1.0.1 - 2014-06-29
4
+ - Improved support for relative paths
5
+
6
+ ## 1.0.0 - 2014-06-29
7
+ - Initial release
@@ -25,12 +25,8 @@ module Octopress
25
25
  # If relative path, e.g. ./somefile, ../somefile
26
26
  if file =~ /^\.+\//
27
27
  page = context['page']
28
- if local_dir = page['dir']
29
- File.expand_path(File.join(root, local_dir, file))
30
- else
31
- local_dir = File.dirname(page['path'])
32
- File.expand_path(File.join(root, local_dir, file))
33
- end
28
+ local_dir = File.dirname(page['path'])
29
+ File.expand_path(File.join(root, local_dir, file))
34
30
 
35
31
  # If absolute or relative to a user directory, e.g. /Users/Bob/somefile or ~/somefile
36
32
  elsif file =~ /^[\/~]/
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module TagHelpers
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -1,3 +1,5 @@
1
+ require "jekyll"
2
+
1
3
  require "octopress-tag-helpers/version"
2
4
  require "octopress-tag-helpers/hooks"
3
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-tag-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - CHANGELOG.md
63
64
  - Gemfile
64
65
  - LICENSE.txt
65
66
  - README.md