restforce 2.4.2 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of restforce might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +0 -6
- data/CHANGELOG.md +5 -0
- data/Gemfile.travis +1 -0
- data/README.md +76 -61
- data/lib/restforce/middleware/caching.rb +7 -3
- data/lib/restforce/version.rb +1 -1
- data/restforce.gemspec +2 -8
- metadata +30 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e798ab8d32c43d1ae3b424d3e48d7e75cac1450
|
4
|
+
data.tar.gz: 5f79e271ed9e74ad7657dc954d1dccb04f4adb0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f5758308c6f4ba3be1171f4228772c36700f62726136b6dc2789b4dcce9cf1bbf469e2eeafe6b0e71737525cc00929eec4f7d25ca9ff6bc79b4f9e0fa26b3d2
|
7
|
+
data.tar.gz: b2e7a13436430a980f558e65a05be0176765f15dbbcece508813e25c5d50baf114d7915cc0955bd4533962f0bed05e47617892d4e91b62a0a3e3e05b14b4d227
|
data/.travis.yml
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.9.3
|
4
3
|
- 2.0.0
|
5
4
|
- 2.1
|
6
5
|
- 2.2
|
7
6
|
- 2.3.1
|
8
|
-
- jruby-19mode
|
9
|
-
- rbx-2
|
10
7
|
- ruby-2.4.0-preview2
|
11
8
|
gemfile:
|
12
9
|
- Gemfile.travis
|
@@ -14,6 +11,3 @@ script:
|
|
14
11
|
- bundle exec rubocop
|
15
12
|
- bundle exec rspec spec
|
16
13
|
sudo: false
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: rbx-2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 2.5.0 (Dec 7, 2016)
|
2
|
+
|
3
|
+
* __Deprecate support for Ruby 1.9__, since [official support was dropped nearly two years ago](https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/), and it's causing problems with keeping our dependencies up to date
|
4
|
+
* Securely hash Salesforce credentials used in cache keys, so they aren't stored in the clear (@atmos)
|
5
|
+
|
1
6
|
## 2.4.2 (Oct 20, 2016)
|
2
7
|
|
3
8
|
* Relax `json` dependency for users of Ruby 2.0.0 onwards to allow a much wider range of versions (@timrogers, with thanks to @ccutrer and @janraasch)
|
data/Gemfile.travis
CHANGED
data/README.md
CHANGED
@@ -25,7 +25,7 @@ Features include:
|
|
25
25
|
|
26
26
|
Add this line to your application's Gemfile:
|
27
27
|
|
28
|
-
gem 'restforce', '~> 2.
|
28
|
+
gem 'restforce', '~> 2.5.0'
|
29
29
|
|
30
30
|
And then execute:
|
31
31
|
|
@@ -35,7 +35,7 @@ Or install it yourself as:
|
|
35
35
|
|
36
36
|
$ gem install restforce
|
37
37
|
|
38
|
-
__As of [version 2.
|
38
|
+
__As of [version 2.5.0](https://github.com/ejholmes/restforce/blob/master/CHANGELOG.md#250-dec-5-2016), this gem is only compatible with Ruby 2.0.0 and later.__ To use Ruby 1.9.3, you'll need to manually specify that you wish to use version 2.4.2, or 1.5.3 for Ruby 1.9.2 support.
|
39
39
|
|
40
40
|
This gem is versioned using [Semantic Versioning](http://semver.org/), so you can be confident when updating that there will not be breaking changes outside of a major version (following format MAJOR.MINOR.PATCH, so for instance moving from 2.3.0 to 3.0.0 would be allowed to include incompatible API changes). See the [changelog](https://github.com/ejholmes/restforce/tree/master/CHANGELOG.md) for details on what has changed in each version.
|
41
41
|
|
@@ -61,24 +61,26 @@ It is also important to note that the client object should not be reused across
|
|
61
61
|
#### OAuth token authentication
|
62
62
|
|
63
63
|
```ruby
|
64
|
-
client = Restforce.new
|
65
|
-
|
64
|
+
client = Restforce.new(oauth_token: 'access_token',
|
65
|
+
instance_url: 'instance url',
|
66
|
+
api_version: '38.0')
|
66
67
|
```
|
67
68
|
|
68
69
|
Although the above will work, you'll probably want to take advantage of the (re)authentication middleware by specifying `refresh_token`, `client_id`, `client_secret`, and `authentication_callback`:
|
69
70
|
|
70
71
|
```ruby
|
71
|
-
client = Restforce.new
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
72
|
+
client = Restforce.new(oauth_token: 'access_token',
|
73
|
+
refresh_token: 'refresh token',
|
74
|
+
instance_url: 'instance url',
|
75
|
+
client_id: 'client_id',
|
76
|
+
client_secret: 'client_secret',
|
77
|
+
authentication_callback: Proc.new { |x| Rails.logger.debug x.to_s },
|
78
|
+
api_version: '38.0')
|
77
79
|
```
|
78
80
|
|
79
81
|
The middleware will use the `refresh_token` automatically to acquire a new `access_token` if the existing `access_token` is invalid.
|
80
82
|
|
81
|
-
`authentication_callback` is a proc that handles the response from Salesforce when the `refresh_token` is used to obtain a new `access_token`. This allows the `access_token` to be saved for re-use later
|
83
|
+
`authentication_callback` is a proc that handles the response from Salesforce when the `refresh_token` is used to obtain a new `access_token`. This allows the `access_token` to be saved for re-use later - otherwise subsequent API calls will continue the cycle of "auth failure/issue new access_token/auth success".
|
82
84
|
|
83
85
|
The proc is passed one argument, a `Hashie::Mash` of the response from the [Salesforce API](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_refresh_token_oauth.htm):
|
84
86
|
|
@@ -101,11 +103,12 @@ The `id` field can be used to [uniquely identify](https://developer.salesforce.c
|
|
101
103
|
If you prefer to use a username and password to authenticate:
|
102
104
|
|
103
105
|
```ruby
|
104
|
-
client = Restforce.new
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
106
|
+
client = Restforce.new(username: 'foo',
|
107
|
+
password: 'bar',
|
108
|
+
security_token: 'security token',
|
109
|
+
client_id: 'client_id',
|
110
|
+
client_secret: 'client_secret',
|
111
|
+
api_version: '38.0')
|
109
112
|
```
|
110
113
|
|
111
114
|
You can also set the username, password, security token, client ID, client
|
@@ -117,7 +120,7 @@ export SALESFORCE_PASSWORD="password"
|
|
117
120
|
export SALESFORCE_SECURITY_TOKEN="security token"
|
118
121
|
export SALESFORCE_CLIENT_ID="client id"
|
119
122
|
export SALESFORCE_CLIENT_SECRET="client secret"
|
120
|
-
export SALESFORCE_API_VERSION="
|
123
|
+
export SALESFORCE_API_VERSION="38.0"
|
121
124
|
```
|
122
125
|
|
123
126
|
```ruby
|
@@ -129,12 +132,13 @@ client = Restforce.new
|
|
129
132
|
You can specify a HTTP proxy using the `proxy_uri` option, as follows, or by setting the `SALESFORCE_PROXY_URI` environment variable:
|
130
133
|
|
131
134
|
```ruby
|
132
|
-
client = Restforce.new
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
135
|
+
client = Restforce.new(username: 'foo',
|
136
|
+
password: 'bar',
|
137
|
+
security_token: 'security token',
|
138
|
+
client_id: 'client_id',
|
139
|
+
client_secret: 'client_secret',
|
140
|
+
proxy_uri: 'http://proxy.example.com:123',
|
141
|
+
api_version: '38.0')
|
138
142
|
```
|
139
143
|
|
140
144
|
You may specify a username and password for the proxy with a URL along the lines of 'http://user:password@proxy.example.com:123'.
|
@@ -145,7 +149,7 @@ You can connect to sandbox orgs by specifying a host. The default host is
|
|
145
149
|
'login.salesforce.com':
|
146
150
|
|
147
151
|
```ruby
|
148
|
-
client = Restforce.new
|
152
|
+
client = Restforce.new(host: 'test.salesforce.com')
|
149
153
|
```
|
150
154
|
The host can also be set with the environment variable `SALESFORCE_HOST`.
|
151
155
|
|
@@ -162,26 +166,26 @@ end
|
|
162
166
|
|
163
167
|
### API versions
|
164
168
|
|
165
|
-
By default, the gem defaults to using
|
166
|
-
Some more recent API endpoints will not be available without moving to a more recent
|
167
|
-
version - if you're trying to use a method that is unavailable with your API version,
|
168
|
-
Restforce will raise an `APIVersionError`.
|
169
|
+
By default, the gem defaults to using Version 26.0 (Winter '13) of the Salesforce API. This maintains backwards compatibility for existing users.
|
169
170
|
|
170
|
-
|
171
|
+
__We strongly suggest configuring Restforce to use the most recent API version, currently Version 38.0 (Winter '17) to get the best Salesforce API experience__ - for example, some more recently-added API endpoints will not be available without moving to a more recent
|
172
|
+
version. If you're trying to use a method that is unavailable with your API version,
|
173
|
+
Restforce will raise an `APIVersionError`.
|
171
174
|
|
172
|
-
|
173
|
-
client = Restforce.new api_version: "32.0" # ...
|
174
|
-
```
|
175
|
+
There are three ways to set the API version:
|
175
176
|
|
176
|
-
|
177
|
+
* Passing in an `api_version` option when instantiating `Restforce` (i.e. `Restforce.new(api_version: '38.0')`)
|
178
|
+
* Setting the `SALESFORCE_API_VERSION` environment variable (i.e. `export SALESFORCE_API_VERSION="38.0"`)
|
179
|
+
* Configuring the version globally with `Restforce.configure`:
|
177
180
|
|
178
181
|
```ruby
|
179
182
|
Restforce.configure do |config|
|
180
|
-
config.api_version =
|
183
|
+
config.api_version = '38.0'
|
181
184
|
# ...
|
182
185
|
end
|
183
186
|
```
|
184
187
|
|
188
|
+
|
185
189
|
### Bang! methods
|
186
190
|
|
187
191
|
All the CRUD methods (`create`, `update`, `upsert`, `destroy`) have equivalent methods with
|
@@ -339,7 +343,7 @@ client.picklist_values('Account', 'Type')
|
|
339
343
|
# Given a custom object named Automobile__c with picklist fields
|
340
344
|
# `Model__c` and `Make__c`, where options for `Model__c` depends on the value of
|
341
345
|
# `Make__c`.
|
342
|
-
client.picklist_values('Automobile__c', 'Model__c', :
|
346
|
+
client.picklist_values('Automobile__c', 'Model__c', valid_for: 'Honda')
|
343
347
|
# => [#<Restforce::Mash label="Civic" value="Civic">, ... ]
|
344
348
|
```
|
345
349
|
|
@@ -418,19 +422,19 @@ info.user_id
|
|
418
422
|
Using the new [Blob Data](http://www.salesforce.com/us/developer/docs/api_rest/Content/dome_sobject_insert_update_blob.htm) api feature (500mb limit):
|
419
423
|
|
420
424
|
```ruby
|
421
|
-
client.create
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
+
client.create('Document', FolderId: '00lE0000000FJ6H',
|
426
|
+
Description: 'Document test',
|
427
|
+
Name: 'My image',
|
428
|
+
Body: Restforce::UploadIO.new(File.expand_path('image.jpg', __FILE__), 'image/jpeg')
|
425
429
|
```
|
426
430
|
|
427
431
|
Using base64 encoded data (37.5mb limit):
|
428
432
|
|
429
433
|
```ruby
|
430
|
-
client.create
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
+
client.create('Document', FolderId: '00lE0000000FJ6H',
|
435
|
+
Description: 'Document test',
|
436
|
+
Name: 'My image',
|
437
|
+
Body: Base64::encode64(File.read('image.jpg'))
|
434
438
|
```
|
435
439
|
|
436
440
|
_See also: [Inserting or updating blob data](http://www.salesforce.com/us/developer/docs/api_rest/Content/dome_sobject_insert_update_blob.htm)_
|
@@ -478,7 +482,7 @@ global class RESTCaseController {
|
|
478
482
|
Then you could query the cases using Restforce:
|
479
483
|
|
480
484
|
```ruby
|
481
|
-
client.get
|
485
|
+
client.get('/services/apexrest/FieldCase', company: 'GenePoint')
|
482
486
|
# => #<Restforce::Collection ...>
|
483
487
|
```
|
484
488
|
|
@@ -494,28 +498,27 @@ pub/sub with Salesforce a trivial task:
|
|
494
498
|
require 'faye'
|
495
499
|
|
496
500
|
# Initialize a client with your username/password/oauth token/etc.
|
497
|
-
client = Restforce.new
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
501
|
+
client = Restforce.new(username: 'foo',
|
502
|
+
password: 'bar',
|
503
|
+
security_token: 'security token'
|
504
|
+
client_id: 'client_id',
|
505
|
+
client_secret: 'client_secret')
|
502
506
|
|
503
507
|
# Create a PushTopic for subscribing to Account changes.
|
504
|
-
client.create!
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
EM.run {
|
508
|
+
client.create!('PushTopic',
|
509
|
+
ApiVersion: '23.0',
|
510
|
+
Name: 'AllAccounts',
|
511
|
+
Description: 'All account records',
|
512
|
+
NotifyForOperations: 'All',
|
513
|
+
NotifyForFields: 'All',
|
514
|
+
Query: "select Id from Account")
|
515
|
+
|
516
|
+
EM.run do
|
514
517
|
# Subscribe to the PushTopic.
|
515
518
|
client.subscribe 'AllAccounts' do |message|
|
516
519
|
puts message.inspect
|
517
520
|
end
|
518
|
-
|
521
|
+
end
|
519
522
|
```
|
520
523
|
|
521
524
|
Boom, you're now receiving push notifications when Accounts are
|
@@ -533,7 +536,7 @@ The gem supports easy caching of GET requests (e.g. queries):
|
|
533
536
|
|
534
537
|
```ruby
|
535
538
|
# rails example:
|
536
|
-
client = Restforce.new
|
539
|
+
client = Restforce.new(cache: Rails.cache)
|
537
540
|
|
538
541
|
# or
|
539
542
|
Restforce.configure do |config|
|
@@ -550,6 +553,8 @@ client.without_caching do
|
|
550
553
|
end
|
551
554
|
```
|
552
555
|
|
556
|
+
Caching is done on based on your authentication credentials, so cached responses will not be shared between different Salesforce logins.
|
557
|
+
|
553
558
|
* * *
|
554
559
|
|
555
560
|
### Logging/Debugging/Instrumenting
|
@@ -602,6 +607,16 @@ call `Restforce.tooling` instead of `Restforce.new`:
|
|
602
607
|
client = Restforce.tooling(...)
|
603
608
|
```
|
604
609
|
|
610
|
+
You can use the Tooling API to add fields to existing objects. For example, add "Twitter Username" to the default "Account" object:
|
611
|
+
|
612
|
+
```ruby
|
613
|
+
client = Restforce.tooling(...)
|
614
|
+
client.create!("CustomField", {
|
615
|
+
"FullName" => "Account.orgnamespace__twitter_username__c",
|
616
|
+
"Metadata" => { type: "Text", label: "Twitter Username", length: 15 },
|
617
|
+
})
|
618
|
+
```
|
619
|
+
|
605
620
|
## Links
|
606
621
|
|
607
622
|
If you need a full Active Record experience, may be you can use
|
@@ -12,13 +12,17 @@ module Restforce
|
|
12
12
|
# We don't want to cache requests for different clients, so append the
|
13
13
|
# oauth token to the cache key.
|
14
14
|
def cache_key(env)
|
15
|
-
super(env) +
|
16
|
-
env[:request_headers][Restforce::Middleware::Authorization::AUTH_HEADER].
|
17
|
-
gsub(/\s/, '')
|
15
|
+
super(env) + hashed_auth_header(env)
|
18
16
|
end
|
19
17
|
|
20
18
|
def use_cache?
|
21
19
|
@options.fetch(:use_cache, true)
|
22
20
|
end
|
21
|
+
|
22
|
+
def hashed_auth_header(env)
|
23
|
+
Digest::SHA1.hexdigest(
|
24
|
+
env[:request_headers][Restforce::Middleware::Authorization::AUTH_HEADER]
|
25
|
+
)
|
26
|
+
end
|
23
27
|
end
|
24
28
|
end
|
data/lib/restforce/version.rb
CHANGED
data/restforce.gemspec
CHANGED
@@ -16,18 +16,12 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.require_paths = ["lib"]
|
17
17
|
gem.version = Restforce::VERSION
|
18
18
|
|
19
|
-
gem.required_ruby_version = '>=
|
19
|
+
gem.required_ruby_version = '>= 2.0'
|
20
20
|
|
21
21
|
gem.add_dependency 'faraday', '~> 0.9.0'
|
22
22
|
gem.add_dependency 'faraday_middleware', '>= 0.8.8'
|
23
23
|
|
24
|
-
|
25
|
-
# See https://github.com/ejholmes/restforce/issues/260.
|
26
|
-
if RUBY_VERSION =~ /^1.9/
|
27
|
-
gem.add_dependency 'json', ['>= 1.7.5', '< 1.9.0']
|
28
|
-
else
|
29
|
-
gem.add_dependency 'json', '>= 1.7.5'
|
30
|
-
end
|
24
|
+
gem.add_dependency 'json', '>= 1.7.5'
|
31
25
|
|
32
26
|
gem.add_dependency 'hashie', ['>= 1.2.0', '< 4.0']
|
33
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric J. Holmes
|
@@ -9,138 +9,138 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 0.9.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 0.9.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: faraday_middleware
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.8.8
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 0.8.8
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: json
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 1.7.5
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.7.5
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: hashie
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 1.2.0
|
63
|
-
- - <
|
63
|
+
- - "<"
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '4.0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 1.2.0
|
73
|
-
- - <
|
73
|
+
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '4.0'
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: rspec
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.14.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 2.14.0
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: webmock
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 1.13.0
|
97
97
|
type: :development
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.13.0
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: simplecov
|
106
106
|
requirement: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.7.1
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
113
|
version_requirements: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 0.7.1
|
118
118
|
- !ruby/object:Gem::Dependency
|
119
119
|
name: rubocop
|
120
120
|
requirement: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 0.31.0
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 0.31.0
|
132
132
|
- !ruby/object:Gem::Dependency
|
133
133
|
name: faye
|
134
134
|
requirement: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
type: :development
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
description: A lightweight ruby client for the Salesforce REST API.
|
@@ -151,10 +151,10 @@ executables: []
|
|
151
151
|
extensions: []
|
152
152
|
extra_rdoc_files: []
|
153
153
|
files:
|
154
|
-
- .gitignore
|
155
|
-
- .rubocop.yml
|
156
|
-
- .rubocop_todo.yml
|
157
|
-
- .travis.yml
|
154
|
+
- ".gitignore"
|
155
|
+
- ".rubocop.yml"
|
156
|
+
- ".rubocop_todo.yml"
|
157
|
+
- ".travis.yml"
|
158
158
|
- CHANGELOG.md
|
159
159
|
- CODE_OF_CONDUCT.md
|
160
160
|
- CONTRIBUTING.md
|
@@ -285,17 +285,17 @@ require_paths:
|
|
285
285
|
- lib
|
286
286
|
required_ruby_version: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
|
-
- -
|
288
|
+
- - ">="
|
289
289
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
290
|
+
version: '2.0'
|
291
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
292
|
requirements:
|
293
|
-
- -
|
293
|
+
- - ">="
|
294
294
|
- !ruby/object:Gem::Version
|
295
295
|
version: '0'
|
296
296
|
requirements: []
|
297
297
|
rubyforge_project:
|
298
|
-
rubygems_version: 2.
|
298
|
+
rubygems_version: 2.5.1
|
299
299
|
signing_key:
|
300
300
|
specification_version: 4
|
301
301
|
summary: A lightweight ruby client for the Salesforce REST API.
|