diff --git a/bin/console b/bin/console old mode 100644 new mode 100755 index cd8c985..3c1404e --- a/bin/console +++ b/bin/console @@ -2,7 +2,7 @@ # frozen_string_literal: true require "bundler/setup" -require "my_gem" +require "ruby_algebra" # 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. diff --git a/bin/setup b/bin/setup old mode 100644 new mode 100755 diff --git a/lib/my_gem.rb b/lib/my_gem.rb deleted file mode 100644 index 8ee02a9..0000000 --- a/lib/my_gem.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -require_relative "my_gem/version" - -module MyGem - class Error < StandardError; end - # Your code goes here... -end diff --git a/lib/ruby_algebra.rb b/lib/ruby_algebra.rb new file mode 100644 index 0000000..32b91b2 --- /dev/null +++ b/lib/ruby_algebra.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +require_relative "ruby_algebra/version" + +module RubyAlgebra +end diff --git a/lib/my_gem/version.rb b/lib/ruby_algebra/version.rb similarity index 74% rename from lib/my_gem/version.rb rename to lib/ruby_algebra/version.rb index 3c871b5..b0bc13f 100644 --- a/lib/my_gem/version.rb +++ b/lib/ruby_algebra/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -module MyGem +module RubyAlgebra VERSION = "0.1.0" end diff --git a/my_gem.gemspec b/ruby_algebra.gemspec similarity index 75% rename from my_gem.gemspec rename to ruby_algebra.gemspec index 9538ad9..21cd5d0 100644 --- a/my_gem.gemspec +++ b/ruby_algebra.gemspec @@ -1,16 +1,16 @@ # frozen_string_literal: true -require_relative "lib/my_gem/version" +require_relative "lib/ruby_algebra/version" Gem::Specification.new do |spec| - spec.name = "my_gem" - spec.version = MyGem::VERSION - spec.authors = ["Chernykh Aleksandr"] - spec.email = ["dernet4@gmail.com"] + spec.name = "ruby_algebra" + spec.version = RubyAlgebra::VERSION + spec.authors = ["Chernykh Aleksandr", "Vasilchenco Sviatoslav"] + spec.email = ["dernet4@gmail.com", "subvia@proton.me"] - spec.summary = "TODO: Write a short summary, because RubyGems requires one." - spec.description = "TODO: Write a longer description or delete this line." - spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.summary = "A gem to manipulate algebraic formulas." + #spec.description = "" + spec.homepage = "https://github.com/Alek-sandrr/Gem" spec.license = "MIT" spec.required_ruby_version = ">= 3.1.0"