gooddata 1.0.0-java → 1.0.1-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (319) hide show
  1. checksums.yaml +5 -5
  2. data/.document +0 -0
  3. data/.editorconfig +0 -0
  4. data/.flayignore +1 -0
  5. data/.rubocop.yml +2 -0
  6. data/.yardopts +0 -0
  7. data/CHANGELOG.md +9 -0
  8. data/CLI.md +0 -0
  9. data/Gemfile +0 -0
  10. data/Guardfile +0 -0
  11. data/LICENSE +0 -0
  12. data/LICENSE.rb +0 -0
  13. data/TODO.md +0 -0
  14. data/dependency_decisions.yml +0 -0
  15. data/gooddata.gemspec +1 -3
  16. data/lib/gooddata/app/app.rb +0 -0
  17. data/lib/gooddata/bricks/brick.rb +0 -0
  18. data/lib/gooddata/bricks/bricks.rb +0 -0
  19. data/lib/gooddata/bricks/middleware/base_middleware.rb +0 -0
  20. data/lib/gooddata/bricks/middleware/bench_middleware.rb +0 -0
  21. data/lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb +0 -0
  22. data/lib/gooddata/bricks/middleware/decode_params_middleware.rb +0 -0
  23. data/lib/gooddata/bricks/middleware/fs_download_middleware.rb +0 -0
  24. data/lib/gooddata/bricks/middleware/fs_upload_middleware.rb +0 -0
  25. data/lib/gooddata/bricks/middleware/middleware.rb +0 -0
  26. data/lib/gooddata/bricks/middleware/stdout_middleware.rb +0 -0
  27. data/lib/gooddata/bricks/middleware/twitter_middleware.rb +0 -0
  28. data/lib/gooddata/bricks/middleware/undot_params_middleware.rb +0 -0
  29. data/lib/gooddata/bricks/pipeline.rb +0 -0
  30. data/lib/gooddata/bricks/utils.rb +0 -0
  31. data/lib/gooddata/cli/cli.rb +0 -0
  32. data/lib/gooddata/cli/commands/auth_cmd.rb +0 -0
  33. data/lib/gooddata/cli/commands/domain_cmd.rb +0 -0
  34. data/lib/gooddata/cli/commands/project_cmd.rb +0 -0
  35. data/lib/gooddata/cli/hooks.rb +0 -0
  36. data/lib/gooddata/cli/shared.rb +0 -0
  37. data/lib/gooddata/cli/terminal.rb +0 -0
  38. data/lib/gooddata/commands/api.rb +0 -0
  39. data/lib/gooddata/commands/auth.rb +0 -0
  40. data/lib/gooddata/commands/base.rb +0 -0
  41. data/lib/gooddata/commands/commands.rb +0 -0
  42. data/lib/gooddata/commands/datasets.rb +0 -0
  43. data/lib/gooddata/commands/datawarehouse.rb +0 -0
  44. data/lib/gooddata/commands/domain.rb +0 -0
  45. data/lib/gooddata/commands/process.rb +0 -0
  46. data/lib/gooddata/commands/project.rb +0 -0
  47. data/lib/gooddata/commands/projects.rb +0 -0
  48. data/lib/gooddata/commands/role.rb +0 -0
  49. data/lib/gooddata/commands/runners.rb +0 -0
  50. data/lib/gooddata/commands/scaffold.rb +0 -0
  51. data/lib/gooddata/commands/user.rb +0 -0
  52. data/lib/gooddata/connection.rb +0 -0
  53. data/lib/gooddata/core/core.rb +0 -0
  54. data/lib/gooddata/core/logging.rb +0 -0
  55. data/lib/gooddata/core/nil_logger.rb +0 -0
  56. data/lib/gooddata/core/project.rb +0 -0
  57. data/lib/gooddata/core/rest.rb +0 -0
  58. data/lib/gooddata/core/user.rb +0 -0
  59. data/lib/gooddata/data/data.rb +0 -0
  60. data/lib/gooddata/data/guesser.rb +0 -0
  61. data/lib/gooddata/exceptions/attr_element_not_found.rb +0 -0
  62. data/lib/gooddata/exceptions/command_failed.rb +0 -0
  63. data/lib/gooddata/exceptions/exceptions.rb +0 -0
  64. data/lib/gooddata/exceptions/execution_limit_exceeded.rb +0 -0
  65. data/lib/gooddata/exceptions/export_clone.rb +0 -0
  66. data/lib/gooddata/exceptions/filter_maqlization.rb +0 -0
  67. data/lib/gooddata/exceptions/import_clone.rb +0 -0
  68. data/lib/gooddata/exceptions/malformed_user.rb +0 -0
  69. data/lib/gooddata/exceptions/maql_execution.rb +0 -0
  70. data/lib/gooddata/exceptions/object_migration.rb +0 -0
  71. data/lib/gooddata/exceptions/project_not_found.rb +0 -0
  72. data/lib/gooddata/exceptions/segment_not_empty.rb +0 -0
  73. data/lib/gooddata/exceptions/uncomputable_report.rb +0 -0
  74. data/lib/gooddata/exceptions/user_in_different_domain.rb +0 -0
  75. data/lib/gooddata/exceptions/validation_error.rb +0 -0
  76. data/lib/gooddata/extensions/big_decimal.rb +0 -0
  77. data/lib/gooddata/extensions/class.rb +0 -0
  78. data/lib/gooddata/extensions/extensions.rb +0 -0
  79. data/lib/gooddata/extensions/false.rb +0 -0
  80. data/lib/gooddata/extensions/hash.rb +0 -0
  81. data/lib/gooddata/extensions/integer.rb +0 -0
  82. data/lib/gooddata/extensions/nil.rb +0 -0
  83. data/lib/gooddata/extensions/numeric.rb +0 -0
  84. data/lib/gooddata/extensions/object.rb +0 -0
  85. data/lib/gooddata/extensions/string.rb +0 -0
  86. data/lib/gooddata/extensions/symbol.rb +0 -0
  87. data/lib/gooddata/extensions/true.rb +0 -0
  88. data/lib/gooddata/extract.rb +0 -0
  89. data/lib/gooddata/goodzilla/goodzilla.rb +0 -0
  90. data/lib/gooddata/helpers/auth_helpers.rb +0 -0
  91. data/lib/gooddata/helpers/csv_helper.rb +0 -0
  92. data/lib/gooddata/helpers/erb_helper.rb +0 -0
  93. data/lib/gooddata/helpers/global_helpers.rb +0 -0
  94. data/lib/gooddata/helpers/helpers.rb +0 -0
  95. data/lib/gooddata/lcm/actions/actions.rb +0 -0
  96. data/lib/gooddata/lcm/actions/base_action.rb +0 -0
  97. data/lib/gooddata/lcm/actions/synchronize_clients.rb +8 -6
  98. data/lib/gooddata/lcm/data/create_lcm_release.sql.erb +0 -0
  99. data/lib/gooddata/lcm/data/insert_into_lcm_release.sql.erb +0 -0
  100. data/lib/gooddata/lcm/data/select_from_lcm_release.sql.erb +0 -0
  101. data/lib/gooddata/lcm/data/update_lcm_release.sql.erb +0 -0
  102. data/lib/gooddata/lcm/dsl/dsl.rb +0 -0
  103. data/lib/gooddata/lcm/dsl/params_dsl.rb +0 -0
  104. data/lib/gooddata/lcm/helpers/helpers.rb +0 -0
  105. data/lib/gooddata/lcm/lcm2.rb +4 -6
  106. data/lib/gooddata/lcm/types/base_type.rb +0 -0
  107. data/lib/gooddata/lcm/types/class/ads_client.rb +0 -0
  108. data/lib/gooddata/lcm/types/class/class.rb +0 -0
  109. data/lib/gooddata/lcm/types/class/gd_client.rb +0 -0
  110. data/lib/gooddata/lcm/types/class/types.rb +0 -0
  111. data/lib/gooddata/lcm/types/complex/complex.rb +0 -0
  112. data/lib/gooddata/lcm/types/complex/release_query.rb +0 -0
  113. data/lib/gooddata/lcm/types/complex/tokens.rb +0 -0
  114. data/lib/gooddata/lcm/types/complex/types.rb +0 -0
  115. data/lib/gooddata/lcm/types/param.rb +0 -0
  116. data/lib/gooddata/lcm/types/scalar/bool.rb +0 -0
  117. data/lib/gooddata/lcm/types/scalar/hash.rb +0 -0
  118. data/lib/gooddata/lcm/types/scalar/integer.rb +0 -0
  119. data/lib/gooddata/lcm/types/scalar/object.rb +0 -0
  120. data/lib/gooddata/lcm/types/scalar/string.rb +0 -0
  121. data/lib/gooddata/lcm/types/scalar/types.rb +0 -0
  122. data/lib/gooddata/lcm/types/special/types.rb +0 -0
  123. data/lib/gooddata/lcm/types/types.rb +0 -0
  124. data/lib/gooddata/mixins/author.rb +0 -0
  125. data/lib/gooddata/mixins/content_getter.rb +0 -0
  126. data/lib/gooddata/mixins/content_property_reader.rb +0 -0
  127. data/lib/gooddata/mixins/content_property_writer.rb +0 -0
  128. data/lib/gooddata/mixins/contributor.rb +0 -0
  129. data/lib/gooddata/mixins/data_getter.rb +0 -0
  130. data/lib/gooddata/mixins/data_property_reader.rb +0 -0
  131. data/lib/gooddata/mixins/data_property_writer.rb +0 -0
  132. data/lib/gooddata/mixins/inspector.rb +0 -0
  133. data/lib/gooddata/mixins/is_attribute.rb +0 -0
  134. data/lib/gooddata/mixins/is_dimension.rb +0 -0
  135. data/lib/gooddata/mixins/is_fact.rb +0 -0
  136. data/lib/gooddata/mixins/is_folder.rb +0 -0
  137. data/lib/gooddata/mixins/is_label.rb +0 -0
  138. data/lib/gooddata/mixins/links.rb +0 -0
  139. data/lib/gooddata/mixins/md_grantees.rb +0 -0
  140. data/lib/gooddata/mixins/md_lock.rb +0 -0
  141. data/lib/gooddata/mixins/md_object_id.rb +0 -0
  142. data/lib/gooddata/mixins/md_relations.rb +0 -0
  143. data/lib/gooddata/mixins/meta_getter.rb +0 -0
  144. data/lib/gooddata/mixins/meta_property_reader.rb +0 -0
  145. data/lib/gooddata/mixins/meta_property_writer.rb +0 -0
  146. data/lib/gooddata/mixins/mixins.rb +0 -0
  147. data/lib/gooddata/mixins/not_attribute.rb +0 -0
  148. data/lib/gooddata/mixins/not_exportable.rb +0 -0
  149. data/lib/gooddata/mixins/not_fact.rb +0 -0
  150. data/lib/gooddata/mixins/not_group.rb +0 -0
  151. data/lib/gooddata/mixins/not_label.rb +0 -0
  152. data/lib/gooddata/mixins/not_metric.rb +0 -0
  153. data/lib/gooddata/mixins/obj_id.rb +0 -0
  154. data/lib/gooddata/mixins/rest_getters.rb +0 -0
  155. data/lib/gooddata/mixins/rest_resource.rb +0 -0
  156. data/lib/gooddata/mixins/root_key_getter.rb +0 -0
  157. data/lib/gooddata/mixins/root_key_setter.rb +0 -0
  158. data/lib/gooddata/mixins/timestamps.rb +0 -0
  159. data/lib/gooddata/mixins/to_json.rb +0 -0
  160. data/lib/gooddata/mixins/uri_getter.rb +0 -0
  161. data/lib/gooddata/models/ads_output_stage.rb +0 -0
  162. data/lib/gooddata/models/automated_data_distribution.rb +0 -0
  163. data/lib/gooddata/models/blueprint/anchor_field.rb +0 -0
  164. data/lib/gooddata/models/blueprint/attribute_field.rb +0 -0
  165. data/lib/gooddata/models/blueprint/blueprint.rb +0 -0
  166. data/lib/gooddata/models/blueprint/blueprint_field.rb +0 -0
  167. data/lib/gooddata/models/blueprint/dashboard_builder.rb +0 -0
  168. data/lib/gooddata/models/blueprint/dataset_blueprint.rb +0 -0
  169. data/lib/gooddata/models/blueprint/fact_field.rb +0 -0
  170. data/lib/gooddata/models/blueprint/label_field.rb +0 -0
  171. data/lib/gooddata/models/blueprint/reference_field.rb +0 -0
  172. data/lib/gooddata/models/blueprint/schema_blueprint.rb +0 -0
  173. data/lib/gooddata/models/blueprint/schema_builder.rb +0 -0
  174. data/lib/gooddata/models/blueprint/to_manifest.rb +0 -0
  175. data/lib/gooddata/models/channel_configuration.rb +0 -0
  176. data/lib/gooddata/models/client_synchronization_result.rb +0 -0
  177. data/lib/gooddata/models/client_synchronization_result_details.rb +0 -0
  178. data/lib/gooddata/models/datawarehouse.rb +0 -0
  179. data/lib/gooddata/models/execution.rb +0 -0
  180. data/lib/gooddata/models/execution_detail.rb +0 -0
  181. data/lib/gooddata/models/invitation.rb +0 -0
  182. data/lib/gooddata/models/links.rb +0 -0
  183. data/lib/gooddata/models/metadata/dashboard/dashboard_item.rb +0 -0
  184. data/lib/gooddata/models/metadata/dashboard/filter_apply_item.rb +0 -0
  185. data/lib/gooddata/models/metadata/dashboard/filter_item.rb +0 -0
  186. data/lib/gooddata/models/metadata/dashboard/geo_chart_item.rb +0 -0
  187. data/lib/gooddata/models/metadata/dashboard/headline_item.rb +0 -0
  188. data/lib/gooddata/models/metadata/dashboard/iframe_item.rb +0 -0
  189. data/lib/gooddata/models/metadata/dashboard/report_item.rb +0 -0
  190. data/lib/gooddata/models/metadata/dashboard/text_item.rb +0 -0
  191. data/lib/gooddata/models/metadata/dashboard_tab.rb +0 -0
  192. data/lib/gooddata/models/metadata/label.rb +43 -23
  193. data/lib/gooddata/models/metadata/metadata.rb +0 -0
  194. data/lib/gooddata/models/metadata/scheduled_mail/dashboard_attachment.rb +0 -0
  195. data/lib/gooddata/models/metadata/scheduled_mail/report_attachment.rb +0 -0
  196. data/lib/gooddata/models/models.rb +0 -0
  197. data/lib/gooddata/models/module_constants.rb +0 -0
  198. data/lib/gooddata/models/notification_rule.rb +0 -0
  199. data/lib/gooddata/models/project_log_formatter.rb +0 -0
  200. data/lib/gooddata/models/project_metadata.rb +0 -0
  201. data/lib/gooddata/models/tab_builder.rb +0 -0
  202. data/lib/gooddata/models/user_filters/mandatory_user_filter.rb +0 -0
  203. data/lib/gooddata/models/user_filters/user_filter_builder.rb +2 -1
  204. data/lib/gooddata/models/user_filters/user_filters.rb +0 -0
  205. data/lib/gooddata/rest/README.md +0 -0
  206. data/lib/gooddata/rest/connection.rb +2 -70
  207. data/lib/gooddata/rest/object.rb +0 -0
  208. data/lib/gooddata/rest/phmap.rb +81 -0
  209. data/lib/gooddata/rest/resource.rb +0 -0
  210. data/lib/gooddata/rest/rest.rb +0 -0
  211. data/lib/gooddata/version.rb +1 -1
  212. data/lib/templates/bricks/brick.rb.erb +0 -0
  213. data/lib/templates/bricks/main.rb.erb +0 -0
  214. data/lib/templates/project/Goodfile.erb +0 -0
  215. data/lib/templates/project/data/commits.csv +0 -0
  216. data/lib/templates/project/data/devs.csv +0 -0
  217. data/lib/templates/project/data/repos.csv +0 -0
  218. data/lib/templates/project/model/model.rb.erb +0 -0
  219. data/spec/.rubocop.yml +0 -0
  220. data/spec/bricks/bricks_spec.rb +0 -0
  221. data/spec/bricks/default-config.json +0 -0
  222. data/spec/data/.gooddata +0 -0
  223. data/spec/data/blueprints/additional_dataset_module.json +0 -0
  224. data/spec/data/blueprints/attribute_sort_order_blueprint.json +0 -0
  225. data/spec/data/blueprints/big_blueprint_not_pruned.json +0 -0
  226. data/spec/data/blueprints/m_n_model.json +0 -0
  227. data/spec/data/blueprints/model_module.json +0 -0
  228. data/spec/data/cc/data/source/commits.csv +0 -0
  229. data/spec/data/cc/data/source/devs.csv +0 -0
  230. data/spec/data/cc/data/source/repos.csv +0 -0
  231. data/spec/data/cc/devel.prm +0 -0
  232. data/spec/data/cc/graph/graph.grf +0 -0
  233. data/spec/data/cc/workspace.prm +0 -0
  234. data/spec/data/column_based_permissions.csv +0 -0
  235. data/spec/data/column_based_permissions2.csv +0 -0
  236. data/spec/data/gd_gse_data_blueprint.json +0 -0
  237. data/spec/data/gd_gse_data_manifest.json +0 -0
  238. data/spec/data/gd_gse_data_model.json +0 -0
  239. data/spec/data/gooddata_version_process/gooddata_version.rb +0 -0
  240. data/spec/data/gooddata_version_process/gooddata_version.zip +0 -0
  241. data/spec/data/hello_world_process/hello_world.rb +0 -0
  242. data/spec/data/hello_world_process/hello_world.zip +0 -0
  243. data/spec/data/integration_model.json +252 -0
  244. data/spec/data/integration_policies.csv +9134 -0
  245. data/spec/data/line_based_permissions.csv +0 -0
  246. data/spec/data/manifests/test_blueprint.json +0 -0
  247. data/spec/data/manifests/test_project.json +0 -0
  248. data/spec/data/reports/left_attr_report.json +0 -0
  249. data/spec/data/reports/metric_only_one_line.json +0 -0
  250. data/spec/data/reports/report_1.json +0 -0
  251. data/spec/data/reports/top_attr_report.json +0 -0
  252. data/spec/data/ruby_params_process/ruby_params.rb +0 -0
  253. data/spec/data/ruby_process/deep_files/deep_stuff.txt +0 -0
  254. data/spec/data/ruby_process/process.rb +0 -0
  255. data/spec/data/ruby_process/stuff.txt +0 -0
  256. data/spec/data/superfluous_titles_view.json +0 -0
  257. data/spec/data/test-ci-data.csv +0 -0
  258. data/spec/data/users.csv +0 -0
  259. data/spec/data/wire_models/attribute_sort_by_model.json +0 -0
  260. data/spec/data/wire_models/model_view.json +0 -0
  261. data/spec/data/wire_models/nu_model.json +0 -0
  262. data/spec/data/wire_test_project.json +0 -0
  263. data/spec/environment/default.rb +0 -0
  264. data/spec/environment/environment.rb +0 -0
  265. data/spec/environment/production.rb +0 -0
  266. data/spec/helpers/appstore_project_helper.rb +221 -0
  267. data/spec/helpers/blueprint_helper.rb +0 -0
  268. data/spec/helpers/cli_helper.rb +0 -0
  269. data/spec/helpers/connection_helper.rb +0 -0
  270. data/spec/helpers/constants.rb +32 -0
  271. data/spec/helpers/crypto_helper.rb +0 -0
  272. data/spec/helpers/csv_helper.rb +0 -0
  273. data/spec/helpers/spec_helper.rb +0 -0
  274. data/spec/integration/blueprint_updates_spec.rb +0 -0
  275. data/spec/integration/blueprint_with_grain_spec.rb +0 -0
  276. data/spec/integration/channel_configuration_spec.rb +0 -0
  277. data/spec/integration/command_projects_spec.rb +0 -0
  278. data/spec/integration/create_project_spec.rb +0 -0
  279. data/spec/integration/date_dim_switch_spec.rb +6 -2
  280. data/spec/integration/deprecated_load_spec.rb +0 -0
  281. data/spec/integration/models/label_spec.rb +40 -0
  282. data/spec/integration/over_to_user_filters_spec.rb +0 -0
  283. data/spec/integration/partial_md_export_import_spec.rb +0 -0
  284. data/spec/integration/rest_spec.rb +0 -0
  285. data/spec/integration/schedule_spec.rb +0 -0
  286. data/spec/integration/user_group_spec.rb +0 -0
  287. data/spec/logging_in_logging_out_spec.rb +0 -0
  288. data/spec/unit/actions/synchronize_clients_spec.rb +71 -0
  289. data/spec/unit/bricks/bricks_spec.rb +0 -0
  290. data/spec/unit/bricks/middleware/bench_middleware_spec.rb +0 -0
  291. data/spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb +0 -0
  292. data/spec/unit/bricks/middleware/gooddata_middleware_spec.rb +0 -0
  293. data/spec/unit/bricks/middleware/restforce_middleware_spec.rb +0 -0
  294. data/spec/unit/bricks/middleware/stdout_middleware_spec.rb +0 -0
  295. data/spec/unit/bricks/middleware/twitter_middleware_spec.rb +0 -0
  296. data/spec/unit/cli/cli_spec.rb +0 -0
  297. data/spec/unit/cli/commands/cmd_auth_spec.rb +0 -0
  298. data/spec/unit/core/nil_logger_spec.rb +0 -0
  299. data/spec/unit/extensions/hash_spec.rb +0 -0
  300. data/spec/unit/godzilla/goodzilla_spec.rb +0 -0
  301. data/spec/unit/helpers/csv_helper_spec.rb +0 -0
  302. data/spec/unit/lcm/lcm2_spec.rb +36 -0
  303. data/spec/unit/models/blueprint/attribute_sort_by_spec.rb +0 -0
  304. data/spec/unit/models/blueprint/attributes_spec.rb +0 -0
  305. data/spec/unit/models/blueprint/dataset_spec.rb +0 -0
  306. data/spec/unit/models/blueprint/{labels_spec.rb → label_blueprint_field_spec.rb} +7 -7
  307. data/spec/unit/models/blueprint/reference_spec.rb +0 -0
  308. data/spec/unit/models/blueprint/schema_builder_spec.rb +0 -0
  309. data/spec/unit/models/blueprint/to_wire_spec.rb +0 -0
  310. data/spec/unit/models/execution_spec.rb +0 -0
  311. data/spec/unit/models/from_wire_spec.rb +0 -0
  312. data/spec/unit/models/metric_spec.rb +0 -0
  313. data/spec/unit/models/model_spec.rb +0 -0
  314. data/spec/unit/models/report_result_data_spec.rb +0 -0
  315. data/spec/unit/models/user_filters/user_filter_builder_spec.rb +5 -4
  316. data/spec/unit/models/user_filters_spec.rb +0 -0
  317. data/spec/unit/models/variable_spec.rb +0 -0
  318. data/spec/unit/rest/resource_spec.rb +0 -0
  319. metadata +20 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 20618bb2d0cc061c8f3b1051469a49101b64bdde
