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

Feature/dependency updates #89

Merged
merged 10 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 30 additions & 49 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-02-02 13:39:01 UTC using RuboCop version 1.43.0.
# on 2023-12-06 17:19:54 UTC using RuboCop version 1.58.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 4
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemspec
Gemspec/OrderedDependencies:
Exclude:
- 'ad_localize.gemspec'

# Offense count: 1
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'ad_localize.gemspec'

# Offense count: 86
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterMagicComment:
Enabled: false

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
Exclude:
- 'lib/ad_localize/mappers/locale_wording_to_hash.rb'

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Expand All @@ -42,29 +28,24 @@ Lint/UnusedMethodArgument:
- 'lib/ad_localize/serializers/templated_serializer.rb'

# Offense count: 6
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 35
Max: 30

# Offense count: 2
# Offense count: 4
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 139

# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 11
Max: 8

# Offense count: 11
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 13
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 40

# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 11
Max: 27

# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
Expand Down Expand Up @@ -101,7 +82,7 @@ Naming/VariableName:

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
# FunctionalMethods: let, let!, subject, watch
Expand Down Expand Up @@ -143,7 +124,7 @@ Style/FormatString:

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
EnforcedStyle: template
Expand All @@ -161,13 +142,16 @@ Style/GuardClause:
Exclude:
- 'lib/ad_localize/repositories/drive_repository.rb'

# Offense count: 57
# Offense count: 14
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
Style/HashSyntax:
Enabled: false
Exclude:
- 'Rakefile'
- 'lib/ad_localize/option_handler.rb'
- 'test/interactors/process_export_request_test.rb'

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
Expand Down Expand Up @@ -195,14 +179,13 @@ Style/NegatedIf:
Exclude:
- 'lib/ad_localize/interactors/generate_strings.rb'

# Offense count: 3
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'test/interactors/process_export_request_test.rb'
- 'test/repositories/drive_repository_test.rb'

# Offense count: 1
Expand All @@ -218,13 +201,13 @@ Style/RedundantAssignment:
Exclude:
- 'lib/ad_localize/parsers/csv_parser.rb'

# Offense count: 1
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantBegin:
Exclude:
- 'lib/ad_localize/repositories/drive_repository.rb'

# Offense count: 18
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantFreeze:
Exclude:
Expand All @@ -234,7 +217,6 @@ Style/RedundantFreeze:
- 'lib/ad_localize/interactors/generate_strings.rb'
- 'lib/ad_localize/interactors/merge_wordings.rb'
- 'lib/ad_localize/parsers/csv_parser.rb'
- 'lib/ad_localize/parsers/key_parser.rb'
- 'lib/ad_localize/serializers/info_plist_serializer.rb'
- 'lib/ad_localize/serializers/localizable_strings_serializer.rb'
- 'lib/ad_localize/serializers/localizable_stringsdict_serializer.rb'
Expand All @@ -245,6 +227,12 @@ Style/RedundantPercentQ:
Exclude:
- 'ad_localize.gemspec'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantRegexpArgument:
Exclude:
- 'lib/ad_localize/sanitizers/ios_to_android_sanitizer.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantRegexpEscape:
Expand Down Expand Up @@ -290,30 +278,23 @@ Style/StringConcatenation:
- 'lib/ad_localize/serializers/strings_serializer.rb'
- 'lib/ad_localize/serializers/templated_serializer.rb'

# Offense count: 85
# Offense count: 105
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Enabled: false

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Style/SymbolLiteral:
Exclude:
- 'lib/ad_localize/mappers/options_to_export_request.rb'
- 'test/option_handler_test.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/ZeroLengthPredicate:
Exclude:
- 'lib/ad_localize/mappers/locale_wording_to_hash.rb'
- 'test/repositories/drive_repository_test.rb'

# Offense count: 10
# Offense count: 14
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 153
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- new option `--skip-value-stripping` that disable the leading and trailing whitespaces removal on wording values. The value stripping was introduced with version 6.0.0.

### Changed

- Updated dependencies

## 6.1.0
### Added

Expand Down
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ source "https://rubygems.org"

# Specify your gem's dependencies in ad_localize.gemspec
gemspec

gem 'bundler', '>= 1.12.0', '< 3.0.0'
gem 'debug', ">= 1.0.0", '< 2.0'
gem 'diffy', '~> 3.3'
gem 'minitest', '~> 5.11'
gem 'minitest-reporters', '~> 1.3'
gem 'rake', '>= 12.3.0', '< 14.0.0'
gem 'rubocop', "~> 1.0"
98 changes: 59 additions & 39 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,46 @@ PATH
specs:
ad_localize (6.1.0)
activesupport (>= 6.1.3.2, < 8.0)
colorize (~> 0.8)
colorize (~> 1.0)
google-apis-drive_v3 (~> 0.33.0)
google-apis-sheets_v4 (~> 0.9)

GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.4)
activesupport (7.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.1)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
ansi (1.5.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.4)
builder (3.2.4)
colorize (0.8.1)
concurrent-ruby (1.1.10)
debug (1.7.1)
colorize (1.1.0)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
debug (1.8.0)
irb (>= 1.5.0)
reline (>= 0.3.1)
declarative (0.0.20)
diffy (3.4.2)
faraday (2.7.2)
drb (2.2.0)
ruby2_keywords
faraday (2.7.12)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
google-apis-core (0.9.4)
google-apis-core (0.11.2)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
Expand All @@ -42,76 +53,85 @@ GEM
webrick
google-apis-drive_v3 (0.33.0)
google-apis-core (>= 0.9.1, < 2.a)
google-apis-sheets_v4 (0.21.0)
google-apis-core (>= 0.9.1, < 2.a)
googleauth (1.3.0)
google-apis-sheets_v4 (0.26.0)
google-apis-core (>= 0.11.0, < 2.a)
googleauth (1.8.1)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
httpclient (2.8.3)
i18n (1.12.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.6.2)
reline (>= 0.3.0)
json (2.6.3)
jwt (2.6.0)
memoist (0.16.2)
mini_mime (1.1.2)
minitest (5.17.0)
minitest-reporters (1.5.0)
irb (1.10.1)
rdoc
reline (>= 0.3.8)
json (2.7.1)
jwt (2.7.1)
language_server-protocol (3.17.0.3)
mini_mime (1.1.5)
minitest (5.20.0)
minitest-reporters (1.6.1)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
multi_json (1.15.0)
mutex_m (0.2.0)
os (1.1.4)
parallel (1.22.1)
parser (3.2.0.0)
parallel (1.23.0)
parser (3.2.2.4)
ast (~> 2.4.1)
public_suffix (5.0.1)
racc
psych (5.1.1.1)
stringio
public_suffix (5.0.4)
racc (1.7.3)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.6.1)
reline (0.3.2)
rake (13.1.0)
rdoc (6.6.1)
psych (>= 4.0.0)
regexp_parser (2.8.3)
reline (0.4.1)
io-console (~> 0.5)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rubocop (1.43.0)
rexml (3.2.6)
rubocop (1.58.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
ruby-progressbar (1.11.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
signet (0.17.0)
signet (0.18.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
stringio (3.1.0)
trailblazer-option (0.1.2)
tzinfo (2.0.5)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
unicode-display_width (2.4.2)
webrick (1.7.0)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-21
ruby

DEPENDENCIES
ad_localize!
Expand Down
Loading
Loading