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: da3e64cedbf60891bbc0b2495b348f699d95bd7f
4
- data.tar.gz: 3c5ca10e13645cda123ebcbd8dea9eb2ed480168
3
+ metadata.gz: ee3a8f35d21bd68d37166f4a08cd81087377ea3b
4
+ data.tar.gz: 39e488ae2e2f6e3b04bb6b6984396536e5f021b7
5
5
  SHA512:
6
- metadata.gz: 1fbc41076702fdcc7d659b0e46cc43f57c01f466380c65d222d82b2602a09fc1bde98945d4b0a11bd0ddab130c2d31b38faaf5acbaed4d2297cc68190db359d7
7
- data.tar.gz: 236411cdd63a585202c12e4f44aaffe4c5b15685753e5f3d714d3ffc7290e082e351b95a3a9470a18bf27c6b0df44ad2cbed1e1e21ea26ca6e0be9799a0b405d
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
- new_opts = {
40
- verify_ssl: opts['verify_ssl'].to_b || opts[:verify_ssl].to_b,
41
- username: opts['username'] || opts[:username],
42
- password: opts['password'] || opts[:password],
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,
@@ -6,6 +6,6 @@
6
6
 
7
7
  module GoodData
8
8
  module Bricks
9
- VERSION = '0.7.0'.freeze
9
+ VERSION = '0.8.0'.freeze
10
10
  end
11
11
  end
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.7.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: