Skip to content

Commit

Permalink
Change Simplecov -> SimpleCov in namespacing
Browse files Browse the repository at this point in the history
  • Loading branch information
gondalez committed Aug 20, 2024
1 parent c0d2809 commit 24c0ca0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,9 @@ RSpec/NestedGroups:

RSpec/ExampleLength:
CountAsOne: ['array', 'heredoc', 'method_call']

RSpec/SpecFilePathFormat:
CustomTransform:
RuboCop: rubocop
RSpec: rspec
SimpleCov: simplecov
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Simplecov::Inline
# SimpleCov::Inline

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/simplecov/inline`. To experiment with that code, run `bin/console` for an interactive prompt.

Expand Down Expand Up @@ -34,4 +34,4 @@ The gem is available as open source under the terms of the [MIT License](https:/

## Code of Conduct

Everyone interacting in the Simplecov::Inline project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/appbot/simplecov-inline/blob/main/CODE_OF_CONDUCT.md).
Everyone interacting in the SimpleCov::Inline project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/appbot/simplecov-inline/blob/main/CODE_OF_CONDUCT.md).
2 changes: 1 addition & 1 deletion lib/simplecov/inline.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require_relative 'inline/version'

module Simplecov
module SimpleCov
module Inline
class Error < StandardError; end
# Your code goes here...
Expand Down
2 changes: 1 addition & 1 deletion lib/simplecov/inline/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Simplecov
module SimpleCov
module Inline
VERSION = '0.1.0'.freeze
end
Expand Down
2 changes: 1 addition & 1 deletion sig/simplecov/inline.rbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Simplecov
module SimpleCov
module Inline
VERSION: String
# See the writing guide of rbs: https://github.com/ruby/rbs#guides
Expand Down
2 changes: 1 addition & 1 deletion simplecov-inline.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require_relative 'lib/simplecov/inline/version'

Gem::Specification.new do |spec|
spec.name = 'simplecov-inline'
spec.version = Simplecov::Inline::VERSION
spec.version = SimpleCov::Inline::VERSION
spec.authors = ['tris']
spec.email = ['developers@appbot.co']

Expand Down
4 changes: 2 additions & 2 deletions spec/simplecov/inline_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RSpec.describe Simplecov::Inline do
RSpec.describe SimpleCov::Inline do
it 'has a version number' do
expect(Simplecov::Inline::VERSION).not_to be_nil
expect(SimpleCov::Inline::VERSION).not_to be_nil
end
end

0 comments on commit 24c0ca0

Please sign in to comment.