From 8c0978f2e79e51a4ad9ed79890110a1edb0a19c6 Mon Sep 17 00:00:00 2001 From: Hung Nguyen Date: Mon, 12 Aug 2024 17:00:19 +0700 Subject: [PATCH] config: Support user languages --- gooddata.gemspec | 7 ++++--- lib/gooddata/models/domain.rb | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gooddata.gemspec b/gooddata.gemspec index a80e87f11..537019569 100644 --- a/gooddata.gemspec +++ b/gooddata.gemspec @@ -44,9 +44,9 @@ Gem::Specification.new do |s| s.add_development_dependency 'pry' s.add_development_dependency 'pry-byebug', '~> 3.6' if RUBY_PLATFORM != 'java' - s.add_development_dependency 'pronto', '>= 0.10' if RUBY_PLATFORM != 'java' - s.add_development_dependency 'pronto-rubocop', '>= 0.9' if RUBY_PLATFORM != 'java' - s.add_development_dependency 'pronto-reek', '>= 0.9' if RUBY_PLATFORM != 'java' + s.add_development_dependency 'pronto', '>= 0.11.2' if RUBY_PLATFORM != 'java' + s.add_development_dependency 'pronto-rubocop', '>= 0.11.5' if RUBY_PLATFORM != 'java' + s.add_development_dependency 'pronto-reek', '>= 0.11.1' if RUBY_PLATFORM != 'java' s.add_development_dependency 'vcr', '5.0.0' s.add_development_dependency 'hashdiff', '~> 0.4' @@ -79,6 +79,7 @@ Gem::Specification.new do |s| s.add_dependency 'highline', '= 2.0.0.pre.develop.14' s.add_dependency 'json_pure', '~> 2.6' s.add_dependency 'multi_json', '~> 1.12' + s.add_dependency 'path_expander', '< 1.1.2' s.add_dependency 'parseconfig', '~> 1.0' s.add_dependency 'pmap', '~> 1.1' s.add_dependency 'sequel', '< 5.72.0' diff --git a/lib/gooddata/models/domain.rb b/lib/gooddata/models/domain.rb index fe4971dd4..202a93b05 100644 --- a/lib/gooddata/models/domain.rb +++ b/lib/gooddata/models/domain.rb @@ -14,6 +14,7 @@ module GoodData class Domain < Rest::Resource attr_reader :name + # Support user languages USER_LANGUAGES = { 'en-US' => 'English', 'nl-NL' => 'Dutch',