gd_bam 0.1.37 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/bam/version.rb +1 -1
- data/lib/bam.rb +1 -1
- data/lib/base/project.rb +5 -1
- data/lib/commands/deployment.rb +1 -1
- data/lib/generators/downloaders.rb +1 -1
- data/templates/params.json.erb +11 -2
- metadata +6 -6
data/README.md
CHANGED
data/lib/bam/version.rb
CHANGED
data/lib/bam.rb
CHANGED
data/lib/base/project.rb
CHANGED
@@ -83,7 +83,11 @@ module GoodData
|
|
83
83
|
|
84
84
|
def self.mark_deleted_taps(project, options)
|
85
85
|
taps = project[:taps]
|
86
|
-
enriched_taps =
|
86
|
+
enriched_taps = if taps.any? {|t| t[:source] == :salesforce}
|
87
|
+
Taps.get_deleted_records_info(taps, GoodData::Bam::Commands.get_sf_client(options))
|
88
|
+
else
|
89
|
+
taps.map {|t| t.merge({:has_deleted_records => false})}
|
90
|
+
end
|
87
91
|
Project.create(project.merge({:taps => enriched_taps}))
|
88
92
|
end
|
89
93
|
|
data/lib/commands/deployment.rb
CHANGED
@@ -156,7 +156,7 @@ module GoodData
|
|
156
156
|
res = nil
|
157
157
|
|
158
158
|
Tempfile.open("deploy-graph-archive") do |temp|
|
159
|
-
Zip::
|
159
|
+
Zip::OutputStream.open(temp.path) do |zio|
|
160
160
|
Dir.glob(dir + "**/*") do |item|
|
161
161
|
puts "including #{item}" if verbose
|
162
162
|
unless File.directory?(item)
|
data/templates/params.json.erb
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"project_name" : "",
|
3
3
|
"project_pid" : "",
|
4
|
+
|
5
|
+
"gd_login" : "",
|
6
|
+
"gd_pass" : "",
|
7
|
+
|
4
8
|
"sf_password" : "",
|
5
9
|
"sf_token" : "",
|
6
|
-
"sf_login" : ""
|
7
|
-
|
10
|
+
"sf_login" : "",
|
11
|
+
|
12
|
+
"additional_params": {
|
13
|
+
"GDC_EVENTSTORE" : "es",
|
14
|
+
"SFDC_CREDENTIALS_TYPE" : "basic"
|
15
|
+
}
|
16
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gd_bam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.39
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -304,17 +304,17 @@ dependencies:
|
|
304
304
|
requirement: !ruby/object:Gem::Requirement
|
305
305
|
none: false
|
306
306
|
requirements:
|
307
|
-
- -
|
307
|
+
- - ! '>='
|
308
308
|
- !ruby/object:Gem::Version
|
309
|
-
version: 0.
|
309
|
+
version: 1.0.0
|
310
310
|
type: :runtime
|
311
311
|
prerelease: false
|
312
312
|
version_requirements: !ruby/object:Gem::Requirement
|
313
313
|
none: false
|
314
314
|
requirements:
|
315
|
-
- -
|
315
|
+
- - ! '>='
|
316
316
|
- !ruby/object:Gem::Version
|
317
|
-
version: 0.
|
317
|
+
version: 1.0.0
|
318
318
|
description:
|
319
319
|
email: svarovsky.tomas@gmail.com
|
320
320
|
executables:
|