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

Clean up merge from iev-data gem, update README #39

Merged
merged 4 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
inherit_from:
- .rubocop_todo.yml
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml

# local repo-specific modifications
# ...

81 changes: 81 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-01-06 12:27:40 UTC using RuboCop version 1.69.2.
# 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: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
# SupportedStyles: case, end
Layout/CaseIndentation:
Exclude:
- 'lib/iev/iso_639_code.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyleAlignWith, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'lib/iev/iso_639_code.rb'

# Offense count: 45
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
# URISchemes: http, https
Layout/LineLength:
Exclude:
- 'lib/iev/cli/command.rb'
- 'lib/iev/cli/command_helper.rb'
- 'lib/iev/db_cache.rb'
- 'lib/iev/source_parser.rb'
- 'spec/acceptance/db2yaml_spec.rb'
- 'spec/acceptance/xlsx2yaml_spec.rb'
- 'spec/iev_spec.rb'

# Offense count: 1
Lint/MixedRegexpCaptureTypes:
Exclude:
- 'lib/iev/term_builder.rb'

# Offense count: 10
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
Metrics/AbcSize:
Exclude:
- 'lib/iev/converter/mathml_to_asciimath.rb'
- 'lib/iev/db_writer.rb'
- 'lib/iev/source_parser.rb'
- 'lib/iev/term_builder.rb'

# Offense count: 5
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/iev.rb'
- 'lib/iev/converter/mathml_to_asciimath.rb'
- 'lib/iev/source_parser.rb'
- 'lib/iev/term_builder.rb'

# Offense count: 21
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 74

# Offense count: 3
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/PerceivedComplexity:
Exclude:
- 'lib/iev.rb'
- 'lib/iev/converter/mathml_to_asciimath.rb'
- 'lib/iev/term_builder.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
Exclude:
- 'lib/iev/iso_639_code.rb'
14 changes: 11 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
source "https://rubygems.org"
# frozen_string_literal: true

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
source "https://rubygems.org"

# Specify your gem's dependencies in iev.gemspec
# Specify your gem's dependencies in lutaml-model.gemspec
gemspec

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rubocop", "~> 1.21"
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "simplecov"
Loading
Loading