public
Description: DataMapper Adapters
Homepage: http://www.yehudakatz.com
Clone URL: git://github.com/wycats/dm-adapters.git
Fix headers to use enterprise URN
wycats (author)
Mon Jun 30 17:04:51 -0700 2008
commit  a50cafa40686ffb6731acbea11157dda5965eddc
tree    60c8eded601bdcf11edeff50246c25a3a0d5477a
parent  92aab06d532b8ea638e3eab2ae3c1a883a8c451f
...
38
39
40
41
 
42
43
44
...
38
39
40
 
41
42
43
44
0
@@ -38,7 +38,7 @@ end
0
 
0
 desc "install the gem locally"
0
 task :install => [:package] do
0
- sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}}
0
+ sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION} --no-ri --no-rdoc}
0
 end
0
 
0
 desc "create a gemspec file"
...
6
7
8
9
 
10
11
12
13
14
 
15
16
17
...
6
7
8
 
9
10
11
12
13
 
14
15
16
17
0
@@ -6,12 +6,12 @@ module SalesforceAPI
0
 
0
   class HeaderHandler < SOAP::Header::SimpleHandler
0
     def initialize(tag, value)
0
- super(XSD::QName.new('urn:partner.soap.sforce.com', tag))
0
+ super(XSD::QName.new('urn:enterprise.soap.sforce.com', tag))
0
       @tag = tag
0
       @value = value
0
     end
0
     def on_simple_outbound
0
- @value
0
+ @value
0
     end
0
   end
0
   

Comments

    No one has commented yet.