Skip to content

Commit 3e86764

Browse files
Corey SchafCorey Schaf
Corey Schaf
authored and
Corey Schaf
committed
basic cleanup
1 parent 9e2500a commit 3e86764

File tree

10 files changed

+26
-24
lines changed

10 files changed

+26
-24
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ruby::Mutant
22

3-
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/ruby/mutant`. To experiment with that code, run `bin/console` for an interactive prompt.
3+
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/ruby-mutant`. To experiment with that code, run `bin/console` for an interactive prompt.
44

55
TODO: Delete this and the text above, and describe your gem
66

bin/console

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env ruby
22

33
require "bundler/setup"
4-
require "ruby/mutant"
4+
require "ruby-mutant"
55

66
# You can add fixtures and/or initialization code here to make experimenting
77
# with your gem easier. You can also use a different console, if you like.

lib/mutant.rb

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
require "ruby-mutant/version"
2+
3+
module RubyMutant
4+
module Mutations
5+
end
6+
end

lib/ruby-mutant/mutant_base.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module RubyMutant
2+
3+
end

lib/ruby-mutant/version.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module RubyMutant
2+
VERSION = "0.0.1"
3+
end

lib/ruby/mutant.rb

-7
This file was deleted.

lib/ruby/mutant/version.rb

-5
This file was deleted.

ruby-mutant.gemspec

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11

22
lib = File.expand_path("../lib", __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require "ruby/mutant/version"
4+
require "ruby-mutant/version"
55

66
Gem::Specification.new do |spec|
77
spec.name = "ruby-mutant"
8-
spec.version = Ruby::Mutant::VERSION
9-
spec.authors = ["TODO: Write your name"]
10-
spec.email = ["TODO: Write your email address"]
8+
spec.version = RubyMutant::VERSION
9+
spec.authors = ["Corey Schaf"]
10+
spec.email = ["cschaf@gmail.com"]
1111

12-
spec.summary = %q{TODO: Write a short summary, because RubyGems requires one.}
13-
spec.description = %q{TODO: Write a longer description or delete this line.}
14-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
12+
spec.summary = %q{Mutate your objects by encapsulating business logic.}
13+
spec.description = %q{Object mutations that encaspulate business logic. RubyMutant makes it simple to add complex logic to objects}
14+
spec.homepage = "https://github.com/corey-rb/ruby-mutant"
1515
spec.license = "MIT"
1616

1717
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'

spec/ruby/mutant_spec.rb renamed to spec/ruby-mutant/mutant_spec.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
RSpec.describe Ruby::Mutant do
1+
require 'spec_helper'
2+
3+
RSpec.describe RubyMutant do
24
it "has a version number" do
3-
expect(Ruby::Mutant::VERSION).not_to be nil
5+
expect(RubyMutant::VERSION).not_to be nil
46
end
57

68
it "does something useful" do

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require "bundler/setup"
2-
require "ruby/mutant"
2+
require "ruby-mutant"
33

44
RSpec.configure do |config|
55
# Enable flags like --only-failures and --next-failure

0 commit comments

Comments
 (0)