gd_bam 0.1.37 → 0.1.39

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.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- #BAsh Machinery = BAM
1
+ #BAsh Machinery = DFD
2
2
 
3
3
  BAM is a tool that helps you be more productive while creating and maintaining projects.
4
4
 
data/lib/bam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bam
2
- VERSION = '0.1.37'
2
+ VERSION = '0.1.39'
3
3
  end
data/lib/bam.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'bam/version.rb'
2
2
  require 'pry'
3
- require 'zip/zip'
3
+ require 'zip'
4
4
  require 'fileutils'
5
5
  $:.unshift(File.dirname(__FILE__))
6
6
  require 'utils/utils'
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 = Taps.get_deleted_records_info(taps, GoodData::Bam::Commands.get_sf_client(options))
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
 
@@ -156,7 +156,7 @@ module GoodData
156
156
  res = nil
157
157
 
158
158
  Tempfile.open("deploy-graph-archive") do |temp|
159
- Zip::ZipOutputStream.open(temp.path) do |zio|
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)
@@ -140,7 +140,7 @@ HEREDOC
140
140
 
141
141
  file_taps = Taps.get_file(taps)
142
142
  generate_file_lists(file_taps, {
143
- phase => phase,
143
+ :phase => phase,
144
144
  :builder => builder,
145
145
  :reformat_func => :webdav
146
146
  })
@@ -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.37
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: 2013-11-15 00:00:00.000000000 Z
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.9.9
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.9.9
317
+ version: 1.0.0
318
318
  description:
319
319
  email: svarovsky.tomas@gmail.com
320
320
  executables: