.generator/src/generator/templates/package.j2 in datadog_api_client-1.8.0 vs .generator/src/generator/templates/package.j2 in datadog_api_client-1.9.0

- old
+ new

@@ -2,28 +2,29 @@ {% include "api_info.j2" %} =end # Common files require 'datadog_api_client/version' -require '{{ config.gemName }}/api_client' -require '{{ config.gemName }}/api_error' -require '{{ config.gemName }}/configuration' +require 'datadog_api_client/user_agent' +require '{{ gem_name }}/{{ version }}/api_client' +require '{{ gem_name }}/{{ version }}/api_error' +require '{{ gem_name }}/{{ version }}/configuration' # Models -require '{{ config.gemName }}/model_base' +require '{{ gem_name }}/{{ version }}/model_base' {%- for model in models|sort %} -require '{{ config.gemName }}/models/{{ model|snake_case }}' +require '{{ gem_name }}/{{ version }}/models/{{ model|snake_case }}' {%- endfor %} # APIs {%- for api in apis|sort %} -require '{{ config.gemName }}/api/{{ api|snake_case }}_api' +require '{{ gem_name }}/{{ version }}/api/{{ api|snake_case }}_api' {%- endfor %} -module {{ config.moduleName}} +module {{ module_name }}::{{ version|upper }} class << self # Customize default settings for the SDK using block. - # {{ config.moduleName}}.configure do |config| + # {{ module_name }}::{{ version|upper }}.configure do |config| # config.username = "xxx" # config.password = "xxx" # end # If no block given, return the default Configuration object. def configure