diff --git a/aasm-rbs.gemspec b/aasm-rbs.gemspec deleted file mode 100644 index cab2dac..0000000 --- a/aasm-rbs.gemspec +++ /dev/null @@ -1,31 +0,0 @@ -# frozen_string_literal: true - -require_relative 'lib/aasm_rbs/version' - -Gem::Specification.new do |spec| - spec.name = 'aasm_rbs' - spec.version = AasmRbs::VERSION - spec.summary = 'AASM RBS' - spec.description = 'Easily generate RBS signatures for all the Ruby classes that implement a state-machine with AASM' - spec.license = 'MIT' - - spec.required_ruby_version = '>= 3.0.0' - - spec.author = 'Lorenzo Zabot' - spec.email = ['lorenzozabot@gmail.com'] - spec.homepage = '/~https://github.com/Uaitt/aasm_rbs' - - spec.metadata = { - 'allowed_push_host' => 'https://rubygems.org', - 'homepage_uri' => spec.homepage, - 'source_code_uri' => spec.homepage, - 'rubygems_mfa_required' => 'true' - } - - spec.files = Dir['lib/**/*', 'LICENSE', 'README.md'] - spec.require_paths = ['lib'] - spec.executables = 'exe/aasm_rbs' - spec.bindir = 'exe' - - spec.add_runtime_dependency 'aasm', '~> 5' -end diff --git a/exe/aasm_rbs b/exe/aasm_rbs index c21e1ec..16106d7 100755 --- a/exe/aasm_rbs +++ b/exe/aasm_rbs @@ -2,6 +2,6 @@ require_relative '../lib/aasm_rbs' -puts '' -puts AasmRbs.run(ARGV[0] || '') -puts '' +$stdout.puts '' +$stdout.puts AasmRbs.run(ARGV[0] || '') +$stdout.puts ''