gooddata-bricks 0.7.0 → 0.8.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee3a8f35d21bd68d37166f4a08cd81087377ea3b
|
4
|
+
data.tar.gz: 39e488ae2e2f6e3b04bb6b6984396536e5f021b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33623350898e62ccebb989f6cf1c98cd603bb5099e39b82d3cb0755f4da5a3468e7ce8099bcf3fa448a7a4b192c7483010f90c0052097f94ea926ecafeeb1dc3
|
7
|
+
data.tar.gz: 4c54389c9fb85360f1dc400806eb416293f35899dddb3ddd18c8910ca8a09202922024681ff743bc1d180daaffdbe0823dfd6d87079195818fa5c5a63bdb8a45
|
@@ -18,7 +18,6 @@ module GoodData
|
|
18
18
|
|
19
19
|
# Transform keys
|
20
20
|
params = GoodData::Helpers.deep_stringify_keys(params)
|
21
|
-
# params = GoodData::Helpers.deep_symbolize_keys(params)
|
22
21
|
|
23
22
|
# Set logger
|
24
23
|
logger = params['GDC_LOGGER']
|
@@ -35,22 +34,11 @@ module GoodData
|
|
35
34
|
client = GoodData.connect(opts)
|
36
35
|
|
37
36
|
opts = params['development_client']
|
38
|
-
if opts
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
sst_token: opts['sst_token'] || opts[:sst_token]
|
44
|
-
}
|
45
|
-
|
46
|
-
if opts[:sever].nil?
|
47
|
-
new_opts[:server] = "#{opts['protocol'] || opts[:protocol] || DEFAULT_PROTOCOL}://#{opts['hostname'] || opts[:hostname] || DEFAULT_HOSTNAME}"
|
48
|
-
end
|
49
|
-
|
50
|
-
development_client = GoodData.connect(new_opts)
|
51
|
-
else
|
52
|
-
development_client = client
|
53
|
-
end
|
37
|
+
development_client = if opts
|
38
|
+
GoodData.connect(GoodData::Helpers.deep_symbolize_keys(opts))
|
39
|
+
else
|
40
|
+
client
|
41
|
+
end
|
54
42
|
|
55
43
|
new_params = {
|
56
44
|
'GDC_GD_CLIENT' => client,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gooddata-bricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Svarovsky
|
@@ -256,3 +256,4 @@ signing_key:
|
|
256
256
|
specification_version: 4
|
257
257
|
summary: Simple library that simplifies development of GoodData Bricks
|
258
258
|
test_files: []
|
259
|
+
has_rdoc:
|