4
- data.tar.gz: 3ec39e14522ef3483079de3a889970d38ac40ab6
2
+ SHA256:
3
+ metadata.gz: ccc659e5bfe6042ae5eb792d25d449060669dc099d28c44a30276e34b3eee037
4
+ data.tar.gz: 7066e3874fc068bdb8bc0ca13321c47ed8fb11fb36d79474c961275e0ce2591f
5
5
  SHA512:
6
- metadata.gz: 4f11e6548c04ac738f752f094b0d44aed4f0488a0e89171060c2f7d0724617d1158e3722ed1e99ebfae27207c85544f64de81029a9791fc1568449349716bf3f
7
- data.tar.gz: 9d56099900a534da48a21c828594baf94ed4e26e3a7ef5ff3623810784fef1369384a085d860d68d7b28cd14d5261027f4d4abfc47b9b65a3eb0e8a4f01c974f
6
+ metadata.gz: d83b0fa5b468dfbd66c552ad43c90f553efba3ccaa2439fc623abfaaeec48996e0fb77ae4d1e88aedf01d39012591f37b634216bd38b9832e6ed2a2f5fc7048f
7
+ data.tar.gz: 4068b5465320dff3dce41c8be5207349350fc75d4947ef7d823f9ce716519005b9becf211d35ff8b802dd55dc8bdd2617f7320695ed9a1146a03cca0e038aa6c
data/.document CHANGED
File without changes
File without changes
@@ -4,3 +4,4 @@ spec/unit/actions/synchronize_cas_spec.rb
4
4
  lib/gooddata/lcm/actions/collect_data_product.rb
