rforce 0.14 → 0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 291d2e38e8a00e2f65c8fb248790d9e78e94171b21ed1d5ec2a1602010f3c641
4
- data.tar.gz: df51a8c4dd21ea812874f3a0389bc65f5f2187419d41658167aea8da66f95f47
3
+ metadata.gz: c3a071a2857df828c3921bb9cd49fab785f959bac60cfd01065dde0313f59e6c
4
+ data.tar.gz: 05afbdbf418ec1d4e1a7c58a390e2fc44c7b04d1c374e6acbba058f3e0a8863e
5
5
  SHA512:
6
- metadata.gz: 24d3d40f9bc2f3a13f07976b1b759e9eeeda20f1d29b2b040bdd431317bbb360d05d17c1209e9c3a028b2e9c3e801a9419047a23ac204f9dc160c0f1ca2d2ae8
7
- data.tar.gz: 707e19adf5058ac34d3978dfe8891a8172e6c29b395e73eab0d77f7ed751a976363d26ba26df3a529c5d313baa4acc1432f1ea7ab0d34739626d5c72b0d24ccb
6
+ metadata.gz: 55baa254981ef2dbcd6c0d301579905beea00e2f0b4e1be0ac1eb0a311a805ed1409878ee0eef9d877a7cce307819cb1cbaf6aea9d8d55331d17fff3ad3b15b5
7
+ data.tar.gz: 4d2053a4e2c77d7da535fd770a779b5e313b0e753759f80e63128d94198c0095e289eeffd44c72ac23daff71e19a4f6438f45b46645219adb4eab39ce10e0a61
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  .bundle
2
2
  Gemfile.lock
3
+ pkg
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.15.0 2021-04-22
2
+
3
+ * 1 security update
4
+ * Upgraded away from vulnerable OAuth version
5
+ * 1 compatibility update
6
+ * Dropped expat/xmlbuilder for lack of compatibility
7
+
1
8
  == 0.14.0 2019-08-20
2
9
 
3
10
  * 1 security update
data/Gemfile.ci CHANGED
@@ -1,7 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'builder', '~> 3.0'
4
- gem 'oauth', '~> 0.4'
4
+ gem 'oauth', '~> 0.5.5'
5
5
  gem 'rspec', '~> 3.0'
6
6
  gem 'nokogiri', '~> 1.10.4'
7
- gem 'xmlparser', '~> 0.7', :platforms => ['mri']
@@ -1,5 +1,4 @@
1
1
  begin; require 'rforce/soap_response_nokogiri'; rescue LoadError; end
2
- begin; require 'rforce/soap_response_expat'; rescue LoadError; end
3
2
  require 'rforce/soap_response_rexml'
4
3
 
5
4
 
@@ -7,6 +6,5 @@ module RForce
7
6
  # Use the fastest XML parser available.
8
7
  SoapResponse =
9
8
  (RForce::const_get(:SoapResponseNokogiri) rescue nil) ||
10
- (RForce::const_get(:SoapResponseExpat) rescue nil) ||
11
9
  SoapResponseRexml
12
10
  end
@@ -1,3 +1,3 @@
1
1
  module RForce
2
- VERSION = '0.14'
2
+ VERSION = '0.15'
3
3
  end
data/rforce.gemspec CHANGED
@@ -24,13 +24,12 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  spec.add_runtime_dependency "builder", "~> 3.0"
27
- spec.add_runtime_dependency "oauth", "~> 0.4"
27
+ spec.add_runtime_dependency "oauth", "~> 0.5.5"
28
28
 
29
29
  spec.add_development_dependency "bundler", "~> 2.0"
30
- spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rake", "~> 12.3.3"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
 
33
33
  # Optional XML parsing engines
34
- spec.add_development_dependency "nokogiri", "~> 1.10.4"
35
- spec.add_development_dependency("xmlparser", "~> 0.7") unless RUBY_PLATFORM == 'java'
34
+ spec.add_development_dependency "nokogiri", "~> 1.10.8"
36
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rforce
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.14'
4
+ version: '0.15'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erin Dees
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-20 00:00:00.000000000 Z
11
+ date: 2021-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.4'
33
+ version: 0.5.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.4'
40
+ version: 0.5.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: 12.3.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: 12.3.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.10.4
89
+ version: 1.10.8
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.10.4
97
- - !ruby/object:Gem::Dependency
98
- name: xmlparser
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.7'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.7'
96
+ version: 1.10.8
111
97
  description:
112
98
  email:
113
99
  - undees@gmail.com
@@ -131,7 +117,6 @@ files:
131
117
  - lib/rforce/method_keys.rb
132
118
  - lib/rforce/soap_pullable.rb
133
119
  - lib/rforce/soap_response.rb
134
- - lib/rforce/soap_response_expat.rb
135
120
  - lib/rforce/soap_response_nokogiri.rb
136
121
  - lib/rforce/soap_response_rexml.rb
137
122
  - lib/rforce/version.rb
@@ -158,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
143
  - !ruby/object:Gem::Version
159
144
  version: '0'
160
145
  requirements: []
161
- rubygems_version: 3.0.3
146
+ rubygems_version: 3.1.4
162
147
  signing_key:
163
148
  specification_version: 4
164
149
  summary: A simple, usable binding to the Salesforce API.
@@ -1,36 +0,0 @@
1
- require 'xml/parser'
2
- require 'rforce/soap_pullable'
3
-
4
- module RForce
5
- class SoapResponseExpat
6
- include SoapPullable
7
- include MethodKeys
8
-
9
- def initialize(content)
10
- @content = content
11
- end
12
-
13
- def parse
14
- @current_value = nil
15
- @stack = []
16
- @parsed = MethodHash.new
17
- @done = false
18
- @namespaces = []
19
-
20
- XML::Parser.new.parse(@content) do |type, name, data|
21
- case type
22
- when XML::Parser::START_ELEM then
23
- tag_start name, data
24
- when XML::Parser::CDATA then
25
- text data
26
- when XML::Parser::END_ELEM then
27
- tag_end name
28
- end
29
-
30
- break if @done
31
- end
32
-
33
- @parsed
34
- end
35
- end
36
- end