rename the gem to ruby_algebra

This commit is contained in:
2026-03-09 20:42:08 +03:00
parent 2278ccc1fe
commit a2b1aff4d9
6 changed files with 16 additions and 18 deletions

2
bin/console Normal file → Executable file
View 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.

0
bin/setup Normal file → Executable file
View File

View File

@@ -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
View File

@@ -0,0 +1,6 @@
# frozen_string_literal: true
require_relative "ruby_algebra/version"
module RubyAlgebra
end

View File

@@ -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

View File

@@ -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"