Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: updates in Projects, TMs, Files, Screenshots, Strings APIs #81

Closed
wants to merge 1 commit into from

Conversation

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 99.38650% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 98.11%. Comparing base (98430f7) to head (d32d068).

Files Patch % Lines
lib/crowdin-api/api_resources/labels.rb 90.91% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   98.08%   98.11%   +0.03%     
==========================================
  Files          61       61              
  Lines        2810     2899      +89     
==========================================
+ Hits         2756     2844      +88     
- Misses         54       55       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@keshandrr keshandrr changed the title Draft Release (client updates) Draft Release Mar 18, 2024
@keshandrr keshandrr changed the title Draft Release feat: Draft Release Mar 18, 2024
…I Resources updates and refactoring. Some other small style changes.
Comment on lines +32 to +54
# Offense count: 14
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'spec/api_resources/labels_spec.rb'
- 'spec/api_resources/projects_spec.rb'
- 'spec/api_resources/source_files_spec.rb'
- 'spec/api_resources/source_strings_spec.rb'
- 'spec/api_resources/translation_memory_spec.rb'

# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
Layout/EmptyLinesAroundModuleBody:
Exclude:
- 'lib/crowdin-api/api_resources/labels.rb'
- 'lib/crowdin-api/api_resources/projects.rb'
- 'lib/crowdin-api/api_resources/source_files.rb'
- 'lib/crowdin-api/api_resources/source_strings.rb'
- 'lib/crowdin-api/api_resources/translation_memory.rb'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks wrong to exclude linter warnings for the specified files

@@ -127,10 +128,10 @@ def check_tm_import_status(tm_id = nil, import_id = nil)
Web::SendRequest.new(request).perform
end

def search_tms_concordance(project_id = nil, query = {})
def search_tms_concordance(query = {}, project_id = nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the order changed? It might break compatibility

@andrii-bodnar andrii-bodnar marked this pull request as draft March 20, 2024 10:18
@andrii-bodnar andrii-bodnar changed the title feat: Draft Release feat: updates in Projects, TMs, Files, Screenshots, Strings APIs Mar 20, 2024
@keshandrr keshandrr closed this Apr 2, 2024
@andrii-bodnar andrii-bodnar deleted the client-updates branch June 19, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants