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 CHANGED
@@ -52,3 +52,7 @@ New config options
52
52
 
53
53
  - Rack root is now configured by Jekyll 'destination' configuration
54
54
 
55
+ ### 1.4.2
56
+
57
+ - Unescape URLs in Rack (support for non-ASCII URLs)
58
+
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 two configurations.
72
+ This guard has these configurations.
73
73
 
74
74
  | Config | Description | Default
75
75
  |:--------------|:-------------------------------------------------|:-----------------------------------------------------------------------------------|
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class JekyllPlusVersion
3
- VERSION = "1.4.1"
3
+ VERSION = "1.4.2"
4
4
  end
5
5
  end
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- guard-jekyll-plus (1.4.0)
4
+ guard-jekyll-plus (1.4.1)
5
5
  guard (>= 1.1.0)
6
6
  jekyll (>= 1.0.0)
7
7
 
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>字</title>
6
+ </head>
7
+ <body>
8
+ <h1>字</h1>
9
+ </body>
10
+ </html>
11
+
12
+
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.1
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-08 00:00:00.000000000 Z
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