sfdc 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02dd0708bf3c6e7a5ee13903017749a3df4f84d3
4
- data.tar.gz: 2004ca7ab3e78b5f0188e64a163ac05841cd97ca
3
+ metadata.gz: c99239ebb874ee37dc0bc25a59c58185046fc078
4
+ data.tar.gz: ffa1e42b4adaadc843c7d2194be4a44348282c4f
5
5
  SHA512:
6
- metadata.gz: 51c91e779106052028a1268beafb33c36f5f64bff38cf1b0cbb5ee1b836e6a017de65e6b08173822ac50d88ae3fce648be0c44ae43a8ce13c3e0d3554cb64094
7
- data.tar.gz: cae0769e28f3766025c5de1ab670932809fabe4368775f9cdf1a5956f51f282309a37c3c1a390a2754c87a60e1d9a2e7d79e419489be36132e957665b6e11362
6
+ metadata.gz: e9125e46f2f27e16b3a29f63590fd5ab10685269c214f2a9f9751f8010526ee6ca7b1dabd0e777e69f814036419de415f3a17d6eeeba49fa4298a188b0b3e84b
7
+ data.tar.gz: 593aef290202b9fc21f61987f4856611eba6c4f849521c3fc03e40d58c3b6a39e01853f250914a93e01e5a083b3409ff59fae3fc0c661518005cbe7effa62e79
@@ -1,5 +1,4 @@
1
1
  require 'sfdc/client/verbs'
2
- require 'sfdc/client/authentication'
3
2
 
4
3
  module Sfdc
5
4
  class Client
data/lib/sfdc/config.rb CHANGED
@@ -101,7 +101,7 @@ module Sfdc
101
101
 
102
102
  # Set this to true if you're authenticating with a Sandbox instance.
103
103
  # Defaults to false.
104
- option :host, :default => 'login.salesforce.com'
104
+ option :host, :default => lambda { ENV['SALESFORCE_HOST'] || 'login.salesforce.com' }
105
105
 
106
106
  option :oauth_token
107
107
  option :refresh_token
data/lib/sfdc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sfdc
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruce Yue
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir:
10
10
  - bin
11
11
  cert_chain: []
12
- date: 2013-04-10 00:00:00.000000000 Z
12
+ date: 2013-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday