Skip to content

Commit

Permalink
Fix Naming/FileName offense
Browse files Browse the repository at this point in the history
Rename Colore Client according to Rubygems conventions.

Ref: https://guides.rubygems.org/name-your-gem/
  • Loading branch information
tagliala committed Jan 20, 2025
1 parent daf60eb commit 3f84ce8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/colore-client
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require 'pp'
BIN_BASE = Pathname.new(__dir__)
$LOAD_PATH << BIN_BASE.join('../lib')

require 'colore-client'
require 'colore/client'

DEFAULT_ARGS = {
base_uri: 'http://localhost:9240/',
Expand Down
5 changes: 0 additions & 5 deletions lib/colore-client.rb

This file was deleted.

3 changes: 3 additions & 0 deletions lib/colore/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
require 'tempfile'
require 'uri'

require_relative 'client/version'
require_relative 'errors'

# The Colore module serves as the namespace for the Colore client and related classes.
module Colore
# The name of the 'current' version.
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

SPEC_BASE = Pathname.new(__dir__)

require 'colore-client'
require 'colore/client'

def fixture(name)
SPEC_BASE.join('fixtures', name)
Expand Down

0 comments on commit 3f84ce8

Please sign in to comment.