lib/gapic/presenters/service_presenter.rb in gapic-generator-0.6.15 vs lib/gapic/presenters/service_presenter.rb in gapic-generator-0.7.0

- old
+ new

@@ -142,11 +142,11 @@ def service_name_full fix_namespace @api, "#{namespace}::#{name}" end def service_file_path - service_require + ".rb" + "#{service_require}.rb" end def service_file_name service_file_path.split("/").last end @@ -178,11 +178,11 @@ def client_require ruby_file_path @api, client_name_full end def client_file_path - client_require + ".rb" + "#{client_require}.rb" end def client_file_name client_file_path.split("/").last end @@ -218,11 +218,11 @@ def credentials_class_xref "{#{credentials_name_full}}" end def credentials_file_path - credentials_require + ".rb" + "#{credentials_require}.rb" end def credentials_file_name credentials_file_path.split("/").last end @@ -230,11 +230,11 @@ def credentials_require ruby_file_path @api, credentials_name_full end def helpers_file_path - helpers_require + ".rb" + "#{helpers_require}.rb" end def helpers_file_name "helpers.rb" end @@ -258,11 +258,11 @@ def paths_name_full fix_namespace @api, "#{service_name_full}::#{paths_name}" end def paths_file_path - paths_require + ".rb" + "#{paths_require}.rb" end def paths_file_name paths_file_path.split("/").last end @@ -306,10 +306,10 @@ def operations_name_full fix_namespace @api, "#{service_name_full}::#{operations_name}" end def operations_file_path - operations_require + ".rb" + "#{operations_require}.rb" end def operations_file_name operations_file_path.split("/").last end