app-mgr 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/app-mgr.rb +3 -3
  2. metadata +2 -2
@@ -89,7 +89,7 @@ class AppMgr
89
89
 
90
90
  params = "<params>%s</params>" % qparams.map{|k,v| "<param var='%s'>%s</param>" % [k,v]}.join
91
91
  xml_project = project = "<project name='%s'><methods><method name='%s'>%s</method></methods></project>" % [project_name, method_name, params]
92
- [projectx_handler(xml_project), @content_type]
92
+ projectx_handler(xml_project)
93
93
  end
94
94
 
95
95
  def projectx_handler(xml_project)
@@ -111,12 +111,12 @@ class AppMgr
111
111
  else
112
112
  out = "that project doesn't exist"
113
113
  end
114
+
114
115
  @content_type ||= 'text/xml'
115
116
 
116
- out
117
+ [out, @content_type]
117
118
  end
118
119
 
119
-
120
120
 
121
121
  end
122
122
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-mgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-08-12 00:00:00 +01:00
12
+ date: 2010-08-13 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15