Skip to content

Commit

Permalink
Merge pull request #53 from fhir-crucible/update-version
Browse files Browse the repository at this point in the history
Add Gemfile.lock to ensure testing is consistent.
  • Loading branch information
arscan authored Apr 23, 2019
2 parents 498f790 + 5f9f4ff commit 4ab383a
Show file tree
Hide file tree
Showing 6 changed files with 232 additions and 37 deletions.
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ engines:
enabled: true
rubocop:
enabled: true
channel: rubocop-0-67
ratings:
paths:
- "**.inc"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
**/coverage/**
fhir_models*log*
invariants.txt
Gemfile.lock
.ruby-version
.ruby-gemset
tmp/
Expand Down
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ Metrics/LineLength:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
inherit_mode:
merge:
- Exclude
122 changes: 87 additions & 35 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,112 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-22 01:48:08 -0400 using RuboCop version 0.52.1.
# on 2019-04-22 22:20:52 -0400 using RuboCop version 0.67.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: 39
# Offense count: 51
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
Exclude:
- 'lib/fhir_models/bootstrap/definitions.rb'
- 'lib/fhir_models/bootstrap/generator.rb'
- 'lib/fhir_models/bootstrap/hashable.rb'
- 'lib/fhir_models/bootstrap/model.rb'
- 'lib/fhir_models/bootstrap/preprocess.rb'
- 'lib/fhir_models/bootstrap/xml.rb'
- 'lib/fhir_models/deprecate.rb'
- 'lib/fhir_models/fhir_ext/element_definition.rb'
- 'lib/fhir_models/fhir_ext/structure_definition.rb'
- 'lib/fhir_models/fhir_ext/structure_definition_compare.rb'
- 'lib/fhir_models/fluentpath/parse.rb'

# Offense count: 1
# Cop supports --auto-correct.
Layout/RescueEnsureAlignment:
Exclude:
- 'lib/fhir_models/bootstrap/hashable.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/ToJSON:
Exclude:
- 'lib/fhir_models/bootstrap/json.rb'
- 'lib/fhir_models/fhir_ext/structure_definition_finding.rb'

# Offense count: 40
Metrics/AbcSize:
Max: 423
Max: 392

# Offense count: 7
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 100
Max: 74

# Offense count: 7
# Offense count: 8
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5

# Offense count: 6
# Offense count: 7
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 500
Max: 354

# Offense count: 25
# Offense count: 23
Metrics/CyclomaticComplexity:
Max: 69
Max: 65

# Offense count: 43
# Configuration parameters: CountComments.
# Offense count: 44
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 200
Max: 131

# Offense count: 1
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 114

# Offense count: 24
# Offense count: 23
Metrics/PerceivedComplexity:
Max: 72
Max: 68

# Offense count: 5
# Configuration parameters: PreferredName.
Naming/RescuedExceptionsVariableName:
Exclude:
- 'lib/fhir_models/bootstrap/hashable.rb'
- 'lib/fhir_models/bootstrap/json.rb'
- 'lib/fhir_models/bootstrap/xml.rb'
- 'lib/fhir_models/fhir_ext/structure_definition.rb'
- 'lib/fhir_models/fhir_ext/structure_definition_finding.rb'

# Offense count: 4
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
Exclude:
- 'lib/fhir_models/fhir_ext/structure_definition_compare.rb'

# Offense count: 3
Performance/Caller:
Exclude:
- 'lib/fhir_models/bootstrap/model.rb'
- 'lib/fhir_models/deprecate.rb'

# Offense count: 3
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect.
Performance/HashEachMethods:
Performance/InefficientHashSearch:
Exclude:
- 'lib/fhir_models/bootstrap/definitions.rb'
- 'lib/fhir_models/bootstrap/model.rb'
- 'lib/fhir_models/bootstrap/preprocess.rb'
- 'lib/fhir_models/bootstrap/template.rb'

# Offense count: 1
# Configuration parameters: .
# SupportedStyles: inline, group
Style/AccessModifierDeclarations:
EnforcedStyle: inline

# Offense count: 17
Style/ClassVars:
Expand Down Expand Up @@ -90,7 +140,7 @@ Style/Documentation:
- 'lib/fhir_models/fluentpath/expression.rb'
- 'lib/fhir_models/fluentpath/parse.rb'

# Offense count: 28
# Offense count: 29
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
Expand All @@ -103,27 +153,33 @@ Style/IfUnlessModifier:
- 'lib/fhir_models/fhir_ext/structure_definition_compare.rb'

# Offense count: 1
Style/MethodMissing:
Style/MethodMissingSuper:
Exclude:
- 'lib/fhir_models/bootstrap/model.rb'

# Offense count: 6
# Offense count: 1
Style/MissingRespondToMissing:
Exclude:
- 'lib/fhir_models/bootstrap/model.rb'

# Offense count: 9
Style/MultipleComparison:
Exclude:
- 'lib/fhir_models/bootstrap/definitions.rb'
- 'lib/fhir_models/bootstrap/generator.rb'
- 'lib/fhir_models/bootstrap/model.rb'
- 'lib/fhir_models/fhir_ext/structure_definition.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'lib/fhir_models/fhir_ext/structure_definition_compare.rb'

# Offense count: 1
# Offense count: 2
# Cop supports --auto-correct.
Style/OrAssignment:
Exclude:
Expand All @@ -146,25 +202,21 @@ Style/RescueStandardError:
- 'lib/fhir_models/fluentpath/expression.rb'
- 'lib/fhir_models/fluentpath/parse.rb'

# Offense count: 4
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: ConvertCodeThatCanStartToReturnNil.
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist.
# Whitelist: present?, blank?, presence, try, try!
Style/SafeNavigation:
Exclude:
- 'lib/fhir_models/bootstrap/definitions.rb'
- 'lib/fhir_models/bootstrap/xml.rb'
- 'lib/fhir_models/fhir_ext/structure_definition.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: all_comparison_operators, equality_operators_only
# SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
Style/YodaCondition:
Exclude:
- 'lib/fhir_models/bootstrap/preprocess.rb'
- 'lib/fhir_models/fluentpath/parse.rb'

# Offense count: 270
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 290
140 changes: 140 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
PATH
remote: .
specs:
fhir_models (4.0.0)
bcp47 (>= 0.3)
date_time_precision (>= 0.8)
mime-types (>= 3.0)
nokogiri (>= 1.8.2)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.0)
bcp47 (0.3.3)
i18n
codeclimate-test-reporter (1.0.7)
simplecov
coderay (1.1.2)
concurrent-ruby (1.1.5)
coolline (0.5.0)
unicode_utils (~> 1.4)
date_time_precision (0.8.1)
diff-lcs (1.3)
docile (1.3.1)
ffi (1.10.0)
formatador (0.2.5)
guard (2.15.0)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-rspec (4.7.3)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
guard-test (2.0.8)
guard-compat (~> 1.2)
test-unit (~> 3.0)
i18n (1.6.0)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.2)
json (2.2.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
lumberjack (1.0.13)
method_source (0.9.2)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.0331)
mini_portile2 (2.4.0)
nenv (0.3.0)
nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
nokogiri-diff (0.2.0)
nokogiri (~> 1.5)
tdiff (~> 0.3, >= 0.3.2)
notiffany (0.1.1)
nenv (~> 0.1)
shellany (~> 0.0)
parallel (1.17.0)
parser (2.6.2.1)
ast (~> 2.4.0)
power_assert (1.1.4)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
pry-coolline (0.2.5)
coolline (~> 0.5)
psych (3.1.0)
rainbow (3.0.0)
rake (12.3.2)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
rubocop (0.67.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
psych (>= 3.1.0)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
ruby-progressbar (1.10.0)
ruby_dep (1.5.0)
shellany (0.0.1)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
tdiff (0.3.4)
test-unit (3.3.2)
power_assert
thor (0.20.3)
unicode-display_width (1.5.0)
unicode_utils (1.4.0)

PLATFORMS
ruby

DEPENDENCIES
bundler
codeclimate-test-reporter
fhir_models!
guard-rspec
guard-test
nokogiri-diff
pry
pry-coolline
rake
rspec
rubocop (= 0.67)
simplecov
test-unit

RUBY VERSION
ruby 2.5.1p57

BUNDLED WITH
2.0.1
2 changes: 1 addition & 1 deletion fhir_models.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'nokogiri-diff'
spec.add_development_dependency 'rubocop', '0.52.1'
spec.add_development_dependency 'rubocop', '0.67'
spec.add_development_dependency 'codeclimate-test-reporter'
spec.add_development_dependency 'guard-rspec'
spec.add_development_dependency 'guard-test'
Expand Down

0 comments on commit 4ab383a

Please sign in to comment.