rename the gem to ruby_algebra
This commit is contained in:
2
bin/console
Normal file → Executable file
2
bin/console
Normal file → Executable file
@@ -2,7 +2,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "bundler/setup"
|
require "bundler/setup"
|
||||||
require "my_gem"
|
require "ruby_algebra"
|
||||||
|
|
||||||
# You can add fixtures and/or initialization code here to make experimenting
|
# You can add fixtures and/or initialization code here to make experimenting
|
||||||
# with your gem easier. You can also use a different console, if you like.
|
# with your gem easier. You can also use a different console, if you like.
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
require_relative "my_gem/version"
|
|
||||||
|
|
||||||
module MyGem
|
|
||||||
class Error < StandardError; end
|
|
||||||
# Your code goes here...
|
|
||||||
end
|
|
||||||
6
lib/ruby_algebra.rb
Normal file
6
lib/ruby_algebra.rb
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require_relative "ruby_algebra/version"
|
||||||
|
|
||||||
|
module RubyAlgebra
|
||||||
|
end
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module MyGem
|
module RubyAlgebra
|
||||||
VERSION = "0.1.0"
|
VERSION = "0.1.0"
|
||||||
end
|
end
|
||||||
@@ -1,16 +1,16 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "lib/my_gem/version"
|
require_relative "lib/ruby_algebra/version"
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "my_gem"
|
spec.name = "ruby_algebra"
|
||||||
spec.version = MyGem::VERSION
|
spec.version = RubyAlgebra::VERSION
|
||||||
spec.authors = ["Chernykh Aleksandr"]
|
spec.authors = ["Chernykh Aleksandr", "Vasilchenco Sviatoslav"]
|
||||||
spec.email = ["dernet4@gmail.com"]
|
spec.email = ["dernet4@gmail.com", "subvia@proton.me"]
|
||||||
|
|
||||||
spec.summary = "TODO: Write a short summary, because RubyGems requires one."
|
spec.summary = "A gem to manipulate algebraic formulas."
|
||||||
spec.description = "TODO: Write a longer description or delete this line."
|
#spec.description = ""
|
||||||
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
spec.homepage = "https://github.com/Alek-sandrr/Gem"
|
||||||
spec.license = "MIT"
|
spec.license = "MIT"
|
||||||
spec.required_ruby_version = ">= 3.1.0"
|
spec.required_ruby_version = ">= 3.1.0"
|
||||||
|
|
||||||
Reference in New Issue
Block a user