rforce 0.10 → 0.15

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec.opts DELETED
@@ -1 +0,0 @@
1
- --colour
data/spec/spec_helper.rb DELETED
@@ -1,4 +0,0 @@
1
- gem 'builder'
2
- require 'rforce'
3
-
4
- include RForce
data/tasks/timing.rake DELETED
@@ -1,23 +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
- :SoapResponseHpricot,
11
- :SoapResponseNokogiri].each do |name|
12
- begin
13
- klass = RForce.const_get name
14
- started_at = Time.now
15
- klass.new(contents).parse
16
- elapsed = Time.now - started_at
17
- puts "#{klass}: #{elapsed}"
18
- rescue NameError
19
- puts $!
20
- # no-op
21
- end
22
- end
23
- end