gd_bam 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/bam +2 -2
- data/lib/bam/version.rb +1 -1
- data/lib/runtime.rb +3 -1
- metadata +2 -9
- data/lib/nodes/agent.rb +0 -12
data/bin/bam
CHANGED
@@ -69,10 +69,10 @@ command :taps_validate do |c|
|
|
69
69
|
error = false
|
70
70
|
result.each_pair do |obj, fields|
|
71
71
|
if fields.empty?
|
72
|
-
puts HighLine::color("GOOD", :green) + " #{obj}"
|
72
|
+
puts HighLine::color("GOOD", :green) + " #{obj}"
|
73
73
|
else
|
74
74
|
error = true
|
75
|
-
puts HighLine::color("BAD", :red) + " #{obj} [" + fields.join(', ') + "]"
|
75
|
+
puts HighLine::color("BAD", :red) + " #{obj} [" + fields.join(', ') + "]"
|
76
76
|
end
|
77
77
|
end
|
78
78
|
exit_now!("Errors found",exit_code=1) if error
|
data/lib/bam/version.rb
CHANGED
data/lib/runtime.rb
CHANGED
@@ -326,6 +326,8 @@ module GoodData
|
|
326
326
|
fail "Empty project not supported now"
|
327
327
|
end
|
328
328
|
|
329
|
+
project_name = PARAMS[:project_name]
|
330
|
+
fail "project name has to be filled in" if project_name.blank?
|
329
331
|
with_users = options[:with_users]
|
330
332
|
|
331
333
|
export = {
|
@@ -356,7 +358,7 @@ module GoodData
|
|
356
358
|
:authorizationToken => options[:token]
|
357
359
|
},
|
358
360
|
:meta => {
|
359
|
-
:title =>
|
361
|
+
:title => project_name,
|
360
362
|
:summary => "Testing Project"
|
361
363
|
}
|
362
364
|
}
|
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.0.
|
4
|
+
version: 0.0.14
|
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-05-
|
12
|
+
date: 2013-05-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -344,7 +344,6 @@ files:
|
|
344
344
|
- lib/graphs/process_stage.grf
|
345
345
|
- lib/graphs/process_stage_history.grf
|
346
346
|
- lib/graphs/process_velocity_duration.grf
|
347
|
-
- lib/nodes/agent.rb
|
348
347
|
- lib/nodes/clover_gen.rb
|
349
348
|
- lib/nodes/dependency.rb
|
350
349
|
- lib/nodes/nodes.rb
|
@@ -381,18 +380,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
381
380
|
- - ! '>='
|
382
381
|
- !ruby/object:Gem::Version
|
383
382
|
version: '0'
|
384
|
-
segments:
|
385
|
-
- 0
|
386
|
-
hash: -2801225048891425417
|
387
383
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
388
384
|
none: false
|
389
385
|
requirements:
|
390
386
|
- - ! '>='
|
391
387
|
- !ruby/object:Gem::Version
|
392
388
|
version: '0'
|
393
|
-
segments:
|
394
|
-
- 0
|
395
|
-
hash: -2801225048891425417
|
396
389
|
requirements: []
|
397
390
|
rubyforge_project:
|
398
391
|
rubygems_version: 1.8.25
|
data/lib/nodes/agent.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require 'gooddata'
|
2
|
-
require 'pry'
|
3
|
-
|
4
|
-
file = ARGV.first
|
5
|
-
|
6
|
-
binding.pry
|
7
|
-
# https://svarovsky@gooddata.com:testtest@secure-di.gooddata.com/project-uploads/vl6ynq971oza5kbxhtscpjcghq5gfox1/account.csv
|
8
|
-
#
|
9
|
-
# system curl -u svarovsky@gooddata.com:testtest -k -T account.csv https://secure-di.gooddata.com/project-uploads/vl6ynq971oza5kbxhtscpjcghq5gfox1/
|
10
|
-
# curl -u svarovsky@gooddata.com:testtest -k https://secure-di.gooddata.com/project-uploads/vl6ynq971oza5kbxhtscpjcghq5gfox1/validation_output_account.csv
|
11
|
-
|
12
|
-
# `"https://" + replace("svarovsky@gooddata.com","@","%40") + ":testtest@secure-di.gooddata.com/project-uploads/${GDC_PROJECT_ID}/validation_output_account.csv"`
|