uwa 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/uwa/config.rb +1 -1
  2. data/lib/uwa/handler.rb +1 -1
  3. metadata +2 -2
data/lib/uwa/config.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module UWA
2
2
  NAME = 'UWA'
3
- VERSION = '0.5'
3
+ VERSION = '0.6'
4
4
  DESC = 'Widget server for UWA specs by Netvibes (http://dev.netvibes.com/doc/universal_widget_api)'
5
5
  AUTHOR = 'Florent Solt'
6
6
  EMAIL = 'florent@solt.biz'
data/lib/uwa/handler.rb CHANGED
@@ -229,7 +229,7 @@ class Handler < Mongrel::HttpHandler
229
229
  end
230
230
 
231
231
  def ajax(method)
232
- if method == :resource
232
+ if method == :resource or method == :resources
233
233
  file = @request.params['PATH_INFO'].gsub(/\.\./, '').split('/')[2..-1].join($/)
234
234
  file = File.join(@base, 'resources', file)
235
235
  send_file(file)
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: uwa
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.5"
7
- date: 2007-04-03 00:00:00 +02:00
6
+ version: "0.6"
7
+ date: 2007-04-04 00:00:00 +02:00
8
8
  summary: Widget server for UWA specs by Netvibes (http://dev.netvibes.com/doc/universal_widget_api)
9
9
  require_paths:
10
10
  - lib