Skip to content

Commit

Permalink
Fix up all naming / casing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-hill committed Dec 20, 2023
1 parent 1fef7f7 commit 99dc006
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 43 deletions.
12 changes: 0 additions & 12 deletions Rakefile

This file was deleted.

9 changes: 9 additions & 0 deletions lib/testing_record.rb
@@ -0,0 +1,9 @@
# frozen_string_literal: true

require_relative 'testing_record/version'
require_relative 'testing_record/model'

module TestingRecord
class Error < StandardError; end
# Your code goes here...
end
2 changes: 1 addition & 1 deletion lib/testingrecord/model.rb → lib/testing_record/model.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module Testingrecord
module TestingRecord
class Model
end
end
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Testingrecord
module TestingRecord
VERSION = '0.2.0'
end
9 changes: 0 additions & 9 deletions lib/testingrecord.rb

This file was deleted.

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require 'testingrecord'
require 'testing_record'

RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
Expand Down
5 changes: 5 additions & 0 deletions spec/testing_record/model_spec.rb
@@ -0,0 +1,5 @@
# frozen_string_literal: true

RSpec.describe TestingRecord::Model do
it { is_expected.to be_a(TestingRecord::Model) }
end
5 changes: 0 additions & 5 deletions spec/testingrecord/model_spec.rb

This file was deleted.

11 changes: 0 additions & 11 deletions spec/testingrecord_spec.rb

This file was deleted.

5 changes: 2 additions & 3 deletions testingrecord.gemspec
@@ -1,10 +1,10 @@
# frozen_string_literal: true

require_relative 'lib/testingrecord/version'
require_relative 'lib/testing_record/version'

Gem::Specification.new do |spec|
spec.name = 'testingrecord'
spec.version = Testingrecord::VERSION
spec.version = TestingRecord::VERSION
spec.authors = ['Luke Hill']
spec.email = ['lukehill_uk@hotmail.com']

Expand All @@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob('lib/**/*') + %w[LICENSE.md README.md]
spec.require_paths = ['lib']

spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'rubocop', '~> 1.59.0'
spec.add_development_dependency 'rubocop-performance', '~> 1.20.0'
Expand Down

0 comments on commit 99dc006

Please sign in to comment.