rails-salesforce-connect 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/connect/api_adapter.rb +1 -1
- data/lib/tasks/diff_salesforce.rake +3 -2
- data/rails-salesforce-connect.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe16853c79db4c2f6889b3780d8e8b02b035260a470380c344c7cb9bbd3f3ce0
|
4
|
+
data.tar.gz: 8c31403f91485bb6d8b3a50e3d6cc1e9142c35fb4eb5088382fe2c424348f205
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e3a373ea57b58a8f3ec5c54b767332b264be5afa3384845274c7b98267a04dba43abbc91edcc5bea38f189e3c023ddfacd09a1b87b2511dbc90723d789cbd38
|
7
|
+
data.tar.gz: 7c0a80e45c275b8e90e79e9a1a255cd1994a3264d13a1a011a875d2521a3901f71516ba51f8b61b3de1ae12453647ef438263f2659be24af7823ef75c3714472
|
data/lib/connect/api_adapter.rb
CHANGED
@@ -17,7 +17,7 @@ module Connect
|
|
17
17
|
client_secret: env.fetch("SALESFORCE_REST_API_CLIENT_SECRET"),
|
18
18
|
username: env.fetch("SALESFORCE_REST_API_USERNAME"),
|
19
19
|
password: env.fetch("SALESFORCE_REST_API_PASSWORD"),
|
20
|
-
security_token: env.fetch("SALESFORCE_REST_API_SECURITY_TOKEN"),
|
20
|
+
security_token: env.fetch("SALESFORCE_REST_API_SECURITY_TOKEN", ""),
|
21
21
|
)
|
22
22
|
end
|
23
23
|
end
|
@@ -13,8 +13,9 @@ namespace :salesforce do
|
|
13
13
|
|
14
14
|
if args[:app_name] && args[:app_name].length > 0
|
15
15
|
require 'dotenv'
|
16
|
-
|
17
|
-
raise "Error fetching heroku config for #{args[:app_name]}" unless $?.success?
|
16
|
+
heroku_out = `heroku config --app #{args[:app_name]} --shell`
|
17
|
+
raise "Error fetching heroku config for #{args[:app_name]}: #{heroku_out}" unless $?.success?
|
18
|
+
env = Dotenv::Parser.call(heroku_out)
|
18
19
|
outfile = "salesforce-schema-#{args[:app_name]}.json"
|
19
20
|
end
|
20
21
|
outfile = ENV.fetch("SCHEMA_FILE", outfile)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# gem 'activerecord'
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'rails-salesforce-connect'
|
4
|
-
s.version = '0.0.
|
4
|
+
s.version = '0.0.10'
|
5
5
|
s.licenses = ['MIT']
|
6
6
|
s.summary = "Tools for using heroku connect with rails"
|
7
7
|
s.description = "Base class for salesforce migrations, activerecord types; deduplication rules aware, and rake tasks to sync schema"
|