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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d830c6114bdb26f557e696abe9b86be52fa8e5f82044d5a40eedf605bdc9d15
4
- data.tar.gz: 98b0381731ee464e75a557d0fd62f7face50417fba321c14696d75bc956176ec
3
+ metadata.gz: 2853ccbc735fa53d3c1defb90133c6bb62d69819d9e3abbe319ef3b4c60c8b39
4
+ data.tar.gz: 556d3cd892e210f768774f754f73c168a8f8335bb52f482a92f78ccc73cfcc08
5
5
  SHA512:
6
- metadata.gz: 7bb7c5f58c719aab9ec64f2c50e8b273e977fc13d4e1e12dedf0be0c9224024da2a997294b58f2fb31703c3d7765c3be577832aafaee1767288b75b1fd4cdb8a
7
- data.tar.gz: 5f46305c842eaaf1b7b8c0ef26a2a30752aabc9d3b2a97cf4610804bdc7209475f6d4c27a5e5227d77e423523ee82484a182e65565d32edc1fe76375244fb05e
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 `rake db:diff_schema` you must specify a connection string or HC_URL env var.
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 `rake salesforce:schema:dump`, you must provide one of:
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.
@@ -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
- exec_type = ARGV[0]
12
- if exec_type == 'rake' then
13
- require 'rake'
14
- require 'pp'
11
+ require 'rake'
12
+ require 'pp'
15
13
 
16
- path = File.dirname File.dirname(__FILE__)
17
- load "#{path}/lib/tasks/diff_schema.rake"
18
- load "#{path}/lib/tasks/diff_salesforce.rake"
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
- Rake.application.invoke_task(ARGV[1])
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.6'
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.6
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: