guard-jekyll-plus 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/guard/jekyll-plus/version.rb +1 -1
- data/lib/rack/config.ru +2 -1
- data/test/Gemfile.lock +1 -1
- data/test//345/255/227.html +12 -0
- metadata +3 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -69,7 +69,7 @@ For the most part that's all you'll ever need to do. There are some things you c
|
|
|
69
69
|
|
|
70
70
|
## Configuration
|
|
71
71
|
|
|
72
|
-
This guard has
|
|
72
|
+
This guard has these configurations.
|
|
73
73
|
|
|
74
74
|
| Config | Description | Default
|
|
75
75
|
|:--------------|:-------------------------------------------------|:-----------------------------------------------------------------------------------|
|
data/lib/rack/config.ru
CHANGED
|
@@ -9,7 +9,7 @@ module Rack
|
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def call(env)
|
|
12
|
-
orig_path = env['PATH_INFO']
|
|
12
|
+
orig_path = Rack::Utils.unescape env['PATH_INFO']
|
|
13
13
|
found = nil
|
|
14
14
|
@try.each do |path|
|
|
15
15
|
resp = @static.call(env.merge!({'PATH_INFO' => orig_path + path}))
|
|
@@ -35,3 +35,4 @@ end
|
|
|
35
35
|
root = ENV['RACK_ROOT'] || '_site'
|
|
36
36
|
|
|
37
37
|
start_rack root, "#{root}/404.html"
|
|
38
|
+
|
data/test/Gemfile.lock
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guard-jekyll-plus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-08-
|
|
12
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: guard
|
|
@@ -79,6 +79,7 @@ files:
|
|
|
79
79
|
- test/images/logo.png
|
|
80
80
|
- test/images/twitter.png
|
|
81
81
|
- test/index.html
|
|
82
|
+
- test/字.html
|
|
82
83
|
homepage: http://github.com/imathis/guard-jekyll-plus
|
|
83
84
|
licenses:
|
|
84
85
|
- MIT
|