gooddata 1.3.0-java → 1.3.1-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +2 -0
  3. data/.document +0 -0
  4. data/.yardopts +0 -0
  5. data/CHANGELOG.md +48 -0
  6. data/CLI.md +0 -0
  7. data/CONTRIBUTING.md +19 -12
  8. data/Dockerfile +37 -0
  9. data/Guardfile +0 -0
  10. data/README.md +1 -1
  11. data/Rakefile +17 -1
  12. data/TODO.md +0 -0
  13. data/bin/run_brick.rb +31 -0
  14. data/dependency_decisions.yml +0 -0
  15. data/gooddata.gemspec +1 -0
  16. data/lib/gooddata/bricks/hello_world_brick.rb +21 -0
  17. data/lib/gooddata/bricks/middleware/gooddata_middleware.rb +12 -0
  18. data/lib/gooddata/bricks/middleware/logger_middleware.rb +12 -0
  19. data/lib/gooddata/bricks/pipeline.rb +12 -0
  20. data/lib/gooddata/exceptions/filter_maqlization.rb +0 -6
  21. data/lib/gooddata/extensions/class.rb +4 -0
  22. data/lib/gooddata/extensions/enumerable.rb +0 -3
  23. data/lib/gooddata/extensions/extensions.rb +0 -3
  24. data/lib/gooddata/extensions/false.rb +8 -16
  25. data/lib/gooddata/extensions/hash.rb +10 -41
  26. data/lib/gooddata/extensions/integer.rb +9 -3
  27. data/lib/gooddata/extensions/nil.rb +5 -13
  28. data/lib/gooddata/extensions/object.rb +0 -11
  29. data/lib/gooddata/extensions/string.rb +11 -5
  30. data/lib/gooddata/extensions/true.rb +8 -16
  31. data/lib/gooddata/helpers/global_helpers.rb +12 -0
  32. data/lib/gooddata/helpers/global_helpers_params.rb +5 -3
  33. data/lib/gooddata/lcm/actions/apply_custom_maql.rb +6 -0
  34. data/lib/gooddata/lcm/actions/base_action.rb +8 -2
  35. data/lib/gooddata/lcm/actions/collect_multiple_projects_column.rb +46 -0
  36. data/lib/gooddata/lcm/actions/collect_users_brick_users.rb +9 -2
  37. data/lib/gooddata/lcm/actions/execute_schedules.rb +0 -2
  38. data/lib/gooddata/lcm/actions/hello_world.rb +1 -1
  39. data/lib/gooddata/lcm/actions/synchronize_cas.rb +6 -0
  40. data/lib/gooddata/lcm/actions/synchronize_ldm.rb +6 -0
  41. data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +70 -107
  42. data/lib/gooddata/lcm/actions/synchronize_users.rb +1 -13
  43. data/lib/gooddata/lcm/brick_logger.rb +26 -0
  44. data/lib/gooddata/lcm/lcm2.rb +46 -7
  45. data/lib/gooddata/lcm/types/base_type.rb +4 -0
  46. data/lib/gooddata/lcm/types/class/class.rb +2 -0
  47. data/lib/gooddata/lcm/types/complex/complex.rb +2 -0
  48. data/lib/gooddata/lcm/types/special/array.rb +2 -0
  49. data/lib/gooddata/mixins/is_folder.rb +0 -0
  50. data/lib/gooddata/mixins/to_json.rb +0 -0
  51. data/lib/gooddata/mixins/uri_getter.rb +0 -0
  52. data/lib/gooddata/models/blueprint/project_blueprint.rb +5 -5
  53. data/lib/gooddata/models/blueprint/to_manifest.rb +0 -2
  54. data/lib/gooddata/models/domain.rb +1 -0
  55. data/lib/gooddata/models/from_wire.rb +0 -2
  56. data/lib/gooddata/models/profile.rb +1 -1
  57. data/lib/gooddata/models/project.rb +5 -0
  58. data/lib/gooddata/models/user_filters/user_filter_builder.rb +49 -32
  59. data/lib/gooddata/models/user_group.rb +3 -0
  60. data/lib/gooddata/rest/README.md +0 -0
  61. data/lib/gooddata/rest/client.rb +4 -4
  62. data/lib/gooddata/rest/object.rb +2 -0
  63. data/lib/gooddata/version.rb +1 -1
  64. data/lib/templates/bricks/brick.rb.erb +0 -0
  65. data/lib/templates/bricks/main.rb.erb +0 -0
  66. data/lib/templates/project/Goodfile.erb +0 -0
  67. data/lib/templates/project/data/commits.csv +0 -0
  68. data/lib/templates/project/data/devs.csv +0 -0
  69. data/lib/templates/project/data/repos.csv +0 -0
  70. data/lib/templates/project/model/model.rb.erb +0 -0
  71. metadata +23 -5
  72. data/lib/gooddata/extensions/big_decimal.rb +0 -17
  73. data/lib/gooddata/extensions/numeric.rb +0 -15
  74. data/lib/gooddata/extensions/symbol.rb +0 -15