5
5
  # TMA-652
6
6
  lib/gooddata/lcm/actions/synchronize_user_filters.rb
7
+ spec/integration/date_dim_switch_spec.rb
@@ -1,5 +1,7 @@
1
1
  AllCops:
2
2
  DisplayCopNames: true
3
+ Exclude:
4
+ - 'spec/helpers/appstore_project_helper.rb'
3
5
 
4
6
  AbcSize:
5
7
  Enabled: false
data/.yardopts CHANGED
File without changes
@@ -1,4 +1,13 @@
1
1
  # GoodData Ruby SDK Changelog
2
+ ## 1.0.1
3
+ - Bump version to 1.0.1
4
+ - TMA-776: Improve error handling of sync clients
5
+ - TMA-775: platform agnostic lookup of label
6
+ - TMA-762: Fix test for swapping date dimensions
7
+ - TMA-494: Support for java platform
8
+ - fix skip actions for bricks
9
+ - move PH_MAP to separate file
10
+
2
11
  ## 1.0.0
3
12
  - TMA-575: Add support for raw export-report API
4
13
  - TMA-738: Update highline to v2
data/CLI.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/Guardfile CHANGED
File without changes
data/LICENSE CHANGED
File without changes
data/LICENSE.rb CHANGED
File without changes
data/TODO.md CHANGED
File without changes
File without changes
@@ -6,9 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = 'gooddata'
7
7
  s.version = GoodData::VERSION
