kiss 0.9 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/kiss/action.rb +3 -5
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9
1
+ 0.9.1
data/lib/kiss/action.rb CHANGED
@@ -154,11 +154,9 @@ class Kiss
154
154
  # process layout file
155
155
  content = erubis(layout_path,binding,content)
156
156
  end
157
-
158
- # Kiss 0.9: action parser now redirects into directories (with trailing slash)
159
- # don't need to add base tag anymore
160
- #content.sub(/(\<html)/i,%Q(<base href="#{@base_url}" />\\1))
161
- content
157
+
158
+ # add a base tag in case of arguments appended to request URI
159
+ content.sub(/(\<html)/i,%Q(<base href="#{@base_url}" />\\1))
162
160
  end
163
161
 
164
162
  # Render and return response to Rack.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kiss
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.9"
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Van Ittersum