@@ -16,6 +16,8 @@ require_relative '../mixins/meta_property_writer'
16
16
 
17
17
  require_relative '../mixins/root_key_getter'
18
18
 
19
+ require 'active_support/core_ext/object/blank'
20
+
19
21
  module GoodData
20
22
  module Rest
21
23
  # Base class dealing with REST endpoints
@@ -6,7 +6,7 @@
6
6
 
7
7
  # GoodData Module
8
8
  module GoodData
9
- VERSION = '1.3.0'
9
+ VERSION = '1.3.1'
10
10
 
11
11
  class << self
12
12
  # Version
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gooddata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: java
6
6
  authors:
7
7
  - Pavel Kolesnikov
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-08-27 00:00:00.000000000 Z
14
+ date: 2018-09-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  requirement: !ruby/object:Gem::Requirement
@@ -377,6 +377,20 @@ dependencies:
377
377
  - - "~>"
378
378
  - !ruby/object:Gem::Version
379
379
  version: '1.1'
380
+ - !ruby/object:Gem::Dependency
381
+ requirement: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - "~>"
384
+ - !ruby/object:Gem::Version
385
+ version: 1.0.3
386
+ name: remote_syslog_logger
387
+ prerelease: false
388
+ type: :runtime
389
+ version_requirements: !ruby/object:Gem::Requirement
390
+ requirements:
391
+ - - "~>"
392
+ - !ruby/object:Gem::Version
393
+ version: 1.0.3
380
394
  - !ruby/object:Gem::Dependency
381
395
  requirement: !ruby/object:Gem::Requirement
382
396
  requirements:
@@ -487,11 +501,13 @@ email: pavel@gooddata.com
487
501
  executables:
488
502
  - gitflow-init.sh
489
503
  - gooddata
504
+ - run_brick.rb
490
505
  extensions: []
491
506
  extra_rdoc_files:
492
507
  - LICENSE
493
508
  - README.md
494
509
  files:
510
+ - ".dockerignore"
495
511
  - ".document"
496
512
  - ".editorconfig"
497
513
  - ".flayignore"
@@ -505,6 +521,7 @@ files:
505
521
  - CLI.md
506
522
  - CONTRIBUTING.md
507
523
  - DEPENDENCIES.md
524
+ - Dockerfile
508
525
  - Dockerfile.jruby
509
526
  - Dockerfile.ruby
510
527
  - Gemfile
@@ -518,6 +535,7 @@ files:
518
535
  - authors.sh
519
536
  - bin/gitflow-init.sh
520
537
  - bin/gooddata
538
+ - bin/run_brick.rb
521
539
  - ci.rake
522
540
  - data/2008.crt
523
541
  - data/new_ca.cer
@@ -534,6 +552,7 @@ files:
534
552
  - lib/gooddata/bricks/base_downloader.rb
535
553
  - lib/gooddata/bricks/brick.rb
536
554
  - lib/gooddata/bricks/bricks.rb
555
+ - lib/gooddata/bricks/hello_world_brick.rb
537
556
  - lib/gooddata/bricks/middleware/aws_middleware.rb