8
8
  s.licenses = ['BSD']
9
- if RUBY_PLATFORM =~ /java/
10
- s.platform = 'java'
11
- end
9
+ s.platform = 'java' if RUBY_PLATFORM =~ /java/
12
10
 
13
11
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
14
12
  s.authors = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -31,10 +31,8 @@ module GoodData
31
31
  RESULT_HEADER = [
32
32
  :segment,
33
33
  :successful_count,
34
- :failed_count,
35
34
  :master_name,
36
- :master_pid,
37
- # :details
35
+ :master_pid
38
36
  ]
39
37
 
40
38
  DEFAULT_TABLE_NAME = 'LCM_RELEASE'
@@ -74,14 +72,18 @@ module GoodData
74
72
  res = segment.synchronize_clients
75
73
 
76
74
  sync_result = res.json['synchronizationResult']
75
+ failed_count = sync_result['failedClients']['count']
76
+
77
+ if failed_count.to_i > 0
78
+ fail("#{failed_count} clients failed to synchronize. " \
79
+ "Details: #{sync_result['links']['details']}")
80
+ end
77
81
 
78
82
  {
79
83
  segment: segment.id,
80
84
  master_pid: master.pid,
81
85
  master_name: master.title,
82
- successful_count: sync_result['successfulClients']['count'],
83
- failed_count: sync_result['failedClients']['count'],
84
- # details: sync_result['links']['details']
86
+ successful_count: sync_result['successfulClients']['count']
85
87
  }
86
88
  end
87
89
 
File without changes
File without changes
File without changes
@@ -276,11 +276,6 @@ module GoodData
276
276
  end
277
277
  end
278
278
 
279
- check_unused_params(actions, params)
280
-
281
- # Print name of actions to be performed for debug purposes
282
- print_action_names(mode, actions)
283
-
284
279
  # TODO: Check all action params first
285
280
 
286
281
  new_params = params
@@ -299,9 +294,12 @@ module GoodData
299
294
 
300
295
  skip_actions = (params.skip_actions || [])
301
296
  actions = actions.reject do |action|
302
- skip_actions.include?(action.to_s)
297
+ skip_actions.include?(action.name.split('::').last)
303
298
  end
304
299
 
300
+ check_unused_params(actions, params)
301
+ print_action_names(mode, actions)
302
+
305
303
  # Run actions
306
304
  errors = []
307
305
  results = []
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes