rforce 0.13 → 0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +0,0 @@
1
- --colour
@@ -1,4 +0,0 @@
1
- gem 'builder'
2
- require 'rforce'
3
-
4
- include RForce
@@ -1,22 +0,0 @@
1
- require 'rforce'
2
-
3
- desc 'Perform a crude comparison of the various response parsers'
4
- task :timing do
5
- fname = File.join(File.dirname(__FILE__), '../spec/soap-response.xml')
6
- contents = File.open(fname) {|f| f.read}
7
-
8
- [:SoapResponseRexml,
9
- :SoapResponseExpat,
10
- :SoapResponseNokogiri].each do |name|
11
- begin
12
- klass = RForce.const_get name
13
- started_at = Time.now
14
- klass.new(contents).parse
15
- elapsed = Time.now - started_at
16
- puts "#{klass}: #{elapsed}"
17
- rescue NameError
18
- puts $!
19
- # no-op
20
- end
21
- end
22
- end