rails-salesforce-connect 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +2 -2
- data/bin/salesforce-connect +6 -9
- data/rails-salesforce-connect.gemspec +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2853ccbc735fa53d3c1defb90133c6bb62d69819d9e3abbe319ef3b4c60c8b39
|
4
|
+
data.tar.gz: 556d3cd892e210f768774f754f73c168a8f8335bb52f482a92f78ccc73cfcc08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa9d3e206483148f2fb26ceaffaf6ab375fc595d747b88ddfc7147efff088052b9809563e078667bc77452a9f6dc00c7f5b84ad2aca5bc53999d9d215b705fa5
|
7
|
+
data.tar.gz: 72a04f3062cc40f586c63e3aabd4f03a2d04cf17a0642cb463a075e1a55140268953f69565f3687688fcc9e1d54271a66950f4696bb2828d9788512fef46e43b
|
data/Readme.md
CHANGED
@@ -31,12 +31,12 @@ To use `Connect::ApiAdapter`, you must provide the following environment variabl
|
|
31
31
|
|
32
32
|
`gem "rails-salesforce-connect"`
|
33
33
|
|
34
|
-
To use `
|
34
|
+
To use `salesforce-connect db:diff_schema` you must specify a connection string or HC_URL env var.
|
35
35
|
For instance:
|
36
36
|
|
37
37
|
`export HC_URL="$(heroku config:get DATABASE_URL)"`
|
38
38
|
|
39
|
-
To use `
|
39
|
+
To use `salesforce-connect salesforce:schema:dump`, you must provide one of:
|
40
40
|
|
41
41
|
* Environment variables for `Connect::ApiAdapter`, or
|
42
42
|
* A heroku app name, which the current machine is authorized to read environment variabes from, with those variables set.
|
data/bin/salesforce-connect
CHANGED
@@ -8,14 +8,11 @@
|
|
8
8
|
|
9
9
|
gem_dir = File.expand_path("..", File.dirname(__FILE__))
|
10
10
|
$LOAD_PATH.unshift gem_dir # Look in gem directory for resources first.
|
11
|
-
|
12
|
-
|
13
|
-
require 'rake'
|
14
|
-
require 'pp'
|
11
|
+
require 'rake'
|
12
|
+
require 'pp'
|
15
13
|
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
path = File.dirname File.dirname(__FILE__)
|
15
|
+
load "#{path}/lib/tasks/diff_schema.rake"
|
16
|
+
load "#{path}/lib/tasks/diff_salesforce.rake"
|
19
17
|
|
20
|
-
|
21
|
-
end
|
18
|
+
Rake.application.invoke_task(ARGV[0])
|
@@ -1,13 +1,14 @@
|
|
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.7'
|
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"
|
8
8
|
s.authors = ["Daniel Heath"]
|
9
9
|
s.email = 'daniel@heath.cc'
|
10
10
|
s.files = `git ls-files`.lines.map( &:strip)
|
11
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
11
12
|
s.homepage = 'https://github.com/reinteractive/rails-salesforce-connect'
|
12
13
|
s.metadata = { "source_code_uri" => "https://github.com/reinteractive/rails-salesforce-connect" }
|
13
14
|
s.add_runtime_dependency "activerecord"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-salesforce-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Heath
|
@@ -97,7 +97,8 @@ dependencies:
|
|
97
97
|
description: Base class for salesforce migrations, activerecord types; deduplication
|
98
98
|
rules aware, and rake tasks to sync schema
|
99
99
|
email: daniel@heath.cc
|
100
|
-
executables:
|
100
|
+
executables:
|
101
|
+
- salesforce-connect
|
101
102
|
extensions: []
|
102
103
|
extra_rdoc_files: []
|
103
104
|
files:
|