rforce 0.13 → 0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/.travis.yml +15 -0
- data/{History.txt → CHANGELOG.txt} +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.ci +7 -0
- data/README.rdoc +1 -3
- data/Rakefile +5 -32
- data/lib/rforce.rb +1 -1
- data/lib/rforce/version.rb +1 -1
- data/rforce.gemspec +36 -0
- metadata +31 -52
- data/.gemtest +0 -0
- data/Manifest.txt +0 -21
- data/spec/rforce_spec.rb +0 -246
- data/spec/soap-response.xml +0 -5928
- data/spec/spec.opts +0 -1
- data/spec/spec_helper.rb +0 -4
- data/tasks/timing.rake +0 -22
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--colour
|
data/spec/spec_helper.rb
DELETED
data/tasks/timing.rake
DELETED
@@ -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
|