538
557
  - lib/gooddata/bricks/middleware/base_middleware.rb
539
558
  - lib/gooddata/bricks/middleware/bench_middleware.rb
@@ -603,7 +622,6 @@ files:
603
622
  - lib/gooddata/exceptions/uncomputable_report.rb
604
623
  - lib/gooddata/exceptions/user_in_different_domain.rb
605
624
  - lib/gooddata/exceptions/validation_error.rb
606
- - lib/gooddata/extensions/big_decimal.rb
607
625
  - lib/gooddata/extensions/class.rb
608
626
  - lib/gooddata/extensions/enumerable.rb
609
627
  - lib/gooddata/extensions/extensions.rb
@@ -611,10 +629,8 @@ files:
611
629
  - lib/gooddata/extensions/hash.rb
612
630
  - lib/gooddata/extensions/integer.rb
613
631
  - lib/gooddata/extensions/nil.rb
614
- - lib/gooddata/extensions/numeric.rb
615
632
  - lib/gooddata/extensions/object.rb
616
633
  - lib/gooddata/extensions/string.rb
617
- - lib/gooddata/extensions/symbol.rb
618
634
  - lib/gooddata/extensions/true.rb
619
635
  - lib/gooddata/extract.rb
620
636
  - lib/gooddata/goodzilla/goodzilla.rb
@@ -636,6 +652,7 @@ files:
636
652
  - lib/gooddata/lcm/actions/collect_dynamic_schedule_params.rb
637
653
  - lib/gooddata/lcm/actions/collect_ldm_objects.rb
638
654
  - lib/gooddata/lcm/actions/collect_meta.rb
655
+ - lib/gooddata/lcm/actions/collect_multiple_projects_column.rb
639
656
  - lib/gooddata/lcm/actions/collect_segment_clients.rb
640
657
  - lib/gooddata/lcm/actions/collect_segments.rb
641
658
  - lib/gooddata/lcm/actions/collect_tagged_objects.rb
@@ -670,6 +687,7 @@ files:
670
687
  - lib/gooddata/lcm/actions/synchronize_user_groups.rb
671
688
  - lib/gooddata/lcm/actions/synchronize_users.rb
672
689
  - lib/gooddata/lcm/actions/update_release_table.rb
690
+ - lib/gooddata/lcm/brick_logger.rb
673
691
  - lib/gooddata/lcm/data/create_lcm_release.sql.erb
674
692
  - lib/gooddata/lcm/data/insert_into_lcm_release.sql.erb
675
693
  - lib/gooddata/lcm/data/select_from_lcm_release.sql.erb
@@ -1,17 +0,0 @@
1
- # encoding: UTF-8
2
- #
3
- # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
4
- # This source code is licensed under the BSD-style license found in the
5
- # LICENSE file in the root directory of this source tree.
6
-
7
- require 'bigdecimal'
8
-
9
- class BigDecimal
10
- def duplicable?
11
- true
12
- end
13
-
14
- def pretty_print(p)
15
- p.text to_s
16
- end
17
- end
@@ -1,15 +0,0 @@
1
- # encoding: UTF-8
2
- #
3
- # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
4
- # This source code is licensed under the BSD-style license found in the
5
- # LICENSE file in the root directory of this source tree.
6
-
7
- class Numeric
8
- # Numbers are not duplicable:
9
- #
10
- # 3.duplicable? # => false
11
- # 3.dup # => TypeError: can't dup Fixnum
12
- def duplicable?
13
- false
14
- end
15
- end
@@ -1,15 +0,0 @@
1
- # encoding: UTF-8
2
- #
3
- # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
4
- # This source code is licensed under the BSD-style license found in the
5
- # LICENSE file in the root directory of this source tree.
6
-
7
- class Symbol
8
- # Symbols are not duplicable:
9
- #
10
- # :my_symbol.duplicable? # => false
11
- # :my_symbol.dup # => TypeError: can't dup Symbol
12
- def duplicable?
13
- false
14
- end
15
- end